BZ#14812: Add missing N_ markers in localedef.
[glibc.git] / ChangeLog
blob9ac85ac386a4fa01c004608110c10030d71ea6df
1 2013-03-20  Roland McGrath  <roland@hack.frob.com>
3         [BZ #14812]
4         * locale/programs/localedef.c (options): Put N_ translation marker
5         on argument names, not just descriptions.
7 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
13         [BZ #14176]
14         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16 2013-03-19  Roland McGrath  <roland@hack.frob.com>
18         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21         [!BEFORE_ABORT] (before_abort): New function.
22         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24         (writev_for_fatal): New function.
25         (WRITEV_FOR_FATAL): New macro; call that.
26         (backtrace_and_maps): New function.
27         (BEFORE_ABORT): New macro; call that.
28         (struct str_list): Type removed.
29         (__libc_message, __libc_fatal): Functions removed.
30         Include <sysdeps/posix/libc_fatal.c> instead.
32 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35         constants.
36         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37         double constants.
39 2013-03-19  Andreas Schwab  <schwab@suse.de>
41         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
42         * sysdeps/gnu/configure: Regenerate.
44         * configure.in: Substitute libc_cv_rtlddir.
45         * configure: Regenerate.
46         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49         * elf/Makefile (install-others, CFLAGS-interp.c)
50         (ldso_install, common-ldd-rewrite): Likewise.
51         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52         $(inst_slibdir)/$(rtld-installed-name).
53         * scripts/rellns-sh: Add -p option.
54         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55         for source.
57 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59         * manual/nptl.texi: Renamed to ...
60         * manual/threads.texi: ... this.
61         * manual/Makefile (chapters): Update.
63 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65         [BZ #14812]
66         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67         on argument names, not just descriptions.
68         * malloc/memusagestat.c (options): Likewise.
69         * nss/getent.c (options): Likewise.
71 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
73         [BZ #14812]
74         * iconv/iconv_prog.c (options): Put N_ translation marker
75         on argument names, not just descriptions.
76         * iconv/iconvconfig.c (options): Likewise.
78 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
80         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
81         implementation which is faster on all x86_64 architectures.
82         Tested on AMD, Intel Nehalem, SNB, IVB.
83         * sysdeps/x86_64/strnlen.S: Likewise.
85         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
86         Remove all multiarch strlen and strnlen versions.
87         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
88         Remove strlen and strnlen related parts.
90         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
91         Inline strlen part.
92         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
94         * sysdeps/x86_64/multiarch/strlen.S: Remove.
95         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
96         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
97         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
98         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
99         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
101 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
103         * manual/memory.texi (Malloc Tunable Parameters):
104         Sort parameters alphabetically. Add comments for missing entries.
106 2013-03-17  David S. Miller  <davem@davemloft.net>
108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
110 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
112         [BZ #15283]
113         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
114         for arguments at most half maximum finite value.
115         * math/libm-test.inc (j0_test): Add more tests.
116         (j1_test): Likewise.
117         (y0_test): Likewise.
118         (y1_test): Likewise.
119         * sysdeps/i386/fpu/libm-test-ulps: Update.
120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
122         [BZ #14155]
123         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
124         1 / x and functions P and Q for arguments above 0x1p256L.
125         (__ieee754_y0l): Likewise.
126         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
127         (__ieee754_y1l): Likewise.
128         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
129         (j1_test): Likewise.
130         (y0_test): Likewise.
131         (y1_test): Likewise.
133 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
135         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
136         variable.
138 2013-03-15  Roland McGrath  <roland@hack.frob.com>
140         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
141         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
142         zero since it's initialized to EXEC_PAGESIZE.
144         * sysdeps/unix/sysv/linux/ldsodefs.h
145         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
146         * sysdeps/generic/ldsodefs.h: ... here.
148 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
150         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
152         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
153         math/test-snan.c.
154         * math/test-snan.c: Renamed from
155         sysdeps/powerpc/fpu/test-powerpc-snan.c.
156         * math/Makefile (tests): Add test-snan.
157         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
158         test-powerpc-snan.
160         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
161         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
162         functions.
163         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
164         __builtin_nan family of functions.
165         * math/libm-test.inc (initialize): Initialize qnan_value with
166         __builtin_nan family of functions.
167         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
168         Remove variables.
169         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
170         Remove functions.
171         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
172         storage class.  Initialize qNaN_var and sNaN_var with
173         __builtin_nan and __builtin_nans families of functions,
174         respectively.
176         * math/libm-test.inc (acosh_test): Also test with qNaN input.
177         (sqrt_test): Remove duplicate test with qNaN input.
178         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
179         (round_test, signbit_test, significand_test): Note missing +/-Inf
180         as well as qNaN tests.
182         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
183         qNaN_var.  Fix a few strings, too.
184         * math/libm-test.inc (nan_value): Rename to qnan_value.
185         * math/gen-libm-test.pl (%beautify): Adjust to that.
186         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
187         * math/test-misc.c (main): Likewise.
188         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
189         to __qnan_bytes, and __qnan_union, respectively.
190         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
191         Likewise.
192         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
193         and lqnanval, respectively.
194         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
195         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
196         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
197         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
199         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
200         * math/test-misc.c (main) [__x86_64__]: Enable test for long
201         doubles.
203         * math/test-misc.c (main): Fix copy'n'pastos.
204         * misc/tst-efgcvt.c (special): Likewise.
206         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
207         Remove declarations.
209 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
211         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
212         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
213         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
214         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
216 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
218         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
219         macro to return vdso values correctly in IFUNC implementations.
220         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
221         Optimization by using IFUNC.
223 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
224             Richard Henderson  <rth@redhat.com>
225             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
227         * Makefile.in (bench): New target.
228         * NEWS: Mention the benchmark framework.
229         * Rules (bench): Likewise.
230         (binaries-bench): Generate binaries for functions to
231         benchmark.
232         * benchtests/Makefile: New makefile for benchmark tests.
233         * benchtests/bench-skeleton.c: New skeleton file for benchmark
234         programs.
235         * benchtests/exp-inputs: New input file for EXP function.
236         * benchtests/pow-inputs: New input file for POW function.
237         * scripts/bench.pl: New script to generate source files for
238         benchmark programs.
240 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
242         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
243         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
244         computations on mantissa.  Use macros for rounding and
245         division.
246         (denorm): Likewise.
247         (__dbl_mp): Likewise.
248         (add_magnitudes): Likewise.
249         (sub_magnitudes): Likewise.
250         (__mul): Likewise.
251         (__sqr): Likewise.
252         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
253         powers of two in terms of TWOPOW macro.
254         (mp_no): Make type of mantissa as MANTISSA_T.
255         [!RADIXI]: Define RADIXI.
256         [!TWO52]: Define TWO52.
257         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
259         * manual/nptl.texi (cindex): Modify threads to pthreads.
261 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
263         * sysdeps/x86_64/preconfigure: Regenerated.
265 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
267         [BZ #14155]
268         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
269         0x1p28 and above.
270         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
271         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
272         0x1p28 and above.
273         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
274         * math/libm-test.inc (j0_test): Do not allow one spurious
275         underflow exception.
276         (y1_test): Likewise.
278 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
280         * manual/Makefile (chapters): Add nptl.
281         * manual/debug.texi (Debugging Support): Add link to Threads
282         chapter.
283         * manual/nptl.texi: New file.
285         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
287 2013-03-14  Petr Baudis  <pasky@ucw.cz>
289         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
290         for non-NULL pointer before the memory validity test. Pointed
291         out by Holger Brunck <holger.brunck@keymile.com>.
293 2013-03-13  Andreas Schwab  <schwab@suse.de>
295         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
296         instead of .os.
298 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
300         * timezone/zic.c: Update from tzcode 2013b.
302 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
304         * manual/install.texi (Configuring and compiling):
305         Mention i686 and i586.
306         * INSTALL: Regenerate.
308 2013-03-12  Roland McGrath  <roland@hack.frob.com>
310         * sysdeps/init_array/elf-init.c: New file.
311         * csu/elf-init.c
312         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
313         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
315         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
316         __gmon_start__ as global, but as static with a .preinit_array pointer.
317         * sysdeps/init_array/gmon-start.c: New file.  Use that.
318         * sysdeps/init_array/crti.S: New file, empty except for comments.
319         * sysdeps/init_array/crtn.S: Likewise.
321 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
323         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
324         definining bcopy.
325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
326         Remove Prefer_SSE_for_memop.
327         * sysdeps/x86_64/multiarch/init-arch.h: Remove
328         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
329         HAS_PREFER_SSE_FOR_MEMOP.
330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
331         memset-x86-64.
332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
333         Remove bzero, memset ifunc support.
334         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
335         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
336         * sysdeps/x86_64/multiarch/memset.S: Likewise.
337         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
339 2013-03-11  Andreas Schwab  <schwab@suse.de>
341         [BZ #15234]
342         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
343         by SHLIB_COMPAT.
344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
345         (GLIBC_2.16): Remove pthread_atfork.
347 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
349         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
350         (ptestcases.h): Likewise.
352 2013-03-08  Roland McGrath  <roland@hack.frob.com>
354         * Makeconfig ($(common-objpfx)config.status): Depend on
355         sysdeps/*/preconfigure{,.in} too.
357 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
359         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
360         (__free_hook): Use void * instead of __malloc_ptr_t.
361         (__malloc_hook): Likewise.
362         (__realloc_hook): Likewise.
363         (__memalign_hook): Likewise.
364         (__after_morecore_hook): Likewise.
365         * malloc/arena.c (save_malloc_hook): Likewise.
366         (save_free_hook): Likewise.
367         * malloc/hooks.c (malloc_hook_ini): Likewise.
368         (realloc_hook_ini): Likewise.
369         (memalign_hook_ini): Likewise.
370         * malloc/malloc.c (malloc_hook_ini): Likewise.
371         (realloc_hook_ini): Likewise.
372         (memalign_hook_ini): Likewise.
373         (__free_hook): Likewise.
374         (__malloc_hook): Likewise.
375         (__realloc_hook): Likewise.
376         (__memalign_hook): Likewise.
377         (__libc_malloc): Likewise.
378         (__libc_free): Likewise.
379         (__libc_realloc): Likewise.
380         (__libc_memalign): Likewise.
381         (__libc_valloc): Likewise.
382         (__libc_pvalloc): Likewise.
383         (__libc_calloc): Likewise.
384         (__posix_memalign): Likewise.
385         * malloc/morecore.c (__sbrk): Likewise.
386         (__default_morecore): Likewise.
388         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
390         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
391         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
392         __malloc_ptrdiff_t.
394         * malloc/malloc.h (__malloc_size_t): Remove macro.
395         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
396         __malloc_size_t.
397         (old_memalign_hook): Likewise.
398         (old_realloc_hook): Likewise.
399         (struct hdr): Likewise.
400         (flood): Likewise.
401         (mallochook): Likewise.
402         (memalignhook): Likewise.
403         (reallochook): Likewise.
404         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
405         (tr_old_realloc_hook): Likewise.
406         (tr_old_memalign_hook): Likewise.
407         (tr_mallochook): Likewise.
408         (tr_reallochook): Likewise.
409         (tr_memalignhook): Likewise.
411 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
413         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
414         default_ldbl_pack and using as default implementation.
415         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
416         implementation.
417         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
418         redundant definition.
419         (ldbl_insert_mantissa): Likewise.
420         (ldbl_canonicalize): Likewise.
421         (ldbl_nearbyint): Likewise.
422         (ldbl_pack): Rename to ldbl_pack_ppc.
423         (ldbl_unpack): Rename to ldbl_unpack_ppc.
424         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
425         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
427 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
430         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
431         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
432         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
434         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
435         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
436         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
438 2013-03-07  Andreas Jaeger  <aj@suse.de>
440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
441         bits/mman-linux.h.
443 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
445         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
446         Include mpa.h and declare __MPEXP.
447         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
448         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
449         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
450         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
451         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
452         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
453         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
455         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
456         (__slowpow): Use long double EXPL and LOGL functions to
457         compute POW.
458         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
459         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
460         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
461         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
462         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
463         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
466         intermediate variable to calculate exponent.
467         (__sqr): Likewise.
468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
469         Likewise.
470         (__sqr): Likewise.
472         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
473         [!NO__SQR]: Define __sqr.
474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
475         and NO__SQR.  Remove all code except __mul and __sqr.  Include
476         sysdeps/ieee754/dbl-64/mpa.c.
477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
479         [BZ #12723]
480         * posix/Makefile (tests): Add tst-pathconf.
481         * posix/tst-pathconf.c: New test case.
482         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
483         _PC_PIPE_BUF.
484         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
486 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
488         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
490 2013-03-06  Andreas Jaeger  <aj@suse.de>
492         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
493         definition via __MAP_ANONYMOUS.
495         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
496         it's not part of Linux headers.
498         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
499         (MAP_HUGE_MASK): Define.
501         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
502         Define.
503         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
504         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
505         Define.
506         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
507         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
508         Define.
509         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
510         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
511         Define.
512         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
514         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
515         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
516         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
517         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
518         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
519         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
521         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
522         Handle f2fs.
524         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
525         Handle f2fs and efivarfs.
527         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
528         f2fs.
530         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
531         (EFIVARFS_MAGIC): Add.
532         (F2FS_LINK_MAX): Add.
534 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
536         * stdio-common/vfprintf.c: Replace __builtin_expect with
537         __glibc_unlikely.
539 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
541         [BZ #13550]
542         * sysdeps/generic/bp-sym.h: Remove file.
543         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
544         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
545         <bp-sym.h> and <bp-asm.h>.
546         (__longjmp): Don't use BP_SYM.
547         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
548         and <bp-asm.h>.
549         (memcpy): Don't use BP_SYM.
550         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
551         <bp-sym.h> and <bp-asm.h>.
552         (memcpy): Don't use BP_SYM.
553         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
554         <bp-asm.h>.
555         (memcpy): Don't use BP_SYM.
556         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
557         <bp-asm.h>.
558         (memset): Don't use BP_SYM.
559         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
560         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
561         (__bzero): Don't use BP_SYM.
562         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
563         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
564         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
565         <bp-sym.h> and <bp-asm.h>.
566         (memcmp): Don't use BP_SYM.  Remove comment about bounded
567         pointers.
568         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
569         <bp-sym.h> and <bp-asm.h>.
570         (memcpy): Don't use BP_SYM.
571         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
572         <bp-sym.h> and <bp-asm.h>.
573         (memset): Don't use BP_SYM.
574         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
575         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
576         (__bzero): Don't use BP_SYM.
577         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
578         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
579         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
580         <bp-sym.h> and <bp-asm.h>.
581         (strncmp): Don't use BP_SYM.  Remove comment about bounded
582         pointers.
583         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
584         <bp-sym.h> and <bp-asm.h>.
585         (memcpy): Don't use BP_SYM.
586         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
587         <bp-sym.h> and <bp-asm.h>.
588         (memset): Don't use BP_SYM.
589         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
590         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
591         (__bzero): Don't use BP_SYM.
592         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
593         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
594         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
595         <bp-sym.h> and <bp-asm.h>.
596         (__memchr): Don't use BP_SYM.
597         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
598         <bp-sym.h> and <bp-asm.h>.
599         (memcmp): Don't use BP_SYM.  Remove comment about bounded
600         pointers.
601         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
602         <bp-sym.h> and <bp-asm.h>.
603         (memcpy): Don't use BP_SYM.
604         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
605         <bp-sym.h> and <bp-asm.h>.
606         (__mempcpy): Don't use BP_SYM.
607         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
608         <bp-sym.h> and <bp-asm.h>.
609         (__memrchr): Don't use BP_SYM.
610         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
611         <bp-sym.h> and <bp-asm.h>.
612         (memset): Don't use BP_SYM.
613         (__bzero): Likewise.
614         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
615         <bp-sym.h> and <bp-asm.h>.
616         (__rawmemchr): Don't use BP_SYM.
617         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
618         <bp-sym.h> and <bp-asm.h>.
619         (__STRCMP): Don't use BP_SYM.
620         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
621         <bp-sym.h> and <bp-asm.h>.
622         (strchr): Don't use BP_SYM.
623         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
624         <bp-sym.h> and <bp-asm.h>.
625         (__strchrnul): Don't use BP_SYM.
626         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
627         <bp-sym.h> and <bp-asm.h>.
628         (strlen): Don't use BP_SYM.
629         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
630         <bp-sym.h> and <bp-asm.h>.
631         (strncmp): Don't use BP_SYM.  Remove comment about bounded
632         pointers.
633         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
634         <bp-sym.h> and <bp-asm.h>.
635         (__strnlen): Don't use BP_SYM.
636         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
637         <bp-sym.h> and <bp-asm.h>.
638         (__GI__setjmp): Don't use BP_SYM.
639         (_setjmp): Likewise.
640         (__sigsetjmp): Likewise.
641         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
642         (L(start_addresses)): Don't use BP_SYM.
643         (_start): Likewise.
644         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
645         <bp-asm.h>.
646         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
647         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
648         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
649         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
650         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
651         <bp-asm.h>.
652         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
653         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
654         about bounded pointers.
655         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
656         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
657         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
658         <bp-asm.h>.
659         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
660         about bounded pointers.  Remove GKM FIXME comments.
661         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
662         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
663         <bp-asm.h>.
664         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
665         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
666         Remove GKM FIXME comments.
667         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
668         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
669         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
670         <bp-asm.h>.
671         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
672         about bounded pointers.  Remove GKM FIXME comment.
673         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
674         and <bp-asm.h>.
675         (strncmp): Don't use BP_SYM.  Remove comment about bounded
676         pointers.
677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
678         <bp-sym.h> and <bp-asm.h>.
679         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
681         <bp-sym.h> and <bp-asm.h>.
682         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
683         comment.
685 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
687         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
688         call free(NULL).
690 2013-03-05  David S. Miller  <davem@davemloft.net>
692         * po/es.po: Update from translation team.
694 2013-03-05  Andreas Jaeger  <aj@suse.de>
696         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
697         <bits/mman-linux.h>.
698         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
699         is fine.
700         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
701         <bits/mman-linux.h> to end of file.
702         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
703         is fine.
704         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
705         <bits/mman-linux.h> to end of file.
706         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
707         is fine.
708         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
709         <bits/mman-linux.h> to end of file.
711         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
712         (MCL_CURRENT, MCL_FUTURE): Define here.
714 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
716         [BZ #15232]
717         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
718         attribute_hidden.
719         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
721 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
723         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
724         fourth parameter needed for rt_sigprocmask syscall.
725         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
726         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
727         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
728         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
729         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
730         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
732 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
734         [BZ #13550]
735         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
736         comment about bounded pointers.
737         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
738         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
740 2013-03-04  Andreas Jaeger  <aj@suse.de>
742         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
743         common definitions.
745         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
746         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
747         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
748         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
749         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
750         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
752 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
754         [BZ #15055]
755         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
756         __ieee754_sqrl instead of __sqrl.
758 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
760         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
761         * sysdeps/powerpc/fpu_control.h: ... here.
762         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
763         * sysdeps/powerpc/bits/fenvinline.h: ... here.
764         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
765         * sysdeps/powerpc/bits/mathinline.h: ... here.
767 2013-03-01  Roland McGrath  <roland@hack.frob.com>
769         * elf/dl-hwcaps.c (_dl_important_hwcaps):
770         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
771         to just [NEED_DL_SYSINFO_DSO].
772         * elf/dl-support.c: Likewise.
773         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
774         * elf/rtld.c (dl_main): Likewise.
775         * elf/setup-vdso.h (setup_vdso): Likewise.
776         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
777         * sysdeps/unix/sysv/linux/dl-sysdep.c
778         (_dl_discover_osversion): Likewise.
780 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
782         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
783         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
785 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
787         * NEWS: Mention libm performance improvements and non-x86 PI
788         futex support.
790         * csu/libc-start.c (__pthread_initialize_minimal): Change
791         function arguments.
792         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
794 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
796         [BZ #13550]
797         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
798         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
799         <bp-sym.h> and <bp-asm.h>.
800         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
801         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
802         and <bp-asm.h>.
803         (memcpy): Don't use BP_SYM.
804         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
805         <bp-asm.h>.
806         (__mpn_add_n): Don't use BP_SYM.
807         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
808         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
809         and <bp-asm.h>.
810         (__mpn_addmul_1): Don't use BP_SYM.
811         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
812         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
813         <bp-sym.h>.
814         (_setjmp): Don't use BP_SYM.
815         (__novmx_setjmp): Likewise.
816         (__GI__setjmp): Likewise.
817         (__vmx_setjmp): Likewise.
818         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
819         <bp-sym.h>.
820         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
821         (__bzero): Don't use BP_SYM.
822         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
823         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
824         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
825         <bp-sym.h> and <bp-asm.h>.
826         (memcpy): Don't use BP_SYM.
827         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
828         <bp-sym.h> and <bp-asm.h>.
829         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
830         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
831         <bp-sym.h> and <bp-asm.h>.
832         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
833         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
834         <bp-asm.h>.
835         (__mpn_lshift): Don't use BP_SYM.
836         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
837         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
838         <bp-asm.h>.
839         (memset): Don't use BP_SYM.
840         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
841         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
842         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
843         <bp-asm.h>.
844         (__mpn_mul_1): Don't use BP_SYM.
845         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
846         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
847         <bp-sym.h> and <bp-asm.h>.
848         (memcmp): Don't use BP_SYM.
849         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
850         <bp-sym.h> and <bp-asm.h>.
851         (memcpy): Don't use BP_SYM.
852         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
853         <bp-sym.h> and <bp-asm.h>.
854         (memset): Don't use BP_SYM.
855         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
856         <bp-sym.h> and <bp-asm.h>.
857         (strncmp): Don't use BP_SYM.
858         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
859         <bp-sym.h> and <bp-asm.h>.
860         (memcpy): Don't use BP_SYM.
861         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
862         <bp-sym.h> and <bp-asm.h>.
863         (memset): Don't use BP_SYM.
864         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
865         <bp-sym.h> and <bp-asm.h>.
866         (__memchr): Don't use BP_SYM.
867         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
868         <bp-sym.h> and <bp-asm.h>.
869         (memcmp): Don't use BP_SYM.
870         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
871         <bp-sym.h> and <bp-asm.h>.
872         (memcpy): Don't use BP_SYM.
873         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
874         <bp-sym.h> and <bp-asm.h>.
875         (__mempcpy): Don't use BP_SYM.
876         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
877         <bp-sym.h> and <bp-asm.h>.
878         (__memrchr): Don't use BP_SYM.
879         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
880         <bp-sym.h> and <bp-asm.h>.
881         (memset): Don't use BP_SYM.
882         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
883         <bp-sym.h> and <bp-asm.h>.
884         (__rawmemchr): Don't use BP_SYM.
885         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
886         <bp-sym.h> and <bp-asm.h>.
887         (__STRCMP): Don't use BP_SYM.
888         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
889         <bp-sym.h> and <bp-asm.h>.
890         (strchr): Don't use BP_SYM.
891         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
892         <bp-sym.h> and <bp-asm.h>.
893         (__strchrnul): Don't use BP_SYM.
894         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
895         <bp-sym.h> and <bp-asm.h>.
896         (strlen): Don't use BP_SYM.
897         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
898         <bp-sym.h> and <bp-asm.h>.
899         (strncmp): Don't use BP_SYM.
900         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
901         <bp-sym.h> and <bp-asm.h>.
902         (__strnlen): Don't use BP_SYM.
903         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
904         <bp-asm.h>.
905         (__mpn_rshift): Don't use BP_SYM.
906         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
907         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
908         <bp-sym.h> and <bp-asm.h>.
909         (__sigsetjmp): Don't use BP_SYM.
910         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
911         (L(start_addresses)): Don't use BP_SYM.
912         (_start): Likewise.
913         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
914         <bp-asm.h>.
915         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
916         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
917         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
918         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
919         <bp-asm.h>.
920         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
921         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
922         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
923         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
924         <bp-asm.h>.
925         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
926         comments.
927         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
928         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
929         <bp-asm.h>.
930         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
931         FIXME comments.
932         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
933         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
934         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
935         <bp-asm.h>.
936         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
937         comment.
938         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
939         and <bp-asm.h>.
940         (strncmp): Don't use BP_SYM,
941         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
942         <bp-asm.h>.
943         (__mpn_sub_n): Don't use BP_SYM.
944         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
945         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
946         and <bp-asm.h>.
947         (__mpn_submul_1): Don't use BP_SYM.
948         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
950         <bp-sym.h> and <bp-asm.h>.
951         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
953         <bp-sym.h> and <bp-asm.h>.
954         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
955         comment.
957 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
960         Use ZK to minimize writes to Z.
961         (sub_magnitudes): Simplify code a bit.
962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
963         Use ZK to minimize writes to Z.
964         (sub_magnitudes): Simplify code a bit.
966 2013-02-27  Roland McGrath  <roland@hack.frob.com>
968         * csu/gmon-start.c: Add special exception to license text.
970 2013-02-27  Richard Henderson  <rth@redhat.com>
972         * scripts/config.guess: Update from config.git.
973         * scripts/config.sub: Likewise.
975 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
977         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
979         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
981         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
983         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
985         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
987 2013-02-26  Roland McGrath  <roland@hack.frob.com>
989         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
990         [$(build-shared = yes].
992 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
994         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
995         (__mul): Reduce iterations for calculating mantissa.
997         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
998         MPTWO.
999         (__mpranred): Likewise.
1001         [BZ #15160]
1002         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1003         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1005 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1007         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1008         Define __attribute__.
1010 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1012         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1013         unused.
1014         * posix/regex_internal.h (__attribute): Remove.
1015         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1016         (re_string_context_at): Likewise.
1017         (bitset_not): Use __attribute__ and mark function as possibly
1018         unused.
1019         (bitset_merge): Likewise.
1020         (bitset_mask): Likewise.
1021         (re_string_char_size_at): Likewise.
1022         (re_string_wchar_at): Likewise.
1023         (re_string_elem_size_at): Likewise.
1025 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1027         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1028         code.
1029         (cc32): Likewise.
1031         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1032         (__acr): Likewise.
1033         (__cpy): Likewise.
1034         (norm): Likewise.
1035         (denorm): Likewise.
1036         (__dbl_mp): Likewise.
1037         (add_magnitudes): Likewise.
1038         (sub_magnitudes): Likewise.
1039         (__mul): Likewise.
1040         (__inv): Likewise.
1042         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1043         style.
1045         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1046         style.
1048         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1049         code.
1051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1052         up changes with default code.
1053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1054         Likewise.
1056 2013-02-24  Allan McRae  <allan@archlinux.org>
1058         * manual/socket.texi (The Internet Namespace): Order menu items
1059         to match that in the file.
1061         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1062         node listing of the info page menu.
1064 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1066         [BZ #13550]
1067         * sysdeps/i386/bp-asm.h: Remove file.
1068         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1069         (PARMS): Do not use macros from bp-asm.h.
1070         (S1): Likewise.
1071         (S2): Likewise.
1072         (SIZE): Likewise.
1073         (__mpn_add_n): Do not use BP_SYM
1074         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1075         "bp-asm.h".
1076         (PARMS): Do not use macros from bp-asm.h.
1077         (S1): Likewise.
1078         (SIZE): Likewise.
1079         (__mpn_addmul_1): Do not use BP_SYM
1080         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1081         "bp-asm.h".
1082         (PARMS): Do not use macros from bp-asm.h.
1083         (SIGMSK): Likewise.
1084         (_setjmp): Likewise.  Do not use BP_SYM.
1085         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1086         "bp-asm.h".
1087         (PARMS): Do not use macros from bp-asm.h.
1088         (SIGMSK): Likewise.
1089         (setjmp): Likewise.  Do not use BP_SYM.
1090         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1091         "bp-asm.h".
1092         (PARMS): Do not use macros from bp-asm.h.
1093         (__frexp): Do not use BP_SYM.
1094         (frexp): Likewise.
1095         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1096         "bp-asm.h".
1097         (PARMS): Do not use macros from bp-asm.h.
1098         (__frexpf): Do not use BP_SYM.
1099         (frexpf): Likewise.
1100         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1101         "bp-asm.h".
1102         (PARMS): Do not use macros from bp-asm.h.
1103         (__frexpl): Do not use BP_SYM.
1104         (frexpl): Likewise.
1105         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1106         "bp-asm.h".
1107         (PARMS): Do not use macros from bp-asm.h.
1108         (__remquo): Do not use BP_SYM.
1109         (remquo): Likewise.
1110         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1111         "bp-asm.h".
1112         (PARMS): Do not use macros from bp-asm.h.
1113         (__remquof): Do not use BP_SYM.
1114         (remquof): Likewise.
1115         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1116         "bp-asm.h".
1117         (PARMS): Do not use macros from bp-asm.h.
1118         (__remquol): Do not use BP_SYM.
1119         (remquol): Likewise.
1120         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1121         "bp-asm.h".
1122         (PARMS): Do not use macros from bp-asm.h.
1123         (DEST): Likewise.
1124         (SRC): Likewise.
1125         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1126         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1127         "bp-asm.h".
1128         (PARMS): Do not use macros from bp-asm.h.
1129         (strlen): Do not use BP_SYM.
1130         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1131         "bp-asm.h".
1132         (PARMS): Do not use macros from bp-asm.h.
1133         (S1): Likewise.
1134         (S2): Likewise.
1135         (SIZE): Likewise.
1136         (__mpn_add_n): Do not use BP_SYM.
1137         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1138         "bp-asm.h".
1139         (PARMS): Do not use macros from bp-asm.h.
1140         (S1): Likewise.
1141         (SIZE): Likewise.
1142         (__mpn_addmul_1): Do not use BP_SYM.
1143         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1144         weak_alias.
1145         (bzero): Likewise.
1146         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1147         "bp-asm.h".
1148         (PARMS): Do not use macros from bp-asm.h.
1149         (S): Likewise.
1150         (SIZE): Likewise.
1151         (__mpn_lshift): Do not use BP_SYM.
1152         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1153         "bp-asm.h".
1154         (PARMS): Do not use macros from bp-asm.h.
1155         (DEST): Likewise.
1156         (SRC): Likewise.
1157         (LEN): Likewise.
1158         (memcpy): Likewise.  Do not use BP_SYM.
1159         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1160         libc_hidden_def and weak_alias.
1161         (mempcpy): Do not use BP_SYM in weak_alias.
1162         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1163         "bp-asm.h".
1164         (PARMS): Do not use macros from bp-asm.h.
1165         (DEST): Likewise.
1166         (LEN): Likewise.
1167         [!BZERO_P] (CHR): Likewise.
1168         (memset): Likewise.  Do not use BP_SYM.
1169         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1170         "bp-asm.h".
1171         (PARMS): Do not use macros from bp-asm.h.
1172         (S1): Likewise.
1173         (SIZE): Likewise.
1174         (__mpn_mul_1): Do not use BP_SYM.
1175         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1176         "bp-asm.h".
1177         (PARMS): Do not use macros from bp-asm.h.
1178         (S): Likewise.
1179         (SIZE): Likewise.
1180         (__mpn_rshift): Do not use BP_SYM.
1181         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1182         "bp-asm.h".
1183         (PARMS): Do not use macros from bp-asm.h.
1184         (STR): Likewise.
1185         (CHR): Likewise.
1186         (strchr): Likewise.  Do not use BP_SYM.
1187         (index): Do not use BP_SYM in weak_alias.
1188         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1189         "bp-asm.h".
1190         (PARMS): Do not use macros from bp-asm.h.
1191         (DEST): Likewise.
1192         (SRC): Likewise.
1193         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1194         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1195         "bp-asm.h".
1196         (PARMS): Do not use macros from bp-asm.h.
1197         (strlen): Do not use BP_SYM.
1198         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1199         "bp-asm.h".
1200         (PARMS): Do not use macros from bp-asm.h.
1201         (S1): Likewise.
1202         (S2): Likewise.
1203         (SIZE): Likewise.
1204         (__mpn_sub_n): Do not use BP_SYM.
1205         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
1210         (__mpn_submul_1): Do not use BP_SYM.
1211         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1212         "bp-asm.h".
1213         (PARMS): Do not use macros from bp-asm.h.
1214         (S1): Likewise.
1215         (S2): Likewise.
1216         (SIZE): Likewise.
1217         (__mpn_add_n): Do not use BP_SYM.
1218         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1219         weak_alias.
1220         (bzero): Likewise.
1221         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1222         "bp-asm.h".
1223         (PARMS): Do not use macros from bp-asm.h.
1224         (BLK2): Likewise.
1225         (LEN): Likewise.
1226         (memcmp): Do not use BP_SYM.
1227         (bcmp): Do not use BP_SYM in weak_alias.
1228         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1229         "bp-asm.h".
1230         (PARMS): Do not use macros from bp-asm.h.
1231         (DEST): Likewise.
1232         (SRC): Likewise.
1233         (LEN): Likewise.
1234         (memcpy): Likewise.  Do not use BP_SYM.
1235         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1236         "bp-asm.h".
1237         (PARMS): Do not use macros from bp-asm.h.
1238         (DEST): Likewise.
1239         (SRC): Likewise.
1240         (LEN): Likewise.
1241         (memmove): Likewise.  Do not use BP_SYM.
1242         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1243         "bp-asm.h".
1244         (PARMS): Do not use macros from bp-asm.h.
1245         (DEST): Likewise.
1246         (SRC): Likewise.
1247         (LEN): Likewise.
1248         (__mempcpy): Likewise.  Do not use BP_SYM.
1249         (mempcpy): Do not use BP_SYM in weak_alias.
1250         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1251         "bp-asm.h".
1252         (PARMS): Do not use macros from bp-asm.h.
1253         (DEST): Likewise.
1254         (LEN): Likewise.
1255         [!BZERO_P] (CHR): Likewise.
1256         (memset): Likewise.  Do not use BP_SYM.
1257         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1258         "bp-asm.h".
1259         (PARMS): Do not use macros from bp-asm.h.
1260         (STR2): Likewise.
1261         (strcmp): Do not use BP_SYM.
1262         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1263         "bp-asm.h".
1264         (PARMS): Do not use macros from bp-asm.h.
1265         (STR): Likewise.
1266         (DELIM): Likewise.
1267         [USE_AS_STRTOK_R] (SAVE): Likewise.
1268         (FUNCTION): Likewise.  Do not use BP_SYM.
1269         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1270         aliases.
1271         (strtok_r): Likewise.
1272         (__GI___strtok_r): Likewise.
1273         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1274         (PARMS): Do not use macros from bp-asm.h.
1275         (S): Likewise.
1276         (SIZE): Likewise.
1277         (__mpn_lshift): Do not use BP_SYM.
1278         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1279         (PARMS): Do not use macros from bp-asm.h.
1280         (STR): Likewise.
1281         (CHR): Likewise.
1282         (__memchr): Do not use BP_SYM.
1283         (memchr): Do not use BP_SYM in weak_alias.
1284         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1285         (PARMS): Do not use macros from bp-asm.h.
1286         (BLK2): Likewise.
1287         (LEN): Likewise.
1288         (memcmp): Do not use BP_SYM.
1289         (bcmp): Do not use BP_SYM in weak_alias.
1290         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1291         (PARMS): Do not use macros from bp-asm.h.
1292         (S1): Likewise.
1293         (SIZE): Likewise.
1294         (__mpn_mul_1): Do not use BP_SYM.
1295         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1296         "bp-asm.h".
1297         (PARMS): Do not use macros from bp-asm.h.
1298         (STR): Likewise.
1299         (CHR): Likewise.
1300         (__rawmemchr): Do not use BP_SYM.
1301         (rawmemchr): Do not use BP_SYM in weak_alias.
1302         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1303         (PARMS): Do not use macros from bp-asm.h.
1304         (S): Likewise.
1305         (SIZE): Likewise.
1306         (__mpn_rshift): Do not use BP_SYM.
1307         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1308         (PARMS): Do not use macros from bp-asm.h.
1309         (SIGMSK): Likewise.
1310         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1311         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1312         (_start): Do not use BP_SYM.
1313         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1314         (PARMS): Do not use macros from bp-asm.h.
1315         (DEST): Likewise.
1316         (SRC): Likewise.
1317         (__stpcpy): Likewise.  Do not use BP_SYM.
1318         (stpcpy): Do not use BP_SYM in weak_alias.
1319         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1320         "bp-asm.h".
1321         (PARMS): Do not use macros from bp-asm.h.
1322         (DEST): Likewise.
1323         (SRC): Likewise.
1324         (LEN): Likewise.
1325         (__stpncpy): Likewise.  Do not use BP_SYM.
1326         (stpncpy): Do not use BP_SYM in weak_alias.
1327         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1328         (PARMS): Do not use macros from bp-asm.h.
1329         (STR): Likewise.
1330         (CHR): Likewise.
1331         (strchr): Likewise.  Do not use BP_SYM.
1332         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1333         "bp-asm.h".
1334         (PARMS): Do not use macros from bp-asm.h.
1335         (STR): Likewise.
1336         (CHR): Likewise.
1337         (__strchrnul): Likewise.  Do not use BP_SYM.
1338         (strchrnul): Do not use BP_SYM in weak_alias.
1339         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1340         "bp-asm.h".
1341         (PARMS): Do not use macros from bp-asm.h.
1342         (STOP): Likewise.
1343         (strcspn): Do not use BP_SYM.
1344         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
1349         (strpbrk): Likewise.  Do not use BP_SYM.
1350         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1351         "bp-asm.h".
1352         (PARMS): Do not use macros from bp-asm.h.
1353         (STR): Likewise.
1354         (CHR): Likewise.
1355         (strrchr): Likewise.  Do not use BP_SYM.
1356         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1357         (PARMS): Do not use macros from bp-asm.h.
1358         (SKIP): Likewise.
1359         (strspn): Do not use BP_SYM.
1360         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1361         (PARMS): Do not use macros from bp-asm.h.
1362         (STR): Likewise.
1363         (DELIM): Likewise.
1364         (SAVE): Likewise.
1365         (FUNCTION): Likewise.  Do not use BP_SYM.
1366         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1367         aliases.
1368         (strtok_r): Likewise.
1369         (__GI___strtok_r): Likewise.
1370         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1371         (PARMS): Do not use macros from bp-asm.h.
1372         (S1): Likewise.
1373         (S2): Likewise.
1374         (SIZE): Likewise.
1375         (__mpn_sub_n): Do not use BP_SYM.
1376         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1377         "bp-asm.h".
1378         (PARMS): Do not use macros from bp-asm.h.
1379         (S1): Likewise.
1380         (SIZE): Likewise.
1381         (__mpn_submul_1): Do not use BP_SYM.
1382         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1383         <bp-sym.h>.
1384         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1385         and <bp-asm.h>.
1386         (PARMS): Do not use macros from bp-asm.h.
1387         (FLAGS): Likewise.
1388         (PTID): Likewise.
1389         (TLS): Likewise.
1390         (CTID): Likewise.
1391         (__clone): Do not use BP_SYM.
1392         (clone): Do not use BP_SYM in weak_alias.
1393         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1394         and <bp-asm.h>.
1395         (PARMS): Do not use macros from bp-asm.h.
1396         (LEN): Likewise.
1397         (__mmap64): Do not use BP_SYM.
1398         (mmap64): Do not use BP_SYM in weak_alias.
1399         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1400         <bp-sym.h> and <bp-asm.h>.
1401         (PARMS): Do not use macros from bp-asm.h.
1402         (__posix_fadvise64_l64): Do not use BP_SYM.
1403         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1404         (PARMS): Do not use macros from bp-asm.h.
1405         (NSOPS): Likewise.
1406         (semtimedop): Do not use BP_SYM.
1407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1408         and <bp-asm.h>.
1410 2013-02-21  Allan McRae  <allan@archlinux.org>
1412         * manual/message.texi (Charset conversion in gettext):
1413         Move @end statement to beginning of line.
1415 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1418         static.
1419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1420         Likewise.
1422         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1423         (denorm): Likewise.
1424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1427 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1429         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1430         tail-call to the resolved function if pltexit isn't needed.
1432 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1435         or Y being zero as being unlikely.
1436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1437         Likewise.
1439 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1441         * manual/nss.texi (System Databases and Name Service Switch):
1442         Remove frobnicate @pxref.
1444 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1446         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1447         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1449 2013-02-20  Petr Machata  <pmachata@redhat.com>
1451         * elf/elf.h (R_ARM_TARGET1): New macro.
1452         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1453         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1454         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1455         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1456         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1457         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1458         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1459         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1460         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1461         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1462         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1463         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1464         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1465         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1466         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1467         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1468         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1469         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1470         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1471         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1472         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1473         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1474         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1475         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1476         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1477         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1478         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1479         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1480         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1481         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1482         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1483         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1484         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1485         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1486         (R_ARM_THM_GOT_BREL12): Likewise.
1487         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1488         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1489         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1490         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1491         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1492         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1493         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1494         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1495         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1497 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1499         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1500         __attribute_used__ to __attribute__ ((unused)).
1502 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1504         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1505         powerpc mpa.c.
1506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1507         comment formatting.
1508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1510 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1512         [BZ #13550]
1513         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1514         Remove macro.
1515         (ENTER): Remove both macro definitions.
1516         (LEAVE): Likewise.
1517         (CHECK_BOUNDS_LOW): Likewise.
1518         (CHECK_BOUNDS_HIGH): Likewise.
1519         (CHECK_BOUNDS_BOTH): Likewise.
1520         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1521         (RETURN_BOUNDED_POINTER): Likewise.
1522         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1523         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1524         (POP_ERRNO_LOCATION_RETURN): Likewise.
1525         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1526         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1527         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1528         macros.
1529         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1530         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1531         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1532         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1533         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1534         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1535         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1536         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1537         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1538         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1539         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1540         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1541         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1542         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1543         removed macros.
1544         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1545         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1546         macros.
1547         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1548         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1549         * sysdeps/i386/i586/memset.S (memset): Likewise.
1550         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1551         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1552         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1553         macros.
1554         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1555         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1556         Change uses of L(2) to L(out).
1557         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1558         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1559         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1560         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1561         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1562         removed macros.
1563         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1564         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1565         macros.
1566         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1567         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1568         (RETURN): Do not use macro LEAVE.
1569         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1570         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1571         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1572         * sysdeps/i386/i686/memset.S (memset): Likewise.
1573         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1574         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1575         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1576         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1577         Likewise.
1578         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1579         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1580         L(1_2) and L(1_3) into L(1).
1581         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1582         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1583         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1584         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1585         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1586         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1587         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1588         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1589         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1590         macros.
1591         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1592         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1593         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1594         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1595         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1596         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1597         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1598         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1599         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1600         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1601         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1602         * sysdeps/i386/strspn.S (strspn): Likewise.
1603         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1604         conditional code.
1605         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1606         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1607         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1608         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1609         L(1_3) into L(1_1).
1610         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1611         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1612         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1613         macros.
1614         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1616 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1618         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1619         macro.
1621 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1623         * math/atest-exp.c (exp_mpn): Remove ROUND.
1624         * math/atest-exp2.c (exp_mpn): Likewise.
1625         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1627         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1628         * stdlib/tst-tls-atexit-lib.c: Likewise.
1629         * stdlib/tst-tls-atexit.c: Likewise.
1631 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1633         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1634         and __attribute_alloc_size__.
1636 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1638         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1639         __attribute_alloc_size__.
1640         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1641         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1643 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1645         * include/programs/xmalloc.h: New file.
1646         * catgets/gencat.c: Include it.
1647         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1648         * elf/pldd.c: Likewise.
1649         * iconv/iconv_charmap.c: Likewise.
1650         * iconv/iconvconfig.c: Likewise.
1651         * iconv/strtab.c: Likewise.
1652         * locale/programs/locale.c: Likewise.
1653         * locale/programs/localedef.h: Likewise.
1654         * locale/programs/simple-hash.c: Likewise.
1655         * nscd/nscd.h: Likewise.
1656         * nss/makedb.c: Likewise.
1657         * sysdeps/generic/ldconfig.h: Likewise.
1659 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1661         * Versions.def: Add GLIBC_2.18.
1662         * include/link.h (struct link_map): New member l_tls_dtor_count.
1663         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1664         (__call_tls_dtors): Likewise.
1665         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1666         __cxa_thread_atexit_impl.
1667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1668         Likewise.
1669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1670         Likewise.
1671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1672         Likewise.
1673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1674         Likewise.
1675         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1677         Likewise.
1678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1679         Likewise.
1680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1682         Likewise.
1683         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1684         (tests): Add test case tst-tls-atexit.
1685         (modules-names): Add shared library for tst-tls-atexit.
1686         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1687         (GLIBC_PRIVATE): Add __call_tls_dtors.
1688         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1689         for libstdc++.
1690         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1691         * stdlib/tst-tls-atexit.c: New test case.
1692         * stdlib/tst-tls-atexit-lib.c: New test case.
1694         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1696         * elf/Versions (ld): Add _dl_find_dso_for_object.
1697         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1698         * elf/dl-open.c (_dl_find_dso_for_object): New function.
1699         (dl_open_worker): Use _dl_find_dso_for_object.
1700         * elf/dl-sym.c (do_sym): Likewise.
1701         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1703 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1705         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1706         Syntactic changes only.
1707         (_dl_runtime_profile): Do a tail-call to the resolved function.
1709 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
1711         [BZ #13550]
1712         * sysdeps/x86_64/bp-asm.h: Remove file.
1713         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1714         <bp-sym.h> and <bp-asm.h>.
1715         (__clone): Do not use BP_SYM.
1716         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1717         <bp-sym.h> and <bp-asm.h>.
1718         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1719         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1720         "bp-asm.h".
1721         (_setjmp): Do not use BP_SYM.
1722         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1723         "bp-asm.h".
1724         (setjmp): Do not use BP_SYM.
1725         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1726         libc_hidden_def.
1727         (mempcpy): Do not use BP_SYM in weak_alias.
1728         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1729         "bp-asm.h".
1730         (strchr): Do not use BP_SYM.
1731         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1732         "bp-asm.h".
1733         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1734         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1735         (_start): Do not use BP_SYM.
1736         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1737         "bp-asm.h".
1738         (strcat): Do not use BP_SYM.
1739         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1740         "bp-asm.h".
1741         (STRCMP): Do not use BP_SYM.
1742         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1743         "bp-asm.h".
1744         (STRCPY): Do not use BP_SYM.
1745         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1746         "bp-asm.h".
1747         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1748         "bp-asm.h".
1749         (FUNCTION): Do not use BP_SYM.
1750         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1751         weak_alias.
1752         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1754 2013-02-17  Andreas Jaeger  <aj@suse.de>
1756         * time/Versions: Sort entries.
1757         * string/Versions: Likewise.
1758         * resolv/Versions: Likewise.
1759         * posix/Versions: Likewise.
1760         * iconv/Versions: Likewise.
1761         * elf/Versions: Likewise.
1762         * wcsmbs/Versions: Likewise.
1764 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1766         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1767         loop termination condition.
1769         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1770         variable to calculate EZ.
1771         (__sqr): Likewise.
1773         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1774         the lower precision input.
1776 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
1778         [BZ #13550]
1779         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1780         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1781         (run-via-rtld-prefix): Do not handle %-bp tests.
1782         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1783         (all-object-suffixes): Remove .ob.
1784         (bppfx): Remove variable.
1785         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1786         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1787         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1788         [$(build-bounded) = yes] (libtype.ob): Likewise.
1789         * Makerules (elide-routines.ob): Remove variable.
1790         (do-tests-clean): Do not handle *-bp.out.
1791         (common-mostlyclean): Do not handle *-bp and *-bp.out.
1792         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1793         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1794         (tests): Do not include $(tests-bp.out).
1795         (xtests): Do not include $(xtests-bp.out).
1796         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1797         [$(build-bounded) = yes] ($(addprefix
1798         $(objpfx),$(binaries-bounded))): Remove rule.
1799         ($(objpfx)%-bp.out): Remove rule.
1800         * config.make.in (build-bounded): Remove variable.
1801         * crypt/Makefile [$(build-bounded) = yes]
1802         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1803         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1804         append to variable.
1805         [$(build-bounded) = yes] (install-lib): Likewise.
1806         [$(build-bounded) = yes] (generated): Likewise.
1807         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1808         Remove rule.
1809         * intl/Makefile [$(build-bounded) = yes]
1810         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1811         * math/Makefile [$(build-bounded) = yes]
1812         ($(tests:%=$(objpfx)%-bp): Likewise.
1813         * misc/Makefile [$(build-bounded) = yes]
1814         ($(objpfx)tst-tsearch-bp): Likewise.
1815         * nptl/Makeconfig (bounded-thread-library): Remove variable.
1816         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1817         Remove dependency.
1818         * string/Makefile (o-objects.ob): Remove variable.
1819         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1820         (CFLAGS-.ob): Remove variable.
1821         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1822         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1823         both definitions of variable.
1824         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1825         (ASFLAGS-.ob): Remove variable.
1827 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
1829         [BZ #13550]
1830         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1831         Remove __BOUNDED_POINTERS__ from condition.
1832         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1833         * string/bits/string2.h [!__NO_STRING_INLINES &&
1834         !__BOUNDED_POINTERS__]: Likewise.
1835         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1836         Likewise.
1837         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1838         Remove conditional code.
1839         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1840         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1841         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1842         condition.
1844         [BZ #13550]
1845         * csu/libc-start.c: Do not include <bp-sym.h>.
1846         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1847         * elf/dl-open.c: Do not include <bp-sym.h>.
1848         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1849         * math/fegetenv.c: Do not include <bp-sym.h>.
1850         (fegetenv): Do not use BP_SYM in versioned symbols.
1851         * nptl/sysdeps/pthread/bits/libc-lockP.h
1852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1853         <bp-sym.h>.
1854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1855         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1857         (__pthread_mutex_destroy): Likewise.
1858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1859         (__pthread_mutex_lock): Likewise.
1860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1861         (__pthread_mutex_trylock): Likewise.
1862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1863         (__pthread_mutex_unlock): Likewise.
1864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1865         (__pthread_mutexattr_init): Likewise.
1866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1867         (__pthread_mutexattr_destroy): Likewise.
1868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1869         (__pthread_mutexattr_settype): Likewise.
1870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1871         (__pthread_rwlock_init): Likewise.
1872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1873         (__pthread_rwlock_destroy): Likewise.
1874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1875         (__pthread_rwlock_rdlock): Likewise.
1876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1877         (__pthread_rwlock_tryrdlock): Likewise.
1878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1879         (__pthread_rwlock_wrlock): Likewise.
1880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1881         (__pthread_rwlock_trywrlock): Likewise.
1882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1883         (__pthread_rwlock_unlock): Likewise.
1884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1885         (__pthread_key_create): Likewise.
1886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1887         (__pthread_setspecific): Likewise.
1888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1889         (__pthread_getspecific): Likewise.
1890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1891         Likewise.
1892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1893         (_pthread_cleanup_push_defer): Likewise.
1894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1895         (_pthread_cleanup_pop_restore): Likewise.
1896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1897         (pthread_setcancelstate): Likewise.
1898         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1899         <bp-sym.h>.
1900         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1901         (memchr): Do not use BP_SYM in weak_alias.
1902         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1903         (fegetenv): Do not use BP_SYM in versioned symbols.
1904         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1905         (fesetenv): Do not use BP_SYM in versioned symbols.
1906         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1907         (feupdateenv): Do not use BP_SYM in versioned symbols.
1908         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1909         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1910         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1911         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1912         (open64): Do not use BP_SYM in weak_alias.
1913         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1914         (fegetenv): Do not use BP_SYM in versioned symbols.
1915         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1916         (fesetenv): Do not use BP_SYM in versioned symbols.
1917         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1918         (feupdateenv): Do not use BP_SYM in versioned symbols.
1919         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1920         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1921         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1922         (feraiseexcept): Do not use BP_SYM in versioned symbols.
1923         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1924         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1925         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1926         <bp-sym.h>.
1927         (__libc_start_main): Do not use BP_SYM.
1929 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1932         redundant return line.
1933         (norm): Likewise.
1934         (denorm): Likewise.
1935         (dbl_mp): Likewise.
1936         (sub_magnitudes): Likewise.
1937         (__add): Likewise.
1938         (__sub): Likewise.
1939         (__mul): Likewise.
1940         (__inv): Likewise.
1941         (__dvd): Likewise.
1942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1943         (norm): Likewise.
1944         (denorm): Likewise.
1945         (dbl_mp): Likewise.
1946         (sub_magnitudes): Likewise.
1947         (__add): Likewise.
1948         (__sub): Likewise.
1949         (__mul): Likewise.
1950         (__inv): Likewise.
1951         (__dvd): Likewise.
1953         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1954         instead of __mul.
1955         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1956         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1957         (cc32): Likewise.
1959         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1960         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1962         of __mul for squares.
1963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1964         function
1965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1966         Likewise.
1967         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1968         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1970 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
1972         [BZ #13550]
1973         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1974         code.
1975         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1976         prototype or function definition.  Rename ubp_* variables and
1977         parameters.  Remove argv definitions conditional on
1978         [__BOUNDED_POINTERS__].
1979         * debug/backtrace.c (__backtrace): Do not use __unbounded.
1980         * elf/dl-runtime.c (_dl_fixup): Likewise.
1981         * include/set-hooks.h (RUN_HOOK): Likewise.
1982         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1983         definition.
1984         * string/strcpy.c (strcpy): Do not use __unbounded.
1985         * sysdeps/generic/frame.h (struct layout): Likewise.
1986         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1987         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1988         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1989         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1990         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1991         (__backtrace): Likewise.
1992         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1993         use __ptrvalue.
1994         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1995         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1996         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1997         Likewise.
1998         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1999         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2000         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2001         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2002         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2003         Do not use __unbounded.
2004         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2005         Rename __unboundedrlimits parameter to rlimits in prototype.
2006         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2007         Do not use __unbounded.
2008         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2009         not use __ptrvalue.
2010         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2011         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2012         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2013         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2014         __ptrvalue or __unbounded.
2015         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2016         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2017         use __unbounded.
2018         (__new_msgctl): Do not use __ptrvalue.
2019         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2020         __unbounded.
2021         (__libc_msgrcv): Do not use __ptrvalue.
2022         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2023         startup_info): Do not use __unbounded.
2024         (__libc_start_main): Likewise.  Rename ubp_* variables and
2025         parameters.  Remove argv definitions conditional on
2026         [__BOUNDED_POINTERS__].
2027         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2028         __ptrvalue.
2029         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2030         use __unbounded.
2031         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2032         or __ptrvalue.
2033         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2034         use __unbounded.
2035         (__new_shmctl): Do not use __ptrvalue.
2036         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2037         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2038         Likewise.
2039         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2040         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2041         (__libc_sigaction): Likewise.
2042         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2043         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2044         Likewise.
2045         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2047 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2049         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2051         * string/mempcpy.c: Implement by calling memcpy.
2053 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2055         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2057         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2058         evaluation.
2060         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2061         values in the mantissa.
2063         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2064         minimize writes to Z.
2065         (sub_magnitudes): Simplify code a bit.
2067 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2069         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2070         from the message.  The linker prefixes all warnings with that already.
2072 2013-02-12  Andreas Schwab  <schwab@suse.de>
2074         [BZ #15078]
2075         * posix/regexec.c (extend_buffers): Add parameter min_len.
2076         (check_matching): Pass minimum needed length.
2077         (clean_state_log_if_needed): Likewise.
2078         (get_subexp): Likewise.
2079         * posix/Makefile (tests): Add bug-regex34.
2080         (bug-regex34-ENV): Define.
2081         * posix/bug-regex34.c: New file.
2083         [BZ #11561]
2084         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2085         elements compare against the byte sequence of it, not its name.
2086         * posix/Makefile (tests): Add bug-regex35.
2087         (bug-regex35-ENV): Define.
2088         * posix/bug-regex35.c: New file.
2090 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2092         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2093         comment.
2094         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2095         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2096         (CHECK_EOL): Add undef.
2098 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2100         * bits/stdlib-bsearch.h: New file.
2101         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2102         * stdlib/stdlib.h: Likewise.
2104 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2106         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2107         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2108         declaration.
2109         * manual/search.texi (Array Search Function): Add missing const in
2110         lfind prototype.
2111         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2112         declaration to use rlim_t.
2113         (Basic Scheduling Functions): Remove erroneous const from
2114         sched_getparam prototype.  Remove erroneous * from
2115         sched_get_priority_max and sched_get_priority_min prototypes.
2116         (Resource Usage): Fix summary @comment on vtimes to refer to
2117         sys/vtimes.h rather than vtimes.h.
2118         Add missing *s in vtimes prototype.
2119         (Limits on Resources): Fix ulimit prototype to return long int.
2120         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2121         prototypes to use long int rather than double.
2122         (BSD Random): Fix initstate and setstate to use char *, not void *.
2123         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2124         prototype to make second argument 'struct aiocb64 *const[]'.
2125         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2126         (Status of AIO Operations): Remove erroneous const in aio_return and
2127         aio_return64 prototypes.
2128         (Synchronizing I/O): Fix sync prototype to return void.
2129         * manual/startup.texi (Suboptions): Remove an erroneous const in
2130         getsubopt prototype.
2131         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2132         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2133         use size_t rather than int.
2134         (Scanning All Users): Likewise for getpwent_r.
2135         (Setting Groups): Add missing const to setgroups prototype.
2136         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2137         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2138         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2139         'const void *' rather than 'const char *'.
2140         (Host Address Functions): Likewise for inet_ntop.
2141         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2142         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2143         ssize_t for return value.
2144         (Sending Data): Likewise for send, sendto, sendmsg.
2145         (Socket Option Functions): Add a missing const in setsockopt prototype.
2146         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2147         use wchar_t for the argument.
2148         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2149         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2150         take no arguments.
2151         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2152         double/float/long double for second argument.
2153         Fix return types of significand, significandf, significandl.
2154         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2155         argument in fchmod prototype.
2156         (File Owner): Use uid_t and gid_t in fchown prototype.
2157         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2158         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2159         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2160         use 'const struct dirent **' as argument types to CMP function pointer
2161         argument.
2162         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2163         (File Times): Fix summary magic @comment for struct utimbuf and utime
2164         to refer to utime.h, not time.h.
2165         * manual/string.texi (Argz Functions): Add missing const in
2166         argz_extract and argz_next prototypes.
2167         (Finding Tokens in a String): Likewise for basename.
2168         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2169         (Copying and Concatenation): Fix typo in wmemmove prototype.
2170         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2171         (Signal Stack): Remove erroneous const in sigstack prototype.
2172         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2173         prototype.
2174         (Simple Calendar Time): Likewise for stime.
2175         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2176         prototype.
2177         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2178         say sys/sysctl.h instead.
2179         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2180         and vsyslog prototypes.
2182 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2184         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2185         Remove.
2187 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2189         * misc/sys/mman.h: Fix typo in mremap comment.
2191 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2193         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2194         the '\0' terminator.
2196 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2198         [BZ #13550]
2199         * debug/segfault.c: Don't include <bp-checks.h>.
2200         * sysdeps/generic/bp-checks.h: Remove file.
2201         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2202         (__GETDENTS): Don't use CHECK_N.
2203         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2204         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2205         (__getgroups): Don't use CHECK_N.
2206         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2207         (setgroups): Don't use CHECK_N.
2208         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2209         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2210         (__libc_msgrcv): Don't use CHECK_N.
2211         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2212         (__libc_msgsnd): Don't use CHECK_N.
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2214         <bp-checks.h>.
2215         (__libc_pread): Don't use CHECK_N.
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2217         include <bp-checks.h>.
2218         (__libc_pread64): Don't use CHECK_N.
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2220         include <bp-checks.h>.
2221         (__libc_pwrite): Don't use CHECK_N.
2222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2223         include <bp-checks.h>.
2224         (__libc_pwrite64): Don't use CHECK_N.
2225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2226         <bp-checks.h>.
2227         (__libc_pread): Don't use CHECK_N.
2228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2229         include <bp-checks.h>.
2230         (__libc_pread64): Don't use CHECK_N.
2231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2232         include <bp-checks.h>.
2233         (__libc_pwrite): Don't use CHECK_N.
2234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2235         include <bp-checks.h>.
2236         (__libc_pwrite64): Don't use CHECK_N.
2237         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2238         (do_pread): Don't use CHECK_N.
2239         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2240         (do_pread64): Don't use CHECK_N.
2241         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2242         (do_pwrite): Don't use CHECK_N.
2243         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2244         (do_pwrite64): Don't use CHECK_N.
2245         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2246         (__libc_readv): Don't use CHECK_N.
2247         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2248         (semop): Don't use CHECK_N.
2249         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2250         <bp-checks.h>.
2251         (semtimedop): Don't use CHECK_N.
2252         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2253         (__libc_pread): Don't use CHECK_N.
2254         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2255         <bp-checks.h>.
2256         (__libc_pread64): Don't use CHECK_N.
2257         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2258         <bp-checks.h>.
2259         (__libc_pwrite): Don't use CHECK_N.
2260         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2261         <bp-checks.h>.
2262         (__libc_pwrite64): Don't use CHECK_N.
2263         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2264         <bp-checks.h>.
2265         (__libc_msgrcv): Don't use CHECK_N.
2266         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2267         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2268         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2269         (__libc_writev): Don't use CHECK_N.
2271 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2273         * string/strcpy.c: Removed unused variable.
2275         * Makeconfig (+sysdep-includes): Define with := rather than =.
2276         Use an existing include/ subdir of each sysdeps dir before it.
2278 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2280         * nscd/connection.c (register_traced_file): Comment function.
2281         [HAVE_INOTIFY] (union __inev): Define.
2282         [HAVE_INOTIFY] (inotify_check_files): New function.
2283         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2284         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2285         clear_db_cache.
2286         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2288 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2290         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2291         loaded if not already and that a failure is permanent.
2293 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2295         [BZ #15006]
2296         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2297         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2299 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2301         [BZ #13550]
2302         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2303         (CHECK_1_NULL_OK): Likewise.
2304         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2305         (__fxstat): Do not use CHECK_1.
2306         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2307         <bp-checks.h>.
2308         (___fxstat64): Do not use CHECK_1.
2309         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2310         <bp-checks.h>.
2311         (__fxstatat): Do not use CHECK_1.
2312         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2313         <bp-checks.h>.
2314         (__fxstatat64): Do not use CHECK_1.
2315         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2316         <bp-checks.h>.
2317         (__fxstat): Do not use CHECK_1.
2318         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2319         <bp-checks.h>.
2320         (__fxstatat): Do not use CHECK_1.
2321         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2322         <bp-checks.h>.
2323         (__getresgid): Do not use CHECK_1.
2324         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2325         <bp-checks.h>.
2326         (__getresuid): Do not use CHECK_1.
2327         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2328         <bp-checks.h>.
2329         (__lxstat): Do not use CHECK_1.
2330         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2331         <bp-checks.h>.
2332         (__old_msgctl): Do not use CHECK_1.
2333         (__new_msgctl): Likewise.
2334         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2335         <bp-checks.h>.
2336         (__new_setrlimit): Do not use CHECK_1.
2337         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2338         <bp-checks.h>.
2339         (__old_shmctl): Do not use CHECK_1.
2340         (__new_shmctl): Likewise.
2341         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2342         <bp-checks.h>.
2343         (__xstat): Do not use CHECK_1.
2344         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2345         (__lxstat): Do not use CHECK_1.
2346         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2347         <bp-checks.h>.
2348         (___lxstat64): Do not use CHECK_1.
2349         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2350         (__old_msgctl): Do not use CHECK_1.
2351         (__new_msgctl): Likewise.
2352         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2353         <bp-checks.h>.
2354         (__gettimeofday): Do not use CHECK_1.
2355         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2356         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2357         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2358         <bp-checks.h>.
2359         (__gettimeofday): Do not use CHECK_1.
2360         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2361         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2362         (__new_shmctl): Do not use CHECK_1.
2363         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2364         <bp-checks.h>.
2365         (do_sigtimedwait): Do not use CHECK_1.
2366         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2367         <bp-checks.h>.
2368         (do_sigwaitinfo): Do not use CHECK_1.
2369         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2370         <bp-checks.h>.
2371         (msgctl): Do not use CHECK_1.
2372         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2373         <bp-checks.h>.
2374         (shmctl): Do not use CHECK_1.
2375         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2376         (ustat): Do not use CHECK_1.
2377         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2378         <bp-checks.h>.
2379         (__fxstat): Do not use CHECK_1.
2380         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2381         <bp-checks.h>.
2382         (__fxstatat): Do not use CHECK_1.
2383         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2384         <bp-checks.h>.
2385         (__lxstat): Do not use CHECK_1.
2386         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2387         <bp-checks.h>.
2388         (__xstat): Do not use CHECK_1.
2389         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2390         (__xstat): Do not use CHECK_1.
2391         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2392         (___xstat64): Do not use CHECK_1.
2394         [BZ #13550]
2395         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2396         definitions.
2397         (CHECK_BOUNDS_HIGH): Likewise.
2398         * string/strcpy.c: Do not include <bp-checks.h>.
2399         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2401 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2403         * nscd/nscd-client.h (__nscd_drop_map_ref):
2404         Add __attribute__ ((unused)).
2405         * nis/nss-nisplus.h (niserr2nss): Likewise.
2407         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2408         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2410         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2411         Remove inline keyword.
2412         * include/rounding-mode.h (round_away): Likewise.
2413         * libio/wfileops.c (adjust_wide_data): Likewise.
2414         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2415         (__m128i_strloadu_tolower): Likewise.
2416         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2417         (__m128i_strloadu_tolower): Likewise.
2418         * time/mktime.c (ydhms_diff): Likewise.
2419         * locale/elem-hash.h (elem_hash): Likewise.
2420         * locale/setlocale.c (setdata): Likewise.
2421         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2422         (re_string_wchar_at): Likewise.
2423         (bitset_not, bitset_merge, bitset_mask): Likewise.
2424         [!(__GNUC__ > 3)] (inline): Remove macro.
2425         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2426         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2427         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2428         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2429         * string/memcmp.c (memcmp_bytes): Likewise.
2430         * locale/programs/locarchive.c (compute_hashval): Likewise.
2431         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2432         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2433         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2434         * nss/getent.c (print_rpc, print_protocols): Likewise.
2435         (print_passwd, print_group, print_aliases): Likewise.
2436         * nis/nss-nisplus.h (niserr2nss): Likewise.
2437         * nscd/connections.c (restart_p): Likewise.
2438         Change return type to bool.
2440 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2442         * Makeconfig (all-Depend-files): Add existing
2443         $(sorted-subdirs:=/Depend) files.
2444         (all-subdirs): Remove nss.
2445         * sysdeps/unix/inet/Subdirs: Add it here instead.
2446         * hesiod/Depend: New file.
2448         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2449         instead of calling alloca.
2451         * io/lseek.c (__lseek): Rename to __libc_lseek.
2452         Define __lseek as an alias.
2454         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2456 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2458         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2459         else clause and remove check for non-standard endianness.
2461 2013-02-04  David S. Miller  <davem@davemloft.net>
2463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2465 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2467         [BZ #13550]
2468         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2469         (__ubp_memchr): Remove prototype.
2470         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2471         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2472         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2473         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2474         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2475         Remove alias.
2476         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2477         (__ubp_memchr): Likewise.
2478         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2479         (__ubp_memchr): Likewise.
2480         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2481         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2482         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2483         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2484         CHECK_STRING.
2485         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2486         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2487         (__getcwd): Do not use CHECK_STRING.
2488         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2489         <bp-checks.h>.
2490         (__real_chown): Do not use CHECK_STRING.
2491         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2492         <bp-checks.h>.
2493         (fchownat): Do not use CHECK_STRING.
2494         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2495         CHECK_STRING.
2496         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2497         <bp-checks.h>.
2498         (__lchown): Do not use CHECK_STRING.
2499         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2500         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2501         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2502         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2504         include <bp-checks.h>.
2505         (truncate64): Do not use CHECK_STRING.
2506         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2507         <bp-checks.h>.
2508         (__real_chown): Do not use CHECK_STRING.
2509         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2510         <bp-checks.h>.
2511         (__lchown): Do not use CHECK_STRING.
2512         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2513         <bp-checks.h>.
2514         (__chown): Do not use CHECK_STRING.
2515         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2516         <bp-checks.h>.
2517         (truncate64): Do not use CHECK_STRING.
2518         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2519         Likewise.
2520         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2521         (__xmknod): Do not use CHECK_STRING.
2522         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2523         <bp-checks.h>.
2524         (__xmknodat): Do not use CHECK_STRING.
2525         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2526         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2528 2013-02-04  Andreas Schwab  <schwab@suse.de>
2530         [BZ #14142]
2531         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2532         * include/netdb.h: Likewise for h_errno.
2533         * elf/tst-stackguard1.c: Include <tls.h>.
2535 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2537         * elf/link.h (struct link_map): Extend the l_addr comment.
2538         * include/link.h (struct link_map): Likewise.
2540 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2542         [BZ #13550]
2543         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2544         (BOUNDED_1): Remove macro.
2545         * debug/backtrace.c: Don't include <bp-checks.h>.
2546         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2547         (__backtrace): Likewise.
2548         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2549         <bp-checks.h>.
2550         (__backtrace): Don't use BOUNDED_1.
2551         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2552         <bp-checks.h>.
2553         (__backtrace): Don't use BOUNDED_1.
2554         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2555         (__backtrace): Don't use BOUNDED_1.
2556         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2557         (shmat): Don't use BOUNDED_N.
2559 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2561         [BZ #13550]
2562         * sysdeps/generic/bp-start.h: Remove file.
2563         * csu/libc-start.c: Don't include <bp-start.h>.
2564         (LIBC_START_MAIN): Set up __environ directly instead of using
2565         INIT_ARGV_and_ENVIRON.
2566         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2567         <bp-start.h>.
2569         [BZ #13550]
2570         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2571         definitions.
2572         (CHECK_FCNTL): Likewise.
2573         (CHECK_N_PAGES): Likewise.
2575         [BZ #13550]
2576         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2577         definitions.
2578         (CHECK_SIGSET_NULL_OK): Likewise.
2579         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2580         <bp-checks.h>.
2581         (sigpending): Don't use CHECK_SIGSET.
2582         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2583         <bp-checks.h>.
2584         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2585         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2586         <bp-checks.h>.
2587         (do_sigsuspend): Don't use CHECK_SIGSET.
2588         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2589         use CHECK_SIGSET.
2590         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2591         (do_sigwait): Don't use CHECK_SIGSET.
2592         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2593         use CHECK_SIGSET.
2594         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2595         include <bp-checks.h>.
2596         (sigpending): Don't use CHECK_SIGSET.
2597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2598         include <bp-checks.h>.
2599         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2600         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2601         <bp-checks.h>.
2602         (sigpending): Don't use CHECK_SIGSET.
2603         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2604         <bp-checks.h>.
2605         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2607         [BZ #13550]
2608         * sysdeps/generic/bp-semctl.h: Remove file.
2609         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2610         <bp-checks.h> and <bp-semctl.h>.
2611         (__old_semctl): Don't use CHECK_SEMCTL.
2612         (__new_semctl): Likewise.
2613         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2614         and <bp-semctl.h>.
2615         (__old_semctl): Don't use CHECK_SEMCTL.
2616         (__new_semctl): Likewise.
2617         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2618         <bp-checks.h> and <bp-semctl.h>.
2619         (__old_semctl): Don't use CHECK_SEMCTL.
2620         (__new_semctl): Likewise.
2621         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2622         <bp-checks.h> and <bp-semctl.h>.
2623         (semctl): Don't use CHECK_SEMCTL.
2625         [BZ #13550]
2626         * Makerules (elide-bp-thunks): Remove variable.
2627         (elide-routines.oS): Don't use $(elide-bp-thunks).
2628         (elide-routines.os): Likewise.
2629         (elide-routines.o): Likewise.
2630         (elide-routines.op): Likewise.
2631         (elide-routines.og): Likewise.
2632         (objects): Don't use $(bp-thunks).
2633         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2634         include.
2635         (common-generated): Do not add s-proto-bp.d.
2636         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2637         (int): Likewise.
2638         (typ): Likewise.
2639         Do not generate makefile rules for bounded-pointer thunks.
2640         * sysdeps/generic/bp-thunks.h: Remove file.
2641         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2642         * sysdeps/unix/s-proto-bp.S: Likewise.
2644         [BZ #15062]
2645         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2646         parts of result separately when argument is not close to line from
2647         -i to i and one part of argument is small.
2648         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2649         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2650         * math/libm-test.inc (cacos_test): Add more tests.
2651         (casin_test): Likewise.
2652         (casinh_test): Likewise.
2653         * sysdeps/i386/fpu/libm-test-ulps: Update.
2654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2656 2013-01-31  David S. Miller  <davem@davemloft.net>
2658         * po/de.po: Update from translation team.
2660 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2662         * time/tzfile.c: Include stdint.h for SIZE_MAX.
2664 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
2666         * configure.in (_AC_PROG_CC_C89): New definition.
2667         * configure: Regenerate.
2669         * configure.in (AC_PROG_CPP): New definition.
2670         * configure: Regenerate.
2672 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2674         * debug/tst-backtrace.h: New file.
2675         * debug/tst-backtrace2.c: Include tst-backtrace.h.
2676         (ret): Remove variable.
2677         (x): Likewise.
2678         (FAIL): Remove macro.
2679         (NO_INLINE): Likewise.
2680         (fn1): Use match function instead of strstr.
2681         * debug/tst-backtrace3.c: Include tst-backtrace.h.
2682         (ret): Remove variable.
2683         (x): Likewise.
2684         (FAIL): Remove macro.
2685         (NO_INLINE): Likewise.
2686         (fn): Use match function instead of strstr.
2687         * debug/tst-backtrace4.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.
2693         * debug/tst-backtrace5.c: Include tst-backtrace.h.
2694         (ret): Remove variable.
2695         (x): Likewise.
2696         (FAIL): Remove macro.
2697         (NO_INLINE): Likewise.
2698         (handle_signal): Use match function instead of strstr.
2700 2013-01-23  Roland McGrath  <roland@hack.frob.com>
2702         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2704 2013-01-23  David S. Miller  <davem@davemloft.net>
2706         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2707         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2708         argument of CAS if possible.
2709         * sysdeps/sparc/sparc64/bits/atomic.h
2710         (__arch_compare_and_exchange_val_32_acq): Likewise.
2711         (__arch_compare_and_exchange_val_64_acq): Likewise.
2713 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
2715         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2716         * sysdeps/posix/ulimit.c: ... this.
2717         Include <limits.h>.
2718         * sysdeps/unix/bsd/ulimit.c: Remove file.
2720 2013-01-23  Adam Conrad  <adconrad@0c3.net>
2722         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2723         (LDFLAGS-tst-array5): Likewise.
2725 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2727         [BZ #15036]
2728         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2729         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2730         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2731         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2733 2013-01-21  David S. Miller  <davem@davemloft.net>
2735         * sysdeps/sparc/backtrace.c: New file.
2736         * sysdeps/sparc/sparc32/backtrace.h: New file.
2737         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2738         * sysdeps/sparc/sparc64/backtrace.h: New file.
2739         * sysdeps/sparc/sparc64/backtrace.c: Delete.
2740         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2741         -funwind-tables.
2743 2013-01-21  Andreas Schwab  <schwab@suse.de>
2745         [BZ #15020]
2746         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2747         closed its stdout.
2749 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
2751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2752         "mpa2.h".
2753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2755 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
2756             Mark Mitchell  <mark@codesourcery.com>
2757             Tom de Vries  <tom@codesourcery.com>
2758             Paul Pluzhnikov  <ppluzhnikov@google.com>
2760         * debug/tst-backtrace2.c: New file.
2761         * debug/tst-backtrace3.c: Likewise.
2762         * debug/tst-backtrace4.c: Likewise.
2763         * debug/tst-backtrace5.c: Likewise.
2764         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2765         (CFLAGS-tst-backtrace3.c): Likewise.
2766         (CFLAGS-tst-backtrace4.c): Likewise.
2767         (CFLAGS-tst-backtrace5.c): Likewise.
2768         (LDFLAGS-tst-backtrace2): Likewise.
2769         (LDFLAGS-tst-backtrace3): Likewise.
2770         (LDFLAGS-tst-backtrace4): Likewise.
2771         (LDFLAGS-tst-backtrace5): Likewise.
2772         (tests): Add new tests tst-backtrace2, tst-backtrace3,
2773         tst-backtrace4 and tst-backtrace5.
2775 2013-01-18  Anton Blanchard  <anton@samba.org>
2776             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2778         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2779         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2780         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2781         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2783         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2784         "+r" and remove output regs list as redundant.  Add explicit inline
2785         asm to specify register of return val to work around compiler codegen
2786         bug.  Remove (int) cast on return value.  Add return type parameter to
2787         use in macro so that this macro does not truncate return value for
2788         64-bit values.
2789         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2790         pass to INTERNAL_VSYSCALL_NCS.
2791         (INLINE_VSYSCALL): Add 'long int' as return type to
2792         INTERNAL_VSYSCALL_NCS macro invocation.
2793         (INTERNAL_VSYSCALL): Add 'long int' as return type to
2794         INTERNAL_VSYSCALL_NCS macro invocation.
2795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2797 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2799         [BZ #14496]
2800         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2801         Fix application of SIMD FP exception mask.
2803         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2804         mp_no from a power of two.
2805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2806         __mpexp_twomm1.  Use __pow_mp.
2808         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2809         multiplication.
2811 2013-01-17  David S. Miller  <davem@davemloft.net>
2813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2815 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2817         [BZ #15023]
2818         * include/complex.h: Condition contents on [!_COMPLEX_H].
2819         (__kernel_casinhf): New prototype.
2820         (__kernel_casinh): Likewise.
2821         (__kernel_casinhl): Likewise.
2822         * math/Makefile (libm_calls): Add k_casinh.
2823         * math/k_casinh.c: New file.
2824         * math/k_casinhf.c: Likewise.
2825         * math/k_casinhl.c: Likewise.
2826         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2827         finite nonzero arguments.
2828         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2829         finite nonzero arguments.
2830         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2831         finite nonzero arguments.
2832         * math/s_casinh.c: Do not include <float.h>.
2833         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2834         * math/s_casinhf.c: Do not include <float.h>.
2835         (__casinhf): Move code for finite nonzero arguments to
2836         k_casinhf.c.
2837         * math/s_casinhl.c: Do not include <float.h>.
2838         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2839         redefine.
2840         (__casinhl): Move code for finite nonzero arguments to
2841         k_casinhl.c.
2842         * math/libm-test.inc (cacos_test): Add more tests.
2843         * sysdeps/i386/fpu/libm-test-ulps: Update.
2844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2846 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
2848         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2849         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2850         [!HAVE_MREMAP]: Remove [defined linux] case.
2851         * malloc/arena.c: Do not include <malloc-sysdep.h>.
2853 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2855         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2857 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
2859         * elf/elf.h (R_386_SIZE32): New relocation.
2860         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2861         R_386_SIZE32.
2862         (elf_machine_rela): Likewise.
2863         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2864         R_X86_64_SIZE64 and R_X86_64_SIZE32.
2866 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2868         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2869         (FP_FAST_FMA): Do not define.
2870         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2871         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2872         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2873         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2874         !_SOFT_FLOAT]: Likewise.
2875         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2876         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2877         value.
2878         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2879         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2880         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2881         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2882         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2883         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2884         file.
2886 2013-01-16  Andreas Schwab  <schwab@suse.de>
2888         [BZ #14327]
2889         * include/stdlib.h (__mktemp): Add declaration.
2890         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2891         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2893 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2895         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2896         definitions.
2897         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2898         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2899         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2900         definitions here.
2901         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2902         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2903         definitions.
2904         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2905         and ONE.
2906         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2907         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2908         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2909         definitions.
2910         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2911         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2912         definitions.
2913         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2915         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2917 2013-01-15  David S. Miller  <davem@davemloft.net>
2919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2920         trunc{,f} to libm-sysdep_routes.
2921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2923         file.
2924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2926         file.
2927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2928         file.
2929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2931         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2932         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2933         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2934         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2935         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2936         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2939         nearbyint{,f} to libm-sysdep_routes.
2940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2942         New file.
2943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2944         file.
2945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2946         New file.
2947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2948         file.
2949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2951         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2952         file.
2953         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2954         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2955         file.
2956         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2957         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2958         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2960         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2961         libc_feholdexcept and libc_fesetenv.
2963 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
2965         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2967 2013-01-14  David S. Miller  <davem@davemloft.net>
2969         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2970         (SPARC_ASM_VIS2_IFUNC): Likewise.
2971         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2973         use of 'siam' instruction.
2974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2975         Likewise.
2976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2977         Likewise.
2978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2979         Likewise.
2980         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2982         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2985         file.
2986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2987         file.
2988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2989         file.
2990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2991         file.
2992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2997         new VIS2 routines.
2998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3001         Likewise.
3002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3007         routines to libm-sysdep_routines.
3008         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3011         fdim/fdimf to libm-sysdep_routines.
3012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3013         file.
3014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3016         file.
3017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3020         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3021         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3022         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3023         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3025 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3027         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3028         to optimize copies.
3030         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3035         local variable MPTWO.
3036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3037         Likewise.
3039 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3041         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3042         GLOB_NOESCAPE.
3044 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3046         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3048 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3050         * manual/pattern.texi (glob_t): Document gl_flags.
3051         (glob64_t): Likewise.
3053 2013-01-11  David S. Miller  <davem@davemloft.net>
3055         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3056         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3057         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3058         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3059         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3060         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3061         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3062         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3063         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3064         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3065         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3066         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3067         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3069         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3070         sparc V9 rather than using V8 code.
3071         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3072         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3074         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3075         Move to...
3076         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3077         Here.
3079 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3081         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3082         not in the main loop.
3083         * configure: Regenerated.
3085 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3087         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3088         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3089         to just #else.
3090         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3091         [!__GLIBC_HAVE_LONG_LONG] case.
3092         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3093         condition to just #else.
3094         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3095         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3096         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3097         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3098         unconditional.
3099         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3100         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3101         #elif condition to just #else.
3102         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3103         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3104         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3105         #elif condition to just #else.
3107 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3109         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3110         (EF_MIPS_ARCH_64): Fix value.
3111         (EF_MIPS_ARCH_32R2): New.
3112         (EF_MIPS_ARCH_64R2): New.
3114 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3116         * Makeconfig (+link-pie-before-libc): New.
3117         (+link-pie-after-libc): Likewise.
3118         (+link-pie-tests): Likewise.
3119         (+link-pie): Rewritten.
3120         (link-before-libc): Remove $(config-LDFLAGS).
3121         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3122         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3123         (config-LDFLAGS): Renamed to ...
3124         (rtld-LDFLAGS): This.
3125         (rtld-tests-LDFLAGS): New macro.
3126         (link-libc-rpath-link): Likewise.
3127         (link-libc-tests-rpath-link): Likewise.
3128         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3129         (link-libc): Prepand $(link-libc-rpath-link).
3130         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3131         (test-program-prefix): New macro.
3132         (test-via-rtld-prefix): Likewise.
3133         (test-program-cmd): Likewise.
3134         (host-test-program-cmd): Likewise.
3135         * Makefile ($(common-objpfx)testrun.sh): Replace
3136         $(run-program-prefix) with $(test-program-prefix).
3137         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3138         $(rtld-LDFLAGS).
3139         ($(common-objpfx)shlib.lds): Likewise.
3140         (build-module-helper): Likewise.
3141         ($(common-objpfx)format.lds): Likewise.
3142         * Rules (binaries-pie-tests): New.
3143         (binaries-pie-notests): Likewise.
3144         (binaries-pie): Rewritten.
3145         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3146         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3147         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3148         (make-test-out): Replace $(host-built-program-cmd) with
3149         $(host-test-program-cmd).
3150         * config.make.in (build-hardcoded-path-in-tests): New variable.
3151         * configure.in (--enable-hardcoded-path-in-tests): New configure
3152         option.
3153         (hardcoded_path_in_tests): New AC_SUBST.
3154         * configure: Regenerated.
3155         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3156         $(built-program-cmd) with $(test-program-cmd).
3157         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3158         (test_program_cmd): This.
3159         * elf/Makefile ($(objpfx)order.out): Run test with
3160         $(test-program-prefix).
3161         ($(objpfx)order2.out): Likewise.
3162         ($(objpfx)tst-initorder.out): Likewise.
3163         ($(objpfx)tst-initorder2.out): Likewise.
3164         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3165         $(test-program-cmd).
3166         ($(objpfx)tst-array1-static.out): Likewise.
3167         ($(objpfx)tst-array2.out): Likewise.
3168         ($(objpfx)tst-array3.out): Likewise.
3169         ($(objpfx)tst-array4.out): Likewise.
3170         ($(objpfx)tst-array5.out): Likewise.
3171         ($(objpfx)tst-array5-static.out): Likewise.
3172         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3173         $(test-program-cmd).
3174         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3175         $(run-program-prefix) with $(test-program-prefix).
3176         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3177         (test_program_prefix): This.
3178         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3179         $(run-program-prefix) with $(test-program-prefix).
3180         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3181         (test_program_prefix): This.
3182         * iconvdata/tst-tables.sh: Likewise.
3183         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3184         $(run-program-prefix) with $(test-program-prefix).
3185         ($(objpfx)tst-translit.out): Likewise.
3186         ($(objpfx)tst-gettext2.out): Likewise.
3187         ($(objpfx)tst-gettext4.out): Likewise.
3188         ($(objpfx)tst-gettext6.out): Likewise.
3189         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3190         (test_program_prefix): This.
3191         * intl/tst-gettext2.sh: Likewise.
3192         * intl/tst-gettext4.sh  Likewise.
3193         * intl/tst-gettext6.sh: Likewise.
3194         * intl/tst-translit.sh: Likewise.
3195         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3196         with $(test-program-cmd).
3197         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3198         $(run-program-prefix) with $(test-program-prefix).
3199         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3200         (test_program_prefix): This.
3201         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3202         $(run-program-prefix) with $(test-program-prefix).
3203         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3204         (test_program_prefix): This.
3205         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3206         * posix/Makefile ($(objpfx)globtest.out): Replace
3207         $(run-via-rtld-prefix) and $(test-wrapper) with
3208         $(test-program-prefix) and $(test-via-rtld-prefix).
3209         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3210         $(test-program-prefix).
3211         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3212         $(host-test-program-cmd).
3213         (tst-spawn-ARGS): Likewise.
3214         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3215         $(test-program-prefix).
3216         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3217         (test_via_rtld_prefix): This.
3218         (test_wrapper): Renamed to ...
3219         (test_program_prefix): This.
3220         (run_program_prefix): Replaced by test_program_prefix.
3221         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3222         (test_program_prefix): This.
3223         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3224         with $(host-test-program-cmd).
3225         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3226         $(run-program-prefix) with $(test-program-prefix).
3227         ($(objpfx)tst-printf.out): Likewise.
3228         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3229         $(test-program-cmd).
3230         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3231         (test_program_prefix): This.
3232         * stdio-common/tst-unbputc.sh: Likewise.
3233         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3234         $(run-program-prefix) with $(test-program-prefix).
3235         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3236         (test_program_prefix): This.
3237         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3238         $(built-program-cmd) with $(test-program-cmd).
3240 2013-01-11  Andreas Jaeger  <aj@suse.de>
3242         [BZ #15003]
3243         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3244         value. Sync with Linux 3.7.
3246 2013-01-10  David S. Miller  <davem@davemloft.net>
3248         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3249         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3250         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3252 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3254         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3255         never set.
3256         * configure: Regenerated.
3258 2013-01-10  David S. Miller  <davem@davemloft.net>
3260         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3261         sparc V9 rather than using V8 code.
3262         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3263         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3265 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3267         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3268         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3269         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3270         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3271         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3272         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3273         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3274         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3275         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3276         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3277         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3278         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3279         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3280         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3281         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3282         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3283         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3284         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3285         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3286         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3287         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3288         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3289         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3290         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3291         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3292         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3293         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3295 2013-01-10  David S. Miller  <davem@davemloft.net>
3297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3299 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3301         * posix/Makefile (tests-static): New variable.
3302         (tests): Add $(tests-static).
3303         (tst-exec-static-ARGS): New variable.
3304         (tst-spawn-static-ARGS): Likewise.
3305         * posix/tst-exec-static.c: New file.
3306         * posix/tst-spawn-static.c: Likewise.
3307         * posix/tst-exec.c: Support run directly.
3308         * posix/tst-spawn.c: Likewise.
3310 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3312         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3313         long.
3314         * math/bits/mathcalls.h (llrint): Likewise.
3315         (llround): Likewise.
3316         * stdlib/stdlib.h (struct drand48_data): Likewise.
3317         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3318         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3319         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3320         Likewise.
3321         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3322         Likewise.
3323         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3324         (elf_greg_t): Likewise.
3325         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3326         (__jmp_buf): Likewise.
3327         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3328         definitions.
3329         (llrint): Likewise, for all definitions.
3330         (llrintl): Likewise.
3332         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3333         Remove [__GNUC__] condition.
3334         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3335         condition to just [__USE_ISOC99].
3336         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3338 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3340         [BZ #14200]
3341         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3342         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3343         defined.
3344         (_POSIX_V6_ILP32_OFF32): Likewise.
3345         (_XBS5_ILP32_OFF32): Likewise.
3346         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3347         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3349 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3351         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3353         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3354         doubles __mpexp_twomm1.  Adjust usage.
3355         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3356         Remove.
3358 2013-01-10  Andreas Schwab  <schwab@suse.de>
3360         [BZ #14964]
3361         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3362         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3364 2013-01-09  David S. Miller  <davem@davemloft.net>
3366         [BZ #15003]
3367         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3368         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3369         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3370         TCP_FASTOPEN): Define.
3371         (tcp_repair_opt): New structure.
3372         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3373         enum values.
3374         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3375         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3376         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3377         (tcp_cookie_transactions): New structure.
3379 2013-01-09  Anton Blanchard  <anton@samba.org>
3381         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3382         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3383         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3384         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3386 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3388         * include/features.h (__USE_ANSI): Remove.
3390 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3392         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3394         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3396 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3398         * sysdeps/s390/fpu/libm-test-ulps: Update.
3400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3402         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3403         (__acr): Likewise.
3404         (__cpy): Likewise.
3405         (norm): Likewise.
3406         (denorm): Likewise.
3407         (__mp_dbl): Likewise.
3408         (__dbl_mp): Likewise.
3409         (add_magnitudes): Likewise.
3410         (sub_magnitudes): Likewise.
3411         (__add): Likewise.
3412         (__sub): Likewise.
3413         (__mul): Likewise.
3414         (__inv): Likewise.
3415         (__dvd): Likewise.
3416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3417         (__acr): Likewise.
3418         (__cpy): Likewise.
3419         (norm): Likewise.
3420         (denorm): Likewise.
3421         (__mp_dbl): Likewise.
3422         (__dbl_mp): Likewise.
3423         (add_magnitudes): Likewise.
3424         (sub_magnitudes): Likewise.
3425         (__add): Likewise.
3426         (__sub): Likewise.
3427         (__mul): Likewise.
3428         (__inv): Likewise.
3429         (__dvd): Likewise.
3430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3431         (__acr): Likewise.
3432         (__cpy): Likewise.
3433         (norm): Likewise.
3434         (denorm): Likewise.
3435         (__mp_dbl): Likewise.
3436         (__dbl_mp): Likewise.
3437         (add_magnitudes): Likewise.
3438         (sub_magnitudes): Likewise.
3439         (__add): Likewise.
3440         (__sub): Likewise.
3441         (__mul): Likewise.
3442         (__inv): Likewise.
3443         (__dvd): Likewise.
3445 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3447         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3448         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3449         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3450         2 && __USE_EXTERN_INLINES]: Likewise.
3452 2013-01-08  Andreas Jaeger  <aj@suse.de>
3454         [BZ# 14985]
3455         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3456         Remove.
3457         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3458         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3460 2013-01-07  Anton Blanchard  <anton@samba.org>
3462         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3463         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3464         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3465         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3466         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3467         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3468         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3469         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3471         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3472         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3473         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3474         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3475         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3476         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3477         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3478         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3479         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3480         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3481         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3482         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3483         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3484         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3485         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3486         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3487         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3488         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3489         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3490         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3491         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3492         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3495         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3496         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3497         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3498         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3499         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3500         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3501         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3502         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3503         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3504         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3506 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3508         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3509         (__MALLOC_PMT): Likewise.
3510         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3511         [__GNUC__], only on [_LIBC].
3512         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3513         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3514         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3515         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3516         forward declaration.
3517         (realloc_hook_ini): Likewise.
3518         (memalign_hook_ini): Likewise.
3519         (__libc_memalign): Do not use __MALLOC_PMT in variable
3520         declaration.
3521         (__libc_valloc): Likewise.
3522         (__libc_pvalloc): Likewise.
3523         (__libc_calloc): Likewise.
3524         (__posix_memalign): Likewise.
3526         [BZ #14996]
3527         * math/s_casinh.c: Include <float.h>.
3528         (__casinh): Do not do computation with squaring and square root
3529         for large arguments.
3530         * math/s_casinhf.c: Include <float.h>.
3531         (__casinhf): Do not do computation with squaring and square root
3532         for large arguments.
3533         * math/s_casinhl.c: Include <float.h>.
3534         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3535         (__casinhl): Do not do computation with squaring and square root
3536         for large arguments.
3537         * math/libm-test.inc (casin_test): Add more tests.
3538         (casinh_test): Likewise.
3539         * sysdeps/i386/fpu/libm-test-ulps: Update.
3540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3542 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3544         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3545         (__x86_64_raw_data_cache_size): Likewise.
3546         (__x86_64_data_cache_size_half): Likewise.
3547         (__x86_64_raw_data_cache_size_half): Likewise.
3548         (__x86_64_shared_cache_size): Likewise.
3549         (__x86_64_raw_shared_cache_size): Likewise.
3550         (__x86_64_shared_cache_size_half): Likewise.
3551         (__x86_64_raw_shared_cache_size_half): Likewise.
3552         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3553         to ...
3554         (__x86_data_cache_size): This.
3555         (__x86_64_raw_data_cache_size): Renamed to ...
3556         (__x86_raw_data_cache_size): This.
3557         (__x86_64_data_cache_size_half): Renamed to ...
3558         (__x86_data_cache_size_half): This.
3559         (__x86_64_raw_data_cache_size_half): Renamed to ...
3560         (__x86_raw_data_cache_size_half): This.
3561         (__x86_64_shared_cache_size): Renamed to ...
3562         (__x86_shared_cache_size): This.
3563         (__x86_64_raw_shared_cache_size): Renamed to ...
3564         (__x86_raw_shared_cache_size): This.
3565         (__x86_64_shared_cache_size_half): Renamed to ...
3566         (__x86_shared_cache_size_half): This.
3567         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3568         (__x86_raw_shared_cache_size_half): This.
3569         * sysdeps/x86_64/memcpy.S: Updated.
3570         * sysdeps/x86_64/memset.S: Likewise.
3571         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3575 2013-01-04  David S. Miller  <davem@davemloft.net>
3577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3579 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3581         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3582         1 to avoid redefinition warning.
3583         (__USE_GNU): Don't define.
3584         (init_signaling_nan): Protoize.
3586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3588 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3590         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3592         (__cpymn): Likewise.
3593         (norm): Remove commented code.
3594         (denorm): Likewise.
3595         (__mp_dbl): Likewise.
3596         (__inv): Likewise.
3597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3598         (__cpymn): Likewise.
3599         (norm): Remove commented code.
3600         (denorm): Likewise.
3601         (__mp_dbl): Likewise.
3602         (__inv): Likewise.
3604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3605         mp_no value for 1.0 and 2.0.
3606         (norm): Use RADIXI instead of radixi.d.
3607         (denorm): Likewise.
3608         (__mul): Use 0.0 instead of zero.d.
3609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3610         mp_no value for 1.0 and 2.0.
3611         (norm): Use RADIXI instead of radixi.d.
3612         (denorm): Likewise.
3613         (__mul): Use 0.0 instead of zero.d.
3615 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3617         [BZ #14994]
3618         * math/s_casinh.c (__casinh): Reduce finite argument to first
3619         quadrant then set signs of results at the end.
3620         * math/s_casinhf.c (__casinhf): Likewise.
3621         * math/s_casinhl.c (__casinhl): Likewise.
3622         * math/libm-test.inc (casin_test): Add more tests.
3623         (casinh_test): Likewise.
3624         * sysdeps/i386/fpu/libm-test-ulps: Update.
3625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3629         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3631         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3633         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3634         declarations.
3635         (denorm): Likewise.
3636         (__mp_dbl): Likewise.
3637         (__inv): Likewise.
3639         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3640         and adjust the header comment.
3642         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3643         variable name from declaration.
3645 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3648         Initialize COMMON_CPUID_INDEX_7 element.
3649         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3650         (CPUID_RTM): Likewise.
3651         (HAS_RTM): Likewise.
3652         (COMMON_CPUID_INDEX_7): New enum.
3654 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
3656         [BZ #14981]
3657         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3658         size is zero, record memory as freed.
3660 2013-01-03  Andreas Jaeger  <aj@suse.de>
3662         * po/ia.po: Add new Interlingua translation.
3664 2012-01-03  Allan McRae  <allan@archlinux.org>
3666         * locale/programs/localedef.c: Fix description of '--posix' flag.
3668 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
3670         * NEWS: Update dates in second copyright notice.
3671         * README: Update copyright dates in example.
3672         * manual/libc.texinfo: Update copyright dates.
3673         * scripts/test-installation.pl: Update copyright date in --version
3674         output.
3676         * hurd/ctty-input.c: Fix copyright notice formatting.
3677         * hurd/ctty-output.c: Likewise.
3678         * hurd/dtable.c: Likewise.
3679         * hurd/hurd-raise.c: Likewise.
3680         * hurd/hurdprio.c: Likewise.
3681         * hurd/msgportdemux.c: Likewise.
3682         * misc/sys/file.h: Likewise.
3683         * misc/sys/ioctl.h: Likewise.
3684         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3685         * sysdeps/mach/hurd/chdir.c: Likewise.
3686         * sysdeps/mach/hurd/fchdir.c: Likewise.
3687         * sysdeps/mach/hurd/rename.c: Likewise.
3688         * sysdeps/mach/hurd/rmdir.c: Likewise.
3689         * sysdeps/mach/hurd/seekdir.c: Likewise.
3690         * sysdeps/mach/hurd/setsid.c: Likewise.
3691         * sysdeps/posix/wait3.c: Likewise.
3693         * All files with FSF copyright notices: Update copyright dates
3694         using scripts/update-copyrights.
3695         * intl/plural.c: Regenerated.
3696         * locale/programs/charmap-kw.h: Likewise.
3697         * locale/programs/locfile-kw.h: Likewise.
3699 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3701         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3702         four values.
3704         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3705         calculation loop and add branch prediction.
3707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3708         check access beyond bounds of m1np.
3710         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3711         MPTWO.
3712         (__inv): Remove local variable MPTWO to use the global
3713         constant.
3714         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3715         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3716         variable MPTWO.
3717         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3718         MP3HALFS static const.
3720 2013-01-01  David S. Miller  <davem@davemloft.net>
3722         * po/ca.po: Update from translation team.
3724 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
3726         * scripts/update-copyrights: New file.
3727         * Makeconfig: Reformat copyright notice.
3728         * ctype/ctype.h: Likewise.
3729         * debug/swprintf_chk.c: Likewise.
3730         * elf/dl-cache.c: Likewise.
3731         * elf/dl-debug.c: Likewise.
3732         * elf/dl-object.c: Likewise.
3733         * grp/initgroups.c: Likewise.
3734         * hurd/Makefile: Likewise.
3735         * hurd/hurd/signal.h: Likewise.
3736         * hurd/hurdfault.c: Likewise.
3737         * hurd/hurdioctl.c: Likewise.
3738         * hurd/hurdlookup.c: Likewise.
3739         * hurd/intr-msg.c: Likewise.
3740         * iconv/gconv_open.c: Likewise.
3741         * libio/swprintf.c: Likewise.
3742         * locale/lc-ctype.c: Likewise.
3743         * locale/nl_langinfo.c: Likewise.
3744         * mach/Machrules: Likewise.
3745         * mach/Makefile: Likewise.
3746         * malloc/obstack.h: Likewise.
3747         * manual/Makefile: Likewise.
3748         * manual/tsort.awk: Likewise.
3749         * misc/bits/stab.def: Likewise.
3750         * nis/nis_print_group_entry.c: Likewise.
3751         * nis/nis_table.c: Likewise.
3752         * nis/nss_compat/compat-pwd.c: Likewise.
3753         * nis/nss_compat/compat-spwd.c: Likewise.
3754         * po/Makefile: Likewise.
3755         * posix/fnmatch.c: Likewise.
3756         * posix/regex.h: Likewise.
3757         * resolv/Makefile: Likewise.
3758         * resolv/nss_dns/dns-network.c: Likewise.
3759         * resolv/res_hconf.c: Likewise.
3760         * scripts/gen-sorted.awk: Likewise.
3761         * soft-fp/soft-fp.h: Likewise.
3762         * stdio-common/printf.h: Likewise.
3763         * stdlib/monetary.h: Likewise.
3764         * stdlib/random.c: Likewise.
3765         * stdlib/random_r.c: Likewise.
3766         * sysdeps/generic/Makefile: Likewise.
3767         * sysdeps/gnu/Makefile: Likewise.
3768         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3769         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3770         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3772         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3773         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3774         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3775         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3778         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3779         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3780         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3781         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3782         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3783         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3784         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3785         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3786         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3787         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3788         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3789         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3790         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3791         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3792         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3793         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3794         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3795         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3796         * sysdeps/mach/hurd/errnos.awk: Likewise.
3797         * sysdeps/mach/hurd/fork.c: Likewise.
3798         * sysdeps/mach/hurd/getcwd.c: Likewise.
3799         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3800         * sysdeps/mach/hurd/mmap.c: Likewise.
3801         * sysdeps/mach/hurd/utimes.c: Likewise.
3802         * sysdeps/mach/hurd/xmknod.c: Likewise.
3803         * sysdeps/posix/profil.c: Likewise.
3804         * sysdeps/posix/readdir_r.c: Likewise.
3805         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3806         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3807         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3808         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3810         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3811         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3812         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3814         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3815         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3816         * sysdeps/pthread/lio_listio.c: Likewise.
3817         * sysdeps/sparc/dl-procinfo.h: Likewise.
3818         * sysdeps/unix/i386/sysdep.S: Likewise.
3819         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3820         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3821         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3822         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3824         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3825         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3826         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3827         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3828         * sysdeps/wordsize-32/divdi3.c: Likewise.
3829         * time/sys/time.h: Likewise.
3830         * wcsmbs/Makefile: Likewise.
3832 2013-01-01  David S. Miller  <davem@davemloft.net>
3834         * po/fr.po: Update from translation team.
3836         * catgets/gencat.c: Update copyright year.
3837         * csu/version.c: Likewise.
3838         * debug/catchsegv.sh: Likewise.
3839         * debug/pcprofiledump.c: Likewise.
3840         * debug/xtrace.sh: Likewise.
3841         * elf/ldconfig.c: Likewise.
3842         * elf/ldd.bash.in: Likewise.
3843         * elf/pldd.c: Likewise.
3844         * elf/sotruss.ksh: Likewise.
3845         * elf/sprof.c: Likewise.
3846         * iconv/iconv_prog.c: Likewise.
3847         * iconv/iconvconfig.c: Likewise.
3848         * locale/programs/locale.c: Likewise.
3849         * locale/programs/localedef.c: Likewise.
3850         * login/programs/pt_chown.c: Likewise.
3851         * malloc/memusage.sh: Likewise.
3852         * malloc/memusagestat.c: Likewise.
3853         * malloc/mtrace.pl: Likewise.
3854         * nscd/nscd.c: Likewise.
3855         * nss/getent.c: Likewise.
3856         * nss/makedb.c: Likewise.
3857         * posix/getconf.c: Likewise.
3859 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3861         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3862         numbers.
3864 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
3866         * math/bits/mathcalls.h (modf): Use __nonnull.
3868 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3870         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3871         (split): Use macro CN instead of the bare value.
3872         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3873         could be used.
3874         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3875         instead of the bare value.
3876         (power1): Likewise.
3878 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3880         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3881         __ATAN_TWOM.
3882         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3884         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3885         their values.
3886         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3887         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3888         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3889         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3891 2012-12-28  Andreas Jaeger  <aj@suse.de>
3893         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
3894         values are from Linux 3.7.
3896         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3897         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
3899 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3901         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3902         TRUE case.
3904         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3905         (norm): Likewise.
3906         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3907         variables with preprocessor constants.
3908         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3909         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3910         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3912 2012-12-27  Bruno Haible  <bruno@clisp.org>
3914         [BZ #14317]
3915         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3916         only if needed.
3918 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3920         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3921         and use variable directly.
3922         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3924         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3925         MPONE.
3926         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3927         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3928         variable MPONE.
3929         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3931         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3932         include directive.  Remove local variable MPONE.
3933         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3934         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3935         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3937 2012-12-25  David S. Miller  <davem@davemloft.net>
3939         * version.h (RELEASE): Set to "development".
3940         (VERSION): Set to "2.17.90".
3941         * NEWS: Add 2.18 section.
3943 2012-12-21  David S. Miller  <davem@davemloft.net>
3945         * po/hr.po: Update from translation team.
3947 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3949         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3951 2012-12-19  Steve Ellcey  <sellcey@mips.com>
3953         * NEWS:  Mention new memcpy for MIPS.
3955 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3957         * manual/contrib.texi (Contributors): Spelling correction.
3959 2012-12-15  David S. Miller  <davem@davemloft.net>
3961         * po/ru.po: Update from translation team.
3963 2012-12-13  David S. Miller  <davem@davemloft.net>
3965         * NEWS: Mention IFUNC testsuite enhancements.
3967         * po/pl.po: Update from translation team.
3968         * po/bg.po: Likewise.
3970         * manual/contrib.texi (Contributors): Update entries for Hongjiu
3971         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
3973 2012-12-11  David S. Miller  <davem@davemloft.net>
3975         * po/sv.po: Update from translation team.
3977         * po/vi.po: Update from translation team.
3979         * po/cs.po: Update from translation team.
3981         * po/de.po: Update from translation team.
3982         * po/eo.po: Likewise.
3983         * po/nl.po: Likewise.
3985 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3987         [BZ #14246]
3988         * manual/argp.texi (Argp Helper Functions): Move node to follow
3989         Argp Parsing State.
3991         [BZ #14872]
3992         * manual/conf.texi (Limits on File System Capacity): Mention if
3993         terminating null is included in the max size.
3995 2012-12-10  Andreas Jaeger  <aj@suse.de>
3997         * po/cs.po: Update from translation team.
3999 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4001         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4002         void pointer and cast to uintptr_t.
4003         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4004         path.
4005         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4006         * sysdeps/s390/s390-64/memset.S: Likewise.
4008 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4010         [BZ #14833]
4011         * menual/message.texi (Message Translation): Fix typos.
4012         (Helper programs for gettext): Likewise.
4014 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4016         [BZ #14898]
4017         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4018         Change to -1.
4020 2012-12-07  David S. Miller  <davem@davemloft.net>
4022         * po/libc.pot: Update.
4024 2012-12-07  Richard Henderson  <rth@redhat.com>
4026         [BZ #10114]
4027         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4028         normal/normal case to before the switch.
4029         (_FP_DIV): Likewise.
4031 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4032             Mike Frysinger  <vapier@gentoo.org>
4034         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4035         check for __NR_fadvise64_64.
4037 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4039         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4040         0, not just to plain "0" as a statement.
4041         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4042         with cw.
4044 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4046         * NEWS: Use sourceware.org in Bugzilla URL.
4048 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4051         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4053         * stdio-common/tst-put-error.c (do_test): Add newline to the
4054         padded test to ensure flush.
4056 2012-12-05  Jeff Law  <law@redhat.com>
4058         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4060 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4062         * README: Don't refer to ports add-on as distributed separately.
4063         Mention AArch64 in list of systems supported in the ports add-on.
4065         * LICENSES: Add more non-FSF copyright and license notices.
4067         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4068         ((unused)).
4070         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4072         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4073         10000 as width of padded output.
4075 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4077         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4079         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4080         variable LX with __attribute__ ((unused)).
4081         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4082         Likewise.
4083         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4085         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4086         with __attribute__ ((unused)).
4088 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4090         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4092 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4094         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4095         (CFLAGS-nldbl-acos.c): New variable.
4096         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4097         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4098         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4099         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4100         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4101         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4102         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4103         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4104         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4105         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4106         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4107         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4108         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4109         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4110         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4111         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4112         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4113         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4114         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4115         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4116         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4117         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4118         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4119         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4120         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4121         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4122         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4123         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4124         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4125         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4126         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4127         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4128         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4129         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4130         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4131         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4132         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4133         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4134         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4135         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4136         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4137         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4138         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4139         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4140         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4141         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4142         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4143         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4144         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4145         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4146         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4147         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4148         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4149         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4150         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4151         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4152         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4153         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4154         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4155         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4156         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4157         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4158         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4159         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4160         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4161         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4162         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4163         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4164         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4165         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4166         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4167         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4168         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4169         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4170         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4171         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4172         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4173         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4174         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4175         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4176         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4177         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4178         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4179         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4180         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4181         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4182         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4183         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4184         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4185         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4186         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4187         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4188         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4189         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4190         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4191         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4192         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4195         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4197         [BZ #14914]
4198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4199         whole low double instead of just low 47 bits when splitting values
4200         into two parts.
4202 2012-12-03  Allan McRae  <allan@archlinux.org>
4204         * manual/stdio.texi (Predefined Printf Handlers): Remove
4205         @hsep and @vsep usage.
4207 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4209         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4210         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4212 2012-12-03  Jeff Law  <law@redhat.com>
4214         * time/sys/time.h (settimeofday): Do not mark TV argument
4215         as __nonnull.
4217 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4219         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4220         when currently writing and seek to current position when not.
4221         * libio/Makefile (tests): Remove bug-fclose1.
4222         * libio/bug-fclose1.c: Delete.
4224 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4226         * manual/arith.texi (feenableexcept): Fix typo.
4227         (fedisableexcept): Likewise.
4229 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4231         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4232         second, differently-typed declaration, rather than a cast.
4234 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4236         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4237         * include/rpc/svc.h: ... here.
4239 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4241         [BZ #13013]
4242         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4243         depending n and resplen2 to catch cases where answer
4244         equals answerp2.
4246 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4248         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4249         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4251 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4253         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4255 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4257         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4259 2012-11-28  Jeff Law  <law@redhat.com>
4261         [BZ #13761]
4262         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4263         dataset_temporary.  Track alloca usage into alloca_used.
4264         If dataset is large allocate and release it via malloc/free.
4266 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4268         [BZ #14197]
4269         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4271 2012-11-28  David S. Miller  <davem@davemloft.net>
4273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4275 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4277         [BZ #14803]
4278         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4279         of pi/2 rounded to nearest to 64 bits.
4280         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4281         nearest to 64 bits.
4282         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4283         bits.
4285 2012-11-28  Jeff Law <law@redhat.com>
4286             Martin Osvald <mosvald@redhat.com>
4288         [BZ #14889]
4289         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4290         * sunrpc/svc.c: Include time.h.
4291         (__svc_accept_failed): New function.
4292         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4293         any reason other than EINTR, call __svc_accept_failed.
4294         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4295         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4297 2012-11-28  Andreas Schwab  <schwab@suse.de>
4299         * scripts/abilist.awk: Also handle indirect functions in .opd
4300         section.
4302 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4304         [BZ #13881]
4305         * sysdeps/x86/fpu/powl_helper.c: New file.
4306         * sysdeps/x86/fpu/Makefile: Likewise.
4307         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4308         (p3): New object.
4309         (__ieee754_powl): Use __powl_helper for finite arguments except
4310         integer exponents below 8.
4311         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4312         (p3): New object.
4313         (__ieee754_powl): Use __powl_helper for finite arguments except
4314         integer exponents below 8.
4315         * math/libm-test.inc (pow_test): Add more tests and enable some
4316         previously disabled tests.
4317         * sysdeps/i386/fpu/libm-test-ulps: Update.
4318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4320 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4321             Carlos O'Donell  <carlos_odonell@mentor.com>
4323         * nss/makedb.c (is_prime): Assert that input is odd and greater
4324         than 4.  Note that fact in a comment too.
4325         (next_prime): Add 4 to input.
4327 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4329         [BZ #11741]
4330         * libio/Makefile (tests): Add test case tst-fwrite-error.
4331         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4332         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4333         * libio/tst-fwrite-error.c: New test case.
4335 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4337         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4338         before casting to void *.
4339         * include/libc-internal.h (__pointer_type): New macro.
4340         (__integer_if_pointer_type_sub): Likewise.
4341         (__integer_if_pointer_type): Likewise.
4342         (cast_to_integer): Likewise.
4343         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4344         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4345         before casting to atomic64_t.
4346         (atomic_exchange_acq): Likewise.
4347         (__arch_exchange_and_add_body): Likewise.
4348         (__arch_add_body): Likewise.
4349         (atomic_add_negative): Likewise.
4350         (atomic_add_zero): Likewise.
4352 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4354         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4355         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4356         (add_fdes): Likewise.
4357         (linear_search_fdes): Likewise.
4358         (binary_search_unencoded_fdes): Likewise.
4360 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4362         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4364 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4366         * configure.in: Autodetect C++ header directories.
4367         * configure: Regenerated.
4369 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4371         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4373 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4377 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4379         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4380         LDBL_MANT_DIG == 106]: Disable some tests.
4381         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4382         Likewise.
4383         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4384         Likewise.
4386         [BZ #14871]
4387         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4388         input for small inputs.  Return +/- pi/2 for large inputs.
4389         * math/libm-test.inc (atan_test): Add more tests.
4391         * sysdeps/generic/unwind-dw2-fde-glibc.c
4392         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4393         __attribute__ ((unused)).
4395         [BZ #14645]
4396         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4397         x * y if x and y are nonzero and z is zero.
4399         [BZ #14811]
4400         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4401         nonzero exponents with absolute value below 0x1p-117 to +/-
4402         0x1p-117.
4404         [BZ #14869]
4405         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4406         up arguments below 2**-450, not just those below 2**-500.
4407         * math/libm-test.inc (hypot_test): Add another test.
4409         [BZ #14868]
4410         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4411         Return a+b for ratio over 2**120, not 2**60.
4412         * math/libm-test.inc (hypot_test): Add another test.
4414         * math/libm-test.inc (clog_test): Use
4415         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4416         (clog10_test): Likewise.
4418         [BZ #6778]
4419         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4421 2012-11-22  Andreas Schwab  <schwab@suse.de>
4423         * sysdeps/i386/fpu/libm-test-ulps: Update.
4425 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4427         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4428         printf output with newline.
4430 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4432         [BZ #14865]
4433         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4434         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4435         -z nodlopen, -z initfirst and -z execstack support.
4436         * configure: Regenerated.
4438         * elf/elf.h (DF_1_NODIRECT): New macro.
4439         (DF_1_IGNMULDEF): Likewise.
4440         (DF_1_NOKSYMS): Likewise.
4441         (DF_1_NOHDR): Likewise.
4442         (DF_1_EDITED): Likewise.
4443         (DF_1_NORELOC): Likewise.
4444         (DF_1_SYMINTPOSE): Likewise.
4445         (DF_1_GLOBAUDIT): Likewise.
4446         (DF_1_SINGLETON): Likewise.
4447         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4448         DT_1_SUPPORTED_MASK bits.
4449         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4451 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4453         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4455 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4457         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4458         macro.
4460         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4461         (sendmmsg): Move declarations...
4462         * socket/sys/socket.h: ... here.
4463         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4464         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4465         include it from...
4466         * socket/recvmmsg.c: ... this new file.
4467         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4468         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4469         definition of __sendmmsg hidden.
4470         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4471         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4472         Move ENOSYS stub into and include it from...
4473         * socket/sendmmsg.c: ... this new file.
4474         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4475         (sysdep_routines): Move recvmmsg and sendmmsg...
4476         * socket/Makefile (routines): ... here.
4477         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4478         (GLIBC_PRIVATE): Add __sendmmsg.
4479         * include/sys/socket.h (__sendmmsg): Add declarations.
4480         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4481         sendmmsg.
4483 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4485         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4486         variable I1 with __attribute__ ((unused)).
4487         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4489 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4491         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4492         DUMMY variables with __attribute__ ((unused)).
4494         * bits/byteswap.h: Include <bits/types.h>.
4495         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4497 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4499         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4500         string_t.  Do not manually set errno.
4501         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4502         length with __strnlen.  Make sure to both set errno and return it on
4503         failure.
4505 2012-11-19  David S. Miller  <davem@davemloft.net>
4507         With help from Joseph Myers.
4508         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4509         very large arguments properly.
4510         * math/libm-test.inc (atan_test): New tests.
4511         (atan2_test): New tests.
4512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4515 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4517         [BZ #14856]
4518         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4519         Define to 3.
4521         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4522         [POSIX] (EADDRNOTAVAIL): Likewise.
4523         [POSIX] (EAFNOSUPPORT): Likewise.
4524         [POSIX] (EALREADY): Likewise.
4525         [POSIX] (ECONNABORTED): Likewise.
4526         [POSIX] (ECONNREFUSED): Likewise.
4527         [POSIX] (ECONNRESET): Likewise.
4528         [POSIX] (EDESTADDRREQ): Likewise.
4529         [POSIX] (EDQUOT): Likewise.
4530         [POSIX] (EHOSTUNREACH): Likewise.
4531         [POSIX] (EIDRM): Likewise.
4532         [POSIX] (EISCONN): Likewise.
4533         [POSIX] (ELOOP): Likewise.
4534         [POSIX] (EMULTIHOP): Likewise.
4535         [POSIX] (ENETDOWN): Likewise.
4536         [POSIX] (ENETUNREACH): Likewise.
4537         [POSIX] (ENOBUFS): Likewise.
4538         [POSIX] (ENODATA): Likewise.
4539         [POSIX] (ENOLINK): Likewise.
4540         [POSIX] (ENOMSG): Likewise.
4541         [POSIX] (ENOPROTOOPT): Likewise.
4542         [POSIX] (ENOSR): Likewise.
4543         [POSIX] (ENOSTR): Likewise.
4544         [POSIX] (ENOTCONN): Likewise.
4545         [POSIX] (ENOTSOCK): Likewise.
4546         [POSIX] (EOPNOTSUPP): Likewise.
4547         [POSIX] (EOVERFLOW): Likewise.
4548         [POSIX] (EPROTO): Likewise.
4549         [POSIX] (EPROTONOSUPPORT): Likewise.
4550         [POSIX] (EPROTOTYPE): Likewise.
4551         [POSIX] (ESTALE): Likewise.
4552         [POSIX] (ETIME): Likewise.
4553         [POSIX] (ETXTBSY): Likewise.
4554         [POSIX] (EWOULDBLOCK): Likewise.
4555         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4556         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4557         [POSIX] (SEEK_CUR): Likewise.
4558         [POSIX] (SEEK_END): Likewise.
4559         [POSIX || UNIX98] (mode_t): Do not require.
4560         [POSIX] (off_t): Likewise.
4561         [POSIX] (pid_t): Likewise.
4562         [POSIX] (sys/stat.h): Do not allow header.
4563         [POSIX] (unistd.h): Likewise.
4564         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4565         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4566         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4567         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4568         require.
4569         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4570         sigevent): Specify elements.
4571         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4572         entry.
4573         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4574         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4576         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4577         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4578         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4579         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4580         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4581         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4582         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4583         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4584         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4585         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4586         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4587         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4588         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4589         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4590         Likewise.
4591         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4592         Likewise.
4593         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4594         Likewise.
4595         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4596         Likewise.
4597         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4598         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4599         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4600         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4601         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4602         Specify lower bound on value.
4603         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4604         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4605         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4606         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4607         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4608         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4609         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4610         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4611         value.
4612         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4613         as optional.
4614         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4615         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4616         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4617         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4618         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4619         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4620         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4621         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4622         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4623         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4624         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4625         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4626         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4627         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4628         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4629         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4630         entry.
4631         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4632         optional.
4633         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4634         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4635         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4636         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4637         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4638         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4639         Likewise.
4640         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4641         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4642         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4643         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4644         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4645         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4646         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4647         as optional.
4648         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4649         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4650         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4651         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4652         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4653         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4654         specify as optional.
4655         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4656         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4657         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4658         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4659         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4660         [XPG3] (NL_LANGMAX): Likewise.
4661         [POSIX || XPG3] (NL_MSGMAX): Likewise.
4662         [POSIX || XPG3] (NL_NMAX): Likewise.
4663         [POSIX || XPG3] (NL_SETMAX): Likewise.
4664         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4665         [XPG3] (NZERO): Likewise.
4666         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4667         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4668         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4669         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4670         (REG_ERANGE): Expect.
4671         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4672         optional-constant.
4673         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4674         Use (void) in prototype.
4675         [POSIX] (*_t): Allow.
4676         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4677         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4678         (WRDE_BADVAL): Expect.
4680         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4681         expect.
4682         [XPG3 || XPG4] (O_RSYNC): Likewise.
4683         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4684         Likewise.
4685         [XPG3 || XPG4] (pthread_sigmask): Likewise.
4686         [XPG3 || XPG4] (sigqueue): Likewise.
4687         [XPG3 || XPG4] (sigtimedwait): Likewise.
4688         [XPG3 || XPG4] (sigwaitinfo): Likewise.
4689         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4690         [XPG3 || XPG4] (vsnprintf): Likewise.
4691         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4692         Likewise.
4693         [XPG3 || XPG4] (blksize_t): Likewise.
4694         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4695         Likewise.
4696         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4697         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4698         [XPG3 || XPG4] (struct itimerspec): Likewise.
4699         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4700         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4701         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4702         [XPG3 || XPG4] (clockid_t): Likewise.
4703         [XPG3 || XPG4] (timer_t): Likewise.
4704         [XPG3 || XPG4] (clock_getres): Likewise.
4705         [XPG3 || XPG4] (clock_gettime): Likewise.
4706         [XPG3 || XPG4] (clock_settime): Likewise.
4707         [XPG3 || XPG4] (nanosleep): Likewise.
4708         [XPG3 || XPG4] (timer_create): Likewise.
4709         [XPG3 || XPG4] (timer_delete): Likewise.
4710         [XPG3 || XPG4] (timer_gettime): Likewise.
4711         [XPG3 || XPG4] (timer_getoverrun): Likewise.
4712         [XPG3 || XPG4] (timer_settime): Likewise.
4713         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4714         [XPG3 || XPG4] (getlogin_r): Likewise.
4715         [XPG3 || XPG4] (pread): Likewise.
4716         [XPG3 || XPG4] (pthread_atfork): Likewise.
4717         [XPG3 || XPG4] (pwrite): Likewise.
4719         [BZ #14835]
4720         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4721         <bits/siginfo.h>.
4723 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4725         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4726         finalizing MALLSTREAM.
4728         * sysdeps/mach/hurd/syncfs.c: New file.
4730 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4732         [BZ #14719]
4733         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4734         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4735         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4736         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4737         (_nss_dns_gethostbyname4_r): Likewise.
4738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4739         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4741 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
4743         [BZ #13763]
4744         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4746 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
4748         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4749         * elf/cache.c (print_entry): Print ",AArch64" for
4750         FLAG_AARCH64_LIB64
4752         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4753         * elf/cache.c (print_entry): Print ",hard-float" for
4754         FLAG_ARM_LIBHF.
4756 2012-11-18  David S. Miller  <davem@davemloft.net>
4758         With help from Joseph Myers.
4759         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4760         cutoff to 2**-13.
4761         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4762         cutoff to 2**-25.
4763         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4764         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4765         small.
4766         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4767         * math/libm-test.inc (y0_test): New tests.
4768         (y1_test): New tests.
4769         * sysdeps/i386/fpu/libm-test-ulps: Update.
4770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4773 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
4775         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4776         64-bit targets.
4777         * configure: Regenerated.
4779 2012-11-17  David S. Miller  <davem@davemloft.net>
4781         [BZ #14811]
4782         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4783         nonzero exponents with absolute value below 0x1p-128 to +/-
4784         0x1p-128.
4786 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
4788         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4790         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4792         * posix/getconf-speclist.c: New file.
4793         * posix/posix-envs.def: Likewise.
4794         * posix/confstr.c (START_ENV_GROUP): New macro.
4795         (END_ENV_GROUP): Likewise.
4796         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4797         (KNOWN_PRESENT_ENV_STRING): Likewise.
4798         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4799         (UNKNOWN_ENVIRONMENT): Likewise.
4800         (confstr): Include posix-envs.def instead of handling
4801         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4802         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4803         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4804         (END_ENV_GROUP): Likewise.
4805         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4806         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4807         (UNKNOWN_ENVIRONMENT): Likewise.
4808         (__sysconf): Include posix-envs.def instead of handling associated
4809         cases directly here.
4810         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4811         preprocessing getconf-speclist.c rather than running getconf or
4812         generating empty file.
4814 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
4816         * scripts/check-local-headers.sh: Ignore 'mach' headers.
4818 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
4820         [BZ #14672]
4821         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4823 2012-11-16  David S. Miller  <davem@davemloft.net>
4825         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4826         smaller than LDBL_EPSILON/2.0L, just return xm1.
4828 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
4830         * elf/tst-array1.c (init): Set constructor priority to 1000.
4831         (fini): Set destructor priority to 1000.
4832         * elf/tst-array2dep.c: Likewise.
4834 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4836         [BZ #11741]
4837         * libio/fileops.c (_IO_new_file_write): Correctly return error.
4838         (_IO_new_file_xsputn): Also return EOF if none of the input
4839         data was written when overflow failed.
4840         * libio/iopadn.c (_IO_padn): Likewise.
4841         * libio/iowpadn.c (_IO_wpadn): Likewise.
4842         * stdio-common/tst-put-error.c: Add copyright notice.
4843         (do_test): Add case for printing padded string.
4844         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4845         _IO_padn returned error.
4846         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4847         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4848         return EOF.
4850 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4852         * libio/libioP.h: Add comment note that the references to C++
4853         bits are now obsolete.
4855 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4857         * math/libm-test.inc (check_complex): Use asprintf.
4859 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
4861         * debug/pcprofiledump.c (print_version): Update copyright year.
4862         * malloc/memusagestat.c (print_version): Likewise.
4864 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4866         [BZ #14831]
4867         * elf/Makefile (tests): Add tst-audit8.
4868         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4869         ($(objpfx)tst-audit8.out): New target.
4870         (tst-audit8-ENV): New variable.
4871         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4872         audit if l_reloc_result is NULL.
4873         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4874         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4875         * elf/tst-audit8.c: New file.
4877 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4879         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4880         * misc/Makefile (CFLAGS-select.c): Define.
4881         * posix/Makefile (CFLAGS-pause.c): Define.
4883 2012-11-13  David S. Miller  <davem@davemloft.net>
4885         * crypt/Makefile: Move test targets after toplevel Rules
4886         inclusion.  Grab any necessary sysdep routines when linking.
4887         * crypt/md5.c (md5_process_block): Remove define, we will always
4888         name it __md5_process_block.
4889         (md5_finish_ctx): Update md5_process_block call.
4890         (md5_stream): Likewise.
4891         (md5_process_bytes): Likewise.
4892         (md5_process_block): Rename to __md5_process_block and move to ...
4893         * crypt/md5-block.c: ... here.
4894         * crypt/sha256.c (sha256_process_block): Move to ...
4895         * crypt/sha256-block.c: ... here.
4896         * crypt/sha512.c (sha512_process_block): Move to ...
4897         * crypt/sha512-block.c: ... here.
4898         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4899         path.
4900         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4901         * sysdeps/sparc/sparc64/multiarch/Makefile
4902         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4903         crypt subdir.
4904         (localedef-aux): Add md5 crypto assembler when in locale subdir.
4905         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4906         multiarch changes.
4907         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4908         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4909         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4910         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4911         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4912         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4913         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4914         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4915         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4916         file.
4917         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4918         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4919         file.
4920         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4922 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
4924         * timezone/tzselect.ksh: Update from tzcode git revision
4925         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4926         * timezone/zdump.c: Likewise.
4927         * timezone/zic.c: Likewise.
4928         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4929         in TZVERSION setting, not $(PKGVERSION).
4930         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
4931         REPORT_BUGS_TO settings.
4933         [BZ #14838]
4934         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4935         macro.
4937 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4939         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4940         detection to immediately after _FP_ROUND().
4941         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4942         bits are 0.
4944 2012-11-11  David S. Miller  <davem@davemloft.net>
4946         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4947         inttypes.h
4948         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4949         __close rather than their public counterparts.
4951 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
4953         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4954         file.
4955         [UNIX98] (sem_timedwait): Do not expect.
4956         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4957         [XPG4 || UNIX98] (sockatmark): Do not expect.
4958         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4959         (clock_getcpuclockid): Do not expect.
4960         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4961         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4962         Do not expect.
4963         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4964         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4965         [UNIX98] (vwscanf): Likewise.
4966         [UNIX98] (vswscanf): Likewise.
4968 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
4970         * timezone/version.h: Remove file.
4971         * timezone/README: Do not refer to version.h.
4972         * timezone/Makefile ($(objpfx)zic.o): New dependency on
4973         $(objpfx)version.h.
4974         ($(objpfx)zdump.o): Likewise.
4975         ($(objpfx)version.h): New target.
4977         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4978         2012i.
4979         * timezone/README: Don't mention modification to tzselect.ksh.
4980         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4981         work on unmodified tzselect.ksh.  Substitute version numbers in
4982         tzselect.ksh.
4984         * Makefile (format-me): Remove.
4985         (INSTALL): Adjust indentation.  Use commands directly instead of
4986         using $(format-me).
4988         * aclocal.m4 (ACX_PKGVERSION): New macro.
4989         (ACX_BUGURL): Likewise.
4990         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4991         (PKGVERSION): New AC_DEFINE_UNQUOTED.
4992         (REPORT_BUGS_TO): Likewise.
4993         * configure: Regenerated.
4994         * config.h.in (PKGVERSION): New macro.
4995         (REPORT_BUGS_TO): Likewise.
4996         * config.make.in (PKGVERSION): New variable.
4997         (PKGVERSION_TEXI): Likewise.
4998         (REPORT_BUGS_TO): Likewise.
4999         (REPORT_BUGS_TEXI): Likewise.
5000         * Makefile (format-me): Use -I$(common-objpfx)manual.
5001         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5002         ($(common-objpfx)manual/%): New target.
5003         (manual/%): Remove target.
5004         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5005         (print_version): Use PKGVERSION.
5006         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5007         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5008         and REPORT_BUGS_TO.
5009         ($(objpfx)xtrace): Likewise.
5010         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5011         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5012         (print_version): Use PKGVERSION.
5013         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5014         (do_version): Use PKGVERSION.
5015         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5016         REPORT_BUGS_TO.
5017         (common-ldd-rewrite): Likewise.
5018         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5019         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5020         (print_version): Use PKGVERSION.
5021         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5022         * elf/pldd.c (argp_program_bug_address): Remove variable.
5023         (more_help): New function.
5024         (argp): Use more_help.
5025         (print_version): Use PKGVERSION.
5026         * elf/sln.c (main): Use PKGVERSION.
5027         (usage): Use REPORT_BUGS_TO.
5028         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5029         (top level): Use PKGVERSION.
5030         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5031         (print_version): Use PKGVERSION.
5032         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5033         (print_version): Use PKGVERSION.
5034         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5035         (print_version): Use PKGVERSION.
5036         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5037         (print_version): Use PKGVERSION.
5038         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5039         (print_version): Use PKGVERSION.
5040         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5041         (print_version): Use PKGVERSION.
5042         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5043         and BUGURL.
5044         ($(objpfx)memusage): Likewise.
5045         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5046         (do_version): Use PKGVERSION.
5047         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5048         (print_version): Use PKGVERSION.
5049         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5050         ($PKGVERSION): New variable.
5051         ($REPORT_BUGS_TO): Likewise.
5052         (usage): Use $REPORT_BUGS_TO.
5053         (top level): Use $PKGVERSION.
5054         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5055         ($(objpfx)pkgvers.texi): New rule.
5056         ($(objpfx)stamp-pkgvers): Likewise.
5057         * manual/install.texi: Include pkgvers.texi.
5058         (--with-pkgversion): Document new configure option.
5059         (--with-bugurl): Likewise.
5060         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5061         than necessarily for this particular distribution.  Use
5062         REPORT_BUGS_TO for where to report bugs.
5063         * INSTALL: Regenerated.
5064         * manual/libc.texinfo: Include pkgvers.texi.
5065         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5066         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5067         (print_version): Use PKGVERSION.
5068         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5069         (print_version): Use PKGVERSION.
5070         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5071         (print_version): Use PKGVERSION.
5072         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5073         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5074         macro.
5075         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5076         (print_version): Use PKGVERSION.
5077         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5078         (print_version): Use PKGVERSION.
5079         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5080         and PKGVERSION.
5082         * timezone/checktab.awk: Update from tzcode 2012i.
5083         * timezone/ialloc.c: Likewise.
5084         * timezone/private.h: Likewise.
5085         * timezone/scheck.c: Likewise.
5086         * timezone/tzfile.h: Likewise.
5087         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5088         (TZVERSION): Hardcode tzcode version number.
5089         * timezone/zdump.c: Update from tzcode 2012i.
5090         * timezone/zic.c: Likewise.
5091         * timezone/version.h: New file.
5092         * timezone/README: Describe version.h.  Update upstream location.
5094         [BZ #14824]
5095         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5096         (mktemp): Enable declaration.
5097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5101         Likewise.
5102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5103         Likewise.
5104         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5105         Likewise.
5106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5107         Likewise.
5108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5109         Likewise.
5110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5111         Likewise.
5113         [BZ #14821]
5114         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5115         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5116         for copies of such integer values.
5117         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5118         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5120 2012-11-09  Andreas Jaeger  <aj@suse.de>
5122         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5123         definitions and declarations that are provided by
5124         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5126 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5128         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5129         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5130         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5131         definition.
5133 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5135         * elf/elf.h: Update comment before AArch64 relocations.
5137 2012-11-07  David S. Miller  <davem@davemloft.net>
5139         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5140         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5141         (__start_context): Declare.
5142         (__makecontext_ret): Delete.
5143         (__makecontext): Hook up __start_context instead of
5144         __makecontext_ret.
5145         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5146         (sysdep_routines): Add __start_context when in stdlib.
5148 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5150         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5151         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5152         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5153         hardcoded "nm".
5154         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5155         (READELF): New variable.  Use it instead of hardcoded "readelf".
5157 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5159         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5160         * sysdeps/x86/Makefile: Here.
5161         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5162         * sysdeps/x86/tst-xmmymm.sh: This.
5164 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5166         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5167         expectations.
5168         [UNIX98] (pthread_barrier_t): Do not expect.
5169         [UNIX98] (pthread_barrierattr_t): Likewise.
5170         [UNIX98] (pthread_spinlock_t): Likewise.
5171         [UNIX98] (pthread_barrier_destroy): Likewise.
5172         [UNIX98] (pthread_barrier_init): Likewise.
5173         [UNIX98] (pthread_barrier_wait): Likewise.
5174         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5175         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5176         [UNIX98] (pthread_barrierattr_init): Likewise.
5177         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5178         [UNIX98] (pthread_getcpuclockid): Likewise.
5179         [UNIX98] (pthread_mutex_timedlock): Likewise.
5180         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5181         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5182         [UNIX98] (pthread_sigmask): Likewise.
5183         [UNIX98] (pthread_spin_destroy): Likewise.
5184         [UNIX98] (pthread_spin_init): Likewise.
5185         [UNIX98] (pthread_spin_lock): Likewise.
5186         [UNIX98] (pthread_spin_trylock): Likewise.
5187         [UNIX98] (pthread_spin_unlock): Likewise.
5188         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5189         Do not expect.
5190         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5191         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5192         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5193         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5194         [XPG3 || XPG4] (pthread_key_t): Likewise.
5195         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5196         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5197         [XPG3 || XPG4] (pthread_once_t): Likewise.
5198         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5199         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5200         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5201         [XPG3 || XPG4] (pthread_t): Likewise.
5203         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5204         not expect.
5205         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5207         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5208         Change function return type to int.
5210         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5211         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5212         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5213         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5214         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5215         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5216         [!POSIX] (posix_madvise): Likewise.
5217         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5218         && !UNIX98].
5219         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5220         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5221         (mode_t): Likewise.
5222         (posix_mem_offset): Likewise.
5223         (posix_typed_mem_get_info): Likewise.
5224         (posix_typed_mem_open): Likewise.
5226         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5227         Change condition to [XOPEN2K8].
5229         * conform/conformtest.pl: Preprocess allow-header data with -x c
5230         instead of from stdin.
5231         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5232         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5233         [C99-based standards] (cerfc): Likewise.
5234         [C99-based standards] (cexp2): Likewise.
5235         [C99-based standards] (cexpm1): Likewise.
5236         [C99-based standards] (clog10): Likewise.
5237         [C99-based standards] (clog1p): Likewise.
5238         [C99-based standards] (clog2): Likewise.
5239         [C99-based standards] (clgamma): Likewise.
5240         [C99-based standards] (ctgamma): Likewise.
5241         [C99-based standards] (cerff): Likewise.
5242         [C99-based standards] (cerfcf): Likewise.
5243         [C99-based standards] (cexp2f): Likewise.
5244         [C99-based standards] (cexpm1f): Likewise.
5245         [C99-based standards] (clog10f): Likewise.
5246         [C99-based standards] (clog1pf): Likewise.
5247         [C99-based standards] (clog2f): Likewise.
5248         [C99-based standards] (clgammaf): Likewise.
5249         [C99-based standards] (ctgammaf): Likewise.
5250         [C99-based standards] (cerfl): Likewise.
5251         [C99-based standards] (cerfcl): Likewise.
5252         [C99-based standards] (cexp2l): Likewise.
5253         [C99-based standards] (cexpm1l): Likewise.
5254         [C99-based standards] (clog10l): Likewise.
5255         [C99-based standards] (clog1pl): Likewise.
5256         [C99-based standards] (clog2l): Likewise.
5257         [C99-based standards] (clgammal): Likewise.
5258         [C99-based standards] (ctgammal): Likewise.
5259         * conform/data/inttypes.h-data [C99-based standards]: Include
5260         stdint.h-data.  Remove all expectations for stdint.h contents.
5261         [C99-based standards] (PRI*): Do not allow.
5262         [C99-based standards] (SCN*): Likewise.
5263         [C99-based standards] (*_t): Likewise.
5264         [C99-based-standards] (PRId8): Expect macro.
5265         [C99-based-standards] (PRIi8): Likewise.
5266         [C99-based-standards] (PRIo8): Likewise.
5267         [C99-based-standards] (PRIu8): Likewise.
5268         [C99-based-standards] (PRIx8): Likewise.
5269         [C99-based-standards] (PRIX8): Likewise.
5270         [C99-based-standards] (SCNd8): Likewise.
5271         [C99-based-standards] (SCNi8): Likewise.
5272         [C99-based-standards] (SCNo8): Likewise.
5273         [C99-based-standards] (SCNu8): Likewise.
5274         [C99-based-standards] (SCNx8): Likewise.
5275         [C99-based-standards] (PRIdLEAST8): Likewise.
5276         [C99-based-standards] (PRIiLEAST8): Likewise.
5277         [C99-based-standards] (PRIoLEAST8): Likewise.
5278         [C99-based-standards] (PRIuLEAST8): Likewise.
5279         [C99-based-standards] (PRIxLEAST8): Likewise.
5280         [C99-based-standards] (PRIXLEAST8): Likewise.
5281         [C99-based-standards] (SCNdLEAST8): Likewise.
5282         [C99-based-standards] (SCNiLEAST8): Likewise.
5283         [C99-based-standards] (SCNoLEAST8): Likewise.
5284         [C99-based-standards] (SCNuLEAST8): Likewise.
5285         [C99-based-standards] (SCNxLEAST8): Likewise.
5286         [C99-based-standards] (PRIdFAST8): Likewise.
5287         [C99-based-standards] (PRIiFAST8): Likewise.
5288         [C99-based-standards] (PRIoFAST8): Likewise.
5289         [C99-based-standards] (PRIuFAST8): Likewise.
5290         [C99-based-standards] (PRIxFAST8): Likewise.
5291         [C99-based-standards] (PRIXFAST8): Likewise.
5292         [C99-based-standards] (SCNdFAST8): Likewise.
5293         [C99-based-standards] (SCNiFAST8): Likewise.
5294         [C99-based-standards] (SCNoFAST8): Likewise.
5295         [C99-based-standards] (SCNuFAST8): Likewise.
5296         [C99-based-standards] (SCNxFAST8): Likewise.
5297         [C99-based-standards] (PRId16): Likewise.
5298         [C99-based-standards] (PRIi16): Likewise.
5299         [C99-based-standards] (PRIo16): Likewise.
5300         [C99-based-standards] (PRIu16): Likewise.
5301         [C99-based-standards] (PRIx16): Likewise.
5302         [C99-based-standards] (PRIX16): Likewise.
5303         [C99-based-standards] (SCNd16): Likewise.
5304         [C99-based-standards] (SCNi16): Likewise.
5305         [C99-based-standards] (SCNo16): Likewise.
5306         [C99-based-standards] (SCNu16): Likewise.
5307         [C99-based-standards] (SCNx16): Likewise.
5308         [C99-based-standards] (PRIdLEAST16): Likewise.
5309         [C99-based-standards] (PRIiLEAST16): Likewise.
5310         [C99-based-standards] (PRIoLEAST16): Likewise.
5311         [C99-based-standards] (PRIuLEAST16): Likewise.
5312         [C99-based-standards] (PRIxLEAST16): Likewise.
5313         [C99-based-standards] (PRIXLEAST16): Likewise.
5314         [C99-based-standards] (SCNdLEAST16): Likewise.
5315         [C99-based-standards] (SCNiLEAST16): Likewise.
5316         [C99-based-standards] (SCNoLEAST16): Likewise.
5317         [C99-based-standards] (SCNuLEAST16): Likewise.
5318         [C99-based-standards] (SCNxLEAST16): Likewise.
5319         [C99-based-standards] (PRIdFAST16): Likewise.
5320         [C99-based-standards] (PRIiFAST16): Likewise.
5321         [C99-based-standards] (PRIoFAST16): Likewise.
5322         [C99-based-standards] (PRIuFAST16): Likewise.
5323         [C99-based-standards] (PRIxFAST16): Likewise.
5324         [C99-based-standards] (PRIXFAST16): Likewise.
5325         [C99-based-standards] (SCNdFAST16): Likewise.
5326         [C99-based-standards] (SCNiFAST16): Likewise.
5327         [C99-based-standards] (SCNoFAST16): Likewise.
5328         [C99-based-standards] (SCNuFAST16): Likewise.
5329         [C99-based-standards] (SCNxFAST16): Likewise.
5330         [C99-based-standards] (PRId32): Likewise.
5331         [C99-based-standards] (PRIi32): Likewise.
5332         [C99-based-standards] (PRIo32): Likewise.
5333         [C99-based-standards] (PRIu32): Likewise.
5334         [C99-based-standards] (PRIx32): Likewise.
5335         [C99-based-standards] (PRIX32): Likewise.
5336         [C99-based-standards] (SCNd32): Likewise.
5337         [C99-based-standards] (SCNi32): Likewise.
5338         [C99-based-standards] (SCNo32): Likewise.
5339         [C99-based-standards] (SCNu32): Likewise.
5340         [C99-based-standards] (SCNx32): Likewise.
5341         [C99-based-standards] (PRIdLEAST32): Likewise.
5342         [C99-based-standards] (PRIiLEAST32): Likewise.
5343         [C99-based-standards] (PRIoLEAST32): Likewise.
5344         [C99-based-standards] (PRIuLEAST32): Likewise.
5345         [C99-based-standards] (PRIxLEAST32): Likewise.
5346         [C99-based-standards] (PRIXLEAST32): Likewise.
5347         [C99-based-standards] (SCNdLEAST32): Likewise.
5348         [C99-based-standards] (SCNiLEAST32): Likewise.
5349         [C99-based-standards] (SCNoLEAST32): Likewise.
5350         [C99-based-standards] (SCNuLEAST32): Likewise.
5351         [C99-based-standards] (SCNxLEAST32): Likewise.
5352         [C99-based-standards] (PRIdFAST32): Likewise.
5353         [C99-based-standards] (PRIiFAST32): Likewise.
5354         [C99-based-standards] (PRIoFAST32): Likewise.
5355         [C99-based-standards] (PRIuFAST32): Likewise.
5356         [C99-based-standards] (PRIxFAST32): Likewise.
5357         [C99-based-standards] (PRIXFAST32): Likewise.
5358         [C99-based-standards] (SCNdFAST32): Likewise.
5359         [C99-based-standards] (SCNiFAST32): Likewise.
5360         [C99-based-standards] (SCNoFAST32): Likewise.
5361         [C99-based-standards] (SCNuFAST32): Likewise.
5362         [C99-based-standards] (SCNxFAST32): Likewise.
5363         [C99-based-standards] (PRId64): Likewise.
5364         [C99-based-standards] (PRIi64): Likewise.
5365         [C99-based-standards] (PRIo64): Likewise.
5366         [C99-based-standards] (PRIu64): Likewise.
5367         [C99-based-standards] (PRIx64): Likewise.
5368         [C99-based-standards] (PRIX64): Likewise.
5369         [C99-based-standards] (SCNd64): Likewise.
5370         [C99-based-standards] (SCNi64): Likewise.
5371         [C99-based-standards] (SCNo64): Likewise.
5372         [C99-based-standards] (SCNu64): Likewise.
5373         [C99-based-standards] (SCNx64): Likewise.
5374         [C99-based-standards] (PRIdLEAST64): Likewise.
5375         [C99-based-standards] (PRIiLEAST64): Likewise.
5376         [C99-based-standards] (PRIoLEAST64): Likewise.
5377         [C99-based-standards] (PRIuLEAST64): Likewise.
5378         [C99-based-standards] (PRIxLEAST64): Likewise.
5379         [C99-based-standards] (PRIXLEAST64): Likewise.
5380         [C99-based-standards] (SCNdLEAST64): Likewise.
5381         [C99-based-standards] (SCNiLEAST64): Likewise.
5382         [C99-based-standards] (SCNoLEAST64): Likewise.
5383         [C99-based-standards] (SCNuLEAST64): Likewise.
5384         [C99-based-standards] (SCNxLEAST64): Likewise.
5385         [C99-based-standards] (PRIdFAST64): Likewise.
5386         [C99-based-standards] (PRIiFAST64): Likewise.
5387         [C99-based-standards] (PRIoFAST64): Likewise.
5388         [C99-based-standards] (PRIuFAST64): Likewise.
5389         [C99-based-standards] (PRIxFAST64): Likewise.
5390         [C99-based-standards] (PRIXFAST64): Likewise.
5391         [C99-based-standards] (SCNdFAST64): Likewise.
5392         [C99-based-standards] (SCNiFAST64): Likewise.
5393         [C99-based-standards] (SCNoFAST64): Likewise.
5394         [C99-based-standards] (SCNuFAST64): Likewise.
5395         [C99-based-standards] (SCNxFAST64): Likewise.
5396         [C99-based-standards] (PRIdMAX): Likewise.
5397         [C99-based-standards] (PRIiMAX): Likewise.
5398         [C99-based-standards] (PRIoMAX): Likewise.
5399         [C99-based-standards] (PRIuMAX): Likewise.
5400         [C99-based-standards] (PRIxMAX): Likewise.
5401         [C99-based-standards] (PRIXMAX): Likewise.
5402         [C99-based-standards] (SCNdMAX): Likewise.
5403         [C99-based-standards] (SCNiMAX): Likewise.
5404         [C99-based-standards] (SCNoMAX): Likewise.
5405         [C99-based-standards] (SCNuMAX): Likewise.
5406         [C99-based-standards] (SCNxMAX): Likewise.
5407         [C99-based-standards] (PRIdPTR): Likewise.
5408         [C99-based-standards] (PRIiPTR): Likewise.
5409         [C99-based-standards] (PRIoPTR): Likewise.
5410         [C99-based-standards] (PRIuPTR): Likewise.
5411         [C99-based-standards] (PRIxPTR): Likewise.
5412         [C99-based-standards] (PRIXPTR): Likewise.
5413         [C99-based-standards] (SCNdPTR): Likewise.
5414         [C99-based-standards] (SCNiPTR): Likewise.
5415         [C99-based-standards] (SCNoPTR): Likewise.
5416         [C99-based-standards] (SCNuPTR): Likewise.
5417         [C99-based-standards] (SCNxPTR): Likewise.
5418         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5419         allow.
5420         * conform/data/stdint.h-data: Update comments to clarify
5421         requirements.
5422         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5423         type.
5424         [C99-based standards] (INT8_MAX): Likewise.
5425         [C99-based standards] (INT16_MIN): Likewise.
5426         [C99-based standards] (INT16_MAX): Likewise.
5427         [C99-based standards] (INT32_MIN): Likewise.
5428         [C99-based standards] (INT32_MAX): Likewise.
5429         [C99-based standards] (INT64_MIN): Likewise.
5430         [C99-based standards] (INT64_MAX): Likewise.
5431         [C99-based standards] (UINT8_MAX): Likewise.
5432         [C99-based standards] (UINT16_MAX): Likewise.
5433         [C99-based standards] (UINT32_MAX): Likewise.
5434         [C99-based standards] (UINT64_MAX): Likewise.
5435         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5436         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5437         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5438         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5439         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5440         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5441         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5442         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5443         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5444         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5445         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5446         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5447         [C99-based standards] (INT_FAST8_MIN): Likewise.
5448         [C99-based standards] (INT_FAST8_MAX): Likewise.
5449         [C99-based standards] (INT_FAST16_MIN): Likewise.
5450         [C99-based standards] (INT_FAST16_MAX): Likewise.
5451         [C99-based standards] (INT_FAST32_MIN): Likewise.
5452         [C99-based standards] (INT_FAST32_MAX): Likewise.
5453         [C99-based standards] (INT_FAST64_MIN): Likewise.
5454         [C99-based standards] (INT_FAST64_MAX): Likewise.
5455         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5456         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5457         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5458         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5459         [C99-based standards] (INTPTR_MIN): Likewise.
5460         [C99-based standards] (INTPTR_MAX): Likewise.
5461         [C99-based standards] (UINTPTR_MAX): Likewise.
5462         [C99-based standards] (INTMAX_MIN): Likewise.
5463         [C99-based standards] (INTMAX_MAX): Likewise.
5464         [C99-based standards] (UINTMAX_MAX): Likewise.
5465         [C99-based standards] (PTRDIFF_MIN): Likewise.
5466         [C99-based standards] (PTRDIFF_MAX): Likewise.
5467         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5468         [C99-based standards] (SIZE_MAX): Likewise.
5469         [C99-based standards] (WCHAR_MAX): Likewise.
5470         [C99-based standards] (WINT_MAX): Likewise.
5471         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5472         constraint on value.
5473         [C99-based standards] (WCHAR_MIN): Likewise.
5474         [C99-based standards] (WINT_MIN): Likewise.
5475         [C99-based standards] (*_t): Allow.
5476         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5477         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5478         Include math.h-data and complex.h-data.  Remove all expectations
5479         of math.h and complex.h contents.
5480         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5481         at end of line.
5482         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5483         (struct tm): Expect tag.
5484         [C99-based-standards] (wcstof): Expect function.
5485         [C99-based-standards] (wcstold): Likewise.
5486         [C99-based-standards] (wcstoll): Likewise.
5487         [C99-based-standards] (wcstoull): Likewise.
5488         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5489         macro-int-constant.  Specify type.
5490         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5491         constraint on value.
5492         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5493         Specify type.
5494         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5495         Specify value.
5496         [ISO C standards]: Do not allow headers.
5497         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5498         wcs[abcdefghijklmnopqrstuvwxyz]*.
5499         [ISO C standards] (*_t): Do not allow.
5500         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5501         Expect function.
5502         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5503         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5504         Specify type.
5505         [ISO C standards]: Do not allow headers.
5506         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5507         is[abcdefghijklmnopqrstuvwxyz]*.
5508         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5509         to[abcdefghijklmnopqrstuvwxyz]*.
5510         [ISO C standards] (*_t): Do not allow.
5511         * conform/data/stdalign.h-data: New file.
5512         * conform/data/stdbool.h-data: Likewise.
5513         * conform/data/stdnoreturn.h-data: Likewise.
5515 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5517         [BZ #14815]
5518         * manual/filesys.texi (Directory Entries): Typo fix.
5519         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5521 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5523         * elf/elf.h (EM_AARCH64): New macro.
5524         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5525         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5526         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5527         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5528         (R_AARCH64_TLSDESC): Likewise.
5529         (NT_ARM_TLS): Likewise.
5530         (NT_ARM_HW_BREAK): Likewise.
5531         (NT_ARM_HW_WATCH): Likewise.
5533 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5535         [BZ #14811]
5536         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5537         (__ieee754_powl): Saturate nonzero exponents with absolute value
5538         below 0x1p-79 to +/- 0x1p-79.
5539         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5540         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5541         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5542         nonzero exponents with absolute value below 0x1p-32 to +/-
5543         0x1p-32.
5544         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5545         (__ieee754_powl): Saturate nonzero exponents with absolute value
5546         below 0x1p-79 to +/- 0x1p-79.
5547         * math/libm-test.inc (pow_test): Add more tests.
5549 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5551         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5552         _dl_s390_cap_flags with kernel. Increase string length.
5553         (_dl_s390_platforms): Add z196 and zEC12.
5555 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5557         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5558         Change XOPEN21K to XOPEN2K.
5560 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5562         * string/memmove.c: Use memcpy when possible.
5564 2012-11-06  Andreas Jaeger  <aj@suse.de>
5566         * po/eo.po: Update from translation team.
5568 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5570         [BZ #14793]
5571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5572         exponent and small x and y exponents, scale x or y up.  Increase
5573         by 2 the exponent used in scaling up.
5574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5576         * math/libm-test.inc (fma_test): Add more tests.
5577         (fma_test_towardzero): Likewise.
5578         (fma_test_downward): Likewise.
5579         (fma_test_upward): Likewise.
5581 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5583         [BZ #14805]
5584         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5585         fenv_t *.
5587         [BZ #14801]
5588         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5589         namespace for names of struct fields.
5590         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5591         fenv_t fields.
5592         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5593         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5595 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5597         [BZ #3665]
5598         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5600 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5602         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5603         PTR_DEMANGLE.
5605         [BZ #5246]
5606         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5607         PTR_DEMANGLE.
5609 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5611         [BZ #14797]
5612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5613         definitely overflow as x * y not x * y + z.
5614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5615         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5616         * math/libm-test.inc (fma_test): Add more tests.
5617         (fma_test_towardzero): Likewise.
5618         (fma_test_downward): Likewise.
5619         (fma_test_upward): Likewise.
5621 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5623         [BZ #157]
5625         * include/stub-tag.h: Remove file.
5626         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5627         '#include' of it.
5628         * manual/maint.texi (Porting): Don't reference it.
5629         * Makerules ($(objpfx)stubs): Likewise.
5630         * dirent/closedir.c: Don't include <stub-tag.h>.
5631         * dirent/dirfd.c: Likewise.
5632         * dirent/fdopendir.c: Likewise.
5633         * dirent/getdents.c: Likewise.
5634         * dirent/getdents64.c: Likewise.
5635         * dirent/opendir.c: Likewise.
5636         * dirent/readdir.c: Likewise.
5637         * dirent/readdir64.c: Likewise.
5638         * dirent/readdir64_r.c: Likewise.
5639         * dirent/readdir_r.c: Likewise.
5640         * dirent/rewinddir.c: Likewise.
5641         * dirent/seekdir.c: Likewise.
5642         * dirent/telldir.c: Likewise.
5643         * gmon/profil.c: Likewise.
5644         * grp/setgroups.c: Likewise.
5645         * inet/if_index.c: Likewise.
5646         * io/access.c: Likewise.
5647         * io/chdir.c: Likewise.
5648         * io/chmod.c: Likewise.
5649         * io/chown.c: Likewise.
5650         * io/close.c: Likewise.
5651         * io/dup.c: Likewise.
5652         * io/dup2.c: Likewise.
5653         * io/dup3.c: Likewise.
5654         * io/euidaccess.c: Likewise.
5655         * io/faccessat.c: Likewise.
5656         * io/fchdir.c: Likewise.
5657         * io/fchmod.c: Likewise.
5658         * io/fchmodat.c: Likewise.
5659         * io/fchown.c: Likewise.
5660         * io/fchownat.c: Likewise.
5661         * io/fcntl.c: Likewise.
5662         * io/flock.c: Likewise.
5663         * io/fstatfs.c: Likewise.
5664         * io/fstatfs64.c: Likewise.
5665         * io/fstatvfs.c: Likewise.
5666         * io/fstatvfs64.c: Likewise.
5667         * io/futimens.c: Likewise.
5668         * io/fxstat.c: Likewise.
5669         * io/fxstat64.c: Likewise.
5670         * io/fxstatat.c: Likewise.
5671         * io/fxstatat64.c: Likewise.
5672         * io/getcwd.c: Likewise.
5673         * io/isatty.c: Likewise.
5674         * io/lchmod.c: Likewise.
5675         * io/lchown.c: Likewise.
5676         * io/link.c: Likewise.
5677         * io/linkat.c: Likewise.
5678         * io/lseek.c: Likewise.
5679         * io/lseek64.c: Likewise.
5680         * io/lxstat64.c: Likewise.
5681         * io/mkdir.c: Likewise.
5682         * io/mkdirat.c: Likewise.
5683         * io/mkfifo.c: Likewise.
5684         * io/mkfifoat.c: Likewise.
5685         * io/open.c: Likewise.
5686         * io/open64.c: Likewise.
5687         * io/openat.c: Likewise.
5688         * io/openat64.c: Likewise.
5689         * io/pipe.c: Likewise.
5690         * io/pipe2.c: Likewise.
5691         * io/poll.c: Likewise.
5692         * io/posix_fadvise.c: Likewise.
5693         * io/posix_fadvise64.c: Likewise.
5694         * io/posix_fallocate.c: Likewise.
5695         * io/posix_fallocate64.c: Likewise.
5696         * io/read.c: Likewise.
5697         * io/readlink.c: Likewise.
5698         * io/readlinkat.c: Likewise.
5699         * io/rmdir.c: Likewise.
5700         * io/sendfile.c: Likewise.
5701         * io/sendfile64.c: Likewise.
5702         * io/statfs.c: Likewise.
5703         * io/statfs64.c: Likewise.
5704         * io/statvfs.c: Likewise.
5705         * io/statvfs64.c: Likewise.
5706         * io/symlink.c: Likewise.
5707         * io/symlinkat.c: Likewise.
5708         * io/ttyname.c: Likewise.
5709         * io/ttyname_r.c: Likewise.
5710         * io/umask.c: Likewise.
5711         * io/unlink.c: Likewise.
5712         * io/unlinkat.c: Likewise.
5713         * io/utime.c: Likewise.
5714         * io/utimensat.c: Likewise.
5715         * io/write.c: Likewise.
5716         * io/xmknod.c: Likewise.
5717         * io/xmknodat.c: Likewise.
5718         * io/xstat.c: Likewise.
5719         * io/xstat64.c: Likewise.
5720         * login/getpt.c: Likewise.
5721         * login/grantpt.c: Likewise.
5722         * login/unlockpt.c: Likewise.
5723         * math/e_acoshl.c: Likewise.
5724         * math/e_acosl.c: Likewise.
5725         * math/e_asinl.c: Likewise.
5726         * math/e_atan2l.c: Likewise.
5727         * math/e_atanhl.c: Likewise.
5728         * math/e_coshl.c: Likewise.
5729         * math/e_expl.c: Likewise.
5730         * math/e_fmodl.c: Likewise.
5731         * math/e_gammal_r.c: Likewise.
5732         * math/e_hypotl.c: Likewise.
5733         * math/e_j0l.c: Likewise.
5734         * math/e_j1l.c: Likewise.
5735         * math/e_jnl.c: Likewise.
5736         * math/e_lgammal_r.c: Likewise.
5737         * math/e_log10l.c: Likewise.
5738         * math/e_log2l.c: Likewise.
5739         * math/e_logl.c: Likewise.
5740         * math/e_powl.c: Likewise.
5741         * math/e_rem_pio2l.c: Likewise.
5742         * math/e_sinhl.c: Likewise.
5743         * math/e_sqrtl.c: Likewise.
5744         * math/fclrexcpt.c: Likewise.
5745         * math/fedisblxcpt.c: Likewise.
5746         * math/feenablxcpt.c: Likewise.
5747         * math/fegetenv.c: Likewise.
5748         * math/fegetexcept.c: Likewise.
5749         * math/fegetround.c: Likewise.
5750         * math/feholdexcpt.c: Likewise.
5751         * math/fesetenv.c: Likewise.
5752         * math/fesetround.c: Likewise.
5753         * math/feupdateenv.c: Likewise.
5754         * math/fgetexcptflg.c: Likewise.
5755         * math/fraiseexcpt.c: Likewise.
5756         * math/fsetexcptflg.c: Likewise.
5757         * math/ftestexcept.c: Likewise.
5758         * math/k_cosl.c: Likewise.
5759         * math/k_rem_pio2l.c: Likewise.
5760         * math/k_sinl.c: Likewise.
5761         * math/k_tanl.c: Likewise.
5762         * math/s_asinhl.c: Likewise.
5763         * math/s_atanl.c: Likewise.
5764         * math/s_cbrtl.c: Likewise.
5765         * math/s_erfl.c: Likewise.
5766         * math/s_expm1l.c: Likewise.
5767         * math/s_log1pl.c: Likewise.
5768         * math/s_tanhl.c: Likewise.
5769         * misc/acct.c: Likewise.
5770         * misc/brk.c: Likewise.
5771         * misc/chflags.c: Likewise.
5772         * misc/chroot.c: Likewise.
5773         * misc/fchflags.c: Likewise.
5774         * misc/fgetxattr.c: Likewise.
5775         * misc/flistxattr.c: Likewise.
5776         * misc/fremovexattr.c: Likewise.
5777         * misc/fsetxattr.c: Likewise.
5778         * misc/fsync.c: Likewise.
5779         * misc/ftruncate.c: Likewise.
5780         * misc/futimes.c: Likewise.
5781         * misc/futimesat.c: Likewise.
5782         * misc/getdomain.c: Likewise.
5783         * misc/getdtsz.c: Likewise.
5784         * misc/gethostid.c: Likewise.
5785         * misc/gethostname.c: Likewise.
5786         * misc/getloadavg.c: Likewise.
5787         * misc/getpagesize.c: Likewise.
5788         * misc/getsysstats.c: Likewise.
5789         * misc/getxattr.c: Likewise.
5790         * misc/gtty.c: Likewise.
5791         * misc/ioctl.c: Likewise.
5792         * misc/lgetxattr.c: Likewise.
5793         * misc/listxattr.c: Likewise.
5794         * misc/llistxattr.c: Likewise.
5795         * misc/lremovexattr.c: Likewise.
5796         * misc/lsetxattr.c: Likewise.
5797         * misc/lutimes.c: Likewise.
5798         * misc/madvise.c: Likewise.
5799         * misc/mincore.c: Likewise.
5800         * misc/mlock.c: Likewise.
5801         * misc/mlockall.c: Likewise.
5802         * misc/mmap.c: Likewise.
5803         * misc/mprotect.c: Likewise.
5804         * misc/msync.c: Likewise.
5805         * misc/munlock.c: Likewise.
5806         * misc/munlockall.c: Likewise.
5807         * misc/munmap.c: Likewise.
5808         * misc/preadv.c: Likewise.
5809         * misc/preadv64.c: Likewise.
5810         * misc/ptrace.c: Likewise.
5811         * misc/pwritev.c: Likewise.
5812         * misc/pwritev64.c: Likewise.
5813         * misc/readv.c: Likewise.
5814         * misc/reboot.c: Likewise.
5815         * misc/remap_file_pages.c: Likewise.
5816         * misc/removexattr.c: Likewise.
5817         * misc/revoke.c: Likewise.
5818         * misc/select.c: Likewise.
5819         * misc/setdomain.c: Likewise.
5820         * misc/setegid.c: Likewise.
5821         * misc/seteuid.c: Likewise.
5822         * misc/sethostid.c: Likewise.
5823         * misc/sethostname.c: Likewise.
5824         * misc/setregid.c: Likewise.
5825         * misc/setreuid.c: Likewise.
5826         * misc/setxattr.c: Likewise.
5827         * misc/sstk.c: Likewise.
5828         * misc/stty.c: Likewise.
5829         * misc/swapoff.c: Likewise.
5830         * misc/swapon.c: Likewise.
5831         * misc/sync.c: Likewise.
5832         * misc/syncfs.c: Likewise.
5833         * misc/syscall.c: Likewise.
5834         * misc/truncate.c: Likewise.
5835         * misc/ualarm.c: Likewise.
5836         * misc/usleep.c: Likewise.
5837         * misc/ustat.c: Likewise.
5838         * misc/utimes.c: Likewise.
5839         * misc/vhangup.c: Likewise.
5840         * misc/writev.c: Likewise.
5841         * posix/_exit.c: Likewise.
5842         * posix/alarm.c: Likewise.
5843         * posix/execve.c: Likewise.
5844         * posix/fexecve.c: Likewise.
5845         * posix/fork.c: Likewise.
5846         * posix/fpathconf.c: Likewise.
5847         * posix/getaddrinfo.c: Likewise.
5848         * posix/getegid.c: Likewise.
5849         * posix/geteuid.c: Likewise.
5850         * posix/getgid.c: Likewise.
5851         * posix/getgroups.c: Likewise.
5852         * posix/getlogin.c: Likewise.
5853         * posix/getlogin_r.c: Likewise.
5854         * posix/getpgid.c: Likewise.
5855         * posix/getpid.c: Likewise.
5856         * posix/getppid.c: Likewise.
5857         * posix/getresgid.c: Likewise.
5858         * posix/getresuid.c: Likewise.
5859         * posix/getsid.c: Likewise.
5860         * posix/getuid.c: Likewise.
5861         * posix/glob64.c: Likewise.
5862         * posix/nanosleep.c: Likewise.
5863         * posix/pathconf.c: Likewise.
5864         * posix/pause.c: Likewise.
5865         * posix/posix_madvise.c: Likewise.
5866         * posix/pread.c: Likewise.
5867         * posix/pread64.c: Likewise.
5868         * posix/pwrite.c: Likewise.
5869         * posix/pwrite64.c: Likewise.
5870         * posix/sched_getaffinity.c: Likewise.
5871         * posix/sched_getp.c: Likewise.
5872         * posix/sched_gets.c: Likewise.
5873         * posix/sched_primax.c: Likewise.
5874         * posix/sched_primin.c: Likewise.
5875         * posix/sched_rr_gi.c: Likewise.
5876         * posix/sched_setaffinity.c: Likewise.
5877         * posix/sched_setp.c: Likewise.
5878         * posix/sched_sets.c: Likewise.
5879         * posix/sched_yield.c: Likewise.
5880         * posix/setgid.c: Likewise.
5881         * posix/setlogin.c: Likewise.
5882         * posix/setpgid.c: Likewise.
5883         * posix/setresgid.c: Likewise.
5884         * posix/setresuid.c: Likewise.
5885         * posix/setsid.c: Likewise.
5886         * posix/setuid.c: Likewise.
5887         * posix/sleep.c: Likewise.
5888         * posix/spawni.c: Likewise.
5889         * posix/sysconf.c: Likewise.
5890         * posix/times.c: Likewise.
5891         * posix/wait.c: Likewise.
5892         * posix/wait3.c: Likewise.
5893         * posix/wait4.c: Likewise.
5894         * posix/waitpid.c: Likewise.
5895         * resolv/gai_sigqueue.c: Likewise.
5896         * resource/getpriority.c: Likewise.
5897         * resource/getrlimit.c: Likewise.
5898         * resource/getrusage.c: Likewise.
5899         * resource/nice.c: Likewise.
5900         * resource/setpriority.c: Likewise.
5901         * resource/setrlimit.c: Likewise.
5902         * resource/ulimit.c: Likewise.
5903         * rt/aio_cancel.c: Likewise.
5904         * rt/aio_fsync.c: Likewise.
5905         * rt/aio_read.c: Likewise.
5906         * rt/aio_sigqueue.c: Likewise.
5907         * rt/aio_suspend.c: Likewise.
5908         * rt/aio_write.c: Likewise.
5909         * rt/clock_getres.c: Likewise.
5910         * rt/clock_gettime.c: Likewise.
5911         * rt/clock_nanosleep.c: Likewise.
5912         * rt/clock_settime.c: Likewise.
5913         * rt/lio_listio.c: Likewise.
5914         * rt/mq_close.c: Likewise.
5915         * rt/mq_getattr.c: Likewise.
5916         * rt/mq_notify.c: Likewise.
5917         * rt/mq_open.c: Likewise.
5918         * rt/mq_receive.c: Likewise.
5919         * rt/mq_send.c: Likewise.
5920         * rt/mq_setattr.c: Likewise.
5921         * rt/mq_timedreceive.c: Likewise.
5922         * rt/mq_timedsend.c: Likewise.
5923         * rt/mq_unlink.c: Likewise.
5924         * rt/shm_open.c: Likewise.
5925         * rt/shm_unlink.c: Likewise.
5926         * rt/timer_create.c: Likewise.
5927         * rt/timer_delete.c: Likewise.
5928         * rt/timer_getoverr.c: Likewise.
5929         * rt/timer_gettime.c: Likewise.
5930         * rt/timer_settime.c: Likewise.
5931         * setjmp/__longjmp.c: Likewise.
5932         * setjmp/setjmp.c: Likewise.
5933         * signal/kill.c: Likewise.
5934         * signal/killpg.c: Likewise.
5935         * signal/raise.c: Likewise.
5936         * signal/sigaction.c: Likewise.
5937         * signal/sigaltstack.c: Likewise.
5938         * signal/sigblock.c: Likewise.
5939         * signal/sigignore.c: Likewise.
5940         * signal/sigintr.c: Likewise.
5941         * signal/signal.c: Likewise.
5942         * signal/sigpause.c: Likewise.
5943         * signal/sigpending.c: Likewise.
5944         * signal/sigqueue.c: Likewise.
5945         * signal/sigreturn.c: Likewise.
5946         * signal/sigset.c: Likewise.
5947         * signal/sigsetmask.c: Likewise.
5948         * signal/sigstack.c: Likewise.
5949         * signal/sigsuspend.c: Likewise.
5950         * signal/sigtimedwait.c: Likewise.
5951         * signal/sigvec.c: Likewise.
5952         * signal/sigwait.c: Likewise.
5953         * signal/sigwaitinfo.c: Likewise.
5954         * signal/sysv_signal.c: Likewise.
5955         * socket/accept.c: Likewise.
5956         * socket/accept4.c: Likewise.
5957         * socket/bind.c: Likewise.
5958         * socket/connect.c: Likewise.
5959         * socket/getpeername.c: Likewise.
5960         * socket/getsockname.c: Likewise.
5961         * socket/getsockopt.c: Likewise.
5962         * socket/isfdtype.c: Likewise.
5963         * socket/listen.c: Likewise.
5964         * socket/recv.c: Likewise.
5965         * socket/recvfrom.c: Likewise.
5966         * socket/recvmsg.c: Likewise.
5967         * socket/send.c: Likewise.
5968         * socket/sendmsg.c: Likewise.
5969         * socket/sendto.c: Likewise.
5970         * socket/setsockopt.c: Likewise.
5971         * socket/shutdown.c: Likewise.
5972         * socket/sockatmark.c: Likewise.
5973         * socket/socket.c: Likewise.
5974         * socket/socketpair.c: Likewise.
5975         * stdio-common/ctermid.c: Likewise.
5976         * stdio-common/cuserid.c: Likewise.
5977         * stdio-common/remove.c: Likewise.
5978         * stdio-common/rename.c: Likewise.
5979         * stdio-common/renameat.c: Likewise.
5980         * stdio-common/tempname.c: Likewise.
5981         * stdlib/getcontext.c: Likewise.
5982         * stdlib/makecontext.c: Likewise.
5983         * stdlib/setcontext.c: Likewise.
5984         * stdlib/swapcontext.c: Likewise.
5985         * stdlib/system.c: Likewise.
5986         * streams/fattach.c: Likewise.
5987         * streams/fdetach.c: Likewise.
5988         * streams/getmsg.c: Likewise.
5989         * streams/getpmsg.c: Likewise.
5990         * streams/putmsg.c: Likewise.
5991         * streams/putpmsg.c: Likewise.
5992         * sysdeps/unix/bsd/getpt.c: Likewise.
5993         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5994         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5995         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5997         Likewise.
5998         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5999         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6000         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6001         * sysvipc/msgctl.c: Likewise.
6002         * sysvipc/msgget.c: Likewise.
6003         * sysvipc/msgrcv.c: Likewise.
6004         * sysvipc/msgsnd.c: Likewise.
6005         * sysvipc/semctl.c: Likewise.
6006         * sysvipc/semget.c: Likewise.
6007         * sysvipc/semop.c: Likewise.
6008         * sysvipc/semtimedop.c: Likewise.
6009         * sysvipc/shmat.c: Likewise.
6010         * sysvipc/shmctl.c: Likewise.
6011         * sysvipc/shmdt.c: Likewise.
6012         * sysvipc/shmget.c: Likewise.
6013         * termios/tcdrain.c: Likewise.
6014         * termios/tcflow.c: Likewise.
6015         * termios/tcflush.c: Likewise.
6016         * termios/tcgetattr.c: Likewise.
6017         * termios/tcgetpgrp.c: Likewise.
6018         * termios/tcsendbrk.c: Likewise.
6019         * termios/tcsetattr.c: Likewise.
6020         * termios/tcsetpgrp.c: Likewise.
6021         * time/adjtime.c: Likewise.
6022         * time/clock.c: Likewise.
6023         * time/getitimer.c: Likewise.
6024         * time/gettimeofday.c: Likewise.
6025         * time/setitimer.c: Likewise.
6026         * time/settimeofday.c: Likewise.
6027         * time/stime.c: Likewise.
6028         * time/time.c: Likewise.
6030 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6032         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6033         /usr/old/bin.
6035         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6036         instead of spaces.
6037         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6039 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6041         [BZ #14796]
6042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6043         FE_TONEAREST before applying Dekker multiplication and Knuth
6044         addition.  Clear inexact exceptions and check for exact zero
6045         results afterwards.
6046         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6047         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6048         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6049         * math/libm-test.inc (fma_test): Add more tests.
6050         (fma_test_towardzero): Likewise.
6051         (fma_test_downward): Likewise.
6052         (fma_test_upward): Likewise.
6053         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6054         function.
6055         (libc_fesetround): New macro.
6056         (libc_fesetroundf): Likewise.
6057         (libc_fesetroundl): Likewise.
6058         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6059         function.
6060         (libc_fesetround_387): Likewise.
6061         (libc_fesetroundf): New macro.
6062         (libc_fesetround): Likewise.
6063         (libc_fesetroundl): Likewise.
6064         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6065         function.
6066         (libc_fesetroundf): New macro.
6067         (libc_fesetround): Likewise.
6068         (libc_fesetroundl): Likewise.
6069         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6070         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6071         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6072         libm_hidden_ver.
6073         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6074         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6075         libm_hidden_def.
6076         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6077         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6078         libm_hidden_ver.
6079         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6080         libm_hidden_def.
6082         [BZ #3439]
6083         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6084         integer constant usable in #if and use that to give value to enum
6085         constant.
6086         (FE_DIVBYZERO): Likewise.
6087         (FE_UNDERFLOW): Likewise.
6088         (FE_OVERFLOW): Likewise.
6089         (FE_INVALID): Likewise.
6090         (FE_INVALID_SNAN): Likewise.
6091         (FE_INVALID_ISI): Likewise.
6092         (FE_INVALID_IDI): Likewise.
6093         (FE_INVALID_ZDZ): Likewise.
6094         (FE_INVALID_IMZ): Likewise.
6095         (FE_INVALID_COMPARE): Likewise.
6096         (FE_INVALID_SOFTWARE): Likewise.
6097         (FE_INVALID_SQRT): Likewise.
6098         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6099         (FE_TONEAREST): Likewise.
6100         (FE_TOWARDZERO): Likewise.
6101         (FE_UPWARD): Likewise.
6102         (FE_DOWNWARD): Likewise.
6103         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6104         (FE_DIVBYZERO): Likewise.
6105         (FE_OVERFLOW): Likewise.
6106         (FE_UNDERFLOW): Likewise.
6107         (FE_INEXACT): Likewise.
6108         (FE_TONEAREST): Likewise.
6109         (FE_DOWNWARD): Likewise.
6110         (FE_UPWARD): Likewise.
6111         (FE_TOWARDZERO): Likewise.
6112         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6113         (FE_UNDERFLOW): Likewise.
6114         (FE_OVERFLOW): Likewise.
6115         (FE_DIVBYZERO): Likewise.
6116         (FE_INVALID): Likewise.
6117         (FE_TONEAREST): Likewise.
6118         (FE_TOWARDZERO): Likewise.
6119         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6120         (FE_OVERFLOW): Likewise.
6121         (FE_UNDERFLOW): Likewise.
6122         (FE_DIVBYZERO): Likewise.
6123         (FE_INEXACT): Likewise.
6124         (FE_TONEAREST): Likewise.
6125         (FE_TOWARDZERO): Likewise.
6126         (FE_UPWARD): Likewise.
6127         (FE_DOWNWARD): Likewise.
6128         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6129         (FE_DIVBYZERO): Likewise.
6130         (FE_OVERFLOW): Likewise.
6131         (FE_UNDERFLOW): Likewise.
6132         (FE_INEXACT): Likewise.
6133         (FE_TONEAREST): Likewise.
6134         (FE_DOWNWARD): Likewise.
6135         (FE_UPWARD): Likewise.
6136         (FE_TOWARDZERO): Likewise.
6138 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6140         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6142 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6144         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6145         commands.  Quote $PWD.
6146         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6147         -x" by "export".
6148         (remove_newlines): Remove.
6150 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6152         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6153         * stdlib/stdlib.h (atof): Moved to ...
6154         * include/bits/stdlib-float.h: Here.  New file.
6155         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6156         * stdlib/bits/stdlib-float.h: New file.
6157         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6158         -mno-sse -mno-mmx.
6159         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6160         <xmmintrin.h>.
6162 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6164         * conform/conformtest.pl (@headers): Add fenv.h.
6165         * conform/data/fenv.h-data: New file.
6166         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6167         include of <math/fenv.h>.
6169         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6170         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6171         && !UNIX98].  Enables tests for XOPEN2K8.
6172         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6173         POSIX2008]: Likewise.
6175         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6176         (struct rusage): Do not expect type or its members.
6178         [BZ #3439]
6179         * math/math.h (FP_NAN): Define macro to integer constant usable in
6180         #if and use that to give value to enum constant.
6181         (FP_INFINITE): Likewise.
6182         (FP_ZERO): Likewise.
6183         (FP_SUBNORMAL): Likewise.
6184         (FP_NORMAL): Likewise.
6186 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6188         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6189         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6190         arguments.
6192 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6194         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6195         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6196         autoconf-time if not.
6197         * configure.in: Remove AC_PREREQ.
6199 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6201         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6202         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6203         of the internal implementation.
6205 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6207         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6208         except include of <misc/sys/syslog.h>.
6210 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6213         function returns with a NULL context exit with zero.
6215 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6217         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6219 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6221         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6222         (run_program_cmd): This.
6223         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6224         (tst_langinfo): New variable.  Use it.
6226 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6228         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6229         floating point opcodes.
6231 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6233         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6234         variable.
6236         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6238         * sysdeps/mach/hurd/powerpc: Remove directory.
6239         * sysdeps/mach/powerpc: Likewise.
6241 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6243         * scripts/check-local-headers.sh: Ignore c++ headers.
6245 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6247         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6248         __libc_cleanup_region_start argument.
6250 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6252         [BZ #14784]
6253         [BZ #14785]
6254         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6255         x * y using scaling, not as x * y + z.
6256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6258         * math/libm-test.inc (fma_test): Add more tests.
6259         (fma_test_towardzero): Likewise.
6260         (fma_test_downward): Likewise.
6261         (fma_test_upward): Likewise.
6263 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6265         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6267 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6269         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6270         New variable.
6272 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6274         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6276 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6279         Fix sort order.
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6281         Likewise.
6283 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6286         Fix the order of the list for glibc 2.17.
6287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6288         Likewise.
6290 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6294 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #14610]
6297         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6298         for low part of x being zero before using __atanl (y).
6299         * math/libm-test.inc (atan2_test): Add another test.
6301         * manual/install.texi (Configuring and compiling): Document
6302         general use of test-wrapper and test-wrapper-env.
6303         * INSTALL: Regenerated.
6305         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6306         (__fma): Do not extract and scale down low bits on after-rounding
6307         systems when result rounded to normal precision would have normal
6308         exponent.
6309         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6310         (__fmal): Do not extract and scale down low bits on after-rounding
6311         systems when result rounded to normal precision would have normal
6312         exponent.
6313         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6314         (__fmal): Do not extract and scale down low bits on after-rounding
6315         systems when result rounded to normal precision would have normal
6316         exponent.
6317         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6318         macro.
6319         (fma_test): Add more tests.
6320         (fma_test_towardzero): Likewise.
6321         (fma_test_downward): Likewise.
6322         (fma_test_upward): Likewise.
6324 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6326         * sysdeps/i386/tininess.h: Renamed to ...
6327         * sysdeps/x86/tininess.h: This.
6328         * sysdeps/x86_64/tininess.h: Removed.
6330 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6332         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6333         input.  Use $(build-program-cmd).
6334         ($(objpfx)tst-array1-static.out): Likewise.
6335         ($(objpfx)tst-array2.out): Likewise.
6336         ($(objpfx)tst-array3.out): Likewise.
6337         ($(objpfx)tst-array4.out): Likewise.
6338         ($(objpfx)tst-array5.out): Likewise.
6339         ($(objpfx)tst-array5-static.out): Likewise.
6341 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6343         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6344         if defined.
6346         * nss/nsswitch.h (nss_interface_function): Provide new
6347         macro for use with NSS functions.
6348         * grp/initgroups.c: Use new macro.
6349         * nss/getXXbyYY.c: Likewise.
6350         * nss/getXXbyYY_r.c: Likewise.
6351         * nss/getXXent.c: Likewise.
6352         * nss/getXXent_r.c: Likewise.
6353         * sysdeps/posix/getaddrinfo.c: Likewise.
6355 2012-10-30  Andreas Jaeger  <aj@suse.de>
6357         * po/ru.po: Update Russion translation from translation project.
6359 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6361         [BZ #14152]
6362         [BZ #14783]
6363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6364         result and shift together with sticky bit instead of replicating
6365         round-to-nearest rounding.
6366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6368         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6369         missing underflow exceptions.
6370         (fma_test_towardzero): Add more tests.
6371         (fma_test_downward): Likewise.
6372         (fma_test_upward): Likewise.
6374         [BZ #14047]
6375         * sysdeps/generic/tininess.h: New file.
6376         * sysdeps/i386/tininess.h: Likewise.
6377         * sysdeps/sh/tininess.h: Likewise.
6378         * sysdeps/x86_64/tininess.h: Likewise.
6379         * stdlib/tst-strtod-underflow.c: Likewise.
6380         * stdlib/tst-tininess.c: Likewise.
6381         * stdlib/strtod_l.c: Include <tininess.h>.
6382         (round_and_return): Do not set errno for exact underflow cases.
6383         Force an underflow exception when setting errno for underflow.
6384         Determine underflow based on rounding to normal precision if
6385         TININESS_AFTER_ROUNDING.
6386         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6387         ERANGE for exact underflow cases.
6388         * stdlib/Makefile (tests): Add tst-tininess and
6389         tst-strtod-underflow.
6390         ($(objpfx)tst-tininess): Use $(link-libm).
6391         ($(objpfx)tst-strtod-underflow): Likewise.
6393 2012-10-30  Andreas Jaeger  <aj@suse.de>
6395         [BZ#14767]
6396         * elf/Makefile (tests): Remove conditional for have-initfini-array
6397         since this is now always required and the variable does not exist
6398         anymore.
6399         (tests-static): Likewise.
6400         (modules-names): Likewise.
6402         * po/eo.po: Add Esperanto translation from translation project.
6404         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6405         merged with constructor/destructor.
6406         (init_array): Likewise.
6407         * elf/tst-array2dep.c (fini_array): Likewise.
6408         (init_array): Likewise.
6410 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6412         * manual/message.texi: Delete @cartouche tags.
6414 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6416         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6417         EOPNOTSUPP.
6418         * sysdeps/mach/hurd/fsync.c: Likewise.
6420         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6421         [_POSIX_REALTIME_SIGNALS]: Change condition to
6422         [_POSIX_REALTIME_SIGNALS > 0].
6424 2012-10-27  Andreas Jaeger  <aj@suse.de>
6426         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6427         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6428         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6429         [__WORDSIZE != 64]: Likewise.
6431 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6433         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6434         *  iconvdata/tst-tables.sh: Likewise.
6436 2012-10-25  David S. Miller  <davem@davemloft.net>
6438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6439         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6440         of strtoull.
6442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6443         ifunc-impl-list.c
6444         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6445         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6446         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6447         file.
6449 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6451         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6452         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6453         __getdirentries.
6455 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6456             Jim Blandy  <jimb@codesourcery.com>
6458         * scripts/cross-test-ssh.sh: New file.
6459         * manual/install.texi (Configuring and compiling): Document use of
6460         cross-test-ssh.sh.
6461         * INSTALL: Regenerated.
6463 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6465         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6466         EOPNOTSUPP.
6468 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6470         * Makeconfig (run-program-prefix): Fix comment.
6472 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6473             Jim Blandy  <jimb@codesourcery.com>
6475         * Makeconfig (test-wrapper): New variable,
6476         (test-wrapper-env): Likewise.
6477         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6478         (run-built-tests): Define to yes.
6479         (run-program-prefix): Use $(test-wrapper).
6480         (built-program-cmd): Likewise.
6481         * Rules (make-test-out): Use $(test-wrapper-env) and
6482         $(host-built-program-cmd).
6483         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6484         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6485         tst-pathopt.sh.
6486         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6487         $(test-wrapper-env) to tst-rtld-load-self.sh.
6488         ($(objpfx)order2.out): Use $(test-wrapper).
6489         ($(objpfx)tst-initorder.out): Likewise.
6490         ($(objpfx)tst-initorder2.out): Likewise.
6491         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6492         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6493         (test_wrapper_env): New variable.  Use it to run ld.so.
6494         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6495         Use it to run ld.so.
6496         (test_wrapper_env): Likewise.
6497         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6498         $(test-wrapper) to run-iconv-test.sh.
6499         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6500         (ICONV): Use $test_wrapper.
6501         * posix/Makefile ($(objpfx)globtest.out): Pass
6502         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6503         globtest.sh, not $(run-program-prefix).
6504         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6505         (test_wrapper): Likewise.
6506         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6507         set together with run_via_rtld_prefix.
6508         (run_program_prefix): Define in terms of test_wrapper and
6509         run_via_rtld_prefix.
6511 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6513         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6514         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6515         Targets removed.
6517         [BZ #14743]
6518         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6519         Declare __clock_getres, __clock_gettime, __clock_settime,
6520         __clock_nanosleep, and __clock_getcpuclockid.
6521         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6522         Remove librt_hidden_def (clock_gettime).
6523         * sysdeps/unix/clock_gettime.c: Likewise.
6524         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6525         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6526         * rt/clock_getres.c: Define __clock_getres as an alias.
6527         * sysdeps/posix/clock_getres.c: Likewise.
6528         * rt/clock_settime.c: Define __clock_settime as an alias.
6529         * sysdeps/unix/clock_settime.c: Likewise.
6530         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6531         * sysdeps/unix/clock_nanosleep.c: Likewise.
6532         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6533         * rt/clock-compat.c: New file.
6534         * rt/Makefile (librt-routines): Add clock-compat and move
6535         $(clock-routines) to ...
6536         (routines): ... here, new variable.
6537         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6538         Don't add get_clockfreq here.
6539         * rt/Versions (libc: GLIBC_2.17): New version set.
6540         Add clock_* symbols here.
6541         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6542         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6543         (GLIBC_2.17): Add clock_* symbols.
6544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6546         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6548         Likewise.
6549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6550         Likewise.
6551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6555         * NEWS: Mention the move.
6557         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6558         Use __open, __read, __close rather than their public counterparts.
6559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6560         (__get_clockfreq_via_cpuinfo): Likewise.
6561         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6562         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6564         * config.h.in (HAVE_IFUNC): New #undef.
6565         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6566         was successful.
6567         * configure: Regenerated.
6569 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6571         * configure.in: Move READELF check to start of file.
6572         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6573         libc_cv_asm_gnu_indirect_function in the process.
6574         * configure: Regenerated.
6576 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6578         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6579         send the output to /dev/null.
6580         (libc_cv_cc_with_libunwind): Likewise.
6581         (libc_cv_as_noexecstack): Likewise.
6582         * configure: Regenerate.
6584 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6586         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6588         * posix/globtest.sh (TMPDIR): Do not set.
6589         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6590         (testout): Likewise.
6592 2012-10-24  Andreas Jaeger  <aj@suse.de>
6594         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6595         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6596         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6597         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6598         posix_fadvise64, posix_fallocate64.
6600         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6601         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6602         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6603         Likewise.
6604         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6605         Likewise.
6606         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6608         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6609         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6610         <bits/fcntl-linux.h>.
6611         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6614         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6615         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6616         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6617         [__WORDSIZE != 64]: Likewise.
6619 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6621         * Makeconfig (run-built-tests): New variable.
6622         * Rules [$(cross-compiling) = yes]: Change condition to
6623         [$(run-built-tests) = no].
6624         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6625         to [$(run-built-tests) = yes].
6626         * elf/Makefile [$(cross-compiling) = no]: Likewise
6627         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6628         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6629         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6630         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6631         * io/Makefile [$(cross-compiling) = no]: Likewise.
6632         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6633         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6634         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6635         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6636         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6637         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6638         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6639         * string/Makefile [$(cross-compiling) = no]: Likewise.
6641         * posix/Makefile ($(objpfx)globtest.out): Pass
6642         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6643         $(rtld-installed-name).
6644         * posix/globtest.sh (elf_objpfx): Remove variable.
6645         (rtld_installed_name): Likewise.
6646         (library_path): Likewise.
6647         (run_program_prefix): New variable.  Use for running globtest
6648         binary.
6650 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6651             Joseph Myers  <joseph@codesourcery.com>
6653         * Makeconfig (host-built-program-cmd): New variable.
6654         * elf/Makefile (tst-stackguard1-ARGS): Use
6655         $(host-built-program-cmd).
6656         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6657         (tst-spawn-ARGS): Likewise.
6658         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6660 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6661             Jim Blandy  <jimb@codesourcery.com>
6663         * Makeconfig (run-via-rtld-prefix): New variable.
6664         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6665         (built-program-cmd): Likewise.
6667 2012-10-22  Andreas Jaeger  <aj@suse.de>
6669         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6670         __O_RSYNC if it exists, otherwise to O_SYNC.
6672 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
6673             Joseph Myers  <joseph@codesourcery.com>
6675         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6676         /dev/null.
6677         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6678         from /dev/null
6679         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6680         /dev/null.
6682 2012-10-22  Andreas Jaeger  <aj@suse.de>
6684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6685         Define always.
6686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6688         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6689         bits/fcntl-linux.h.
6691         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6692         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6694         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6695         to __O_LARGEFILE.
6696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6697         to __O_LARGEFILE.
6699 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
6700             Joseph Myers  <joseph@codesourcery.com>
6702         * config.make.in (NM): New variable.
6704 2012-10-21  Andreas Jaeger  <aj@suse.de>
6706         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6707         definitions and declarations that are provided by
6708         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6710 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6712         [BZ #14683]
6713         * elf/Makefile (tests-static): Add tst-leaks1-static.
6714         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6715         ($(objpfx)tst-leaks1-static): New rule.
6716         ($(objpfx)tst-leaks1-static-mem): Likewise.
6717         (tst-leaks1-static-ENV): New macro.
6718         * elf/dl-open.c (dl_open_worker): Check the main application
6719         only if SHARED is defined.
6720         * elf/tst-leaks1-static.c: New file.
6722 2012-10-20  Andreas Jaeger  <aj@suse.de>
6724         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6725         generic values for Linux.
6726         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6727         and declarations that are provided by <bits/fcntl-linux.h> and
6728         include <bits/fcntl-linux.h>.
6729         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6730         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6732 2012-10-20  Roland McGrath  <roland@hack.frob.com>
6734         * io/fcntl.h: Move include of <bits/types.h> to the top and
6735         include it unconditionally.
6737 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6739         * wcsmbs/Makefile (tests-ifunc): New variable.
6740         (tests): Add $(tests-ifunc).
6741         * wcsmbs/test-wcschr-ifunc.c: New file.
6742         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6743         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6744         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6745         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6746         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6748         * string/Makefile (tests-ifunc): New variable.
6749         (tests): Add $(tests-ifunc).
6750         * string/test-memccpy.c (TEST_NAME): New macro.
6751         * string/test-memchr.c (TEST_NAME): Likewise.
6752         * string/test-memcmp.c (TEST_NAME): Likewise.
6753         * string/test-memcpy.c (TEST_NAME): Likewise.
6754         * string/test-memmem.c (TEST_NAME): Likewise.
6755         * string/test-memmove.c (TEST_NAME): Likewise.
6756         * string/test-memset.c (TEST_NAME): Likewise.
6757         * string/test-rawmemchr.c (TEST_NAME): Likewise.
6758         * string/test-stpcpy.c (TEST_NAME): Likewise.
6759         * string/test-stpncpy.c (TEST_NAME): Likewise.
6760         * string/test-strcasecmp.c (TEST_NAME): Likewise.
6761         * string/test-strcasestr.c (TEST_NAME): Likewise.
6762         * string/test-strcat.c (TEST_NAME): Likewise.
6763         * string/test-strchr.c (TEST_NAME): Likewise.
6764         * string/test-strcmp.c(TEST_NAME): Likewise.
6765         * string/test-strcpy.c (TEST_NAME): Likewise.
6766         * string/test-strcspn.c (TEST_NAME): Likewise.
6767         * string/test-strlen.c (TEST_NAME): Likewise.
6768         * string/test-strncasecmp.c (TEST_NAME): Likewise.
6769         * string/test-strncmp.c (TEST_NAME): Likewise.
6770         * string/test-strncpy.c (TEST_NAME): Likewise.
6771         * string/test-strnlen.c (TEST_NAME): Likewise.
6772         * string/test-strpbrk.c (TEST_NAME): Likewise.
6773         * string/test-strrchr.c (TEST_NAME): Likewise.
6774         * string/test-strspn.c (TEST_NAME): Likewise.
6775         * string/test-strstr.c (TEST_NAME): Likewise.
6776         * string/test-bcopy-ifunc.c: New file.
6777         * string/test-bzero-ifunc.c: Likewise.
6778         * string/test-memccpy-ifunc.c: Likewise.
6779         * string/test-memchr-ifunc.c: Likewise.
6780         * string/test-memcmp-ifunc.c: Likewise.
6781         * string/test-memcpy-ifunc.c: Likewise.
6782         * string/test-memmem-ifunc.c: Likewise.
6783         * string/test-memmove-ifunc.c: Likewise.
6784         * string/test-mempcpy-ifunc.c: Likewise.
6785         * string/test-memset-ifunc.c: Likewise.
6786         * string/test-rawmemchr-ifunc.c: Likewise.
6787         * string/test-stpcpy-ifunc.c: Likewise.
6788         * string/test-stpncpy-ifunc.c: Likewise.
6789         * string/test-strcasecmp-ifunc.c: Likewise.
6790         * string/test-strcasestr-ifunc.c: Likewise.
6791         * string/test-strcat-ifunc.c: Likewise.
6792         * string/test-strchr-ifunc.c: Likewise.
6793         * string/test-strchrnul-ifunc.c: Likewise.
6794         * string/test-strcmp-ifunc.c: Likewise.
6795         * string/test-strcpy-ifunc.c: Likewise.
6796         * string/test-strcspn-ifunc.c: Likewise.
6797         * string/test-strlen-ifunc.c: Likewise.
6798         * string/test-strncasecmp-ifunc.c: Likewise.
6799         * string/test-strncat-ifunc.c: Likewise.
6800         * string/test-strncmp-ifunc.c: Likewise.
6801         * string/test-strncpy-ifunc.c: Likewise.
6802         * string/test-strnlen-ifunc.c: Likewise.
6803         * string/test-strpbrk-ifunc.c: Likewise.
6804         * string/test-strrchr-ifunc.c: Likewise.
6805         * string/test-strspn-ifunc.c: Likewise.
6806         * string/test-strstr-ifunc.c: Likewise.
6808         * debug/Makefile (tests-ifunc): New variable.
6809         (tests): Add $(tests-ifunc).
6810         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6811         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6812         * debug/test-stpcpy_chk-ifunc.c: New file.
6813         * debug/test-strcpy_chk-ifunc.c: Likewise.
6815 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6817         [BZ #13601]
6818         * elf/dl-load.c (open_verify): Retry read if the entire ELF
6819         header is not read in.
6821 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
6823         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
6824         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
6825         directly.  Pass built executable to script as
6826         $(built-program-cmd).
6827         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
6828         $testprogram without using LD_LIBRARY_PATH and $ldso.
6830         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6831         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6832         $(rtld-installed-name).
6833         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6834         (rtld_installed_name): Likewise.
6835         (library_path): Likewise.
6836         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
6837         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6838         $(run-program-prefix) to tst-tables.sh.
6839         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
6840         it to run tst-table-from and tst-table-to.
6841         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6842         Pass it to tst-table.sh.
6843         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6844         $(run-program-prefix) to tst-gettext.sh.
6845         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6846         tst-translit.sh.
6847         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6848         tst-gettext2.sh.
6849         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
6850         to run tst-gettext.
6851         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
6852         to run tst-gettext2.
6853         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
6854         to run tst-translit.
6855         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6856         $(run-program-prefix) to tst-mtrace.sh.
6857         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
6858         to run tst-mtrace.
6859         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6860         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6861         $(rtld-installed-name).
6862         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6863         (rtld_installed_name): Likewise.
6864         (run_program_prefix): New variable.  Use it to run wordexp-test.
6866         * Makeconfig (ARCH): Remove all definitions.
6867         (machine): Likewise.
6868         [ARCH]: Remove conditional code.
6869         [!objdir]: Give error.
6870         [!objdir] (objpfx): Remove.
6871         [!objdir] (common-objpfx): Likewise.
6872         [!objdir] (common-objdir): Likewise.
6873         * configure.in (config_makefile): Remove.  Hardcode Makefile in
6874         AC_CONFIG_FILES call.
6875         * configure: Regenerated.
6877         [BZ #13888]
6878         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6879         or TMPDIR.
6880         (testout): Likewise.
6882         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6883         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6884         $(rtld-installed-name).
6885         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6886         (rtld_installed_name): Likwise.
6887         (runit): Remove function.
6888         (run_getconf): New variable,  Use it for running getconf binary.
6890 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
6892         [BZ #14716]
6893         * string/test-memmem.c (check_result): New function.
6894         (do_one_test): Use it.
6895         (check1): New function.
6896         (test_main): Use it.
6898 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
6900         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6902 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
6904         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6905         (_G_LSEEK64): Likewise.
6906         (_G_MMAP64): Likewise.
6907         (_G_FSTAT64): Likewise.
6908         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6909         (_G_LSEEK64): Likewise.
6910         (_G_MMAP64): Likewise.
6911         (_G_FSTAT64): Likewise.
6912         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6913         unconditional.  Call __mmap64 directly.
6914         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6915         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
6916         __lseek64 directly.
6917         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6918         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
6919         __mmap64 directly.
6920         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6921         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6922         __lseek64 directly.
6923         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6924         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6925         __lseek64 directly.
6926         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6927         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
6928         __lseek64 directly.
6929         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6930         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
6931         __fxstat64 directly.
6932         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6933         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6934         unconditional.
6935         (freopen64) [!_G_OPEN64]: Remove conditional code.
6936         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6937         unconditional.
6938         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6939         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6940         unconditional.
6941         (ftello64) [!_G_LSEEK64]: Remove conditional code.
6942         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6943         unconditional.
6944         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6945         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6946         unconditional.
6947         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6948         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6949         unconditional.
6950         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6951         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6952         unconditional.
6953         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6954         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6955         unconditional.
6956         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6958 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6960         [BZ #12140]
6961         * manual/memory.texi (Malloc Tunable Parameters): Add note
6962         about free list pointers overwriting some perturb bytes.
6963         Wording suggested by Roland McGrath.
6965 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
6967         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6968         (lgamma_test): Likewise.
6969         (tgamma_test): Likewise.
6971 2012-10-16  Florian Weimer  <fweimer@redhat.com>
6973         [BZ #14700]
6974         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6975         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6977 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
6979         * NEWS: Mention BZ #14716.
6980         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6981         when removing AVAILABLE1_USES_J macro.
6983 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6985         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6986         (__bswap_64): __uint64_t for unsigned 64-bit int.
6988 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
6990         * include/string.h (memmem): Declare libc hidden alias.
6991         * string/memmem.c (memmem): Define libc hidden alias.
6992         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6993         __read, __close instead of open, read, close.
6995 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
6997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6998         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6999         global and hidden.
7000         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7001         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7002         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7003         Likewise.
7004         (__rawmemchr_sse2): Likewise.
7005         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7006         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7007         (__strchr_sse2): Likewise.
7008         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7009         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7010         (__strcasecmp_sse2): Likewise.
7011         (__strncasecmp_sse2): Likewise.
7012         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7013         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7014         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7015         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7016         (__strrchr_sse2): Likewise.
7017         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7018         ifunc-impl-list.c.
7019         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7020         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7021         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7022         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7023         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7024         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7025         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7026         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7027         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7028         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7029         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7030         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7031         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7032         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7033         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7034         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7035         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7036         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7037         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7038         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7039         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7040         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7041         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7042         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7043         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7044         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7045         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7046         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7047         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7048         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7050         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7051         global and hidden.
7052         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7053         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7054         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7055         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7056         Likewise.
7057         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7058         Likewise.
7059         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7060         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7061         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7062         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7063         ifunc-impl-list.c.
7064         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7065         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7066         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7067         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7068         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7069         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7070         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7071         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7072         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7073         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7074         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7075         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7076         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7077         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7078         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7079         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7080         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7081         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7082         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7083         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7084         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7085         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7086         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7087         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7088         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7089         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7090         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7091         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7092         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7093         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7094         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7095         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7096         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7097         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7098         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7099         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7100         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7101         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7102         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7103         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7104         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7106         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7107         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7108         * include/ifunc-impl-list.h: New file.
7109         * misc/ifunc-impl-list.c: Likewise.
7110         * misc/Makefile (routines): Add ifunc-impl-list.
7111         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7112         * string/test-string.h: Include <ifunc-impl-list.h>.
7113         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7114         impl_array): New variables.
7115         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7116         are defined.
7117         (test_init): Call __libc_ifunc_impl_list to initialize
7118         func_list if TEST_IFUNC and TEST_NAME are defined.
7120         * string/Makefile (strop-tests): Add bcopy and bzero.
7121         * string/test-bcopy.c: New file.
7122         * string/test-bzero.c: Likewise.
7123         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7124         defined.
7125         * string/test-memset.c: Support bzero test if TEST_BZERO is
7126         defined.
7127         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7128         __libc_memmove.
7129         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7130         __libc_memset.
7131         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7132         of memset.
7134 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7136         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7137         * configure: Regenerated.
7139         * Makeconfig (+link-static-before-libc): Don't include
7140         $(link-static-libc).
7142         * libio/libio.h (_IO_pos_t): Remove.
7144 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7146         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7147         McGrath.
7149 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7151         * crypt/crypt-entry.c: Include fips-private.h.
7152         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7153         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7154         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7155         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7157 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7159         * crypt/crypt-private.h: Include stdbool.h.
7160         (_ufc_setup_salt_r): Return bool.
7161         * crypt/crypt-entry.c: Include errno.h.
7162         (__crypt_r): Return NULL with EINVAL for bad salt.
7163         * crypt/crypt_util.c (bad_for_salt): New.
7164         (_ufc_setup_salt_r): Check that salt is long enough and within
7165         the specified alphabet.
7166         * crypt/badsalttest.c: New file.
7167         * crypt/Makefile (tests): Add it.
7168         ($(objpfx)badsalttest): New.
7170 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7172         * NEWS: Add entry for BZ #14602.
7174 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7176         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7177         type-generic.
7178         * math/libm-test.inc: Update comment listing what functions and
7179         macros are tested.
7180         (isgreater_test): New function.
7181         (isgreaterequal_test): Likewise.
7182         (isless_test): Likewise.
7183         (islessequal_test): Likewise.
7184         (islessgreater_test): Likewise.
7185         (isunordered_test): Likewise.
7186         (main): Call the new functions.
7188 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7190         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7191         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7192         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7193         * sysdeps/i386/configure: Regenerated.
7194         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7195         * sysdeps/mach/configure: Regenerated.
7196         * sysdeps/mach/hurd/configure: Regenerated.
7197         * sysdeps/powerpc/configure: Regenerated.
7198         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7199         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7200         * sysdeps/s390/s390-32/configure: Regenerated.
7201         * sysdeps/s390/s390-64/configure: Regenerated.
7202         * sysdeps/sh/configure: Regenerated.
7203         * sysdeps/sparc/configure: Regenerated.
7204         * sysdeps/unix/sysv/linux/configure: Regenerated.
7205         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7206         * sysdeps/x86_64/configure: Regenerated.
7208         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7209         defined.  Don't check if MAP is NULL.
7211 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7213         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7214         (_G_stat64): Likewise.
7215         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7216         (_G_stat64): Likewise.
7217         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7218         instead of struct _G_stat64.
7219         * libio/fileops.c (mmap_remap_check): Likewise.
7220         (decide_maybe_mmap): Likewise.
7221         (_IO_new_file_seekoff): Likewise.
7222         (_IO_file_stat): Likewise.
7223         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7224         _G_off64_t.
7225         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7226         instead of struct _G_stat64.
7227         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7229 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7231         [BZ #14602]
7232         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7233         Replace with ...
7234         (CHECK_EOL): New macro.
7235         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7236         CHECK_EOL.
7237         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7238         Replace with CHECK_EOL.
7239         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7240         Replace with CHECK_EOL.
7242 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7244         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7245         type-generic.
7246         * math/libm-test.inc: Update comment listing what functions and
7247         macros are tested.
7248         (finite_test): New function.
7249         (isinf_test): Likewise.
7250         (isnan_test): Likewise.
7251         (fpclassify_test): Test subnormal input.
7252         (isfinite_test): Likewise.
7253         (isnormal_test): Likewise.
7254         (main): Call the new functions.
7256 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7258         [BZ #14660]
7259         * Makerules (%.dynsym): Force C locale when running
7260         $(OBJDUMP) --dynamic-syms.
7262 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7264         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7265         <stdint.h>.
7267 2012-10-06  David S. Miller  <davem@davemloft.net>
7269         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7270         upper 32-bits of the length value in %o2 since we use branch-on-register
7271         tests which consider the entire 64-bit register.
7273 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7275         * string/test-strstr.c (check2): Add a test for page boundary.
7277 2012-10-05  David S. Miller  <davem@davemloft.net>
7279         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7280         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7281         file.
7282         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7283         sysdep_routines.
7284         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7285         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7286         and bzero when HWCAP_SPARC_CRYPTO is present.
7288 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7290         [BZ #14602]
7291         * string/test-strstr.c (check2): New function.
7292         (test_main): Call check2.
7294         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7295         and bug-strchr1.
7296         * string/bug-strcasestr1.c (do_test): Moved to ...
7297         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
7303         * string/test-strchr.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-strstr1.c (main): Moved to ...
7309         * string/test-strstr.c (check1): Here.  New function.
7310         (do_one_test): Break out result checking code into ...
7311         (check_result): This.  New function.
7312         (do_one_test): Call check_result.
7313         (test_main): Call check1.
7314         * string/bug-strcasestr1.c: Removed.
7315         * string/bug-strchr1.c: Likewise.
7316         * string/bug-strstr1.c: Likewise.
7318         * elf/Makefile (dl-routines): Add hwcaps.
7319         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7320         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7321         (_dl_important_hwcaps): Moved to ...
7322         * elf/dl-hwcaps.c: Here.  New file.
7323         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7325         [BZ #14557]
7326         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7327         if IS_IN_rtld isn't defined.
7329         * elf/dl-support.c (_dl_sysinfo_map): New.
7330         Include "get-dynamic-info.h" and "setup-vdso.h".
7331         (_dl_non_dynamic_init): Call setup_vdso.
7332         * elf/dynamic-link.h: Don't include <assert.h>.
7333         (elf_get_dynamic_info): Moved to ...
7334         * elf/get-dynamic-info.h: Here.  New file.
7335         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7336         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7337         * elf/setup-vdso.h: Here.  New file.
7338         * elf/rtld.c: Include "setup-vdso.h".
7339         (dl_main): Call setup_vdso.
7341 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7343         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7344         creal in comment listing functions tested.  List finite, isinf,
7345         isnan, isless, islessequal, isgreater, isgreaterequal,
7346         islessgreater, isunordered, lgamma_r and pow10 as functions and
7347         macros not tested.  Mention which functions not tested are aliases
7348         for other functions.  Fix typo.  Note that signs of NaNs are not
7349         tested.
7351         * scripts/config.guess: Update from config.git.
7352         * scripts/config.sub: Likewise.
7354 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7356         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7357         * misc/madvise.c (madvise): Renamed to __madvise.
7358         Make madvise a weak alias.
7359         * include/sys/mman.h: Declare __madvise.
7360         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7361         * sysdeps/unix/syscalls.list
7362         (madvise): Make __madvise the strong name, and madvise a weak alias.
7363         * sysdeps/unix/sysv/linux/syscalls.list
7364         (madvise, mmap): Remove redundant entries.
7365         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7366         * malloc/malloc.c (mtrim): Likewise.
7367         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7369 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7371         * sysdeps/mach/hurd/dl-cache.c: File removed.
7372         * config.h.in (USE_LDCONFIG): New #undef.
7373         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7374         * configure: Regenerated.
7375         * elf/Makefile (dl-routines): Add dl-cache only under
7376         [$(use-ldconfig) = yes].
7377         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7378         cache on [USE_LDCONFIG].
7379         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7380         [USE_LDCONFIG].
7381         * elf/rtld.c (dl_main): Likewise.
7383 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7385         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7386         _SC_LEVEL4_CACHE_LINESIZE.
7388 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7390         * sysdeps/unix/bsd/confstr.h: File removed.
7392 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7394         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7395         sys/sdt-config.h.
7397 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7399         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7400         Make 'mapoff' field ElfW(Off) rather than off_t.
7402 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7404         * nscd/Makefile: Remove nscd-cflags and all its users.
7405         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7406         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7408         [BZ #10631]
7409         * malloc.c (malloc_printerr): Clarify error message.
7411 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7413         [BZ #14648]
7414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7415         Set bit_FMA_Usable if FMA is supported.
7416         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7417         macro.
7418         (bit_FMA4_Usable): Updated.
7419         (index_FMA_Usable): New macro.
7420         (CPUID_FMA): Likewise
7421         (HAS_FMA): Defined with bit_FMA_Usable.
7423 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7425         * bits/types.h (__swblk_t): Type removed.
7426         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7427         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7428         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7429         (__SWBLK_T_TYPE): Likewise.
7430         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7431         (__SWBLK_T_TYPE): Likewise.
7432         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7433         (__SWBLK_T_TYPE): Likewise.
7434         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7435         (__SWBLK_T_TYPE): Likewise.
7437 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7438             Honza Horak <hhorak@redhat.com>
7440         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7441         (xdr_mapname): Use YPMAXMAP as maxsize.
7442         (xdr_peername): Use YPMAXPEER as maxsize.
7443         (xdr_keydat): Use YPAXRECORD as maxsize.
7444         (xdr_valdat): Use YPMAXRECORD as maxsize.
7446 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7448         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7450         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7451         * csu/init-first.c: ... here.
7452         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7453         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7454         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7455         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7456         * sysdeps/i386/init-first.c: File removed.
7457         * sysdeps/sh/init-first.c: File removed.
7459 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7461         [BZ #14645]
7462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7463         if x * y might underflow to zero and z is zero.
7464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7466         * math/libm-test.inc (min_subnorm_value): New variable.
7467         (fma_test): Add more tests.
7468         (fma_test_towardzero): Likewise.
7469         (fma_test_downward): Likewise
7470         (fma_test_upward): Likewise.
7471         (initialize): Set min_subnorm_value.
7473 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7475         [BZ #14638]
7476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7477         0 + 0.
7478         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7479         mode for addition resulting in exact zero.
7480         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7482         exact 0 + 0.
7483         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7484         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7485         * math/libm-test.inc (fma_test): Add more tests.
7486         (fma_test_towardzero): New function.
7487         (fma_test_downward): Likewise.
7488         (fma_test_upward): Likewise.
7489         (main): Call the new functions.
7491 2012-09-28  David S. Miller  <davem@davemloft.net>
7493         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7495 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7497         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7498         instead of SIGALRM.
7500         * sysdeps/gnu/_G_config.h: Moved to ...
7501         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7502         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7503         * sysdeps/generic/_G_config.h: ... here.
7505         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7507         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7509         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7510         Conditionalize target on [libnss_test1.so-version].
7512         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7514         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7515         (elfobjdir): Move out of conditionals.
7517         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7518         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7519         (__nss_lookup_function): Conditionalize label remove_from_tree on
7520         [!DO_STATIC_NSS || SHARED], matching its only use.
7522 2012-09-28  David S. Miller  <davem@davemloft.net>
7524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7525         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7526         file.
7527         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7528         sysdep_routines.
7529         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7530         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7531         when HWCAP_SPARC_CRYPTO is present.
7533 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7535         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7537 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7539         [BZ #6530]
7540         * stdio-common/vfprintf.c (process_string_arg): Revert
7541         2000-07-22 change.
7543 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7545         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7546         for testcase.
7547         * stdio-common/tst-sprintf.c: Include <locale.h>
7548         (main): Test sprintf's handling of incomplete multibyte
7549         characters.
7551 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7553         * elf/dl-runtime.c (VERSYMIDX): Removed.
7554         * elf/dl-version.c (VERSYMIDX): Likewise.
7555         * elf/do-rel.h (VERSYMIDX): Likewise.
7556         (VALIDX): Likewise.
7557         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7558         * elf/rtld.c (VALIDX): Likewise.
7559         (ADDRIDX): Likewise.
7560         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7561         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7562         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7563         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7564         (VALIDX): Likewise.
7565         (ADDRIDX): Likewise.
7567 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7569         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7571 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7573         [BZ #11438]
7574         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7575         to global scope.
7576         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7577         addresses are in the same scope as 192.0.2/24.
7578         * posix/gai.conf: Document new scope table defaults.
7580 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7582         [BZ #5298]
7583         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7584         for ftell.  Compute offsets from write pointers instead.
7585         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7587 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7589         [BZ #14543]
7590         * libio/Makefile (tests): New test case tst-fseek.
7591         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7592         combination works in wide mode.
7593         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7594         state when the external buffer state changes.
7596 2012-09-27  David S. Miller  <davem@davemloft.net>
7598         [BZ #14376]
7599         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7600         pass reloc->r_addend in as the 'high' argument to
7601         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7605 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7607         * rt/tst-aio2.c: Include <pthread.h>.
7608         * rt/tst-aio3.c: Likewise.
7610 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7612         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7614 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7616         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7617         contents on [SHARED].
7619 2012-09-26  Marek Polacek  <polacek@redhat.com>
7621         [BZ #14530]
7622         [BZ #13741]
7623         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7624         for C++ and GCC <4.3 as well as for non GCC compilers.
7626 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7630 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7632         * Makefile.in (all, install): Declare with .PHONY.
7633         Reported by Michael Hope <michael.hope@linaro.org>.
7635 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7637         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7638         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7639         system header.
7640         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7641         Likewise.
7642         (sydep_routines): Add the new and the internal functions.
7643         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7644         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7646         (GLIBC_2.17): Add the new function.
7647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7648         (GLIBC_2.17): Likewise.
7649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7650         (GLIBC_2.17): Likewise.
7651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7652         (GLIBC_2.17): Likewise.
7653         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7655 2012-09-25  Alan Modra  <amodra@gmail.com>
7657         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7658         Add release barrier before setting once_control to say
7659         initialisation is done.  Add hints on lwarx.  Use macro in
7660         place of isync.
7661         (clear_once_control): Add release barrier.
7663 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7665         [BZ #13629]
7666         * math/s_clog.c (__clog): Handle more values close to |z| = 1
7667         specially.
7668         * math/s_clog10.c (__clog10): Likewise.
7669         * math/s_clog10f.c (__clog10f): Likewise.
7670         * math/s_clog10l.c (__clog10l): Likewise.
7671         * math/s_clogf.c (__clogf): Likewise.
7672         * math/s_clogl.c (__clogl): Likewise.
7673         * math/Makefile (libm-calls): Add x2y2m1.
7674         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7675         (__x2y2m1): Likewise.
7676         (__x2y2m1l): Likewise.
7677         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7678         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7679         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7680         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7681         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7682         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7683         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7684         * sysdeps/i386/fpu/libm-test-ulps: Update.
7685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7687         [BZ #14621]
7688         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7689         int as type of variable DEPTH.
7690         (glob): Use size_t instead of int as type of variables NEWCOUNT
7691         and OLD_PATHC.
7693 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7695         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7696         Add s_sincosf-sse2.
7697         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7698         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7699         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7700         macros for using routine as __sincosf_ia32.
7701         Use macro for function declaration and weak_alias.
7702         * sysdeps/i386/fpu/libm-test-ulps: Update.
7704         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7707         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7708         subnormal argument.
7709         * math/s_cexpf.c (__cexpf): Likewise.
7710         * math/s_csinf.c (__csinf): Likewise.
7711         * math/s_csinhf.c (__csinhf): Likewise.
7712         * math/s_ctanf.c (__ctanf): Likewise.
7713         * math/s_ctanhf.c (__ctanhf): Likewise.
7714         * math/s_ccosh.c (__ccoshf): Likewise.
7715         * math/s_cexp.c (__cexpl): Likewise.
7716         * math/s_csin.c (__csin): Likewise.
7717         * math/s_csinh.c (__csinh): Likewise.
7718         * math/s_ctan.c (__ctan): Likewise.
7719         * math/s_ctanh.c (ctanh): Likewise.
7720         * math/s_ccoshl.c (__ccoshl): Likewise.
7721         * math/s_cexpl.c (__cexpl): Likewise.
7722         * math/s_csinl.c (__csinl): Likewise.
7723         * math/s_csinhl.c (__csinhl): Likewise.
7724         * math/s_ctanl.c (__ctanl): Likewise.
7725         * math/s_ctanhl.c (__ctanhl): Likewise.
7727 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7729         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7730         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7731         (_IO_off_t): Define to __off_t, not _G_off_t.
7732         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7733         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7734         (_IO_wint_t): Define to wint_t, not _G_wint_t.
7735         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7736         type of __dummy and __dummy2 fields.
7737         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7738         (_G_ssize_t): Likewise.
7739         (_G_off_t): Likewise.
7740         (_G_pid_t): Likewise.
7741         (_G_uid_t): Likewise.
7742         (_G_wchar_t): Likewise.
7743         (_G_wint_t): Likewise.
7744         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7745         (_G_ssize_t): Likewise.
7746         (_G_off_t): Likewise.
7747         (_G_pid_t): Likewise.
7748         (_G_uid_t): Likewise.
7749         (_G_wchar_t): Likewise.
7750         (_G_wint_t): Likewise.
7751         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7752         (_G_ssize_t): Likewise.
7753         (_G_off_t): Likewise.
7754         (_G_pid_t): Likewise.
7755         (_G_uid_t): Likewise.
7756         (_G_wchar_t): Likewise.
7757         (_G_wint_t): Likewise.
7759 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7761         * malloc/arena.c: Include malloc-sysdep.h.
7762         (shrink_heap): Use check_may_shrink_heap to decide if madvise
7763         is sufficient to shrink the heap or an unmap is needed.
7764         * sysdeps/generic/malloc-sysdep.h: New file.  Define
7765         new function check_may_shrink_heap.
7766         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
7767         new function check_may_shrink_heap.
7769 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7771         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7772         comments.
7774 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
7776         * catgets/test-gencat.sh: Add "set -e".
7777         * elf/tst-pathopt.sh: Likewise.
7778         * grp/tst_fgetgrent.sh: Likewise.
7779         * iconvdata/run-iconv-test.sh: Likewise.
7780         * intl/tst-gettext.sh: Likewise.
7781         * intl/tst-gettext2.sh: Likewise.
7782         * intl/tst-gettext4.sh: Likewise.
7783         * intl/tst-gettext6.sh: Likewise.
7784         * intl/tst-translit.sh: Likewise.
7785         * io/ftwtest-sh: Likewise.
7786         * libio/test-freopen.sh: Likewise.
7787         * malloc/tst-mtrace.sh: Likewise.
7788         * posix/globtest.sh: Likewise.
7789         * posix/tst-getconf.sh: Likewise.
7790         * posix/wordexp-tst.sh: Likewise.
7791         * stdio-common/tst-printf.sh: Likewise.
7792         * stdio-common/tst-unbputc.sh: Likewise.
7793         * stdlib/tst-fmtmsg.sh: Likewise.
7794         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7795         * catgets/Makefile: Do not specify -e option when running
7796         testsuite shell scripts.
7797         * elf/Makefile: Likewise.
7798         * grp/Makefile: Likewise.
7799         * iconvdata/Makefile: Likewise.
7800         * intl/Makefile: Likewise.
7801         * io/Makefile: Likewise.
7802         * libio/Makefile: Likewise.
7803         * malloc/Makefile: Likewise.
7804         * posix/Makefile: Likewise.
7805         * stdio-common/Makefile: Likewise.
7806         * stdlib/Makefile: Likewise.
7807         * sysdeps/x86_64/Makefile: Likewise.
7809         * io/ftwtest-sh: Add copyright header.
7810         * posix/globtest.sh: Likewise.
7811         * posix/tst-getconf.sh: Likewise.
7812         * posix/wordexp-tst.sh: Likewise.
7813         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7815 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
7817         [BZ #13679]
7818         * Makeconfig (+link): Defined as $(+link-static) if
7819         $(build-shared) isn't yes.
7820         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7821         isn't yes.
7822         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7824         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7826         [BZ #14562]
7827         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7828         new chunk size with MALLOC_ALIGN_MASK.
7830 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
7832         [BZ #5044]
7833         * stdio-common/printf_fphex.c: Include <stdbool.h> and
7834         <rounding-mode.h>.
7835         (__printf_fphex): Determine rounding using get_rounding_mode and
7836         round_away.
7837         * stdio-common/tst-printf-round.c (struct hex_test): New
7838         structure.
7839         (hex_tests): New variable.
7840         (test_hex_in_one_mode): New function.
7841         (do_test): Also run tests for hex float output.
7843 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
7845         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7846         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7847         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7848         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7849         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7850         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7851         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7852         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7854 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
7856         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7857         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7858         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7859         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7861 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
7863         [BZ #14579]
7864         * elf/rtld.c (dl_main): Limit the check for self loading to normal
7865         mode only.
7866         * elf/tst-rtld-load-self.sh: New test.
7867         * elf/Makefile: Run it.
7869 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
7871         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7872         (tst-writev-ENV): Remove.
7873         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7875 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
7877         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7879 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
7881         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7882         unconditional.
7883         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7884         Likewise.
7885         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7886         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7887         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7888         Likewise.
7890 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7892         [BZ #14587]
7893         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7894         * config.make.in (have-cpp-asm-debuginfo): Removed.
7895         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7896         * configure: Regenerated.
7898 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
7900         [BZ #5044]
7901         * stdio-common/printf_fp.c: Include <stdbool.h> and
7902         <rounding-mode.h>.
7903         (___printf_fp): Determine rounding using get_rounding_mode and
7904         round_away.
7905         * stdio-common/tst-printf-round.c: New file.
7906         * stdio-common/Makefile (tests): Add tst-printf-round.
7907         (link-libm): New variable.
7908         ($(objpfx)tst-printf-round): Depend in $(link-libm).
7910 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
7912         [BZ #14576]
7913         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7914         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7915         Likewise.
7916         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7917         Likewise.
7919 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
7921         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7922         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7923         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7924         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7926 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
7928         [BZ #14518]
7929         * include/rounding-mode.h: New file.
7930         * sysdeps/generic/get-rounding-mode.h: Likewise.
7931         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7932         * stdlib/strtod_l.c: Include <rounding-mode.h>.
7933         (MAX_VALUE): New macro.
7934         (MIN_VALUE): Likewise.
7935         (overflow_value): New function.
7936         (underflow_value): Likewise.
7937         (round_and_return): Use overflow_value and underflow_value to
7938         determine return values in overflow and underflow cases.  Use
7939         round_away to determine rounding depending on rounding mode.
7940         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7941         determine return values in overflow and underflow cases.
7942         * stdlib/tst-strtod-round.c: Include <fenv.h>.
7943         (struct test_results): New structure.
7944         (struct test): Use struct test_results to store expected results
7945         for all rounding modes.
7946         (TEST): Include expected results for all rounding modes.
7947         (test_in_one_mode): New function.
7948         (do_test): Use test_in_one_mode to compute and check results.
7949         Check results for all rounding modes.
7950         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7951         $(link-libm).
7953 2012-12-09  Allan McRae  <allan@archlinux.org>
7955         * sysdeps/i386/fpu/libm-test-ulps: Update
7957 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
7959         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7960         (_G_int32_t): Likewise.
7961         (_G_uint16_t): Likewise.
7962         (_G_uint32_t): Likewise.
7963         (_G_HAVE_BOOL): Likewise.
7964         (_G_HAVE_ATEXIT): Likewise.
7965         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7966         (_G_HAVE_IO_FILE_OPEN): Likewise.
7967         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7968         (_G_int32_t): Likewise.
7969         (_G_uint16_t): Likewise.
7970         (_G_uint32_t): Likewise.
7971         (_G_HAVE_BOOL): Likewise.
7972         (_G_HAVE_ATEXIT): Likewise.
7973         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7974         (_G_HAVE_IO_FILE_OPEN): Likewise.
7975         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7976         (_G_int32_t): Likewise.
7977         (_G_uint16_t): Likewise.
7978         (_G_uint32_t): Likewise.
7979         (_G_HAVE_BOOL): Likewise.
7980         (_G_HAVE_ATEXIT): Likewise.
7981         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7982         (_G_HAVE_IO_FILE_OPEN): Likewise.
7984 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
7986         * csu/libc-tls.c: Update copyright years.
7988 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
7990         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7991         [!_G_USING_THUNKS]: Remove conditional code.
7992         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7993         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7995         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7996         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7997         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7998         (_G_VTABLE_LABEL_PREFIX): Likewise.
7999         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8000         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8001         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8002         (_G_VTABLE_LABEL_PREFIX): Likewise.
8003         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8004         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8005         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8006         (_G_VTABLE_LABEL_PREFIX): Likewise.
8007         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8009 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8011         * libio/Makefile: Include ../Makeconfig before tests.
8012         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8013         only if $(build-shared) is yes.
8015         * iconv/gconv_db.c: Update copyright years.
8017 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8019         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8020         unwind info if defined PIC. Fix special cases description.
8021         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8023         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8024         DP_HI_MASK entry.
8025         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8027 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8029         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8031         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8032         is NULL.
8034         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8035         (LDLIBS-tst-chk4): This.
8036         (LDFLAGS-tst-chk5): Renamed to ...
8037         (LDLIBS-tst-chk5): This.
8038         (LDFLAGS-tst-chk6): Renamed to ...
8039         (LDLIBS-tst-chk6): This.
8040         (LDFLAGS-tst-lfschk4): Renamed to ...
8041         (LDLIBS-tst-lfschk4): This.
8042         (LDFLAGS-tst-lfschk5): Renamed to ...
8043         (LDLIBS-tst-lfschk5): This.
8044         (LDFLAGS-tst-lfschk6): Renamed to ...
8045         (LDLIBS-tst-lfschk6): This.
8047         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8048         on $(common-objpfx)soversions.mk.
8050 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8052         [BZ #10014]
8053         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8054         example host name.
8056 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8058         * malloc/arena.c (arena_get_retry): New function that gets
8059         another arena for the caller to try its request on.
8060         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8061         current arena cannot fulfill the request.
8062         (__libc_memalign): Likewise.
8063         (__libc_memalign): Likewise.
8064         (__libc_pvalloc): Likewise.
8065         (__libc_calloc): Likewise.
8067 2012-09-05  John Tobey  <john.tobey@gmail.com>
8069         [BZ #13542]
8070         * manual/arith.texi (Operations on Complex): Fix description
8071         of carg branch cut.
8073 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8075         [BZ #10014]
8076         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8077         host name.
8079         [BZ #10038]
8080         * manual/memory.texi (Memory): Make order of menu items match
8081         order of sections.
8083 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8085         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8086         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8087         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8089 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8091         * csu/libc-tls.c (static_dtv): Renamed to ...
8092         (_dl_static_dtv): This.  Make it global.
8093         (_dl_initial_dtv): Removed.
8094         (__libc_setup_tls): Updated.
8095         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8096         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8097         DL_INITIAL_DTV.
8099 2012-09-06  Petr Machata  <pmachata@redhat.com>
8101         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8102         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8103         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8104         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8106 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8108         [BZ #14545]
8109         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8110         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8111         freeing dtv[-1].
8113 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8115         [BZ #14544]
8116         * Makeconfig (link-static-before-libc): Replace $(+prector)
8117         with $(+prectorT).
8118         (link-static-after-libc): Replace $(+postctor) with
8119         $(+postctorT).
8120         (link-bounded): Replace $(+prector)/$(+postctor) with
8121         $(+prectorT)/$(+postctorT).
8122         (+prectorT): New macro.
8123         (+postctorT): Likewise.
8125 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8127         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8128         (round_str): Handle values above the maximum for IBM long double
8129         as inexact.
8130         * stdlib/tst-strtod-round.c (tests): Regenerated.
8132 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8134         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8135         assembler flag.
8136         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8137         zarch_nohighgprs around the zarch optimized routines.
8138         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8139         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8140         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8141         for zarch.
8143 2012-09-05  David S. Miller  <davem@davemloft.net>
8145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8147         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8148         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8149         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8150         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8151         entries.
8153 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8155         * malloc/arena.c: Fold copyright years.
8156         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8158 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8160         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8164         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8166 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8168         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8169         change internal state upon failure.
8171 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8173         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8174         * malloc/memusage.c (mmap): Likewise.
8175         (mmap64, mremap): Likewise.  Adjust name in comment.
8177 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8179         * libio/fileops.c: Fix typos in comments.
8180         * libio/oldfileops.c: Likewise.
8181         * libio/wfileops.c: Likewise.
8183 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8185         [BZ #1349]
8186         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8187         (tst-malloc-usable-ENV): Set environment for test case.
8188         * malloc/hooks.c (malloc_check_get_size): New function to get
8189         requested size.
8190         * malloc/malloc.c (musable): Use malloc_check_get_size.
8191         * malloc/tst-malloc-usable.c: New test case.
8193 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8195         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8197 2012-09-05  Allan McRae  <allan@archlinux.org>
8199         [BZ #13966]
8200         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8201         determine header location.
8202         * configure: Regenerated.
8204 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8206         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8207         float format.
8208         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8209         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8210         format.
8211         (test): Regenerate.
8213 2012-09-04  David S. Miller  <davem@davemloft.net>
8215         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8216         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8217         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8219 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8221         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8222         failures.
8224         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8226 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8228         [BZ #9914]
8229         * libio/iogetdelim.c: Include <limits.h>.
8230         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8231         + len + 1 would overflow.
8233 2012-09-03  Andreas Jaeger  <aj@suse.de>
8235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8236         * sysdeps/i386/fpu/libm-test-ulps: Update.
8238 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8240         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8241         Add s_sinf-sse2, s_conf-sse2.
8243         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8244         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8245         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8246         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8248         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8249         for using routine as __sinf_ia32.
8250         Use macro for function declaration and weak_alias.
8251         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8252         for using routine as __cosf_ia32.
8253         Use macro for function declaration and weak_alias.
8255         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8256         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8258         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8259         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8262         * math/libm-test.inc (cos_test): Add more test cases.
8263         (sin_test): Likewise.
8264         (sincos_test): Likewise.
8266 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8268         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8269         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8270         hidden.
8271         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8273 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8275         [BZ #14538]
8276         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8277         first element of the GOT.
8278         (elf_machine_load_address): Return the difference between
8279         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8281 2012-09-01  Allan McRae  <allan@archlinux.org>
8283         [BZ #13412]
8284         * configure.in (AWK): Require gawk version 3.0 or later.
8285         * configure: Regenerated.
8287 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8289         * sysdeps/unix/sysv/linux/kernel-features.h
8290         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8291         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8292         [__NR_clock_getres]: Make code unconditional.
8293         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8294         (clock_getcpuclockid): Remove code left unreachable by removal of
8295         conditionals.
8296         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8297         code unconditional.
8298         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8300         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8301         Make code unconditional.
8302         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8303         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8304         * sysdeps/unix/sysv/linux/clock_settime.c
8305         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8306         conditional code.
8307         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8308         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8310 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8312         [BZ #14476]
8313         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8314         scripts/test-installation.pl.
8316         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8317         and $ld_so_version if it is set.
8319 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8321         [BZ #14516]
8322         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8323         failure if reading from procfs failed.
8324         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8326 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8328         * sysdeps/unix/sysv/linux/kernel-features.h
8329         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8330         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8331         Remove conditional code.
8332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8333         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8334         Remove conditional code.
8335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8336         * sysdeps/unix/sysv/linux/i386/fxstat.c
8337         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8339         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8340         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8342         * sysdeps/unix/sysv/linux/i386/lxstat.c
8343         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8345         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8346         Remove conditional code.
8347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8348         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8349         Remove conditional code.
8350         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8351         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8352         <kernel-features.h>.
8353         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8354         Remove.
8355         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8356         Remove conditional code.
8357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8358         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8359         Remove conditional.
8361 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8363         [BZ #5400]
8364         * NEWS: Add fixed bug number.
8366 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8368         [BZ #14519]
8369         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8370         underflowing exponent in case of negative sign.
8371         * stdlib/tst-strtod-round-data: Add more tests.
8372         * stdlib/tst-strtod-round.c (tests): Regenerated.
8374         [BZ #3479]
8375         * stdlib/strtod_l.c (NDIG): Remove.
8376         (HEXNDIG): Likewise.
8377         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8378         smallest representable value.
8379         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8380         lie within an exact representation of 1/2 ulp of the result.
8381         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8382         unconditionally.
8383         (TENS_P9_IDX): Define unconditionally.
8384         (TENS_P9_SIZE): Likewise.
8385         (TENS_P10_IDX): Likewise.
8386         (TENS_P10_SIZE): Likewise.
8387         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8388         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8389         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8390         entries for 10^2^13 and 10^2^14.
8391         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8392         (TENS_P13_IDX): Define.
8393         (TENS_P13_SIZE): Likewise.
8394         (TENS_P14_IDX): Likewise.
8395         (TENS_P14_SIZE): Likewise.
8396         (_fpioconst_pow10): Change array size to
8397         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8398         unconditional.
8399         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8400         1024]: Add entries for 10^2^13 and 10^2^14.
8401         [LAST_POW10 > _LAST_POW10]: Remove #error.
8402         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8403         (_fpioconst_pow10): Change array size to
8404         FPIOCONST_POW10_ARRAY_SIZE.
8405         * stdlib/gen-fpioconst.c: New file.
8406         * stdlib/gen-tst-strtod-round.c: Likewise.
8407         * stdlib/tst-strtod-round-data: Likewise.
8408         * stdlib/tst-strtod-round.c: Likewise.
8409         * stdlib/Makefile (tests): Add tst-strtod-round.
8411         [BZ #14459]
8412         * stdlib/strtod_l.c: Include <stdint.h>.
8413         (NDEBUG): Do not define.
8414         (round_and_return): Change EXPONENT parameter to type intmax_t.
8415         Rearrange calculations to avoid internal overflow possibilities.
8416         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8417         Rearrange calculations to avoid internal overflow possibilities.
8418         Assert that number fits inside MPNSIZE limbs.
8419         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8420         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8421         calculations and add assertions to avoid internal overflow
8422         possibilities.  Add casts to avoid signed/unsigned operations.
8423         * stdlib/tst-strtod-overflow.c: New file.
8424         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8426 2012-08-25  Marek Polacek  <polacek@redhat.com>
8428         * time/time.h: Fix some typos in comments.
8430 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8432         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8433         * posix/tst-rfc3484-2.c: Likewise.
8434         * posix/tst-rfc3484-3.c: Likewise.
8436 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8438         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8439         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8441 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8443         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8444         #include of fxstatat64.c.
8446 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8448         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8449         * shadow/getspent_r.c: Likewise.
8450         * shadow/getspnam.c: Likewise.
8451         * shadow/getspnam_r.c: Likewise.
8452         * gshadow/getsgent.c: Likewise.
8453         * gshadow/getsgent_r.c: Likewise.
8454         * gshadow/getsgnam.c: Likewise.
8455         * gshadow/getsgnam_r.c: Likewise.
8456         * inet/getnetbyad.c: Likewise.
8457         * inet/getnetbyad_r.c: Likewise.
8458         * inet/getnetbynm.c: Likewise.
8459         * inet/getnetbynm_r.c: Likewise.
8460         * inet/getnetent.c: Likewise.
8461         * inet/getnetent_r.c: Likewise.
8462         * inet/getproto.c: Likewise.
8463         * inet/getproto_r.c: Likewise.
8464         * inet/getprtent.c: Likewise.
8465         * inet/getprtent_r.c: Likewise.
8466         * inet/getprtname.c: Likewise.
8467         * inet/getprtname_r.c: Likewise.
8468         * inet/getrpcbyname.c: Likewise.
8469         * inet/getrpcbyname_r.c: Likewise.
8470         * inet/getrpcbynumber.c: Likewise.
8471         * inet/getrpcbynumber_r.c: Likewise.
8472         * inet/getrpcent.c: Likewise.
8473         * inet/getrpcent_r.c: Likewise.
8474         * inet/getaliasent.c: Likewise.
8475         * inet/getaliasent_r.c: Likewise.
8476         * inet/getaliasname.c: Likewise.
8477         * inet/getaliasname_r.c: Likewise.
8478         * nscd/getgrgid_r.c: Likewise.
8479         * nscd/getgrnam_r.c: Likewise.
8480         * nscd/gethstbyad_r.c: Likewise.
8481         * nscd/gethstbynm3_r.c: Likewise.
8482         * nscd/getpwnam_r.c: Likewise.
8483         * nscd/getpwuid_r.c: Likewise.
8484         * nscd/getsrvbynm_r.c: Likewise.
8485         * nscd/getsrvbypt_r.c: Likewise.
8486         * nscd/gai.c: Likewise.
8488         * configure.in (build_nscd): New substituted variable, set
8489         by --disable-build-nscd and defaults to $use_nscd.
8490         * configure: Regenerated.
8491         * config.make.in (build-nscd): New substituted variable.
8492         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8493         Change conditional to require [$(build-nscd) = yes] as well.
8494         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8496         [BZ# 13696]
8497         * configure.in (use_nscd): New substituted variable, set by
8498         --disable-nscd.  If enabled, define USE_NSCD.
8499         * configure: Regenerated.
8500         * config.h.in: Add USE_NSCD.
8501         * config.make.in (use-nscd): New substituted variable.
8502         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8503         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8504         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8505         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8506         (CFLAGS-getgrnam_r.c): Likewise.
8507         (CFLAGS-initgroups.c): Likewise.
8508         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8509         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8510         Variables removed.
8511         * inet/getnetgrent_r.c
8512         (nscd_setnetgrent): New function, broken out of ...
8513         (setnetgrent): ... here.  Call it.
8514         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8515         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8516         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8517         * nscd/Makefile (routines, aux): Move definitions after include of
8518         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8519         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8520         Conditionalize on [USE_NSCD].
8521         (is_nscd, nscd_init_cb): Likewise.
8522         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8523         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8524         * nss/nss_db/db-init.c: Likewise.
8525         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8526         [USE_NSCD].
8527         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8528         (make_request): Use it.
8529         (cache_valid_p): New function.
8530         (__check_pf): Use it.
8531         * NEWS: Add item for --disable-nscd.
8533 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8535         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8536         to support sed >= 4.2.1-20-ga9bf076.
8537         * configure: Regenerated.
8539 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8541         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8542         Conditionalize whole body on [IREL].
8544 2012-08-22  Jeff Law <law@redhat.com>
8546         [BZ #14505]
8547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8548         if the family is PF_UNSPEC.
8550 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8552         * Makerules (lib-version): Rename from V.
8553         (install-lib-nosubdir): Change V to lib-version.
8555 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8557         [BZ #14252]
8558         * powerpc32/power6/wcschr.c: New file.
8559         * powerpc32/power6/wcscpy.c: New file.
8560         * powerpc32/power6/wcsrchr.c: New file.
8561         * powerpc64/power6/wcschr.c: New file.
8562         * powerpc64/power6/wcscpy.c: New file.
8563         * powerpc64/power6/wcsrchr.c: New file.
8565 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8567         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8568         (two_way_short_needle): Use it.
8569         * string/strstr.c (AVAILABLE1_USES_J): Define.
8570         * string/strcasestr.c: Likewise.
8572         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8573         array references.
8574         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8576         [BZ #11607]
8577         * NEWS: Add an entry.
8578         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8579         define their defaults.
8580         (two_way_short_needle): Detect end-of-string on-the-fly.
8581         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8582         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8583         * string/bug-strcasestr1.c: New test.
8584         * string/Makefile: Run it.
8586 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8588         [BZ #11607]
8589         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8590         the first character.
8592 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8594         * csu/elf-init.c (__libc_csu_irel): Function removed.
8595         * csu/libc-start.c (apply_irel): New function.
8596         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8598 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8600         * sysdeps/unix/sysv/linux/kernel-features.h
8601         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8602         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8603         <kernel-features.h>.
8604         [__NR_fadvise64_64]: Make code unconditional.
8605         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8606         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8607         !__NR_fadvise64_64)]: Likewise.
8608         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8609         !__NR_fadvise64_64))]: Likewise.
8610         [__NR_fadvise64]: Make code unconditional.
8611         [!__NR_fadvise64]: Remove conditional code.
8612         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8613         <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/powerpc/powerpc32/posix_fadvise64.c: Do
8619         not 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.
8624         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8625         include <kernel-features.h>.
8626         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8627         unconditional.
8628         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8629         conditional code.
8631 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8633         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8634         slight instruction rearrangements per scrollpipe analysis.
8635         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8637 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8639         * manual/syslog.texi (syslog; vsyslog, closelog):
8640         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8641         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8643         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8644         DSOCAPS to match condition on defining it.
8646 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8648         * sysdeps/unix/sysv/linux/kernel-features.h
8649         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8651         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8652         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8654         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8655         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8657         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8658         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8660         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8661         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8663         * sysdeps/unix/sysv/linux/kernel-features.h
8664         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8665         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8666         unconditional.
8667         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8668         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8669         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8670         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8671         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8672         Make code unconditional.
8673         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8674         (__mmap64) [!__NR_mmap2]: Likewise.
8675         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8676         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8677         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8678         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8679         [__NR_mmap2]: Make code unconditional.
8680         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8681         (__mmap64) [!__NR_mmap2]: Likewise.
8683 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8685         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8687 2012-08-18  Andreas Jaeger  <aj@suse.de>
8689         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8691 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8693         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8694         * include/unistd.h (__have_sock_cloexec): Likewise.
8695         (__have_pipe2): Likewise.
8696         (__have_dup3): Likewise.
8698 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8700         [BZ #9685]
8701         * include/unistd.h (__have_pipe2): Change define into an extern int.
8702         (__have_dup3): Likewise.
8703         * socket/have_sock_cloexec.c: Include fcntl.h.
8704         (__have_pipe2): New variable.
8705         (__have_dup3): Likewise.
8707 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
8709         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8711 2012-08-17  Marek Polacek  <polacek@redhat.com>
8713         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8714         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8716 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8718         * configure.in: Add AC_SUBST for sysheaders.
8719         * configure: Regenerated.
8720         * config.make.in (sysheaders): New substituted variable.
8722         * sysdeps/unix/mkfifo.c: Moved ...
8723         * sysdeps/posix/mkfifo.c: ... here.
8724         * sysdeps/unix/mkfifoat.c: Moved ...
8725         * sysdeps/posix/mkfifoat.c: ... here.
8727         * sysdeps/unix/utime.c: Moved ...
8728         * sysdeps/posix/utime.c: ... here.
8730         * sysdeps/unix/time.c: Moved ...
8731         * sysdeps/posix/time.c: ... here.
8732         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8733         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8735         * sysdeps/unix/nice.c: Moved ...
8736         * sysdeps/posix/nice.c: ... here.
8738         * sysdeps/unix/alarm.c: Moved ...
8739         * sysdeps/posix/alarm.c: ... here.
8741         * intl/Makefile ($(codeset_mo)): Depend on the input file.
8743 2012-08-17  Jeff Law <law@redhat.com>
8745         * intl/Makefile (codeset_mo): New variable.
8746         ($(codeset_mo)): New target.
8747         (tst-codeset.out): Depend on that.  Remove explicit rule.
8748         (tst-gettext3.out, tst-gettext5.out): Likewise.
8749         (LOCPATH-ENV, tst-codeset-ENV): New variables.
8750         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8751         * intl/tst-codeset.sh: Remove.
8752         * intl/tst-gettext3.sh: Likewise.
8753         * intl/tst-gettext5.sh: Likewise.
8755 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8757         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
8758         * sysdeps/unix/syscalls.list: ... here.
8760         * sysdeps/posix/getaddrinfo.c
8761         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8762         (gaiconf_init, gaiconf_reload): Use them.
8763         [!_STATBUF_ST_NSEC]
8764         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8765         Define using time_t rather than struct timespec.
8767         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8768         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8769         Macros removed.
8770         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8771         [!NO_THREADS].
8772         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8773         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8774         Likewise.
8776         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8777         __libc_cleanup_push argument.
8779         * bits/param.h: New file.
8780         * misc/sys/param.h: New file.
8781         * include/sys/param.h: New file.
8782         * misc/Makefile (headers): Add bits/param.h.
8783         * sysdeps/generic/sys/param.h: File removed.
8784         * sysdeps/unix/sysv/linux/bits/param.h: New file.
8785         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8786         * sysdeps/mach/hurd/bits/param.h: New file.
8787         * sysdeps/mach/hurd/sys/param.h: File removed.
8789         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8790         last change.
8792         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8793         [_IO_MTSAFE_IO].
8794         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8795         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8796         New macros.
8798         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8799         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8800         rather than -D_IO_MTSAFE_IO conditionally.
8801         * stdio-common/Makefile (CPPFLAGS): Likewise.
8802         * wcsmbs/Makefile (CPPFLAGS): Likewise.
8803         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8804         Use $(libio-mtsafe).
8805         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8806         of -D_IO_MTSAFE_IO.
8807         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8808         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8809         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8810         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8811         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8812         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8813         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8814         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8815         (CFLAGS-fread_u_chk.c): Likewise.
8816         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8817         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8818         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8819         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8820         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8821         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8822         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8823         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8824         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8826         * libio/Makefile: Test [$(libc-reentrant) = yes]
8827         instead of [$(filter %REENTRANT, $(defines)) nonempty].
8829         * Makeconfig
8830         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8831         * sysdeps/pthread/configure: File removed.
8832         * sysdeps/pthread/Makeconfig: New file.
8833         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8834         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8836 2012-08-16  Gary Benson  <gbenson@redhat.com>
8838         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8839         unmapping the first object in a namespace.
8841 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8843         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8844         (__internal_setnetgrent): ... this.  Add internal_function to
8845         definition.  Add libc_hidden_def.
8846         (setnetgrent): Update caller.
8847         (internal_endnetgrent): Renamed to ...
8848         (__internal_endnetgrent): ... this.  Add internal_function to
8849         definition.  Add libc_hidden_def.
8850         (endnetgrent): Update caller.
8851         (internal_getnetgrent_r): Renamed to ...
8852         (__internal_getnetgrent_r): ... this.  Add internal_function to
8853         definition.  Add libc_hidden_def.
8854         (__getnetgrent_r): Update caller.
8855         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
8857 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8859         * stdlib/longlong.h: Update from GCC.
8861 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8863         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8864         on _QL, which is set by umul_ppmm but never used.
8865         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8866         variables, which are set by GMP macros but never used.
8867         * stdio-common/_itowa.c (_itowa): Likewise.
8868         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8869         * stdlib/mod_1.c (mpn_mod_1): Likewise.
8871 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
8873         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8874         struct La_sh_regs is not constant.
8875         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8876         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8877         and struct La_sparc64_regs are not constant.
8879 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8881         * sysdeps/unix/sysv/linux/kernel-features.h
8882         (__ASSUME_POSIX_TIMERS): Remove.
8883         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8885         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8886         Make code unconditional.
8887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8888         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8889         Make code unconditional.
8890         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8891         * sysdeps/unix/sysv/linux/clock_nanosleep.c
8892         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8893         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8894         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8895         Make code unconditional.
8896         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8897         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8898         (__libc_missing_posix_timers): Remove.
8900 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8902         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8903         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8905         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8907         * elf/dl-sym.c: Include <stdlib.h>.
8909         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8910         constants, which avoids warnings in 32-bit builds.
8912         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8913         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8915         * misc/lseek.c: File moved to ...
8916         * io/lseek.c: ... here.
8918         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8920         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8921         shifting LEN more than 31 bits at once.
8923 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8925         [BZ #14195]
8926         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8927         segmentation fault for a case of two empty input strings.
8928         * string/test-strncasecmp.c (check1): Renamed to...
8929         (bz12205): ...this.
8930         (bz14195): Add new testcase for two empty input strings and N > 0.
8931         (test_main): Call new testcase, adapt for renamed function.
8933 2012-08-15  Andreas Jaeger  <aj@suse.de>
8935         [BZ #14090]
8936         * crypt/md5test2.c: New test, based on test supplied by Serge
8937         Belyshev <belyshev@depni.sinp.msu.ru>.
8938         * crypt/Makefile (xtests): Add md5test-giant..
8939         * crypt/Makefile ($(objpfx)md5test-giant): Add.
8941 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
8943         [BZ #14090]
8944         * crypt/md5.c (md5_process_block): Don't assume the buffer
8945         length is less than 2**32.
8946         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8947         length is less than 2**64.
8949 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8951         * string/str-two-way.h: Include <sys/param.h>.
8952         (MAX): Macro removed.
8954         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8955         Move #define and #undef of memmove to just before and after
8956         including <string.h>.
8958         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8959         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8960         and after including <string.h>.  Move declarations of
8961         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8962         to before #include "string/memmove.c".
8964         * include/dirent.h: Declare __getdirentries.
8966         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8967         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8969 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
8971         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8972         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8973         * sysdeps/i386/configure: Regenerated.
8974         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8975         STABS_CURRENT_FILE, and STABS_FUN.
8976         (END): Remove call to STABS_FUN_END.
8977         (STABS_CURRENT_FILE1): Delete.
8978         (STABS_CURRENT_FILE): Likewise.
8979         (STABS_FUN): Likewise.
8980         (STABS_FUN_END): Likewise.
8981         (STABS_FUN2): Likewise.
8982         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8983         * sysdeps/x86_64/configure: Regenerated.
8985 2012-08-14  Roland McGrath  <roland@hack.frob.com>
8987         * elf/dl-open.c: Include <atomic.h>.
8988         * elf/dl-lookup.c: Likewise.
8990 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
8992         * sysdeps/unix/sysv/linux/kernel-features.h
8993         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8994         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8995         unconditionally.
8996         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8997         unconditionally.
8998         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8999         condition on __ASSUME_CLONE_THREAD_FLAGS.
9001 2012-08-14  Andreas Jaeger  <aj@suse.de>
9003         * sysdeps/i386/fpu/libm-test-ulps: Update.
9005 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9007         * include/atomic.h (atomic_exchange_and_add): Split into ...
9008         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9009         New atomic macros.
9011 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9015 2012-08-13  Jeff Law <law@redhat.com>
9017         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9018         null byte in the output string.
9020 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9022         * sysdeps/unix/sysv/linux/kernel-features.h
9023         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9024         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9025         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9026         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9027         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9028         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9029         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9031 2012-08-09  Jeff Law <law@redhat.com>
9033         [BZ #13939]
9034         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9035         When avoid_arena is set, don't retry in the that arena.  Pick the
9036         next one, whatever it might be.
9037         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9038         (arena_lock): Pass in new parameter to arena_get2.
9039         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9040         arena_get2.
9041         (__libc_malloc): Unify retrying after main arena failure with
9042         __libc_memalign version.
9043         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9045 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9047         [BZ #14166]
9048         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9049         to __redirect_strstr.
9050         (__strstr_sse42): Use typeof __redirect_strstr.
9051         (__strstr_ia32): Likewise.
9052         (__libc_strstr): New prototype.
9053         (strstr): Renamed to ...
9054         (__libc_strstr): This.
9055         (strstr): New strong alias of __libc_strstr.
9056         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9057         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9058         __redirect_time.
9059         Include <time.h>.
9060         (__libc_time): New prototype.
9061         (time_ifunc): Replace time with __libc_time.
9062         (time): New strong alias and hidden definition of __libc_time.
9063         (__GI_time): Remove strong alias.
9064         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9065         Include <stddef.h>.
9066         (memmove): Redefined to __redirect_memmove.
9067         (__memmove_sse2): Use typeof __redirect_memmove.
9068         (__memmove_ssse3): Likewise.
9069         (__memmove_ssse3_back): Likewise.
9070         (__libc_memmove): New prototype.
9071         (memmove): Renamed to ...
9072         (__libc_memmove): This.
9073         (memmove): New strong alias of __libc_memmove.
9075 2012-08-08  Mark Salter  <msalter@redhat.com>
9077         * elf/elf.h
9078         (R_MN10300_TLS_GD): Define.
9079         (R_MN10300_TLS_LD): Likewise.
9080         (R_MN10300_TLS_LDO): Likewise.
9081         (R_MN10300_TLS_GOTIE): Likewise.
9082         (R_MN10300_TLS_IE): Likewise.
9083         (R_MN10300_TLS_LE): Likewise.
9084         (R_MN10300_TLS_DTPMOD): Likewise.
9085         (R_MN10300_TLS_DTPOFF): Likewise.
9086         (R_MN10300_TLS_TPOFF): Likewise.
9087         (R_MN10300_SYM_DIFF): Likewise.
9088         (R_MN10300_ALIGN): Likewise.
9089         (R_MN10300_NUM): Update.
9091 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9093         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9094         Remove.
9096 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9098         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9100         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9101         sysdeps/unix -> sysdeps/posix move.
9102         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9104 2012-08-07      Allan McRae     <allan@archlinux.org>
9106         [BZ #14303]
9107         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9108         (SUNOS_CPP): Likewise.
9109         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9110         not found.
9111         (open_input): Call CPP using execvp.
9113 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9115         * sysdeps/unix/sysv/linux/kernel-features.h
9116         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9117         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9118         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9119         (__ASSUME_WAITID_SYSCALL): Likewise.
9120         * sysdeps/unix/sysv/linux/dl-execstack.c
9121         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9122         code unconditional.
9123         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9124         conditional code.
9125         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9126         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9127         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9128         code.
9129         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9130         unconditional.
9131         [__ASSUME_WAITID_SYSCALL]: Likewise.
9132         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9134 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9136         * sysdeps/unix/closedir.c: Renamed to ...
9137         * sysdeps/posix/closedir.c: ... here.
9138         * sysdeps/unix/dirfd.c: Renamed to ...
9139         * sysdeps/posix/dirfd.c: ... here.
9140         * sysdeps/unix/dirstream.h: Renamed to ...
9141         * sysdeps/posix/dirstream.h: ... here.
9142         * sysdeps/unix/fdopendir.c: Renamed to ...
9143         * sysdeps/posix/fdopendir.c: ... here.
9144         * sysdeps/unix/opendir.c: Renamed to ...
9145         * sysdeps/posix/opendir.c: ... here.
9146         * sysdeps/unix/readdir.c: Renamed to ...
9147         * sysdeps/posix/readdir.c: ... here.
9148         * sysdeps/unix/readdir_r.c: Renamed to ...
9149         * sysdeps/posix/readdir_r.c: ... here.
9150         * sysdeps/unix/rewinddir.c: Renamed to ...
9151         * sysdeps/posix/rewinddir.c: ... here.
9152         * sysdeps/unix/seekdir.c: Renamed to ...
9153         * sysdeps/posix/seekdir.c: ... here.
9154         * sysdeps/unix/telldir.c: Renamed to ...
9155         * sysdeps/posix/telldir.c: ... here.
9156         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9157         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9158         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9159         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9161         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9162         * bits/fcntl.h: ... here.
9164         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9165         not 0.
9166         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9167         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9168         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9169         (struct flock): Move l_start, l_len to the beginning.
9170         Use __pid_t for l_pid.
9171         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9172         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9173         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9174         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9175         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9176         [__USE_LARGEFILE64] (struct flock64): New type.
9177         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9179         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9180         * bits/dirent.h: ... here.
9182         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9183         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9185 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9187         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9188         Change from 2.6.0 to 2.6.16.
9189         * sysdeps/unix/sysv/linux/configure: Regenerated.
9190         * sysdeps/unix/sysv/linux/kernel-features.h
9191         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9192         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9193         version.
9194         (__ASSUME_UTIMES): Likewise.
9195         (__ASSUME_CLONE_STOPPED): Remove.
9196         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9197         architectures, not kernel version.
9198         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9199         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9200         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9201         (__ASSUME_WAITID_SYSCALL): Likewise.
9202         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9203         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9204         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9205         refer to older versions.
9207 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9209         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9210         Define alphasort64 as an alias.
9211         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9212         Define versionsort64 as an alias.
9213         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9214         Define scandir64 as an alias.
9215         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9216         Define scandirat64 as an alias.
9217         * dirent/alphasort64.c (alphasort64):
9218         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9219         * dirent/versionsort64.c: Likewise.
9220         * dirent/scandir64.c: Likewise.
9221         * dirent/scandirat64.c: Likewise.
9222         * sysdeps/wordsize-64/alphasort.c: File removed.
9223         * sysdeps/wordsize-64/alphasort64.c: File removed.
9224         * sysdeps/wordsize-64/scandir.c: File removed.
9225         * sysdeps/wordsize-64/scandir64.c: File removed.
9226         * sysdeps/wordsize-64/scandirat.c: File removed.
9227         * sysdeps/wordsize-64/scandirat64.c: File removed.
9228         * sysdeps/wordsize-64/versionsort.c: File removed.
9229         * sysdeps/wordsize-64/versionsort64.c: File removed.
9230         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9231         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9232         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9233         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9234         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9235         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9236         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9237         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9239         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9241         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9243         [defined __arch64__ || defined __sparcv9]
9244         (__INO_T_MATCHES_INO64_T): New macro.
9245         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9246         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9247         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9248         * sysdeps/unix/sysv/linux/bits/dirent.h
9249         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9250         (_DIRENT_MATCHES_DIRENT64): New macro.
9252         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9253         Define lockf64 as an alias.
9254         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9255         Define fseeko64 as an alias.
9256         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9257         Define ftello64 as an alias.
9258         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9259         Define _IO_fgetpos64 and fgetpos64 as aliases.
9260         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9261         Define _IO_fsetpos64 and fsetpos64 as aliases.
9262         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9263         Conditionalize body on this.
9264         * libio/fseeko64.c: Likewise.
9265         * libio/ftello64.c: Likewise.
9266         * libio/iofgetpos64.c: Likewise.
9267         * libio/iofsetpos64.c: Likewise.
9268         * sysdeps/wordsize-64/lockf.c: File removed.
9269         * sysdeps/wordsize-64/lockf64.c: File removed.
9270         * sysdeps/wordsize-64/fseeko.c: File removed.
9271         * sysdeps/wordsize-64/fseeko64.c: File removed.
9272         * sysdeps/wordsize-64/ftello.c: File removed.
9273         * sysdeps/wordsize-64/ftello64.c: File removed.
9274         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9275         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9276         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9277         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9278         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9279         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9280         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9281         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9282         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9283         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9284         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9285         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9286         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9287         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9289         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9291         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9293         [defined __arch64__ || defined __sparcv9]
9294         (__OFF_T_MATCHES_OFF64_T): New macro.
9295         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9296         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9297         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9298         (__OFF_T_MATCHES_OFF64_T): New macro.
9300 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9302         * stdlib/secure-getenv.c (__secure_getenv): Replace
9303         GLIBC_2_16 with GLIBC_2_17.
9305 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9307         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9308         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9310 2012-08-03  David S. Miller  <davem@davemloft.net>
9312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9314 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9317         Remove.
9318         (__ASSUME_CORRECT_SI_PID): Likewise.
9319         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9320         (__ASSUME_TMPFS_NAME): Likewise.
9321         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9322         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9323         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9324         (HAVE_AUX_SECURE): Make definition unconditional.
9325         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9326         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9328 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9330         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9331         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9332         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9333         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9334         __eloop_threshold instead of SYMLOOP_MAX.
9336         * sysdeps/generic/eloop-threshold.h: New file.
9337         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9338         of MAXSYMLINKS.
9339         * elf/chroot_canon.c (chroot_canon): Likewise.
9341 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9343         [BZ #13717]
9344         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9345         Change to 2.6.0 everywhere.
9346         * sysdeps/unix/sysv/linux/configure: Regenerated.
9347         * sysdeps/unix/sysv/linux/kernel-features.h
9348         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9349         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9350         kernel versions.
9351         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9352         (__ASSUME_FUTEX_REQUEUE): Remove.
9353         (__ASSUME_STATFS64): Define unconditionally.
9354         (__ASSUME_AT_SECURE): Likewise.
9355         (__ASSUME_CORRECT_SI_PID): Likewise.
9356         (__ASSUME_TGKILL): Define without depending on kernel version for
9357         i386.
9358         (__ASSUME_UTIMES): Likewise.
9359         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9360         kernel version.
9361         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9362         (__ASSUME_TMPFS_NAME): Likewise.
9363         * README: Update reference to Linux kernel versions.
9365 2012-08-02  Marek Polacek  <polacek@redhat.com>
9367         [BZ# 14150]
9368         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9369         libc_cv_asm_type_prefix with %.
9370         * configure: Regenerated.
9371         * include/libc-symbols.h: Remove comment about
9372         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9373         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9374         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9375         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9376         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9377         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9378         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9379         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9380         * elf/tst-unique2mod1.c: Likewise.
9381         * elf/tst-unique1mod2.c: Likewise.
9382         * elf/tst-unique1mod1.c: Likewise.
9383         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9384         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9385         Replace ASM_TYPE_DIRECTIVE with .type.
9386         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9387         * sysdeps/i386/sysdep.h: Likewise.
9388         * sysdeps/x86_64/sysdep.h: Likewise.
9389         * sysdeps/sh/sysdep.h: Likewise.
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9391         Do not define ASM_TYPE_DIRECTIVE.
9392         * sysdeps/powerpc/sysdep.h: Likewise.
9393         * sysdeps/powerpc/powerpc32/sysdep.h:
9394         Replace ASM_TYPE_DIRECTIVE with .type.
9395         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9396         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9397         * sysdeps/i386/fpu/e_powf.S: Likewise.
9398         * sysdeps/i386/fpu/e_expl.S: Likewise.
9399         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9400         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9401         * sysdeps/i386/fpu/e_pow.S: Likewise.
9402         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9403         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9404         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9405         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9406         * sysdeps/i386/fpu/e_log2.S: Likewise.
9407         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9408         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9409         * sysdeps/i386/fpu/e_powl.S: Likewise.
9410         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9411         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9412         * sysdeps/i386/fpu/e_logl.S: Likewise.
9413         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9414         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9415         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9416         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9417         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9418         * sysdeps/i386/fpu/e_log.S: Likewise.
9419         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9420         * sysdeps/i386/fpu/e_logf.S: Likewise.
9421         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9422         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9423         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9424         * sysdeps/i386/fpu/e_log10.S: Likewise.
9425         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9426         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9427         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9428         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9429         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9430         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9431         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9432         * sysdeps/i386/i686/strtok.S: Likewise.
9433         * sysdeps/i386/i386-mcount.S: Likewise.
9434         * sysdeps/i386/strtok.S: Likewise.
9435         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9436         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9437         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9438         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9439         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9440         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9441         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9442         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9443         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9444         * sysdeps/x86_64/_mcount.S: Likewise.
9445         * sysdeps/x86_64/strtok.S: Likewise.
9446         * sysdeps/sh/_mcount.S: Likewise.
9448 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9450         * libio/iofopen.c: Include <fcntl.h>.
9451         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9452         (_IO_fopen64, fopen64): Define as aliases.
9453         * libio/iofopen64.c: Include <fcntl.h>.
9454         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9455         Conditionalize body on this.
9456         * sysdeps/wordsize-64/iofopen.c: File removed.
9457         * sysdeps/wordsize-64/iofopen64.c: File removed.
9459 2012-08-01  Marek Polacek  <polacek@redhat.com>
9461         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9462         Use dlfcn directly instead of a variable.
9463         (binfmt-subdir): Do not define.
9464         (dlfcn): Likewise.
9466 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9469         Remove all definitions.
9470         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9471         <kernel-features.h>.
9472         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9473         (miss_F_GETOWN_EX): Remove all definitions.
9474         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9475         macro definition.
9476         [!__ASSUME_FCNTL64]: Remove conditional code.
9477         [__ASSUME_FCNTL64]: Make code unconditional.
9478         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9479         <kernel-features.h>.
9480         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9481         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9482         (lockf64) [__NR_fcntl64]: Make code unconditional.
9483         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9485         * sysdeps/unix/sysv/linux/kernel-features.h
9486         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9487         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9488         Make code unconditional.
9489         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9490         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9492         [__NR_vfork]: Make code unconditional.
9493         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9494         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9496         [__NR_vfork]: Make code unconditional.
9497         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9498         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9500 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9502         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9503         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9505         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9506         Define mkstemp64 as an alias.
9507         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9508         Define mkstemps64 as an alias.
9509         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9510         Define mkostemp64 as an alias.
9511         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9512         Define mkostemps64 as an alias.
9513         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9514         Conditionalize body on this.
9515         * misc/mkostemp64.c: Likewise.
9516         * misc/mkostemps64.c: Likewise.
9517         * misc/mkstemps64.c: Likewise.
9518         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9519         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9520         * sysdeps/wordsize-64/mkostemp.c: File removed.
9521         * sysdeps/wordsize-64/mkstemp.c: File removed.
9522         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9523         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9524         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9525         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9527         [BZ #14138]
9528         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9529         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9530         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9531         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9533         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9534         compat_symbol macros from <shlib-compat.h> rather than the underlying
9535         default_symbol_version and symbol_version macros, so that DEFAULT
9536         lines in shlib-versions are respected.
9537         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9539 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9541         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9542         Declare with warn_unused_result.
9543         (setgid, setregid, setegid, setresgid): Likewise.
9544         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9545         Likewise.
9546         * WUR-REPORT: Remove set*id functions.
9548 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9550         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9552 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9554         * include/sys/socket.h (__libc_accept, __libc_accept4):
9555         Add attribute_hidden.
9556         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9558         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9559         use of PTR_MANGLE.
9560         * inet/getnetgrent_r.c (setup): Likewise.
9562         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9564 2012-07-31  David S. Miller  <davem@davemloft.net>
9566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9568 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9570         [BZ #13629]
9571         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9572         value between 1.0 and 2.0 and smaller part has absolute value less
9573         than 1.0.
9574         * math/s_clog10.c (__clog10): Likewise.
9575         * math/s_clog10f.c (__clog10f): Likewise.
9576         * math/s_clog10l.c (__clog10l): Likewise.
9577         * math/s_clogf.c (__clogf): Likewise.
9578         * math/s_clogl.c (__clogl): Likewise.
9579         * math/libm-test.inc (clog_test): Add more tests.
9580         (clog10_test): Likewise.
9581         * sysdeps/i386/fpu/libm-test-ulps: Update.
9582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9584 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9586         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9587         Exit with zero in case no suitable GID is found, and write a
9588         message to standard error.
9590 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9592         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9593         rather than to 1.
9594         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9595         (MAXPATHLEN): Removed.
9596         (NOGROUP, NODEV): New macros.
9597         (setbit, clrbit, isset, isclr): New macros.
9598         (howmany, roundup, powerof2): New macros.
9599         (DEV_BSIZE): New macro.
9601         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9602         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9604         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9605         definition on [!__NO_LONG_DOUBLE_MATH].
9607         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9608         PTR_MANGLE and PTR_DEMANGLE.
9610         * socket/accept4.c (accept4): Rename to __libc_accept4.
9611         Define accept4 as a weak alias.
9613         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9614         on [_DIRENT_HAVE_D_TYPE].
9615         * io/ftw.c (ftw_dir): Likewise.
9617         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9619         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9621         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9622         Use the BSD numbers rather than the arbitrary ones we had.
9623         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9624         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9625         (SIGXCPU, SIGXFSZ): New macros.
9626         (_NSIG): Now 32.
9628         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9629         initializer on [_LIBC_REENTRANT].
9631         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9632         definitions inside [_POSIX_MAPPED_FILES].
9634         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9636         * dirent/opendir.c: Include <fcntl.h>.
9638         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9639         (__libc_getspecific): Likewise.
9640         (__libc_key_create): Likewise.
9642         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9643         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9644         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9645         (tmpfile64): Define as alias.
9646         * sysdeps/wordsize-64/tmpfile.c: File removed.
9647         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9648         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9649         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9651         * stdio-common/vfscanf.c: Include <stdbool.h>.
9652         * nss/makedb.c: Likewise.
9653         * stdio-common/_i18n_number.h: Likewise.
9654         * argp/argp-help.c: Likewise.
9655         * posix/wordexp.c: Likewise.
9656         * sysdeps/posix/spawni.c: Likewise.
9657         * nss/nss_files/files-initgroups.c: Likewise.
9658         * stdio-common/reg-modifier.c: Include <stdlib.h>.
9659         * nss/nss_files/files-initgroups.c: Likewise.
9660         * nss/nss_db/db-netgrp.c: Likewise.
9661         * nss/nss_db/db-initgroups.c: Likewise.
9662         * io/fchmodat.c: Include <sys/stat.h>.
9664         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9665         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9667         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9668         [HAVE_MMAP].
9670         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9671         Add multiple inclusion protection.
9673 2012-07-27  David S. Miller  <davem@davemloft.net>
9675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9677 2012-07-27  Gary Benson  <gbenson@redhat.com>
9679         [BZ #14298]
9680         * elf/rtld.c: Include <stap-probe.h>.
9681         (dl_main): Added static probes "init_start" and "init_complete".
9682         * elf/dl-load.c: Include <stap-probe.h>.
9683         (lose): Take new parameter "nsid".
9684         Added static probe "map_failed".
9685         (_dl_map_object_from_fd): Pass namespace id to lose.
9686         Added static probe "map_start".
9687         (open_verify): Pass namespace id to lose.
9688         * elf/dl-open.c: Include <stap-probe.h>.
9689         (dl_open_worker) Added static probes "map_complete", "reloc_start"
9690         and "reloc_complete".
9691         * elf/dl-close.c: Include <stap-probe.h>.
9692         (_dl_close_worker): Added static probes "unmap_start" and
9693         "unmap_complete".
9694         * elf/rtld-debugger-interface.txt: New file documenting the above.
9696 2012-07-26  Roland McGrath  <roland@hack.frob.com>
9698         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9699         rather than a string variable.
9700         * sunrpc/rpc_main.c (h_output): Likewise.
9701         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9703 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
9705         * inet/check_native.c: New file.
9707 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
9709         [BZ #13629]
9710         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9711         if larger part has absolute value 1.0.
9712         * math/s_clog10.c (__clog10): Likewise.
9713         * math/s_clog10f.c (__clog10f): Likewise.
9714         * math/s_clog10l.c (__clog10l): Likewise.
9715         * math/s_clogf.c (__clogf): Likewise.
9716         * math/s_clogl.c (__clogl): Likewise.
9717         * math/libm-test.inc (clog_test): Add more tests.
9718         (clog10_test): Likewise.
9719         * sysdeps/i386/fpu/libm-test-ulps: Update.
9720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9722         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9723         (pltexit): Likewise.
9724         (La_regs): Likewise.
9725         (La_retval): Likewise.
9726         (int_retval): Likewise.
9727         Update #error for removed macros to refer only to definitions in
9728         tst-audit.h.
9729         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
9754         macro.
9755         (pltexit): Likewise.
9756         (La_regs): Likewise.
9757         (La_retval): Likewise.
9758         (int_retval): Likewise.
9759         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9760         macro.
9761         (pltexit): Likewise.
9762         (La_regs): Likewise.
9763         (La_retval): Likewise.
9764         (int_retval): Likewise.
9765         * sysdeps/generic/tst-audit.h: Update comment to refer only to
9766         macro definitions in tst-audit.h.
9767         * sysdeps/i386/tst-audit.h: New file.
9768         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9769         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9770         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9771         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9772         * sysdeps/sh/tst-audit.h: Likewise.
9773         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9774         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9775         * sysdeps/x86_64/tst-audit.h: Likewise.
9777 2012-07-26  Andreas Jaeger  <aj@suse.de>
9779         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9780         ptrace.
9782         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9783         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9784         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9785         PTRACE_O_MASK.
9786         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9787         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9788         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9790         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9791         value.
9793         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9794         _sigsys.
9795         (si_call_addr, si_syscall, si_arch): Define new macro.
9796         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9797         _sigsys.
9798         (si_call_addr, si_syscall, si_arch): Define new marcro.
9799         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9800         _sigsys.
9801         (si_call_addr, si_syscall, si_arch): Define new macro.
9802         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9803         _sigsys.
9804         (si_call_addr, si_syscall, si_arch): Define new macro.
9806 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9808         [BZ #13717]
9809         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9810         Change to 2.4.21 where previously 2.4.1.
9811         * sysdeps/unix/sysv/linux/configure: Regenerated.
9812         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9813         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9814         Linux kernel version.
9815         (__ASSUME_STD_AUXV): Remove.
9816         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9817         kernel version.
9818         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9819         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9820         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9821         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9822         (__ASSUME_NETLINK_SUPPORT): Likewise.
9823         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9824         (__no_netlink_support): Remove conditional definition.
9825         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9826         Remove.
9827         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9828         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9829         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9830         (if_nameindex_ioctl): Remove.
9831         (if_nameindex_netlink): Do not handle __no_netlink_support.
9832         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9833         code.
9834         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9835         Remove conditional code.
9836         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9837         code.
9838         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9839         unconditional.
9840         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9841         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9842         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9843         Remove.
9844         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9845         [!__ASSUME_STD_AUXV]: Remove conditional code.
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9847         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9848         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9850         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9851         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9852         code.
9853         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9855         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9856         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9857         conditional code.
9858         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9860         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9861         code.
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9863         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9864         conditional code.
9865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9866         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9867         code unconditional.
9868         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9869         conditional code.
9870         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9871         unconditional.
9872         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9873         conditional code.
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9875         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9876         unconditional.
9877         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9878         conditional code.
9879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9880         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9881         code unconditional.
9882         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9883         conditional code.
9884         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9885         unconditional.
9886         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9887         conditional code.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9889         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9890         code unconditional.
9891         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9892         conditional code.
9893         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9894         unconditional.
9895         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9896         conditional code.
9898 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
9900         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9901         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9902         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9903         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9904         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9905         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9906         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9907         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9908         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9909         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9910         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9911         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9912         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9913         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9914         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9915         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9916         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9917         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9918         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9920         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9921         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9922         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9924 2012-07-25  Florian Weimer  <fweimer@redhat.com>
9926         * Versions.def: Add GLIBC_2.17.
9927         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9928         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9929         Introduce __libc_secure_getenv.
9930         * stdlib/Versions (2.17): Add secure_getenv
9931         (GLIBC_PRIVATE): Add __libc_secure_getenv.
9932         * stdlib/secure-getenv.c: Rename __secure_getenv to
9933         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
9934         symbol __secure_getenv for GLIBC_2.0.
9935         * stdlib/tst-secure-getenv.c: New.
9936         * stdlib/Makefile (tests): Add testcase.
9937         * manual/startup.texi (Environment Access): Document
9938         secure_getenv.
9939         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9940         __libc_secure_getenv.
9941         * inet/ruserpass.c (ruserpass): Likewise.
9942         * malloc/mtrace.c (mtrace): Likewise.
9943         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9944         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9945         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9946         * sysdeps/posix/tempname.c: Likewise.  Evaluate
9947         HAVE_SECURE_GETENV.
9948         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9949         __secure_getenv to __libc_secure_getenv.
9950         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9952         Likewise.
9953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9954         Likewise.
9955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9963 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9965         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9966         (struct La_i86_retval): Likewise.
9967         (struct La_x86_64_regs): Likewise.
9968         (struct La_x86_64_retval): Likewise.
9969         (struct La_x32_regs): Likewise.
9970         (struct La_x32_retval): Likewise.
9971         (struct La_ppc32_regs): Likewise.
9972         (struct La_ppc32_retval): Likewise.
9973         (struct La_ppc64_regs): Likewise.
9974         (struct La_ppc64_retval): Likewise.
9975         (struct La_sh_regs): Likewise.
9976         (struct La_sh_retval): Likewise.
9977         (struct La_s390_32_regs): Likewise.
9978         (struct La_s390_32_retval): Likewise.
9979         (struct La_s390_64_regs): Likewise.
9980         (struct La_s390_64_retval): Likewise.
9981         (struct La_sparc32_regs): Likewise.
9982         (struct La_sparc32_retval): Likewise.
9983         (struct La_sparc64_regs): Likewise.
9984         (struct La_sparc64_retval): Likewise.
9985         (struct audit_ifaces): Remove architecture-specific pltenter and
9986         pltexit members.
9987         * sysdeps/i386/ldsodefs.h: New file.
9988         * sysdeps/powerpc/ldsodefs.h: Likewise.
9989         * sysdeps/s390/ldsodefs.h: Likewise.
9990         * sysdeps/sh/ldsodefs.h: Likewise.
9991         * sysdeps/sparc/ldsodefs.h: Likewise.
9992         * sysdeps/x86_64/ldsodefs.h: Likewise.
9994 2012-07-25  Marek Polacek  <polacek@redhat.com>
9996         [BZ #6808]
9997         * math/libm-test.inc (yn_test): Add another test.
9998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9999         to ERANGE when the result is +-Inf.
10000         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10001         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10002         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10003         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10005 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10007         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10008         equal to 0.
10009         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10010         clock_t.
10011         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10013 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10015         * configure.in <sysdeps resolving>: Correct printing
10016         Implies_before.
10017         * configure: Regenerate.
10019 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10021         * math/w_ilogb.c: Include <limits.h>.
10022         * math/w_ilogbl.c: Likewise.
10024 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10026         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10027         va_copy.  Document allowing for unavailable va_copy only as
10028         pre-C99 compatibility.
10029         * manual/string.texi (Copying and Concatenation): Use va_copy
10030         instead of __va_copy in concat example.
10032 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10034         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10035         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10036         it if not null.
10038         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10039         with O_NOLINK passed to __file_name_lookup.
10041         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10042         with O_NOLINK passed to __file_name_lookup.
10044         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10045         negative N or less than NGIDS.
10047         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10048         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10049         enough.  Use memcpy instead of strncpy.
10051 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10053         * elf/Makefile (check-data): Remove.
10054         (localplt.data): New vpath directive.
10055         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10056         instead of $(check-data).
10057         * scripts/data/localplt-generic.data: Move to ...
10058         * sysdeps/generic/localplt.data: ... here.
10059         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10060         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10061         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10063         ... here.
10064         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10066         ... here.
10067         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10069         ... here.
10070         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10072         ... here.
10073         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10075         ... here.
10076         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10078         ... here.
10080 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10082         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10083         PPC32 and PPC64 files.
10084         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10085         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10087 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10089         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10090         __makecontext_ret to ...
10091         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10092         ... here and call exit if uc_link is NULL.  New file.
10093         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10094         __makecontext_ret.S.
10095         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10096         __makecontext_ret to ...
10097         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10098         ... here and call exit if uc_link is NULL.  New file.
10099         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10100         __makecontext_ret.S.
10102 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10104         * elf/elf.h (R_390_IRELATIVE): New definition.
10105         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10106         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10107         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10108         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10109         (elf_machine_lazy_rel): Likewise.
10110         * sysdeps/s390/dl-irel.h: New file.
10111         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10112         * sysdeps/s390/s390-64/memset.S: New asm code.
10113         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10114         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10115         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10116         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10117         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10118         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10120         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10121         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10122         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10123         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10124         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10125         * sysdeps/s390/s390-32/memset.S: New asm code.
10126         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10128 2012-07-17  Marek Polacek  <polacek@redhat.com>
10130         [BZ #14349]
10131         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10132         * sysdeps/s390/s390-64/configure.in: Likewise.
10133         * sysdeps/sparc/configure.in: Likewise.
10134         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10135         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10136         * sysdeps/i386/configure.in: Likewise.
10137         * sysdeps/x86_64/configure.in: Likewise.
10138         * sysdeps/sh/configure.in: Likewise.
10139         * sysdeps/s390/s390-32/configure: Regenerated.
10140         * sysdeps/s390/s390-64/configure: Likewise.
10141         * sysdeps/x86_64/configure: Likewise.
10142         * sysdeps/sh/configure: Likewise.
10143         * sysdeps/powerpc/powerpc64/configure: Likewise.
10144         * sysdeps/powerpc/powerpc32/configure: Likewise.
10145         * sysdeps/sparc/configure: Likwise.
10146         * sysdeps/i386/configure: Likewise.
10148         * elf/dl-open.c: Comment fixes.
10150 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10152         * Makefile [CXX] (check-data): Remove.
10153         [CXX] (c++-types.data): New vpath directive.
10154         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10155         vpath.  Do not allow for C++ type data being missing.
10156         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10157         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10158         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10159         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10160         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10161         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10162         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10164         ... here.
10165         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10167         ... here.
10168         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10170         ... here.
10171         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10173         ... here.
10174         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10176         ... here.
10177         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10179         ... here.
10180         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10182         ... here.
10183         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10186         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10187         definitions to architecture-specific files.
10188         (TLS_IE): Likewise.
10189         (TLS_LD): Likewise.
10190         (TLS_GD): Likewise.
10191         * sysdeps/i386/tls-macros.h: New file.
10192         * sysdeps/powerpc/tls-macros.h: Likewise.
10193         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10194         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10195         * sysdeps/sh/tls-macros.h: Likewise.
10196         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10197         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10198         * sysdeps/x86_64/tls-macros.h: Likewise.
10200 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10202         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10203         zero value for regular exit case.
10205         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10206         (__start_context): Preserve zero value for regular exit case.
10208 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10209             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10211         * manual/setjmp.texi (setcontext): Clarify normal process
10212         termination when uc_link is the null pointer.
10213         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10214         exit call.
10216 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10218         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10219         preprocessor.  Test for each exception mask separately.
10221 2012-07-16  Andreas Jaeger  <aj@suse.de>
10223         * po/ru.po: Update from translation team.
10225 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10227         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10228         equal to 0.
10229         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10230         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10231         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10232         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10235 2012-07-13  Andreas Jaeger  <aj@suse.de>
10237         * po/fr.po: Update from translation team.
10239 2012-07-12  Marek Polacek  <polacek@redhat.com>
10241         [BZ #14173]
10242         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10243         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10244         loop condition.
10246 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10248         [BZ #13717]
10249         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10250         Change to 2.4.1 where previously 2.4.0.
10251         * sysdeps/unix/sysv/linux/configure: Regenerated.
10252         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10253         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10254         version.
10255         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10256         (__ASSUME_AT_CLKTCK): Remove.
10257         (__ASSUME_AT_PAGESIZE): Likewise.
10258         (__ASSUME_AT_XID): Likewise.
10259         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10260         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10261         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10262         unconditionally.
10263         (HAVE_AUX_PAGESIZE): Likewise.
10264         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10265         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10266         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10268 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10270         [BZ #14307]
10271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10272         the temporary buffer used to invoke __gethostbyname2_r,
10273         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10274         host_data / struct gaih_addrtuple.
10275         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10276         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10277         header file nss/nsswitch.h.
10278         * nss/nsswitch.h (global scope): Add definition of implementation
10279         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10280         resolv/nss_dns/dns-host.c).
10282 2012-07-11  Andreas Jaeger  <aj@suse.de>
10284         * po/fr.po: Update from translation team.
10286         * po/sv.po: Update from translation team
10287         * po/fr.po: Another update from translation team.
10289 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10291         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10292         for subnormals or multiply small sinh result by itself.
10293         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10296 2012-07-11  David S. Miller  <davem@davemloft.net>
10298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10300 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10302         [BZ #14347]
10303         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10304         (INTERNAL_MARK): Shift it here.
10306 2012-07-10  Marek Polacek  <polacek@redhat.com>
10308         [BZ #14151]
10309         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10310         libc_cv_asm_global_directive with .globl.
10311         * configure: Regenerated.
10312         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10313         with .globl.
10314         * sysdeps/i386/configure: Regenerated.
10315         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10316         with .globl.
10317         * sysdeps/x86_64/configure: Regenerated.
10318         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10319         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10320         * elf/tst-unique2mod2.c: Likewise.
10321         * elf/tst-unique2mod1.c: Likewise.
10322         * elf/tst-unique1mod2.c: Likewise.
10323         * elf/tst-unique1mod1.c: Likewise.
10324         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10325         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10326         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10327         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10328         * sysdeps/mach/sysdep.h: Likewise.
10329         * sysdeps/i386/sysdep.h: Likewise.
10330         * sysdeps/i386/i386-mcount.S: Likewise.
10331         * sysdeps/x86_64/_mcount.S: Likewise.
10332         * sysdeps/x86_64/sysdep.h: Likewise.
10333         * sysdeps/sh/_mcount.S: Likewise.
10334         * sysdeps/sh/sysdep.h: Likewise.
10335         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10336         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10337         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10338         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10339         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10340         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10341         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10342         * locale/localeinfo.h: Likewise.
10343         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10344         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10346 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10348         [BZ #14336]
10349         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10350         system".
10351         * manual/message.texi (The Uniforum approach): Likewise.
10352         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10353         (glibc iconv Implementation): Likewise.
10355 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10357         [BZ #14337]
10358         * math/s_clog.c (__clog): Avoid scaling a value down where that
10359         could result in underflow.
10360         * math/s_clog10.c (__clog10): Likewise.
10361         * math/s_clog10f.c (__clog10f): Likewise.
10362         * math/s_clog10l.c (__clog10l): Likewise.
10363         * math/s_clogf.c (__clogf): Likewise.
10364         * math/s_clogl.c (__clogl): Likewise.
10365         * math/libm-test.inc (clog_test): Add more tests.
10366         (clog10_test): Likewise.
10367         * sysdeps/i386/fpu/libm-test-ulps: Update.
10368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10370 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10372         [BZ #14283]
10373         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10374         by 7 not 8 to examine high bit of fractional part.
10376         [BZ #14042]
10377         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10378         for call to __mcount_internal.
10379         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10380         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10381         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10383 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10385         [BZ #14154]
10386         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10387         approximation for values within 0x1p-13f of an odd multiple of
10388         pi/4.
10389         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10390         exception.  Add more tests.
10391         * sysdeps/i386/fpu/libm-test-ulps: Update.
10393         [BZ #6778]
10394         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10395         inputs and return -1 for them.  Do not check for +Inf in case not
10396         reachable for +Inf.
10397         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10398         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10399         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10400         and return -1 for them.  Do not check for +Inf in case not
10401         reachable for +Inf.
10402         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10403         define.
10404         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10405         and return -1 for them.  Do not check for +Inf in case not
10406         reachable for +Inf.
10407         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10408         spurious underflow.
10409         * sysdeps/i386/fpu/libm-test-ulps: Update.
10410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10412 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10414         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10416 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10418         [BZ #14157]
10419         [BZ #14331]
10420         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10421         could result in spurious underflow.  Scale down values above
10422         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10423         * math/s_csqrtf.c (__csqrtf): Likewise.
10424         * math/s_csqrtl.c (__csqrtl): Likewise.
10425         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10426         spurious underflow.
10427         * sysdeps/i386/fpu/libm-test-ulps: Update.
10428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10430 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10432         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10433         xopen-msg.sed.
10434         * catgets/xopen-msg.awk: New file.
10435         * catgets/xopen-msg.sed: Removed.
10437         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10438         po2text.sed.
10439         * intl/po2test.awk: New file.
10440         * intl/po2test.sed: Removed.
10442 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10444         [BZ #14328]
10445         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10446         or multiply small sinh result by itself.
10447         * math/s_ctanf.c (__ctanf): Likewise.
10448         * math/s_ctanh.c (__ctanh): Likewise.
10449         * math/s_ctanhf.c (__ctanhf): Likewise.
10450         * math/s_ctanhl.c (__ctanhl): Likewise.
10451         * math/s_ctanl.c (__ctanl): Likewise.
10452         * math/libm-test.inc (ctan_test_tonearest): New function.
10453         (ctan_test_towardzero): Likewise.
10454         (ctan_test_downward): Likewise.
10455         (ctan_test_upward): Likewise.
10456         (ctanh_test_tonearest): Likewise.
10457         (ctanh_test_towardzero): Likewise.
10458         (ctanh_test_downward): Likewise.
10459         (ctanh_test_upward): Likewise.
10460         (main): Call these new functions.
10461         * sysdeps/i386/fpu/libm-test-ulps: Update.
10462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10464 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10466         * .gitignore: Delete /ports entry.
10468 2012-07-03  Andreas Jaeger  <aj@suse.de>
10470         * po/bg.po: Update from translation team.
10471         * po/cs.po: Likewise.
10472         * po/de.po: Likewise.
10473         * po/hr.po: Likewise.
10474         * po/nl.pl: Likewise.
10475         * po/pl.po: Likewise.
10476         * po/vi.po: Likewise.
10478 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10480         * Makeconfig [!+link] (+link-before-libc): New variable.
10481         [!+link] (+link-after-libc): Likewise.
10482         [!+link] (+link-tests): Likewise.
10483         [!+link] (+link): Define in terms of $(+link-before-libc) and
10484         $(+link-after-libc).
10485         [!+link-static] (+link-static-before-libc): New variable.
10486         [!+link-static] (+link-static-after-libc): Likewise.
10487         [!+link-static] (+link-static-tests): Likewise.
10488         [!+link-static] (+link-static): Define in terms of
10489         $(+link-static-before-libc) and $(+link-static-after-libc).
10490         [build-shared] (link-libc-before-gnulib): New variable.
10491         [build-shared] (link-libc-tests): Likewise.
10492         [build-shared] (link-libc): Define in terms of
10493         $(link-libc-before-gnulib).
10494         [!build-shared] (link-libc-tests): New variable.
10495         (link-libc-static-tests): New variable.
10496         [!gnulib] (gnulib-arch): New variable.
10497         [!gnulib] (gnulib-tests): Likewise.
10498         [!gnulib] (static-gnulib-arch): Likewise.
10499         [!gnulib] (static-gnulib-tests): Likewise.
10500         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10501         Define with "=" instead of ":=".
10502         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10503         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10504         * Rules (binaries-all-notests): New variable.
10505         (binaries-all-tests): Likewise.
10506         (binaries-static-notests): Likewise.
10507         (binaries-static-tests): Likewise.
10508         (binaries-all): Define using $(binaries-all-notests) and
10509         $(binaries-all-tests).
10510         (binaries-static): Define using $(binaries-static-notests) and
10511         $(binaries-static-tests).
10512         (binaries-shared-tests): New variable.
10513         (binaries-shared-notests): Likewise.
10514         (binaries-shared): Remove variable.
10515         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10516         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10517         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10518         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10519         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10520         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10521         * elf/Makefile (sln-modules): New variable.
10522         (extra-objs): Add $(sln-modules:=.o).
10523         (ldconfig-modules): Add static-stubs.
10524         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10525         * elf/static-stubs.c: New file.
10527         [BZ #14283]
10528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10529         by 7 not 8 to examine high bit of fractional part.  Use volatile
10530         variables when splitting into final array of floats if
10531         __FLT_EVAL_METHOD__ != 0.
10532         * math/libm-test.inc (cos_test): Add another test.
10533         (sin_test): Likewise.
10534         * sysdeps/i386/fpu/libm-test-ulps: Update.
10536         [BZ #14273]
10537         * math/libm-test.inc (cosh_test): Add more tests.
10539         * version.h (RELEASE): Set to "development".
10540         (VERSION): Set to "2.16.90".
10542 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10544         * NEWS: Update copyright. Remove last-updated date.
10545         Mention math library bug fixes and timezone data changes.
10546         * README: Mention GNU/Hurd, x32, and HPPA support status.
10548 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10550         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10552 2012-06-27  Andreas Jaeger  <aj@suse.de>
10554         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10556 2012-06-25  Andreas Jaeger  <aj@suse.de>
10558         * sysdeps/s390/fpu/libm-test-ulps: Update.
10560 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10561             Thomas Schwinge  <thomas@codesourcery.com>
10563         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10564         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10566         fanotify_mark.
10568 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10570         * sysdeps/mach/start.c: Remove file.
10571         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10572         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10573         * sysdeps/sh/init-first.c: Likewise.
10575         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10576         registers for frame unwinding purposes, add CFI directives.
10577         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10578         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10579         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10580         Likewise.
10582         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10583         __fortify_fail returning.
10584         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10586         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10587         sysdeps/sh/____longjmp_chk.S.
10588         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10589         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10590         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10591         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10593         * sysdeps/sh/abort-instr.h: New file.
10594         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10595         process in case exit returns.
10597         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10598         initialize the GOT register before use.
10600         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10601         calculation of ARGC > 4.
10603         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10604         meaningful names to some local labels.
10606 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10607             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10609         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10610         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10611         (__arch_compare_and_exchange_val_16_acq): Likewise.
10612         (__arch_compare_and_exchange_val_32_acq): Likewise.
10613         (atomic_exchange_and_add): Fix gUSA sequence.
10614         (atomic_add): Likewise.
10615         (atomic_add_negative): Likewise.
10616         (atomic_add_zero): Likewise.
10617         (atomic_bit_test_set): Likewise.
10619 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10621         [BZ #13579]
10622         * include/link.h (struct link_map): Add l_free_initfini.
10623         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10624         l_initfini.
10625         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10626         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10627         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10628         set.
10630 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10632         * configure.in: Use AC_LANG_SOURCE.
10633         * configure: Regenerate.
10635 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10637         * configure.in (libc_cv_localstatedir): New substituted variable.
10638         * configure: Regenerated.
10639         * config.make.in (localstatedir): New variable, substituted from
10640         libc_cv_localstatedir.
10641         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10642         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10643         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10644         * sysdeps/gnu/configure: Regenerated.
10646 2012-06-21  Jeff Law  <law@redhat.com>
10648         [BZ #14277]
10649         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10650         free.  Simplify list management for _LIBC case.
10652 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10654         [BZ #14273]
10655         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10656         Clear sign bit of 64-bit integer value before comparing against
10657         overflow value.
10659         * sysdeps/mach/configure: Regenerated.
10661 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
10663         [BZ #14278]
10664         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10666 2012-06-21  Jeff Law  <law@redhat.com>
10668         [BZ #13882]
10669         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
10670         uint16_t for elements in the "seen" array to avoid char overflows.
10671         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10672         * elf/dl-open.c (dl_open_worker): Likewise.
10674 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
10676         * scripts/list-sources.sh: Scan PORTS for translations.
10677         * po/libc.pot: Regenerated.
10679 2012-06-21  Andreas Jaeger  <aj@suse.de>
10681         [BZ #12194]
10682         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10683         warning.
10684         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10685         * bits/byteswap-16.h (__bswap_16): Likewise.
10686         * bits/byteswap.h (__bswap_constant_16): Likewise.
10688 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
10690         [BZ #14117]
10691         * sysdeps/i386/fpu_control.h: Removed.
10692         * sysdeps/x86_64/fpu_control.h: Moved to ...
10693         * sysdeps/x86/fpu_control.h: Here.
10695         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10696         (_FPU_SETCW): Likewise.
10698 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
10700         [BZ #14117]
10701         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10702         * sysdeps/x86/fpu/bits/mathinline.h: This.
10703         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10705         [BZ #14050]
10706         [BZ #14117]
10707         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10708         functions if __x86_64__ is defined.
10710 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
10712         * string/endian.h: Add !__ASSEMBLER__ condition for including
10713         conversion interfaces.
10715 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
10717         [BZ #14241]
10718         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10719         of ABS(x) in calculating zero to negative powers other than odd
10720         integers.
10721         * math/libm-test.inc (pow_test): Add more tests.
10723 2012-06-15  Andreas Jaeger  <aj@suse.de>
10725         * manual/contrib.texi (Contributors): Update entry of Liubov
10726         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10727         Machado Filho.
10729 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
10731         * string/string.h: Add __wur to GNU version of strerror_r.
10733 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
10735         [BZ #14229]
10736         * string/Makefile (tests): Add tst-strtok_r.
10737         * string/tst-strtok_r.c: New file.
10738         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10739         RAX_LP/RDX_LP on SAVE_PTR.
10741 2012-06-14  Roland McGrath  <roland@hack.frob.com>
10743         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10745 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
10747         * libm_test.inc (csqrt_test): Allow more spurious underflow
10748         exceptions.
10749         (j0_test): Likewise.
10750         (j1_test): Likewise.
10751         (y0_test): Likewise.
10752         (y1_test): Likewise.
10754 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
10756         * po/Makefile (libc.pot): Use UTF-8 charset.
10758 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
10760         [BZ #14210]
10761         Suppress sign-conversion warning from FD_SET.
10762         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10763         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10764         not unsigned long int.
10765         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10767 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
10769         [BZ #14050]
10770         [BZ #14117]
10771         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10772         __extern_always_inline instead of __extern_inline.
10773         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10774         (__signbit): Likewise.
10775         (__signbitl): Support C++ namespace.
10776         (lrintf): New inline function.
10777         (lrint): Likewise.
10778         (llrintf): Likewise.
10779         (llrint): Likewise.
10780         (fmaxf): Likewise.
10781         (fmax): Likewise.
10782         (fminf): Likewise.
10783         (fmin): Likewise.
10784         (rint): Likewise.
10785         (rintf): Likewise.
10786         (ceil): Likewise.
10787         (ceilf): Likewise.
10788         (floor): Likewise.
10789         (floorf): Likewise.
10790         (nearbyint): Likewise.
10791         (nearbyintf): Likewise.
10793 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
10795         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10796         non-default versions.
10798 2012-06-11  Roland McGrath  <roland@hack.frob.com>
10800         [BZ #14218]
10801         * manual/argp.texi (Argp): Reword argp_parse description slightly.
10803 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
10805         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10806         (FE_UPWARD, FE_DOWNWARD): Don't define.
10807         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10808         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10810         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10811         reading it.
10812         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10813         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10815 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10817         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10818         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10819         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10820         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10822 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10824         [BZ #14117]
10825         * sysdeps/i386/fpu/bits/fenv.h: Removed.
10826         * sysdeps/i386/fpu/Implies: New file.
10827         * sysdeps/x86_64/fpu/Implies: Likewise.
10828         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10829         * sysdeps/x86/fpu/bits/fenv.h: This.
10831         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10832         __SSE_MATH__.
10834 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10836         [BZ #14134]
10837         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10838         character 0xffff that matches the last element of the
10839         conversion table.
10841 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10843         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10844         fmodl commit.
10846 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10848         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10849         values higher than 25.6283.
10851 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10853         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10854         subnormal exponent extraction and add some __builtin_expect.
10855         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10856         Fix for subnormal mantissa calculation.
10858 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
10860         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10861         cpu2 is -1 and errno is not ENOSYS.
10863 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
10865         [BZ #14117]
10866         * sysdeps/i386/i486/bits/string.h: Renamed to ...
10867         * sysdeps/x86/bits/string.h: This.
10868         * sysdeps/x86_64/bits/string.h: Removed.
10870         * sysdeps/i386/i486/bits/string.h: Define inline functions only
10871         if not compiling for x86-64, but compiling for >= i486.
10873         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10874         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10876         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10877         New macro from Linux kernel 3.4.0.
10878         (FP_XSTATE_MAGIC2): Likewise.
10879         (FP_XSTATE_MAGIC2_SIZE): Likewise.
10880         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10881         (struct _fpx_sw_bytes): New struct.
10882         (struct _xsave_hdr): Likewise.
10883         (struct _ymmh_state): Likewise.
10884         (struct _xstate): Likewise.
10886         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10887         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10888         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10889         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10890         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10891         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10893         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10894         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10895         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10896         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10897         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10898         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10900 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10902         [BZ #13743]
10903         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10904         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10905         (sysdep_headers): Include sys/platform/ppc.h.
10906         * sysdeps/powerpc/test-gettimebase.c: Test for
10907         __ppc_get_timebase() to catch future ISA opcode/insn changes.
10908         * manual/Makefile (appendices): Include platform.texi.
10909         * manual/contrib.texi (Contributors): Update @node pointers.
10910         * manual/maint.texi (Maintenance): Likewise.
10911         (Platform): New node.
10912         * manual/platform.texi: New file.  Document the new features.
10914 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10915             Jakub Jelinek  <jakub@redhat.com>
10917         [BZ #14188]
10918         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10919         where __builtin_expect is unavailable.
10921 2012-06-03  David S. Miller  <davem@davemloft.net>
10923         * stdlib/longlong.h: Updated from GCC.
10925 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
10927         [BZ #14042]
10928         * sysdeps/powerpc/powerpc32/mcount.c: New file.
10929         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10930         __mcount_internal.
10931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10932         (GLIBC_2.16): Likewise.
10934 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10936         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10938 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10941         (default-abi): New variable.
10942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10943         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10944         variable.
10945         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10946         Likewise.
10947         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10948         Likewise.
10949         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10950         Likewise.
10952         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10953         definition.  Document in comment.
10955 2012-06-01  David S. Miller  <davem@davemloft.net>
10957         * stdlib/longlong.h: Updated from GCC.
10959 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10961         [BZ #14117]
10962         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10963         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10964         sys/debugreg.h sys/io.h here.
10965         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10966         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10967         sys/io.h.
10968         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10969         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10970         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10971         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10972         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10973         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10975         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10976         Define only if __x86_64__ is defined.
10978 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10980         [BZ #14048]
10981         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10982         Use int64_t for variable i.
10983         * math/libm-test.inc (fmod_test): Add more tests.
10985         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10986         z computation is not scheduled after fetestexcept.
10987         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10988         Use math_force_eval instead of asm to ensure calculation scheduled
10989         before exception test.
10990         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10991         Ensure a1 + u.d computation is not scheduled after fetestexcept.
10993 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
10995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10996         computation is not scheduled after fetestexcept.
10998 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11000         [BZ #14117]
11001         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11002         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11004 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11006         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11007         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11009 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11011         [BZ #14117]
11012         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11013         <bits/wordsize.h>.
11014         (__WCHAR_MIN): Support __WORDSIZE == 64.
11015         (__WCHAR_MAX): Likewise.
11017         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11018         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11020         [BZ #14183]
11021         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11022         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11024         [BZ #14117]
11025         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11026         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11028         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11029         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11031         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11032         Defined to 1 if __x86_64__ isn't defined.
11033         (_STAT_VER_LINUX_OLD): New.
11034         (st_atime): Remove duplicate.
11035         (st_mtime): Likewise.
11036         (st_ctime): Likewise.
11038 2012-05-31  David S. Miller  <davem@davemloft.net>
11040         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11041         entries.
11043 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11045         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11046         gen-libm-test.pl.
11048         [BZ #14132]
11049         * elf/dl-reloc.c: Include <_itoa.h>.
11050         (_dl_reloc_bad_type): Remove use of INTUSE.
11051         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11052         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11053         * stdio-common/psiginfo.c (psiginfo): Likewise.
11054         * stdio-common/psignal.c (psignal): Likewise.
11055         * string/strsignal.c (strsignal): Likewise.
11056         * include/signal.h (_sys_siglist): Declare hidden proto.
11057         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11058         INTVARDEF with libc_hidden_data_def.
11059         * stdio-common/itoa-udigits.c: Likewise.
11060         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11061         (_itoa_lower_digits_internal): Remove declaration.
11062         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11063         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11064         (_sys_sigabbrev_internal): Remove aliases.
11065         (_sys_siglist): Define hidden alias.
11067 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11070         bits/sysctl.h.
11072 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11074         [BZ #14117]
11075         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11076         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11078         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11079         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11080         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11081         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11082         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11083         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11085         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11086         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11087         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11089         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11090         with __addr.
11091         (insw): Likewise.
11092         (insl): Likewise.
11093         (outsb): Likewise.
11094         (outsw): Likewise.
11095         (outsl): Likewise.
11097         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11098         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11099         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11101         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11102         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11103         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11104         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11105         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11106         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11108         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11109         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11111         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11112         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11114         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11115         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11116         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11118         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11119         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11120         to ...
11121         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11123         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11124         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11125         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11127         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11128         for x86-64.
11129         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11131 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11133         * math/math.h (M_El): Use two more decimal places.
11134         (M_LOG2El): Likewise.
11135         (M_LOG10El): Likewise.
11136         (M_LN2l): Likewise.
11137         (M_LN10l): Likewise.
11138         (M_PIl): Likewise.
11139         (M_PI_2l): Likewise.
11140         (M_PI_4l): Likewise.
11141         (M_1_PIl): Likewise.
11142         (M_2_PIl): Likewise.
11143         (M_2_SQRTPIl): Likewise.
11144         (M_SQRT2l): Likewise.
11145         (M_SQRT1_2l): Likewise.
11147 2012-05-31  David S. Miller  <davem@davemloft.net>
11149         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11150         values between float registers.
11151         * sysdeps/sparc/sparc64/memset.S: Likewise.
11152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11154 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11156         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11157         -D_FORTIFY_SOURCE=1.
11158         (CPPFLAGS-tst-longjmp_chk.c): Define.
11159         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11160         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11161         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11162         CFLAGS-tst-wchar-h.c.
11164 2012-05-31  Marek Polacek  <polacek@redhat.com>
11166         [BZ #14132]
11167         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11168         __endmntent_internal): Remove declaration.
11169         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11170         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11171         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11173 2012-05-30  David S. Miller  <davem@davemloft.net>
11175         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11176         (___Q_simulate_exceptions): Use real FP ops rather than writing
11177         into the %fsr.
11178         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11179         Likewise.
11181 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11183         [BZ #14117]
11184         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11185         * sysdeps/x86/bits/xtitypes.h: This.
11187         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11188         * sysdeps/x86/bits/wordsize.h: This.
11190         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11191         * sysdeps/x86/bits/huge_vall.h: This.
11193         * sysdeps/i386/bits/select.h: Removed.
11194         * sysdeps/x86_64/bits/select.h: Renamed to ...
11195         * sysdeps/x86/bits/select.h: This.
11197         * sysdeps/i386/bits/setjmp.h: Removed.
11198         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11199         * sysdeps/x86/bits/setjmp.h: This.
11201         * sysdeps/i386/bits/mathdef.h: Removed.
11202         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11203         * sysdeps/x86/bits/mathdef.h: This.
11205 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11207         [BZ #14132]
11208         * include/sys/socket.h (__connect_internal)
11209         (__libc_sa_len_internal): Remove declaration.
11210         (__connect, __libc_sa_len): Declare hidden_proto.
11211         (SA_LEN): Remove use of INTUSE.
11212         * socket/connect.c: Add libc_hidden_def.
11213         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11214         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11215         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11216         alias.
11217         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11218         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11219         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11220         of adding _internal alias.
11222 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11224         [BZ #14117]
11225         * sysdeps/i386/bits/link.h: Removed.
11226         * sysdeps/i386/bits/linkmap.h: Likewise.
11227         * sysdeps/x86_64/bits/link.h: Renamed to ...
11228         * sysdeps/x86/bits/link.h: This.
11229         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11230         * sysdeps/x86/bits/linkmap.h: This.
11232         * sysdeps/i386/bits/endian.h: Removed.
11233         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11234         * sysdeps/x86/bits/endian.h: This.
11236         * sysdeps/i386/bits/byteswap.h: Removed.
11237         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11238         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11239         * sysdeps/x86/bits/byteswap.h: This.
11240         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11241         * sysdeps/x86/bits/byteswap-16.h: This.
11242         * sysdeps/i386/Implies: Add x86.
11243         * sysdeps/x86_64/Implies: Likewise.
11245 2012-05-30  David S. Miller  <davem@davemloft.net>
11247         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11248         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11249         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11250         (FP_TRAPPING_EXCEPTIONS): Define.
11251         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11252         (FP_TRAPPING_EXCEPTIONS): Define.
11253         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11254         subnormals only when inexact has been signalled or underflow
11255         exceptions are enabled.
11256         (_FP_PACK_CANONICAL): Likewise.
11258 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11260         [BZ #14183]
11261         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11262         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11264 2012-05-30  Richard Henderson  <rth@twiddle.net>
11266         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11267         with #ifndef NOT_IN_libc.
11269         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11270         marked to avoid plt entry.
11272 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11274         [BZ #14112]
11275         * Makeconfig (default-abi): New macro.
11276         (abi-includes): Likewise.
11277         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11278         $(abi-$(default-abi)-lib-soname) for soname if defined.
11279         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11280         abi-variants.
11281         * Makefile (installed-stubs): Likewise.
11282         * include/stubs-biarch.h: Removed.
11283         * scripts/lib-names.awk: Only handle one library at a time.
11284         * scripts/soversions.awk: Remove WORDSIZE support.
11285         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11286         entries.
11287         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11288         Removed.
11289         (syscall-list-default-condition): Likewise.
11290         (syscall-list-default-condition): Likewise.
11291         (syscall-list-includes): Likewise.
11292         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11293         syscall-list-* with abi-*.  Handle undefined abi-variants.
11294         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11295         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11296         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11297         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11298         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11299         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11300         Removed.
11301         (syscall-list-32-options): Likewise.
11302         (syscall-list-32-condition): Likewise.
11303         (syscall-list-64-options): Likewise.
11304         (syscall-list-64-condition): Likewise.
11305         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11306         macro.
11307         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11308         Renamed to ...
11309         (abi-*): This.
11310         (abi-64-ld-soname): New macro.
11311         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11312         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11313         Renamed to ...
11314         (abi-*): This.
11315         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11316         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11318 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11320         * sysdeps/unix/sysv/linux/kernel-features.h
11321         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11322         * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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.
11340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11341         include <kernel-features.h>.
11342         [!__NR_ftruncate64]: Remove conditional code.
11343         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11344         [__NR_ftruncate64]: Make code unconditional.
11345         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11347         * configure.in (libc_cv_fpie): Weaken to a compile test using
11348         LIBC_TRY_CC_OPTION.
11349         * configure: Regenerated.
11351 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11357         Refreshed.
11358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11364         Refreshed.
11366 2012-05-27  David S. Miller  <davem@davemloft.net>
11368         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11369         (___Q_zero): New.
11370         (__Q_simulate_exceptions): Return void.  Change to simulate
11371         exceptions by writing into the %fsr.
11372         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11373         (__Qp_handle_exceptions): Likewise.
11374         (numbers): Delete.
11375         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11376         __Qp_handle_exceptions.
11377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11378         __Qp_handle_exceptions.
11379         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11380         as unused and give dummy FP_RND_NEAREST initializer.
11381         (FP_INHIBIT_RESULTS): Define.
11382         (___Q_simulate_exceptions): Update declaration.
11383         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11384         formatting.
11385         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11386         as unused and give dummy FP_RND_NEAREST initializer.
11387         (__Qp_handle_exceptions): Update declaration.
11388         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11389         formatting.
11391 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11393         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11394         the temporary FPU control word.
11395         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11396         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11397         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11398         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11399         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11400         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11401         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11402         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11403         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11404         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11405         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11407 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11409         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11410         fields.
11412 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11414         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11415         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11416         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11417         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11418         Likewise.
11419         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11420         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11421         Likewise.
11423 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11425         * po/h.po: Update from translation team.
11427 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11429         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11431         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11432         handling of denormals.
11433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11434         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11435         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11436         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11437         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11438         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11439         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11440         Likewise.
11442 2012-05-26  Marek Polacek  <polacek@redhat.com>
11444         [BZ #14152]
11445         * math/libm-test.inc (fma_test): Don't always expect underflow
11446         exception.
11448 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11450         [BZ #12416]
11451         * elf/tst-execstack.c: Include stackinfo.h.
11452         (do_test): Adjust test case to ensure that pthread_getattr_np
11453         behaviour remains the same after marking stack executable.
11455 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11457         * sysdeps/unix/sysv/linux/kernel-features.h
11458         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11459         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11460         kernel-features.h.
11461         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11462         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11463         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11464         kernel-features.h.
11465         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11466         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11468 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11470         * configure.in: Define the default includes to being none.
11471         * configure: Regenerated.
11473 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11475         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11476         * sysdeps/x86_64/setjmp.S: Likewise.
11477         * sysdeps/i386/bsd-setjmp.S: Likewise.
11478         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11479         * sysdeps/i386/setjmp.S: Likewise.
11480         * sysdeps/i386/__longjmp.S: Likewise.
11481         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11482         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11484         * include/stap-probe.h: New file.
11485         * configure.in: Handle --enable-systemtap.
11486         * configure: Regenerated.
11487         * config.h.in (USE_STAP_PROBE): New #undef.
11488         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11489         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11490         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11492 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11494         [BZ #13717]
11495         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11496         to 2.4.0 where earlier.
11497         * sysdeps/unix/sysv/linux/configure: Regenerated.
11498         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11499         <kernel-features.h>.
11500         [__ASSUME_32BITUIDS]: Make code unconditional.
11501         [!__ASSUME_32BITUIDS]: Remove conditional code.
11502         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11503         <kernel-features.h>.
11504         [__ASSUME_32BITUIDS]: Make code unconditional.
11505         [!__ASSUME_32BITUIDS]: Remove conditional code.
11506         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11507         [__ASSUME_32BITUIDS]: Make code unconditional.
11508         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11509         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11510         <kernel-features.h>.
11511         [__ASSUME_32BITUIDS]: Make code unconditional.
11512         [!__ASSUME_32BITUIDS]: Remove conditional code.
11513         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11514         <kernel-features.h>.
11515         [__ASSUME_32BITUIDS]: Make code unconditional.
11516         [!__ASSUME_32BITUIDS]: Remove conditional code.
11517         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11518         <kernel-features.h>.
11519         [__ASSUME_32BITUIDS]: Make code unconditional.
11520         [!__ASSUME_32BITUIDS]: Remove conditional code.
11521         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11522         <kernel-features.h>.
11523         [__ASSUME_32BITUIDS]: Make code unconditional.
11524         [!__ASSUME_32BITUIDS]: Remove conditional code.
11525         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11526         <kernel-features.h>.
11527         [__ASSUME_32BITUIDS]: Make code unconditional.
11528         [!__ASSUME_32BITUIDS]: Remove conditional code.
11529         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11530         <kernel-features.h>.
11531         [__ASSUME_32BITUIDS]: Make code unconditional.
11532         [!__ASSUME_32BITUIDS]: Remove conditional code.
11533         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11534         <kernel-features.h>.
11535         [__ASSUME_32BITUIDS]: Make code unconditional.
11536         [!__ASSUME_32BITUIDS]: Remove conditional code.
11537         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11538         <kernel-features.h>.
11539         [__ASSUME_32BITUIDS]: Make code unconditional.
11540         [!__ASSUME_32BITUIDS]: Remove conditional code.
11541         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11542         <kernel-features.h>.
11543         [__ASSUME_32BITUIDS]: Make code unconditional.
11544         [!__ASSUME_32BITUIDS]: Remove conditional code.
11545         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11546         <kernel-features.h>.
11547         [__ASSUME_32BITUIDS]: Make code unconditional.
11548         [!__ASSUME_32BITUIDS]: Remove conditional code.
11549         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11550         <kernel-features.h>.
11551         [__NR_setresgid] (__setresgid): Do not declare.
11552         [__ASSUME_32BITUIDS]: Make code unconditional.
11553         [!__ASSUME_32BITUIDS]: Remove conditional code.
11554         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11555         <kernel-features.h>.
11556         [__NR_setresuid] (__setresuid): Do not declare.
11557         [__ASSUME_32BITUIDS]: Make code unconditional.
11558         [!__ASSUME_32BITUIDS]: Remove conditional code.
11559         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11560         <kernel-features.h>.
11561         [__ASSUME_32BITUIDS]: Make code unconditional.
11562         [!__ASSUME_32BITUIDS]: Remove conditional code.
11563         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11564         <kernel-features.h>.
11565         [__ASSUME_32BITUIDS]: Make code unconditional.
11566         [!__ASSUME_32BITUIDS]: Remove conditional code.
11567         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11568         <kernel-features.h>.
11569         [__ASSUME_32BITUIDS]: Make code unconditional.
11570         [!__ASSUME_32BITUIDS]: Remove conditional code.
11571         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11572         <kernel-features.h>.
11573         [__ASSUME_32BITUIDS]: Make code unconditional.
11574         [!__ASSUME_32BITUIDS]: Remove conditional code.
11575         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11576         <kernel-features.h>.
11577         [__ASSUME_32BITUIDS]: Make code unconditional.
11578         [!__ASSUME_32BITUIDS]: Remove conditional code.
11579         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11580         <kernel-features.h>.
11581         [__ASSUME_32BITUIDS]: Make code unconditional.
11582         [!__ASSUME_32BITUIDS]: Remove conditional code.
11583         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11584         <kernel-features.h>.
11585         [__ASSUME_32BITUIDS]: Make code unconditional.
11586         [!__ASSUME_32BITUIDS]: Remove conditional code.
11587         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11588         <kernel-features.h>.
11589         [__ASSUME_32BITUIDS]: Make code unconditional.
11590         [!__ASSUME_32BITUIDS]: Remove conditional code.
11591         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11592         <kernel-features.h>.
11593         [__ASSUME_32BITUIDS]: Make code unconditional.
11594         [!__ASSUME_32BITUIDS]: Remove conditional code.
11595         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11596         <kernel-features.h>.
11597         [__ASSUME_32BITUIDS]: Make code unconditional.
11598         [!__ASSUME_32BITUIDS]: Remove conditional code.
11599         * sysdeps/unix/sysv/linux/kernel-features.h
11600         (__ASSUME_SETRESUID_SYSCALL): Remove.
11601         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11602         (__ASSUME_32BITUIDS): Likewise.
11603         (__ASSUME_LDT_WORKS): Likewise.
11604         (__ASSUME_O_DIRECTORY): Likewise.
11605         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11606         architecture but not kernel version.
11607         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11608         (__ASSUME_MMAP2_SYSCALL): Likewise.
11609         (__ASSUME_STAT64_SYSCALL): Likewise.
11610         (__ASSUME_IPC64): Likewise.
11611         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11612         <kernel-features.h>.
11613         [__ASSUME_32BITUIDS]: Make code unconditional.
11614         [!__ASSUME_32BITUIDS]: Remove conditional code.
11615         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11616         <kernel-features.h>.
11617         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11618         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11619         132096]: Remove conditional code.
11620         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11621         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11622         <kernel-features.h>.
11623         [__ASSUME_32BITUIDS]: Make code unconditional.
11624         [!__ASSUME_32BITUIDS]: Remove conditional code.
11625         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11626         <kernel-features.h>.
11627         [__ASSUME_32BITUIDS]: Make code unconditional.
11628         [!__ASSUME_32BITUIDS]: Remove conditional code.
11629         * sysdeps/unix/sysv/linux/setegid.c: Do not include
11630         <kernel-features.h>.
11631         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11632         unconditional.
11633         (__setresgid): Do not declare.
11634         [__ASSUME_32BITUIDS]: Make code unconditional.
11635         [!__ASSUME_32BITUIDS]: Remove conditional code.
11636         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11637         <kernel-features.h>.
11638         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11639         unconditional.
11640         (__setresuid): Do not declare.
11641         [__ASSUME_32BITUIDS]: Make code unconditional.
11642         [!__ASSUME_32BITUIDS]: Remove conditional code.
11643         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11644         <kernel-features.h>.
11645         [__ASSUME_32BITUIDS]: Make code unconditional.
11646         [!__ASSUME_32BITUIDS]: Remove conditional code.
11647         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11648         <kernel-features.h>.
11649         [__ASSUME_32BITUIDS]: Make code unconditional.
11650         [!__ASSUME_32BITUIDS]: Remove conditional code.
11652 2012-05-25  Richard Henderson  <rth@twiddle.net>
11654         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11655         dl_hwcap to ifunc resolver.
11656         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11657         elf_ifunc_invoke.
11658         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11659         dl_hwcap to ifunc resolver.
11660         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11662 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11664         [BZ #14153]
11665         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11666         for |x| <= 2**-26, not 2**-57.
11667         * math/libm-test.inc (acos_test): Do not allow spurious underflow
11668         exception.
11670 2012-05-24  Jeff Law  <law@redhat.com>
11672         * stdio-common/Makefile (tests): Add bug25.
11673         * stdio-common/bug25.c: New test.
11675 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11677         [BZ #13576]
11678         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11679         multiple of MALLOC_ALIGNMENT in size.
11680         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11682 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11684         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11685         Require >= 256.
11686         (FILENAME_MAX): Use macro-int-constant.
11687         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
11688         (_IOFBF): Use macro-int-constant.
11689         (_IOLBF): Likewise.
11690         (_IONBF): Likewise.
11691         (SEEK_CUR): Likewise.
11692         (SEEK_END): Likewise.
11693         (SEEK_SET): Likewise.
11694         (TMP_MAX): Likewise.
11695         (EOF): Use macro-int-constant.  Require < 0.
11696         (NULL): Use macro-constant.  Require == 0.
11697         (stdin): Require type to be FILE *.
11698         (stdout): Likewise.
11699         (stderr): Likewise.
11700         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11701         macro-int-constant.
11702         (EXIT_SUCCESS): Likewise.
11703         (NULL): Use macro-constant.  Require == 0.
11704         (RAND_MAX): Use macro-int-constant.
11705         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11706         [C99-based standards] (strtof): Require function.
11707         [C99-based standards] (strtold): Likewise.
11708         [C99-based standards] (strtoll): Likewise.
11709         [C99-based standards] (strtoull): Likewise.
11710         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11711         [ISO || ISO99 || ISO11] (limits.h): Likewise.
11712         [ISO || ISO99 || ISO11] (math.h): Likewise.
11713         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11714         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11715         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11717 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
11719         [BZ #14132]
11720         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11721         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11722         * intl/dgettext.c (DCGETTEXT): Likewise.
11723         * intl/gettext.c (DCGETTEXT): Likewise.
11724         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11725         * posix/regex_internal.h (gettext): Likewise.
11726         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11727         Remove declaration.
11728         * include/argz.h (__argz_count_internal)
11729         (__argz_stringify_internal): Remove declaration.
11730         (__argz_count, __argz_stringify): Declare hidden proto.
11731         * intl/dcgettext.c: Remove use of INTDEF.
11732         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11733         * string/argz-stringify.c: Likewise.
11734         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11735         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11736         Declare hidden proto.
11737         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11738         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11739         Declare hidden proto.
11740         * include/stdio.h (__asprintf_internal): Don't declare.
11741         (__asprintf): Don't define as macro.  Declare hidden proto.
11742         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11743         (__fsetlocking): Declare hidden proto.
11744         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11745         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11746         hidden proto.
11747         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11748         (_IO_setlinebuf): Remove use of INTUSE.
11749         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11750         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11751         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11752         Remove declaration.
11753         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11754         (_IO_do_flush): Remove use of INTUSE.
11755         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11756         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11757         (_IO_adjust_column, _IO_least_wmarker)
11758         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11759         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11760         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11761         (_IO_default_doallocate, _IO_wdefault_doallocate)
11762         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11763         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11764         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11765         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11766         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11767         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11768         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11769         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11770         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11771         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11772         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11773         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11774         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11775         proto.
11776         (_IO_flush_all_internal, _IO_adjust_column_internal)
11777         (_IO_default_uflow_internal, _IO_default_finish_internal)
11778         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11779         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11780         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11781         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11782         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11783         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11784         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11785         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11786         (_IO_file_close_internal, _IO_file_close_it_internal)
11787         (_IO_file_underflow_internal, _IO_file_overflow_internal)
11788         (_IO_file_init_internal, _IO_file_attach_internal)
11789         (_IO_file_fopen_internal, _IO_file_read_internal)
11790         (_IO_file_sync_internal, _IO_file_seek_internal)
11791         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11792         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11793         (_IO_str_underflow_internal, _IO_str_overflow_internal)
11794         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11795         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11796         (_IO_list_all_internal, _IO_link_in_internal)
11797         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11798         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11799         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11800         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11801         (_IO_do_write_internal, _IO_padn_internal)
11802         (_IO_getline_info_internal, _IO_getline_internal)
11803         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11804         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11805         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11806         (_IO_vfscanf_internal, _IO_vfprintf_internal)
11807         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11808         (_IO_init_internal, _IO_un_link_internal): Don't declare.
11809         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11810         with libc_hidden_ver, remove use of INTUSE.
11811         * libio/genops.c: Likewise.
11812         * libio/freopen.c: Likewise.
11813         * libio/freopen64.c: Likewise.
11814         * libio/iofclose.c: Likewise.
11815         * libio/iofdopen.c: Likewise.
11816         * libio/iofflush.c: Likewise.
11817         * libio/iofflush_u.c: Likewise.
11818         * libio/iofgets.c: Likewise.
11819         * libio/iofgets_u.c: Likewise.
11820         * libio/iofopen.c: Likewise.
11821         * libio/iofopncook.c: Likewise.
11822         * libio/iofread.c: Likewise.
11823         * libio/iofread_u.c: Likewise.
11824         * libio/ioftell.c: Likewise.
11825         * libio/iofwrite.c: Likewise.
11826         * libio/iogetline.c: Likewise.
11827         * libio/iogets.c: Likewise.
11828         * libio/iogetwline.c: Likewise.
11829         * libio/iopadn.c: Likewise.
11830         * libio/iopopen.c: Likewise.
11831         * libio/ioseekoff.c: Likewise.
11832         * libio/ioseekpos.c: Likewise.
11833         * libio/iosetbuffer.c: Likewise.
11834         * libio/iosetvbuf.c: Likewise.
11835         * libio/ioungetc.c: Likewise.
11836         * libio/ioungetwc.c: Likewise.
11837         * libio/iovdprintf.c: Likewise.
11838         * libio/iovsprintf.c: Likewise.
11839         * libio/iovsscanf.c: Likewise.
11840         * libio/memstream.c: Likewise.
11841         * libio/obprintf.c: Likewise.
11842         * libio/oldfileops.c: Likewise.
11843         * libio/oldiofclose.c: Likewise.
11844         * libio/oldiofdopen.c: Likewise.
11845         * libio/oldiofopen.c: Likewise.
11846         * libio/oldiopopen.c: Likewise.
11847         * libio/oldstdfiles.c: Likewise.
11848         * libio/putc.c: Likewise.
11849         * libio/setbuf.c: Likewise.
11850         * libio/setlinebuf.c: Likewise.
11851         * libio/stdfiles.c: Likewise.
11852         * libio/strops.c: Likewise.
11853         * libio/vasprintf.c: Likewise.
11854         * libio/vscanf.c: Likewise.
11855         * libio/vsnprintf.c: Likewise.
11856         * libio/vswprintf.c: Likewise.
11857         * libio/wfiledoalloc.c: Likewise.
11858         * libio/wfileops.c: Likewise.
11859         * libio/wgenops.c: Likewise.
11860         * libio/wmemstream.c: Likewise.
11861         * libio/wstrops.c: Likewise.
11862         * libio/__fpurge.c: Likewise.
11863         * libio/__fsetlocking.c: Likewise.
11864         * assert/assert.c: Likewise.
11865         * debug/fgets_chk.c: Likewise.
11866         * debug/fgets_u_chk.c: Likewise.
11867         * debug/fread_chk.c: Likewise.
11868         * debug/fread_u_chk.c: Likewise.
11869         * debug/gets_chk.c: Likewise.
11870         * debug/obprintf_chk.c: Likewise.
11871         * debug/vasprintf_chk.c: Likewise.
11872         * debug/vdprintf_chk.c: Likewise.
11873         * debug/vsnprintf_chk.c: Likewise.
11874         * debug/vsprintf_chk.c: Likewise.
11875         * malloc/mtrace.c: Likewise.
11876         * misc/error.c: Likewise.
11877         * misc/syslog.c: Likewise.
11878         * stdio-common/asprintf.c: Likewise.
11879         * stdio-common/fxprintf.c: Likewise.
11880         * stdio-common/getw.c: Likewise.
11881         * stdio-common/isoc99_fscanf.c: Likewise.
11882         * stdio-common/isoc99_scanf.c: Likewise.
11883         * stdio-common/isoc99_vfscanf.c: Likewise.
11884         * stdio-common/isoc99_vscanf.c: Likewise.
11885         * stdio-common/isoc99_vsscanf.c: Likewise.
11886         * stdio-common/printf-prs.c: Likewise.
11887         * stdio-common/printf_fp.c: Likewise.
11888         * stdio-common/printf_fphex.c: Likewise.
11889         * stdio-common/printf_size.c: Likewise.
11890         * stdio-common/putw.c: Likewise.
11891         * stdio-common/scanf.c: Likewise.
11892         * stdio-common/sprintf.c: Likewise.
11893         * stdio-common/tmpfile.c: Likewise.
11894         * stdio-common/vfprintf.c: Likewise.
11895         * stdio-common/vfscanf.c: Likewise.
11896         * stdlib/strfmon_l.c: Likewise.
11897         * sunrpc/openchild.c: Likewise.
11898         * sunrpc/xdr_stdio.c: Likewise.
11899         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11900         * sysdeps/mach/hurd/tmpfile.c: Likewise.
11902 2012-05-24  Roland McGrath  <roland@hack.frob.com>
11904         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11906         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11907         in the third column, to generate for the shared library an IFUNC
11908         that uses _dl_vdso_vsym.
11909         * Makerules (COMPILE.c, compile-stdin.c): New variables.
11910         * Makeconfig (object-suffixes-noshared): New variable.
11912         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11913         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11914         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11915         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11917         [BZ #14132]
11918         * include/sys/time.h (__gettimeofday): Remove macro.
11919         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11920         * time/gettimeofday.c (__gettimeofday): Remove #undef.
11921         Remove INTDEF.
11922         (__gettimeofday): Add libc_hidden_def.
11923         (gettimeofday): Add libc_hidden_weak.
11924         * sysdeps/mach/gettimeofday.c: Likewise.
11925         * sysdeps/posix/gettimeofday.c: Likewise.
11926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11927         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11928         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11929         (__gettimeofday_internal): Remove strong_alias.
11930         (__gettimeofday): Add libc_hidden_def.
11931         (gettimeofday): Add libc_hidden_weak.
11932         * sysdeps/unix/syscalls.list (gettimeofday):
11933         Remove __gettimeofday_internal alias.
11935 2012-05-24  Daniel Jacobowitz  <drow@false.org>
11936             H.J. Lu  <hongjiu.lu@intel.com>
11938         [BZ #12495]
11939         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11940         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11941         (largebin_index_32_big): New.
11942         (largebin_index): Use it for 16-byte alignment.
11943         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
11944         correction with front_misalign.
11946 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11950         Likewise.
11951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11952         Likewise.
11953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11954         Likewise.
11955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11956         Likewise.
11957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11958         Likewise.
11959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11960         Likewise.
11961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11962         Likewise.
11963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11964         Likewise.
11965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11966         Likewise.
11967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11968         Likewise.
11969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11970         Likewise.
11971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11972         Likewise.
11974         * scripts/data/c++-types-x32-linux-gnu.data: New file.
11975         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11977 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11979         [BZ #10846]
11980         [BZ #14036]
11981         * math/libm-test.inc (exp_test): Add test from bug 14036.
11982         (pow_test): Add test from bug 10846.
11984         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11985         and other flags.
11986         (special_function): Do not include flags in test name.
11987         (parse_args): Likewise.
11988         * sysdeps/i386/fpu/libm-test-ulps: Update.
11989         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11990         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11991         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11994         * math/gen-libm-test.pl (%beautify): Add entries for underflow
11995         exceptions.
11996         * math/libm-test.inc ("Philosophy"): Update comment about
11997         exception testing.
11998         (UNDERFLOW_EXCEPTION): New macro.
11999         (UNDERFLOW_EXCEPTION_OK): Likewise.
12000         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12001         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12002         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12003         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12004         (INVALID_EXCEPTION_OK): Update value.
12005         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12006         (OVERFLOW_EXCEPTION_OK): Likewise.
12007         (IGNORE_ZERO_INF_SIGN): Likewise.
12008         (test_exceptions): Handle underflow exceptions.
12009         (acos_test): Update for underflow exception expectations.
12010         (cexp_test): Likewise.
12011         (clog_test): Likewise.
12012         (clog10_test): Likewise.
12013         (csqrt_test): Likewise.
12014         (ctan_test): Likewise.
12015         (ctanh_test): Likewise.
12016         (exp_test): Likewise.
12017         (exp10_test): Likewise.
12018         (exp2_test): Likewise.
12019         (expm1_test): Likewise.
12020         (fma_test): Likewise.
12021         (j0_test): Likewise.
12022         (jn_test): Likewise.
12023         (nexttoward_test): Likewise.
12024         (pow_test): Likewise.
12025         (scalbn_test): Likewise.
12026         (scalbln_test): Likewise.
12027         (tan_test): Likewise.
12028         (y1_test): Likewise.
12029         * sysdeps/i386/fpu/libm-test-ulps: Update.
12030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12032 2012-05-23  David S. Miller  <davem@davemloft.net>
12034         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12035         (__libc_sigaction): Remove unused local variables.
12037 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12039         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12041 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12043         mktime: avoid signed integer overflow
12044         * time/mktime.c (__mktime_internal): Do not mishandle the case
12045         where diff == INT_MIN.
12047         mktime: simplify computation of average
12048         * time/mktime.c (ranged_convert): Use new time_t_avg function
12049         instead of rolling our own (probably-slower) code.
12051         mktime: do not assume signed right shift propagates sign bit
12052         * time/mktime.c (isdst_differ): New static function.
12053         (__mktime_internal): No need to normalize tm_isdst now.
12054         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12055         tm_isdst values.
12057         mktime: merge another wrapv change from gnulib
12058         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12059         from some compilers.
12061         mktime: remove incorrect attempt at unusual arithmetics
12062         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12063         The code didn't really work on such machines anyway.
12064         (TYPE_MINIMUM): Assume two's complement.
12065         (twos_complement_arithmetic): Verify that long_int and time_t
12066         are two's complement (or unsigned, in the latter case).
12068         mktime: check signed shifts on long_int and time_t, too
12069         * time/mktime.c (SHR): Check that shifts work as desired
12070         on the types long_int and time_t too, as SHR is used on
12071         such types.
12073         mktime: do not assume 'long' is wide enough
12074         * time/mktime.c (verify): Move decl up.
12075         (long_int): New type.
12076         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12077         to remove assumption in the code that 'long' is wide enough to
12078         store year values.  This assumption is not true on x32 and on
12079         some non-glibc platforms.
12081         mktime: merge wrapv change from gnulib
12082         * time/mktime.c (WRAPV): New macro.
12083         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12084         (guess_time_tm, __mktime_internal): Do not assume that signed
12085         integer overflow wraps around; modern compilers generate code
12086         where this assumption is no longer valid.
12088 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12090         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12091         Replace "jmp L(pseudo_end)" with "ret".
12092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12093         Likewise.
12095 2012-05-23  Andreas Jaeger  <aj@suse.de>
12097         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12098         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12100 2012-05-23  Andreas Jaeger  <aj@suse.de>
12101             Maximilian Attems  <max@stro.at>
12103         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12104         New macros.
12106 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12108         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12109         code so that pseudo_end is just ret and the stack pointer is
12110         correct also for static library in error case.
12112 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12114         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12115         move to syscalls.list.
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12121         * manual/install.texi (Running make install): Do not mention Linux
12122         kernel version for which pt_chown is not needed.
12123         (Linux): Do not mention problems with nscd with 2.0 kernels.
12124         * INSTALL: Regenerated.
12126 2012-05-23  Andreas Jaeger  <aj@suse.de>
12128         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12129         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12130         macro.
12131         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12133         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12134         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12135         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12136         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12137         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12138         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12139         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12140         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12141         * sysdeps/unix/sysv/linux/bits/in.h
12142         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12144 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12146         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12147         (PREPARE_VERSION): Just use assert instead, it will be elided
12148         under [NDEBUG] anyway.
12150 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12152         * sysdeps/unix/sysv/linux/Makefile: Include
12153         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12154         (sysdep_routines): Remove sysctl.
12155         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12156         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12157         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12158         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12159         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12161 2012-05-22  Andreas Jaeger  <aj@suse.de>
12163         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12164         that pseudo_end is just ret and the stack pointer is correct also
12165         for static library in error case.
12167 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12169         [BZ #14122]
12170         * nss/nsswitch.c (defconfig_entries): New variable.
12171         (__nss_database_lookup): Don't leak defconfig entries.
12172         (nss_parse_service_list): Don't leak on error paths.
12173         (free_database_entries): New function.
12174         (free_defconfig): New function.
12175         (free_mem): Move common code to free_database_entries.
12177 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12179         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12180         Add arch_prctl.
12181         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12183         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12184         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12186         New macro.
12187         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12188         (INTERNAL_SYSCALL_TYPES): Likewise.
12189         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12190         (LOAD_REGS_TYPES_[1-6]): Likewise.
12191         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12192         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12194 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12196         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12197         copysignl for GLIBC_2_0.
12198         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12199         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12200         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12201         logbl for GLIBC_2_0.
12202         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12203         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12205 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12207         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12208         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12210         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12211         Use "neg %eax".
12213         * time/mktime.c: Update copyright years.
12215 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12217         mktime: merge comment-quoting-style change from gnulib
12218         * time/mktime.c: Quote 'like this' in comments.
12219         The GNU coding standards suggest that we no longer quote `like this',
12220         as "`" and "'" are typically rendered asymmetrically nowadays.
12221         The typical gnulib style is to quote 'like this' when quoting
12222         code, and "like this" when quoting English.
12224         * time/mktime.c (compile-command): Add "-I.".
12226         mktime: merge mktime-internal.h change from gnulib
12227         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12229         mktime: merge time_r change from gnulib
12230         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12232         mktime: merge DEBUG change from gnulib
12233         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12234         case system <time.h> has a #define.
12236         mktime: merge <sys/types.h> change from gnulib
12237         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12238         since <time.t> is now guaranteed to define time_t.
12240         mktime: merge HAVE_CONFIG_H change from gnulib
12241         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12243 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12245         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12246         Use "neg %eax".
12248         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12249         __rlim_t cast.
12250         (struct rusage): Use anonymous union to pad each field to
12251         __syscall_slong_t.
12253 2012-05-21  David S. Miller  <davem@davemloft.net>
12255         * Makefules (o-iterator): Remove .s cases.
12256         (compile-command.s): Delete.
12257         (COMPILE.s): Delete.
12258         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12260 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12262         * configure.in (libc_cv_predef_stack_protector): Only consider
12263         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12264         * configure: Regenerated.
12266 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12268         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12269         New macro.  Use R*LP on int and pointer.
12270         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12271         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12272         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12273         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12275         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12276         [__WORDSIZE_TIME64_COMPAT32] instead of
12277         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12278         (struct utmp): Likewise.
12279         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12280         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12281         Renamed to ...
12282         (__WORDSIZE_TIME64_COMPAT32): This.
12283         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12284         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12285         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12286         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12287         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12288         (__WORDSIZE_TIME64_COMPAT32): New macro.
12290 2012-05-21  Andreas Jaeger  <aj@suse.de>
12292         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12293         only if [SHARED]. Add prototype for __wcschr_ia32.
12295 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12297         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12298         of %rbp unmolested in the jmp_buf while mangling the low bits.
12299         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12300         unmolested high bits of %rbp while demangling the low bits.
12301         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12303 2012-05-21  Andreas Jaeger  <aj@suse.de>
12305         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12306         * sunrpc/svc_simple.c: Use it for registerrpc.
12307         * sunrpc/xcrypt.c: Use it for passwd2des.
12309         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12311 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12313         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12314         Don't define if [__SYSCALL_WORDSIZE != 32].
12315         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12316         New macro.
12318 2012-05-21  Bruno Haible  <bruno@clisp.org>
12319             Andreas Jaeger  <aj@suse.de>
12321         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12322         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12323         inptr and inend for must_buffer_ch.
12324         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12325         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12326         * stdio-common/Makefile (tests): Remove bug15.
12327         (bug15-ENV): Remove macro.
12328         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12329         anymore.
12331 2012-05-19  Andreas Jaeger  <aj@suse.de>
12332             Roland McGrath  <roland@hack.frob.com>
12334         * manual/contrib.texi: Completely rewritten. It contains now an
12335         alphabetical list of contributors and their contributions.
12337 2012-05-21  Richard Henderson  <rth@twiddle.net>
12339         * misc/getauxval.c (__getauxval): Use unsigned long int.
12340         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12341         (getauxval): Use unsigned long int.
12343 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12345         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12347 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12349         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12350         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12351         __alignof__ (long double).
12353 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12357 2012-05-20  Richard Henderson  <rth@twiddle.net>
12359         * misc/getauxval.c: New file.
12360         * misc/sys/auxv.h: New file.
12361         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12362         (routines): Add getauxval.
12363         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12364         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12365         * elf/dl-sysdep.c (_dl_auxv): Remove.
12366         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12367         * elf/dl-support.c (_dl_auxv): New variable.
12368         (_dl_aux_init): Initialize it.
12369         * manual/startup.texi (Auxiliary Vector): New node.
12370         * sysdeps/generic/bits/hwcap.h: New file.
12371         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12372         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12373         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12374         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12375         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12376         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12378         Update.
12379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12382         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12388 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12392 2012-05-19  David S. Miller  <davem@davemloft.net>
12394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12396 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12398         [BZ #14123]
12399         * math/s_ccosh.c: Include <float.h>
12400         (__ccosh): Avoid internal overflow calculating sinh and cosh
12401         values before multiplying by sin and cos values.
12402         * math/s_ccoshf.c: Likewise.
12403         * math/s_ccoshl.c: Likewise.
12404         * math/s_csin.c: Likewise.
12405         * math/s_csinf.c: Likewise.
12406         * math/s_csinl.c: Likewise.
12407         * math/s_csinh.c: Likewise.
12408         * math/s_csinhf.c: Likewise.
12409         * math/s_csinhl.c: Likewise.
12410         * math/libm-test.inc (ccos_test): Add more tests.
12411         (ccosh_test): Likewise.
12412         (csin_test): Likewise.
12413         (csinh_test): Likewise.
12414         * sysdeps/i386/fpu/libm-test-ulps: Update.
12415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12417 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12419         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12420         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12422         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12424 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12426         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12427         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12428         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12429         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12430         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12431         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12432         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12433         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12434         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12435         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12436         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12437         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12438         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12439         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12440         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12441         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12442         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12443         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12444         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12445         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12446         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12447         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12448         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12449         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12450         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12451         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12452         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12453         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12454         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12455         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12456         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12458 2012-05-18  Andreas Jaeger  <aj@suse.de>
12460         * csu/.gitignore: Delete.
12462 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12464         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12465         (timex): Use __syscall_slong_t.
12467 2012-05-18  Andreas Jaeger  <aj@suse.de>
12468             Carlos O'Donell  <carlos_odonell@mentor.com>
12470         * manual/install.texi (Configuring and compiling): Update
12471         description about files modified in the source directory.
12472         * INSTALL: Regenerated.
12474 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12476         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12477         value.  Use "or" to set return value to -1.
12478         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12479         negate return value.
12481 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12483         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12484         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12485         failure if the compiler has Graphite support disabled.
12486         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12487         Likewise.
12488         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12489         CFLAGS-memmove.c): Likewise.
12490         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12491         Likewise.
12493 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12495         * sysdeps/x86_64/x32/_itoa.h: New file.
12497         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12498         getdents system call only if kernel and user dirents have the
12499         same d_ino and d_off.
12501         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12502         LLONG_MAX != LONG_MAX.
12503         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12504         (_fitoa_word): Likewise.
12506         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12507         years.
12508         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12509         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12510         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12512         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12513         include <bits/wordsize.h>.  Check __x86_64__ instead of
12514         __WORDSIZE.
12515         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12516         if __x86_64__ is defined.  Use anonymous union on fpstate.
12518         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12519         anonymous union.
12521 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12523         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12524         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12525         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12526         Refer to _rtld_local_ro instead of _rtld_global_ro.
12527         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12528         Likewise.
12529         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12530         Likewise.
12531         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12532         Likewise.
12533         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12534         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12535         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12537         * sysdeps/powerpc/powerpc32/dl-machine.c
12538         (__elf_machine_runtime_setup) [PROF]: Don't reference
12539         _dl_prof_resolve.
12541 2012-05-18  Andreas Jaeger  <aj@suse.de>
12543         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12544         function only available for GCCs before 3.4 since GCC 3.4
12545         introduced a builtin.
12546         (lrint): Likewise.
12547         (llrintf): Likewise.
12548         (llrint): Likewise.
12549         (fmaxf): Likewise.
12550         (fmax): Likewise.
12551         (fminf): Likewise.
12552         (fmin): Likewise.
12553         (rint): Likewise.
12554         (rintf): Likewise.
12555         (nearbyint): Likewise.
12556         (nearbyintf): Likewise.
12557         (ceil): Likewise.
12558         (ceilf): Likewise.
12559         (floor): Likewise.
12560         (floorf): Likewise.
12562 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12564         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12565         on both fields and cast pointer to __syscall_ulong_t.
12567         * bits/types.h (__fsword_t): New type.
12568         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12569         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12570         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12571         (__FSWORD_T_TYPE): Likewise.
12572         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12573         (__FSWORD_T_TYPE): Likewise.
12574         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12575         (__FSWORD_T_TYPE): Likewise.
12576         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12577         (__FSWORD_T_TYPE): Likewise.
12578         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12579         __SWORD_TYPE with __fsword_t.
12580         (statfs64): Likewise.
12582 2012-05-17  David S. Miller  <davem@davemloft.net>
12584         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12586 2012-05-17  Andreas Jaeger  <aj@suse.de>
12588         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12589         warning.
12591 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12593         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12595 2012-05-17  Andreas Jaeger  <aj@suse.de>
12597         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12598         when it is used.
12600 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12602         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12604 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12606         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12607         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12609 2012-05-17  Andreas Jaeger  <aj@suse.de>
12610             Carlos O'Donell  <carlos_odonell@mentor.com>
12612         [BZ #14059]
12613         * sysdeps/x86_64/multiarch/init-arch.h
12614         (bit_YMM_Usable): Rename to...
12615         (bit_AVX_Usable): ... this.
12616         (bit_FMA4_Usable): New macro.
12617         (bit_XMM_state): New macro.
12618         (bit_YMM_state): New macro.
12619         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12620         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12621         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12622         (CPUID_OSXSAVE): New macro.
12623         (CPUID_AVX): New macro.
12624         (CPUID_FMA4): New macro.
12625         (index_YMM_Usable): Rename to...
12626         (index_AVX_Usable): ... this.
12627         (HAS_AVX): Use HAS_ARCH_FEATURE.
12628         (HAS_FMA4): Likewise.
12629         (HAS_YMM_USABLE): Remove.
12630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12631         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12632         are present.
12633         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12634         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12635         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12636         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12637         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12639 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12641         * math/libm-test.c: Support platforms without multiple rounding modes.
12642         * math/bug-nextafter.c: Support platforms without FP exceptions.
12643         * math/bug-nexttoward.c: Likewise.
12644         * math/test-fenv.c: Likewise.
12645         * math/test-misc.c: Likewise.
12646         * stdlib/bug-getcontext.c: Likewise.
12648 2012-05-17  Andreas Jaeger  <aj@suse.de>
12650         * manual/examples/search.c (critter_cmp): Change signature to
12651         avoid warnings.
12652         * manual/string.texi (Collation Functions): Likewise.
12654 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12656         * bits/types.h: Fold copyright years.
12657         * bits/typesizes.h: Likewise.
12658         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12659         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12660         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12661         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12662         * time/time.h: Likewise.
12664 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
12666         [BZ #208]
12667         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12668         in instead of returning them.  Return void.
12669         (__libc_mallinfo): Accumulate over all arenas.
12670         (__malloc_stats): Adjust for change in int_mallinfo interface.
12672 2012-05-16  Roland McGrath  <roland@hack.frob.com>
12674         [BZ #10375]
12675         * configure.in (NM): Add AC_CHECK_TOOL for it.
12676         (libc_extra_cflags): New substituted variable.
12677         Check for -fstack-protector being used implicitly.
12678         * configure: Regenerated.
12679         * config.make.in (config-extra-cflags): New variable,
12680         gets @libc_extra_cflags@.
12681         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12683         [BZ #10375]
12684         * configure.in: Check for _FORTIFY_SOURCE being predefined.
12685         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12686         * configure: Regenerated.
12687         * config.make.in (CPPUNDEFS): New substituted variable.
12688         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12689         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12690         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12692 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12694         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12695         (mq_attr): Use __syscall_slong_t.
12697 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12699         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12700         Check __x86_64__ instead of __WORDSIZE.
12701         (_STAT_VER_LINUX): Likewise.
12702         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
12703         __syscall_ulong_t and __syscall_slong_t.
12704         (stat64): Likewise.
12706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12708         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12710 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12712         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12714 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12716         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12717         __syscall_ulong_t.
12719         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12720         include <bits/wordsize.h>.  Check __x86_64__ instead of
12721         __WORDSIZE.
12722         (greg_t): Use "__extension__ long long int" if __x86_64__ is
12723         defined.
12724         (mcontext_t): Replace "unsigned long" with "unsigned long long".
12726         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12727         include <bits/wordsize.h>.  Check __x86_64__ instead of
12728         __WORDSIZE.
12729         (user_regs_struct): Use "__extension__ unsigned long long"
12730         instead of "unsigned long" if __x86_64__ is defined.
12731         (user): Likewise.  Pad after pointer field if __ILP32__ is
12732         defined.
12734 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
12736         * configure.in (makeinfo): Require version 4.5 or later.  Allow
12737         versions 5 to 9.
12738         * configure: Regenerated.
12739         * manual/install.texi (texinfo): Increase version requirement to
12740         4.5 or later.
12741         * INSTALL: Regenerated.
12743         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12745 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12747         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12749         * sysdeps/x86_64/x32/ffs.c: New file.
12751         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12752         __syscall_ulong_t.
12753         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12754         defined.  Use __syscall_ulong_t.
12755         (shminfo): Use __syscall_ulong_t.
12756         (shm_info): Likewise.
12758         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12759         __syscall_ulong_t.
12761         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12762         <bits/wordsize.h>.
12763         (msgqnum_t): Use __syscall_ulong_t.
12764         (msglen_t): Likewise.
12765         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
12766         __syscall_ulong_t.
12768         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12769         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12771         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12773         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12774         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12776         * sysvipc/sys/msg.h (msgbuf): Replace long int with
12777         __syscall_slong_t.
12779         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12780         include <bits/wordsize.h>.  Check __x86_64__ instead of
12781         __WORDSIZE.
12783         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12784         "unsigned long long int" if __x86_64__ is defined.
12785         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12787         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12788         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12789         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12791         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12792         <stdint.h>.
12793         (GET_PC): Cast to uintptr_t first.
12794         (GET_FRAME): Likewise.
12795         (GET_STACK): Likewise.
12797         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12798         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12799         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12800         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12801         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12802         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12803         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12804         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12805         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12806         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12807         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12808         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12809         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12810         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12811         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12812         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12813         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12814         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12815         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12816         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12817         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12818         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12819         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12820         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12821         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12822         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12823         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12824         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12825         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12827 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
12829         * Makerules (+depfiles): Also collect depfiles from .oS in
12830         $(extra-objs).
12831         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12832         .oS, $(libnldbl-routines)).
12834         * Makerules (native-compile-mkdep-flags): Define.
12835         * sunrpc/Makefile (extra-objs): Add $(addprefix
12836         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12837         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12838         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
12839         calling $(make-target-directory).
12841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12843         * bits/types.h (__snseconds_t): Removed.
12844         * time/time.h (struct timespec): Replace __snseconds_t with
12845         __syscall_slong_t.
12846         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12847         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12848         Likewise.
12849         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12850         (__SNSECONDS_T_TYPE): Likewise.
12851         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12852         (__SNSECONDS_T_TYPE): Likewise.
12853         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12854         (__SNSECONDS_T_TYPE): Likewise.
12856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12858         * sysdeps/mach/hurd/bits/typesizes.h
12859         (__SYSCALL_SLONG_TYPE): New macro.
12860         (__SYSCALL_ULONG_TYPE): Likewise.
12862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12864         * bits/types.h (__syscall_slong_t): New type.
12865         (__syscall_ulong_t): Likewise.
12867         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12868         (__SYSCALL_ULONG_TYPE): Likewise.
12869         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12870         (__SYSCALL_SLONG_TYPE): Likewise.
12871         (__SYSCALL_ULONG_TYPE): Likewise.
12872         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12873         (__SYSCALL_SLONG_TYPE): Likewise.
12874         (__SYSCALL_ULONG_TYPE): Likewise.
12875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12876         (__SYSCALL_SLONG_TYPE): Likewise.
12877         (__SYSCALL_ULONG_TYPE): Likewise.
12879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12881         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12882         Add sigaltstack-offsets.sym.
12883         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12884         <sigaltstack-offsets.h>.
12885         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
12886         longjmp_msg pointer.
12887         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
12888         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12889         signal stack.
12890         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12892 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12894         * elf/stackguard-macros.h: Remove file.
12895         * sysdeps/generic/stackguard-macros.h: New file.
12896         * sysdeps/i386/stackguard-macros.h: Likewise.
12897         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12898         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12899         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12900         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12901         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12902         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12903         * sysdeps/x86_64/stackguard-macros.h: Likewise.
12904         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12905         <elf/stackguard-macros.h>.
12907         [BZ #14109]
12908         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12909         __aligned__ in attribute.
12910         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12911         (gregset_t): Likewise.
12913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12915         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12916         * sysdeps/x86_64/64/Implies-after: Here.  New file.
12917         * sysdeps/x86_64/x32/Implies-after: New file.
12919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12921         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12922         and access return value for _dl_profile_fixup.  Use R10_LP to
12923         load frame size.
12925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12927         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12931         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12932         * sysdeps/x86_64/x32/sysdep.h: New file.
12934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12936         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12937         * sysdeps/x86_64/setjmp.S: Likewise.
12939 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12941         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12942         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12943         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12944         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12945         remove unused global constant.
12947 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
12949         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12950         include of <not-cancel.h>.
12952 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12954         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12956 2012-05-15  Jeff Law  <law@redhat.com>
12957             Andreas Jaeger  <aj@suse.de>
12959         [BZ #13594]
12960         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12961         out from...
12962         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12963         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12964         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12965         code changing __hst_map_handle.map.
12967 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12969         * configure.in (sysnames): Look for Implies-before and Implies-after
12970         files.
12971         * configure: Regenerated.
12973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12975         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12976         8-byte data alignment with LP_SIZE alignment.
12978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12980         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12981         into R10_LP.
12983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12985         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12989         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12990         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12991         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12992         Likewise.
12993         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12997         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12998         (stackinfo_sub_sp): Likewise.
13000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13002         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13003         RAX_LP.
13005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13007         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13008         into R*_LP.
13010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13012         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13013         sizes into R*_LP.
13015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13017         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13021         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13022         into R11_LP and load __x86_64_shared_cache_size_half into
13023         R8_LP.
13025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13027         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13028         R8_LP.
13030 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13032         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13033         logb for POWER7.
13034         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13035         logbf for POWER7.
13036         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13037         logbl for POWER7.
13038         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13039         powerpc32/power7/fpu/s_logb.c via #include.
13040         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13041         powerpc32/power7/fpu/s_logbf.c via #include.
13042         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13043         powerpc32/power7/fpu/s_logbl.c via #include.
13045 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13047         * README.libm: Remove file.
13049 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13051         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13052         count for x32.  Use R*_LP and omit operand-size suffix.
13054 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13056         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13057         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13058         * sysdeps/x86_64/x32/shlib-versions: New file.
13060 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13062         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13063         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13064         Use _dl_fatal_printf instead.
13066 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13068         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13069         set if not set by the user.  Do not allow for being unset.
13070         * sysdeps/unix/sysv/linux/configure: Regenerated.
13072 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13074         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13075         the `q' suffix from lea and replace .quad with ASM_ADDR.
13077 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13080         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13081         instead of $17.
13082         (PTR_DEMANGLE): Likewise.
13084 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13086         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13087         (LP_OP): Likewise.
13088         (ASM_ADDR): Likewise.
13089         (RAX_LP): Likewise.
13090         (RBP_LP): Likewise.
13091         (RBX_LP): Likewise.
13092         (RCX_LP): Likewise.
13093         (RDI_LP): Likewise.
13094         (RSI_LP): Likewise.
13095         (RSP_LP): Likewise.
13096         (R8_LP): Likewise.
13097         (R9_LP): Likewise.
13098         (R10_LP): Likewise.
13099         (R10_LP): Likewise.
13100         (R11_LP): Likewise.
13101         (R12_LP): Likewise.
13102         (R13_LP): Likewise.
13103         (R14_LP): Likewise.
13104         (R15_LP): Likewise.
13106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13108         * sysdeps/x86_64/x32/dl-machine.h: New file.
13110 2012-05-14  Andreas Jaeger  <aj@suse.de>
13112         * manual/Makefile (subdir): Remove export of subdir.
13113         (all): Remove target.
13114         (.PHONY): Remove all from list.
13115         (mkinstalldirs): Remove.
13116         (.PHONY): Remove installdirs from list.
13117         ($(inst_infodir)/libc.info): Use make-target-directory.
13118         (installdirs): Remove.
13119         (subdir_%): Remove.
13120         (glibc-targets): Remove.
13121         (lib): Remove.
13122         (stubs): Remove.
13123         ($(objpfx)stubs ../po/manual.pot): Remove.
13124         ($(objpfx)stamp%): Remove.
13125         (make-target-directory): Remove.
13126         (subdir_install): Remove.
13127         (routines): Remove.
13128         (aux): Remove.
13129         (sources): Remove.
13130         (objects): Remove.
13131         (headers): Remove.
13133         [BZ #13750]
13134         * manual/.gitignore: Remove, it's not needed anymore.
13135         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13136         all files in it.
13137         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13138         directory.
13139         (texis): Renamed to $(objpfx)texis.
13140         (texis-path): New, contains path to generated files.
13141         (chapters.%): Use texis-path for complete path, add extra argument
13142         libc-texinfo.sh.
13143         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13144         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13145         (summary,texi, stamp-summary): Use complete path of
13146         files. Generate files in build dir.
13147         (dir-add.texi): Build in build dir.
13148         (libm-err.texi,stamp-libm-err): Likewise.
13149         (version.texi, stamp-version): Likewise.
13150         (.%c.texi): Likewise.
13151         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13152         (mostlyclean): Remove target.
13153         (realclean): Remove target.
13154         (generated): Add new variable with contents from mostlyclean and
13155         realclean, remove entries duplicated in common-mostlyclean, add
13156         stamp-libm-err and stamp-version.
13157         (generated-dirs): Add libc directory.
13158         ($(inst_infodir)/libc.info): Install files from build dir.
13160         * manual/install.texi (Configuring and compiling): Adjust since
13161         the info files are not part of the tar ball anymore.
13163 2012-05-14  Andreas Jaeger  <aj@suse.de>
13165         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13166         variable.
13168 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13170         [BZ #13717]
13171         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13172         to 2.2.0 where earlier.
13173         * sysdeps/unix/sysv/linux/configure: Regenerated.
13174         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13175         Remove conditional code.
13176         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13177         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13178         Remove conditional code.
13179         [!__NR_lchown]: Likewise.
13180         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13181         [__NR_lchown]: Likewise.
13182         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13183         comment referencing __ASSUME_LCHOWN_SYSCALL.
13184         * sysdeps/unix/sysv/linux/i386/sigaction.c
13185         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13186         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13187         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13188         Remove conditional code.
13189         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13190         (__protocol_available): Remove #if 0 code.
13191         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13192         conditional code.
13193         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13194         * sysdeps/unix/sysv/linux/kernel-features.h
13195         (__ASSUME_GETCWD_SYSCALL): Don't define.
13196         (__ASSUME_REALTIME_SIGNALS): Likewise.
13197         (__ASSUME_PREAD_SYSCALL): Likewise.
13198         (__ASSUME_PWRITE_SYSCALL): Likewise.
13199         (__ASSUME_POLL_SYSCALL): Likewise.
13200         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13201         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13202         non-SPARC.
13203         (__ASSUME_SIOCGIFNAME): Don't define.
13204         (__ASSUME_MSG_NOSIGNAL): Likewise.
13205         (__ASSUME_SENDFILE): Define unconditionally.
13206         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13207         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13208         conditional code.
13209         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13210         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13211         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13212         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13213         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13214         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13215         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13217         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13220         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13221         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13223         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13226         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13227         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13229         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13232         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13233         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13235         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13238         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13239         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13240         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13241         Remove conditional code.
13242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13243         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13244         Remove conditional code.
13245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13246         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13247         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13248         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13249         Remove conditional code.
13250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13251         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13252         Remove conditional code.
13253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13254         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13255         Remove conditional code.
13256         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13257         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13258         Remove conditional code.
13259         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13260         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13261         Remove conditional code.
13262         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13263         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13264         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13265         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13266         * sysdeps/unix/sysv/linux/sigaction.c
13267         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13268         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13269         * sysdeps/unix/sysv/linux/sigpending.c
13270         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13271         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13272         * sysdeps/unix/sysv/linux/sigprocmask.c
13273         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13274         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13275         * sysdeps/unix/sysv/linux/sigsuspend.c
13276         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13277         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13278         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13279         (__libc_missing_rt_sigs): Remove.
13280         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13281         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13282         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13283         Remove conditional code.
13284         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13285         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13286         return 1.
13287         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13288         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13289         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13290         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13292 2012-05-14  Andreas Jaeger  <aj@suse.de>
13294         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13295         it's not used in glibc.
13296         (__coshm1): Likewise.
13297         (__acosh1p): Likewise.
13298         (__sgn): Likewise.
13300         * manual/string.texi (Copying and Concatenation): Add missing
13301         variable in concat example.
13302         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13304 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13306         [BZ #14103]
13307         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13308         __builtin_clzl with __builtin_clzll.
13310 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13312         [BZ #14104]
13313         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13314         libc_freeres_ptr.
13316 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13318         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13319         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13320         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13321         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13323 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13325         * NEWS: Update ia64 info.
13327 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13329         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13330         used as bcopy.
13332 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13334         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13335         * sysdeps/unix/syscalls.list (dup3): Likewise.
13336         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13337         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13339 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13341         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13342         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13344 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13346         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13347         thread pointer.
13348         (TLS_IE): Use mov/add instead of movq/addq to load thread
13349         pointer.
13350         (TLS_GD_PREFIX): New.
13351         (TLS_GD): Use it.
13353 2012-05-11  David S. Miller  <davem@davemloft.net>
13355         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13356         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13357         (_FPU_SETCW): Likewise.
13359 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13361         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13362         is 32-byte aligned.
13364 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13366         [BZ #11837]
13367         * iconvdata/gb18030.c: Update tables.
13368         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13369         characters specially.
13370         (BODY for TO_LOOP): Add encoding of missing ranges.
13372 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13374         [BZ #13673]
13375         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13376         * sysdeps/mach/hurd/dup3.c: Likewise.
13377         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13378         * sysdeps/powerpc/memmove.c:: Likewise.
13380 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13383         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13385 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13387         * elf/elf.h (R_X86_64_RELATIVE64): New.
13388         (R_X86_64_NUM): Updated.
13389         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13390         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13391         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13392         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13393         tst-quad1pie tst-quad2pie
13394         (modules-names): Add tst-quadmod1 tst-quadmod2.
13395         ($(objpfx)tst-quad1): New dependency.
13396         ($(objpfx)tst-quad2): Likewise.
13397         ($(objpfx)tst-quad1pie): Likewise.
13398         ($(objpfx)tst-quad2pie): Likewise.
13399         * sysdeps/x86_64/tst-quad1.c: New file.
13400         * sysdeps/x86_64/tst-quad1pie.c: New file.
13401         * sysdeps/x86_64/tst-quad2.c: Likewise.
13402         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13403         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13404         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13405         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13406         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13410         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13411         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13412         * streams/stropts.h (t_scalar_t): Define type.
13414         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13415         (_PATH_PRESERVE): Set to "/var/lib".
13416         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13418         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13419         instead of int.
13421         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13422         if __dir_mkfile succeeded.
13424         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13425         checking for _hurd_dtablesize.  Unlock it right after having
13426         finished _hurd_dtable allocation.
13428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13430         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13431         * sysdeps/mach/hurd/configure: Regenerated.
13432         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13433         special-casing to...
13434         * sysdeps/gnu/configure.in: ... this new file.
13435         * sysdeps/unix/sysv/linux/configure: Regenerated.
13436         * sysdeps/gnu/configure: New generated file.
13438         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13439         for Linux: use nsec instead of usec, as well as:
13440         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13441         members of type struct timespec.
13442         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13443         New macros.
13444         (struct stat64): Likewise.
13445         (_STATBUF_ST_NSEC): New macro.
13446         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13448         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13449         __strtoul_internal rather than strtoul.
13451 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13453         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13454         and reject them.
13456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13458         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13459         which preserves existing values.
13460         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13462 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13464         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13465         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13466         greater than FD_SETSIZE.
13468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13470         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13471         allocated, call __vm_protect to finish enabling the existing space, and
13472         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13473         allocate the remainder.
13475 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13477         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13478         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13482         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13483         sysdeps/mach/hurd/readlink.c.
13485         * posix/tst-sysconf.c (posix_options): Only use
13486         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13487         _POSIX_SYNCHRONIZED_IO when they are defined
13488         * sysdeps/mach/hurd/bits/posix_opt.h:
13489         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13490         (_XOPEN_REALTIME): Undefine macro.
13491         (_XOPEN_REALTIME_THREADS): Undefine macro.
13492         (_XOPEN_SHM): Undefine macro.
13493         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13494         macro to -1.
13495         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13496         macro to -1.
13497         (_POSIX_ASYNC_IO): Undefine macro.
13498         (_POSIX_PRIORITIZED_IO): Undefine macro.
13499         (_POSIX_SPIN_LOCKS): Define macro to -1.
13501         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13502         SA_NODEFER, SA_RESETHAND.
13503         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13504         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13505         F_DUPFD_CLOEXEC.
13507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13509         * elf/Makefile (pldd-modules): Define unconditionally.
13511 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13513         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13515 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13517         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13518         Return ENOENT when name is empty.
13519         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13523         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13525         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13529         Fix mlock in all cases except non-readable pages.
13530         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13531         instead of VM_PROT_ALL as parameter to __vm_wire function.
13533         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13534         (__mkdir): When path is `/', just fail with EEXIST.
13535         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13537 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13539         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13540         <sys/uio.h> (for writev).
13541         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13542         and <sys/param.h> (for MIN).
13544 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13546         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13547         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13548         if interrupted.
13550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13552         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13553         Depend on against $(link-rpcuserlibs).
13555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13557         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13558         (__libc_stack_end): Do not use attribute_relro.
13559         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13560         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13561         to libthread-provided value.
13562         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13563         attribute_relro.
13565 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13567         [BZ #3748]
13568         * bits/libc-lock.h (__libc_once_get): New macro.
13569         * sysdeps/mach/bits/libc-lock.h: Likewise.
13570         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13571         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13572         instead of using implementation details.
13574         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13575         * libio/freopen.c: Likewise.
13576         * libio/freopen64.c: Likewise.
13577         * misc/syslog.c: Likewise.
13578         * nscd/connections.c: Likewise.
13579         * nscd/netgroupcache.c: Likewise.
13580         * sysdeps/posix/getcwd.c: Likewise.
13582 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13584         * math/w_ilogbf.c: Add #include <limits.h>.
13586 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13588         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13589         path instead of returning without unlocking.
13591         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13592         immediate-write ioctls.
13593         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13595 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13597         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13598         __builtin_frame_address instead of making assumptions about the
13599         location of the return address relative to DATA.  Force early load of
13600         the return address.
13601         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13602         __builtin_frame_address.
13604         dup3 for GNU Hurd.
13605         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13606         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13607         implement dup3 and do some further code clean-ups.
13608         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13609         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13613         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13615         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13616         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13617         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13618         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13619         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13620         d->port.lock.
13622         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13623         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13624         when handler == SIG_ERR, not when handler != SIG_ERR.
13626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13628         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13629         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13630         definitions.
13632         accept4 for GNU Hurd.
13633         * include/sys/socket.h (__libc_accept4): New prototype.
13634         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13635         to implement __libc_accept4.
13636         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13637         __libc_accept4.
13638         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13640         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13641         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13642         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13643         signal-defines.sym.
13645 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13647         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13649 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13651         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13652         assertion on O_CLOEXEC flag.
13653         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13654         * hurd/intern-fd.c: Likewise.
13655         * hurd/port2fd.c: Likewise.
13657 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13659         [BZ #3906]
13660         * bits/in.h (IPV6_PKTINFO): Define new macro.
13661         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13663 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13665         [BZ #13954]
13666         [BZ #13955]
13667         [BZ #13956]
13668         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13669         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13670         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13671         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13672         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13673         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13674         * math/libm-test.inc (logb_test) : Additional logb tests.
13676 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
13677             Andreas Jaeger  <aj@suse.de>
13679         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13680         * configure: Regenerated.
13681         * config.h.in (LINK_OBSOLETE_RPC): New macro.
13682         * config.make.in (link-obsolete-rpc): New substituted variable.
13683         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13684         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13685         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13686         (shared-only-routines): Don't set it under [link-obsolete-rpc],
13687         so that libc.a contains the symbols.
13688         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13689         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13690         * sunrpc/auth_none.c: Likewise.
13691         * sunrpc/auth_unix.c: Likewise.
13692         * sunrpc/authdes_prot.c: Likewise.
13693         * sunrpc/authuxprot.c: Likewise.
13694         * sunrpc/clnt_gen.c: Likewise.
13695         * sunrpc/clnt_perr.c: Likewise.
13696         * sunrpc/clnt_raw.c: Likewise.
13697         * sunrpc/clnt_simp.c: Likewise.
13698         * sunrpc/clnt_tcp.c: Likewise.
13699         * sunrpc/clnt_udp.c: Likewise.
13700         * sunrpc/clnt_unix.c: Likewise.
13701         * sunrpc/des_crypt.c: Likewise.
13702         * sunrpc/des_soft.c: Likewise.
13703         * sunrpc/get_myaddr.c: Likewise.
13704         * sunrpc/key_call.c: Likewise.
13705         * sunrpc/key_prot.c: Likewise.
13706         * sunrpc/netname.c: Likewise.
13707         * sunrpc/pm_getmaps.c: Likewise.
13708         * sunrpc/pm_getport.c: Likewise.
13709         * sunrpc/pmap_clnt.c: Likewise.
13710         * sunrpc/pmap_prot.c: Likewise.
13711         * sunrpc/pmap_prot2.c: Likewise.
13712         * sunrpc/pmap_rmt.c: Likewise.
13713         * sunrpc/publickey.c: Likewise.
13714         * sunrpc/rpc_cmsg.c: Likewise.
13715         * sunrpc/rpc_common.c: Likewise.
13716         * sunrpc/rpc_dtable.c: Likewise.
13717         * sunrpc/rpc_prot.c: Likewise.
13718         * sunrpc/rpc_thread.c: Likewise.
13719         * sunrpc/rtime.c: Likewise.
13720         * sunrpc/svc.c: Likewise.
13721         * sunrpc/svc_auth.c: Likewise.
13722         * sunrpc/svc_raw.c: Likewise.
13723         * sunrpc/svc_run.c: Likewise.
13724         * sunrpc/svc_tcp.c: Likewise.
13725         * sunrpc/svc_udp.c: Likewise.
13726         * sunrpc/svc_unix.c: Likewise.
13727         * sunrpc/svcauth_des.c: Likewise.
13728         * sunrpc/xcrypt.c: Likewise.
13729         * sunrpc/xdr.c: Likewise.
13730         * sunrpc/xdr_array.c: Likewise.
13731         * sunrpc/xdr_float.c: Likewise.
13732         * sunrpc/xdr_intXX_t.c: Likewise.
13733         * sunrpc/xdr_mem.c: Likewise.
13734         * sunrpc/xdr_rec.c: Likewise.
13735         * sunrpc/xdr_ref.c: Likewise.
13736         * sunrpc/xdr_sizeof.c: Likewise.
13737         * sunrpc/xdr_stdio.c: Likewise.
13739 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13741         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13742         change.  Update copyright years.
13744 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13746         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13748 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
13749             Joseph Myers  <joseph@codesourcery.com>
13750             Paul Pluzhnikov  <ppluzhnikov@google.com>
13752         [BZ #14012]
13753         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13754         requiring rpcgen.
13755         [cross-compiling] (extra-libs): Likewise.
13756         [cross-compiling] (extra-libs-others): Likewise.
13757         [cross-compiling] (librpcsvc-routines): Likewise.
13758         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13759         [cross-compiling] (omit-deps): Likewise.
13760         (sunrpc-CPPFLAGS): New variable.
13761         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13762         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13763         (cross-rpcgen-objs): New variable.
13764         (extra-objs): Append $(cross-rpcgen-objs).
13765         ($(cross-rpcgen-objs)): New rule.
13766         ($(objpfx)cross-rpcgen): Likewise.
13767         (rpcgen-cmd): Define to use $(built-program-file).  Expand
13768         comment.
13769         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13770         ($(objpfx)x%.stmp): Likewise.
13771         * sunrpc/proto.h [IS_IN_build] (_): Define.
13772         [IS_IN_build] (_libc_intl_domainname): Likewise.
13774 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13776         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13777         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13778         and R_X86_64_TPOFF64.
13780 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13782         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13783         sysdeps/unix/sysv/syscalls.list.
13784         (stime): Likewise.
13785         (utime): Likewise.
13786         * sysdeps/unix/sysv/syscalls.list: Remove file.
13788 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
13790         [BZ #3440]
13791         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13792         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13793         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13794         (__LC_IDENTIFICATION): Make these macros useful in #if
13795         expressions, as required by C99.
13797 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
13799         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13800         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
13801         after this.
13803 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
13805         * stdlib/longlong.h: Updated from GCC.
13807 2012-05-09  Andreas Jaeger  <aj@suse.de>
13809         * nscd/nscd.c (run_modes): Make named enum, reorder so that
13810         default is first entry.
13811         (run_mode): Set type.
13812         (main): Remove informal message about syslog.
13813         (options): Fix typo.
13815         [BZ #14053]
13816         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13817         to asm.
13818         (lrint): Likewise.
13819         (llrintf): Likewise.
13820         (llrint): Likewise.
13821         (rint): Likewise.
13822         (rintf): Likewise.
13823         (nearbyint): Likewise.
13824         (nearbyintf): Likewise.
13826 2012-05-09  Andreas Jaeger  <aj@suse.de>
13827             Pedro Alves  <palves@redhat.com>
13829         * nscd/nscd.c (run_mode): Use enum.
13830         (main): Cleanup coding style issue.
13832 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
13833             Andreas Jaeger  <aj@suse.de>
13835         * nscd/nscd.c (go_background): Replaced with...
13836         (run_mode): ... this.
13837         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13838         (options): Add -F --foreground.
13839         (main): Implement it.
13840         (parse_opt): Parse it.
13842 2012-05-09  Andreas Jaeger  <aj@suse.de>
13844         [BZ #14083]
13845         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13846         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13847         -Wconversion warning.
13848         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13849         Likewise.
13851 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
13853         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
13854         == 0.
13855         (LC_ALL): Use macro-int-constant.
13856         (LC_COLLATE): Likewise.
13857         (LC_CTYPE): Likewise.
13858         (LC_MESSAGES): Likewise.
13859         (LC_MONETARY): Likewise.
13860         (LC_NUMERIC): Likewise.
13861         (LC_TIME): Likewise.
13862         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13863         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13864         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13865         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13866         Specify type.
13867         [C99-based standards] (float_t): Expect type.
13868         [C99-based standards] (double_t): Expect type.
13869         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
13870         type.
13871         [C99-based standards] (HUGE_VALL): Likewise.
13872         [C99-based standards] (INFINITY): Likewise.
13873         [C99-based standards] (NAN): Likewise.
13874         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13875         [C99-based standards] (FP_NAN): Likewise.
13876         [C99-based standards] (FP_NORMAL): Likewise.
13877         [C99-based standards] (FP_SUBNORMAL): Likewise.
13878         [C99-based standards] (FP_ZERO): Likewise.
13879         [C99-based standards] (FP_FAST_FMA): Use
13880         optional-macro-int-constant.  Specify type.  Require == 1.
13881         [C99-based standards] (FP_FAST_FMAF): Likewise.
13882         [C99-based standards] (FP_FAST_FMAL): Likewise.
13883         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13884         [C99-based standards] (FP_ILOGBNAN): Likewise.
13885         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13886         Specify type.
13887         [C99-based standards] (MATH_ERREXCEPT): Likewise.
13888         [C99-based standards] (math_errhandling): Specify type.
13889         [ISO99 || ISO11] (signgam): Do not allow.
13890         [non-C99-based standards] (copysignf): Do not allow.
13891         [non-C99-based standards] (exp2f): Likewise.
13892         [non-C99-based standards] (log2f): Likewise.
13893         [non-C99-based standards] (modff): Allow.
13894         [non-C99-based standards] (erff): Do not allow.
13895         [non-C99-based standards] (erfcf): Likewise.
13896         [non-C99-based standards] (gammaf): Likewise.
13897         [non-C99-based standards] (hypotf): Likewise.
13898         [non-C99-based standards] (j0f): Likewise.
13899         [non-C99-based standards] (j1f): Likewise.
13900         [non-C99-based standards] (jnf): Likewise.
13901         [non-C99-based standards] (lgammaf): Likewise.
13902         [non-C99-based standards] (tgammaf): Likewise.
13903         [non-C99-based standards] (y0f): Likewise.
13904         [non-C99-based standards] (y1f): Likewise.
13905         [non-C99-based standards] (ynf): Likewise.
13906         [non-C99-based standards] (isnanf): Likewise.
13907         [non-C99-based standards] (acoshf): Likewise.
13908         [non-C99-based standards] (asinhf): Likewise.
13909         [non-C99-based standards] (atanhf): Likewise.
13910         [non-C99-based standards] (cbrtf): Likewise.
13911         [non-C99-based standards] (expm1f): Likewise.
13912         [non-C99-based standards] (ilogbf): Likewise.
13913         [non-C99-based standards] (log1pf): Likewise.
13914         [non-C99-based standards] (logbf): Likewise.
13915         [non-C99-based standards] (nextafterf): Likewise.
13916         [non-C99-based standards] (remainderf): Likewise.
13917         [non-C99-based standards] (rintf): Likewise.
13918         [non-C99-based standards] (scalbf): Likewise.
13919         [non-C99-based standards] (copysignl): Likewise.
13920         [non-C99-based standards] (exp2l): Likewise.
13921         [non-C99-based standards] (log2l): Likewise.
13922         [non-C99-based standards] (modfl): Allow.
13923         [non-C99-based standards] (erfl): Do not allow.
13924         [non-C99-based standards] (erfcl): Likewise.
13925         [non-C99-based standards] (gammal): Likewise.
13926         [non-C99-based standards] (hypotl): Likewise.
13927         [non-C99-based standards] (j0l): Likewise.
13928         [non-C99-based standards] (j1l): Likewise.
13929         [non-C99-based standards] (jnl): Likewise.
13930         [non-C99-based standards] (lgammal): Likewise.
13931         [non-C99-based standards] (tgammal): Likewise.
13932         [non-C99-based standards] (y0l): Likewise.
13933         [non-C99-based standards] (y1l): Likewise.
13934         [non-C99-based standards] (ynl): Likewise.
13935         [non-C99-based standards] (isnanl): Likewise.
13936         [non-C99-based standards] (acoshl): Likewise.
13937         [non-C99-based standards] (asinhl): Likewise.
13938         [non-C99-based standards] (atanhl): Likewise.
13939         [non-C99-based standards] (cbrtl): Likewise.
13940         [non-C99-based standards] (expm1l): Likewise.
13941         [non-C99-based standards] (ilogbl): Likewise.
13942         [non-C99-based standards] (log1pl): Likewise.
13943         [non-C99-based standards] (logbl): Likewise.
13944         [non-C99-based standards] (nextafterl): Likewise.
13945         [non-C99-based standards] (remainderl): Likewise.
13946         [non-C99-based standards] (rintl): Likewise.
13947         [non-C99-based standards] (scalbl): Likewise.
13948         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13949         [non-C99-based standards] (FP_*): Do not allow.
13950         [C99-based standards] (FP_*): Change to
13951         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13952         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13953         allow.
13954         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13955         (SIG_ERR): Likewise.
13956         [X/Open-based standards] (SIG_HOLD): Likewise.
13957         (SIG_IGN): Likewise.
13958         (SIGABRT): Use macro-int-constant.  Specify type.  Require
13959         positive value.
13960         (SIGFPE): Likewise.
13961         (SIGILL): Likewise.
13962         (SIGINT): Likewise.
13963         (SIGSEGV): Likewise.
13964         (SIGTER): Likewise.
13965         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13966         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13967         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13968         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13969         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13970         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13971         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13972         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13973         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13974         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13975         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13976         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13977         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13978         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13979         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13980         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13981         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13982         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13983         [X/Open-based standards] (SIGTRAP): Likewise.
13984         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13985         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13986         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13987         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13988         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13989         allow.
13991 2012-05-08  Ian Wienand  <ianw@vmware.com>
13993         [BZ #14080]
13994         * time/tzset.c (__tzset_parse_tz): Update default rules for
13995         daylight time changes in the Energy Policy Act of 2005.
13997 2012-05-09  Andreas Jaeger  <aj@suse.de>
13999         [BZ #13983]
14000         * elf/ldconfig.c (parse_conf): Change string to make clear that
14001         ldconfig only issued a warning if ld.so.conf does not exist.
14003 2012-05-08  David S. Miller  <davem@davemloft.net>
14005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14006         movxtod instead of popping the value on the stack.
14008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14010 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14012         * config.h.in: Add HAVE_ARM_PCS_VFP.
14014 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14016         [BZ #13979]
14017         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14018         checking but the checks are disabled for any reason.
14020 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14022         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14023         and ELF64_R_TYPE with ELFW(R_TYPE).
14025 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14027         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14028         (ulimit): Likewise.
14030         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14031         (settimeofday): Likewise.
14033 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14035         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14036         a struct th_u2 inside the union, and move tu_block/tu_code into
14037         a new th_u3 union of tu_block/tu_code inside of that.  Move
14038         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14039         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14040         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14041         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14042         (th_stuff): Change to th_u1.tu_stuff.
14043         (th_data): Define.
14044         (th_msg): Change to th_u1.th_u2.tu_data.
14046 2012-05-07  David S. Miller  <davem@davemloft.net>
14048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14050         [BZ #14074]
14051         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14052         (SETUP_PIC_REG): Use it.
14053         (SETUP_PIC_REG_LEAF): Use it.
14055 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14057         [BZ #13885]
14058         [BZ #13923]
14059         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14060         USE_AS_EXPM1L.
14061         (EXPL_FINITE): Likewise.
14062         (FLDLOG): Likewise.
14063         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14064         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14065         e_expl.S.
14066         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14067         USE_AS_EXPM1L.
14068         (EXPL_FINITE): Likewise.
14069         (FLDLOG): Likewise.
14070         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14071         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14072         e_expl.S.
14073         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14074         test of -max_value argument for long double.
14075         * sysdeps/i386/fpu/libm-test-ulps: Update.
14076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14078 2012-05-06  David S. Miller  <davem@davemloft.net>
14080         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14081         quad soft-float symbols whose references which are compiler
14082         generated.
14083         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14085 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14087         [BZ #13884]
14088         [BZ #13914]
14089         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14090         USE_AS_EXP10L.
14091         (EXPL_FINITE): Likewise.
14092         (FLDLOG): Likewise.
14093         (c0): Likewise.
14094         (c1): Likewise.
14095         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14096         Adjust comments for base varying.
14097         (__expl_finite): Change alias to EXPL_FINITE.
14098         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14099         e_expl.S.
14100         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14101         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14102         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14103         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14104         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14105         USE_AS_EXP10L.
14106         (EXPL_FINITE): Likewise.
14107         (FLDLOG): Likewise.
14108         (c0): Likewise.
14109         (c1): Likewise.
14110         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14111         Adjust comments for base varying.
14112         (__expl_finite): Change alias to EXPL_FINITE.
14113         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14114         tests for bugs.
14115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14117         [BZ #14064]
14118         * math/libm-test.inc (check_float_internal): Correct ulp
14119         calculation for subnormal expected results.
14121 2012-05-06  Andreas Jaeger  <aj@suse.de>
14123         * Makeconfig (+math-flags): New, set to -frounding-math.
14124         (+cflags): Add +math-flags so that all of glibc gets compiled with
14125         it.
14127         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14129 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14131         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14132         Disable one test.
14134         [BZ #13787]
14135         [BZ #13922]
14136         [BZ #14036]
14137         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14138         (__ieee754_expl): Allow for and saturate large arguments.
14139         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14140         (u_threshold): Likewise.
14141         (__exp): Call __ieee754_exp before checking for overflow and
14142         underflow.
14143         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14144         (u_threshold): Likewise.
14145         (__expf): Call __ieee754_expf before checking for overflow and
14146         underflow.
14147         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14148         (u_threshold): Likewise.
14149         (__expl): Call __ieee754_expl before checking for overflow and
14150         underflow.
14151         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14152         (__ieee754_expl): Allow for and saturate large arguments.
14153         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14154         missing overflow exception on overflow.
14155         (expm1_test): Do not allow missing overflow exception on overflow.
14157         * sysdeps/i386/fpu/e_expl.c: Move to ...
14158         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14159         rather than using inline asm.
14160         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14161         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14162         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14164         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14165         (nice): Likewise.
14166         (poll): Likewise.
14167         (signal): Likewise.
14168         (time): Likewise.
14169         (times): Likewise.
14171 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14173         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14174         sysdeps/unix/common/syscalls.list.
14175         (fchmod): Likewise.
14176         (fchown): Likewise.
14177         (ftruncate): Likewise.
14178         (getrusage): Likewise.
14179         (gettimeofday): Likewise.
14180         (setpgid): Likewise.
14181         (setregid): Likewise.
14182         (setreuid): Likewise.
14183         (sigaction): Likewise.
14184         (truncate): Likewise.
14185         (vhangup): Likewise.
14186         * sysdeps/unix/common/syscalls.list: Remove file.
14187         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14188         * sysdeps/unix/sysv/linux/Implies: Likewise.
14190 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14192         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14194         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14195         Moved to ...
14196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14197         Here.
14198         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14199         to ...
14200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14201         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14202         to ...
14203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14204         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14205         to ...
14206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14207         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14208         to ...
14209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14210         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14211         to ...
14212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14213         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14214         to ...
14215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14216         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14217         to ...
14218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14219         Here.
14220         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14221         to ...
14222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14223         Here.
14224         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14225         to ...
14226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14227         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14228         Moved to ...
14229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14230         Here.
14231         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14232         to ...
14233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14235 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14237         * sysdeps/unix/common/bits/dirent.h: Remove file.
14238         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14240         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14241         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14242         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14243         * sysdeps/unix/bsd/isatty.c: Likewise.
14244         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14245         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14246         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14248 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14250         [BZ #13563]
14251         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14252         long double comparison inaccuracies.
14253         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14256 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14258         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14259         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14261 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14263         [BZ #14049]
14264         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14265         nonzero digits before rounding a hex value.
14266         * stdlib/tst-strtod.c (tests): Add another test.
14268 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14270         * sysdeps/s390/fpu/libm-test-ulps: Update.
14272 2012-05-03  Andreas Jaeger  <aj@suse.de>
14274         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14275         does not get optimized out.
14276         (malloc_opt_barrier): New.
14278 2012-05-03  Andreas Jaeger  <aj@suse.de>
14279             Roland McGrath  <roland@hack.frob.com>
14281         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14282         intermediate file deletion.
14283         (generated): Add .symlist files.
14285 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14287         [BZ #13775]
14288         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14289         Redirect under this condition.
14290         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14291         [__USE_GNU] (__dprintf_chk): Not under this condition.
14292         [__USE_GNU] (__vdprintf_chk): Likewise.
14293         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14294         under this condition.
14295         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14296         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14297         [__USE_XOPEN2K8] (vdprintf): Likewise.
14298         [__USE_GNU] (__dprintf_chk): Not under this condition.
14299         [__USE_GNU] (__vdprintf_chk): Likewise.
14300         [__USE_GNU] (dprintf): Likewise.
14301         [__USE_GNU] (vdprintf): Likewise.
14303 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14305         * elf/Makefile (common-generated): Set this instead of generated for
14306         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14307         $(all-built-dso)-derived lists.
14309 2012-05-03  Andreas Jaeger  <aj@suse.de>
14311         * sysdeps/i386/fpu/libm-test-ulps: Update.
14313         * FAQ: Removed.
14314         * FAQ.in: Likewise.
14315         * scripts/gen-FAQ.pl: Likewise.
14316         * manual/install.texi (Installation): Point to online location of
14317         FAQ.
14318         * Makefile (files-for-dist): Remove FAQ.
14319         (FAQ): Remove.
14321 2012-05-02  Allan McRae  <allan@archlinux.org>
14323         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14324         (LDFLAGS-reldepmod5.so): Likewise.
14325         (LDFLAGS-reldep6mod1.so): Likewise.
14326         (LDFLAGS-reldep6mod4.so): Likewise.
14327         (LDFLAGS-reldep8mod3.so): Likewise.
14328         (LDFLAGS-unload4mod1.so): Likewise.
14329         (LDFLAGS-unload4mod2.so): Likewise.
14330         (LDFLAGS-tst-initorder): Likewise.
14331         (LDFLAGS-tst-initordera2.so): Likewise.
14332         (LDFLAGS-tst-initordera3.so): Likewise.
14333         (LDFLAGS-tst-initordera4.so): Likewise.
14334         (LDFLAGS-tst-initorderb2.so): Likewise.
14335         (LDFLAGS-noload): Likewise.
14336         (LDFLAGS-next): Likewise.
14337         (LDFLAGS-order2mod1.so): Likewise.
14338         (LDFLAGS-order2mod2.so): Likewise.
14339         (LDFLAGS-tst-initorder2): Likewise.
14340         (LDFLAGS-tst-initorder2a.so): Likewise.
14341         (LDFLAGS-tst-initorder2b.so): Likewise.
14342         (LDFLAGS-tst-initorder2c.so): Likewise.
14343         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14345 2012-05-02  David S. Miller  <davem@davemloft.net>
14347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14349 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14351         [BZ #14055]
14352         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14354 2012-05-02  Andreas Jaeger  <aj@suse.de>
14356         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14357         since we manipulate rounding mode.
14358         (CPPFLAGS-test-idouble.c): Likewise.
14359         (CPPFLAGS-test-ifloat.c): Likewise.
14360         (CFLAGS-test-ldouble.c): Likewise.
14361         (CFLAGS-test-double.c): Likewise.
14362         (CFLAGS-test-float.c): Likewise.
14363         (CFLAGS-test-misc.c): Likewise.
14364         (CFLAGS-test-test-fenv.c): Likewise.
14366 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14368         [BZ #2550]
14369         [BZ #2570]
14370         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14371         comparisons to determine direction to adjust input.
14373 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14375         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14376         output to the target.
14378         * scripts/localplt.awk: New file.
14379         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14380         (check-localplt-CFLAGS): Variable removed.
14381         ($(all-built-dso:=.jmprel)): New static pattern rule.
14382         (generated): Add those targets.
14383         (localplt-built-dso): New variable.
14384         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14386         * elf/check-localplt.c: File removed.
14388         * scripts/check-execstack.awk: New file.
14389         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14390         (check-execstack-CFLAGS): Variable removed.
14391         ($(objpfx)check-execstack.h): Target removed.
14392         ($(objpfx)execstack-default): New target.
14393         (generated): Add that instead of check-execstack.h.
14394         ($(all-built-dso:=.phdr)): New static pattern rule.
14395         (generated): Add those targets.
14396         * elf/check-execstack.c: File removed.
14398         * scripts/check-textrel.awk: New file.
14399         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14400         (check-textrel-CFLAGS): Variable removed.
14401         (all-built-dso): Use := to define.o
14402         ($(all-built-dso:=.dyn)): New static pattern rule.
14403         (generated): Add those targets.
14404         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14405         * config.make.in (READELF): New substituted variable.
14406         * elf/check-textrel.c: File removed.
14408 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14410         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14411         allow.
14412         * conform/data/ctype.h-data [C99-based standards] (isblank):
14413         Expect function.
14414         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14415         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14416         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14417         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14418         Specify type.  Require positive value.
14419         (EILSEQ): Likewise.
14420         (ERANGE): Likewise.
14421         [ISO || POSIX] (EILSEQ): Do not expect.
14422         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14423         Specify type.  Require positive value.
14424         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14425         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14426         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14427         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14428         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14429         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14430         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14431         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14432         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14433         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14434         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14435         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14436         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14437         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14438         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14439         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14440         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14441         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14442         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14443         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14444         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14445         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14446         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14447         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14448         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14449         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14450         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14451         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14452         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14453         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14454         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14455         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14456         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14457         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14458         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14459         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14460         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14461         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14462         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14463         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14464         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14465         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14466         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14467         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14468         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14469         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14470         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14471         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14472         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14473         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14474         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14475         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14476         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14477         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14478         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14479         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14480         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14481         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14482         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14483         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14484         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14485         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14486         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14487         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14488         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14489         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14490         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14491         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14492         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14493         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14494         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14495         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14496         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14497         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14498         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14499         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14500         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14501         Require >= 2.
14502         (FLT_ROUNDS): Expect as macro, not constant.
14503         (FLT_MANT_DIG): Use macro-int-constant.
14504         (DBL_MANT_DIG): Likewise.
14505         (LDBL_MANT_DIG): Likewise.
14506         (FLT_DIG): Likewise.
14507         (DBL_DIG): Likewise.
14508         (LDBL_DIG): Likewise.
14509         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14510         (DBL_MIN_EXP): Likewise.
14511         (LDBL_MIN_EXP): Likewise.
14512         (FLT_MAX_EXP): Use macro-int-constant.
14513         (DBL_MAX_EXP): Likewise.
14514         (LDBL_MAX_EXP): Likewise.
14515         (FLT_MAX_10_EXP): Likewise.
14516         (DBL_MAX_10_EXP): Likewise.
14517         (LDBL_MAX_10_EXP): Likewise.
14518         (FLT_MAX): Use macro-constant.
14519         (DBL_MAX): Likewise.
14520         (LDBL_MAX): Likewise.
14521         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14522         (DBL_EPSILON): Likewise.
14523         (LDBL_EPSILON): Likewise.
14524         (FLT_MIN): Likewise.
14525         (DBL_MIN): Likewise.
14526         (LDBL_MIN): Likewise.
14527         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14528         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14529         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14530         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14531         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14532         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14533         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14534         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14535         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14536         [ISO11] (FLT_TRUE_MIN): Likewise.
14537         [ISO11] (LDBL_TRUE_MIN): Likewise.
14538         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14539         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14540         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14541         (SCHAR_MAX): Likewise.
14542         (UCHAR_MAX): Likewise.
14543         (CHAR_MIN): Likewise.
14544         (CHAR_MAX): Likewise.
14545         (MB_LEN_MAX): Use macro-int-constant.
14546         (SHRT_MIN): Use macro-int-constant.  Specify type.
14547         (SHRT_MAX): Likewise.
14548         (USHRT_MAX): Likewise.
14549         (INT_MAX): Likewise.
14550         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14551         bound negative.
14552         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14553         bound with "U".
14554         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14555         bound with "L".
14556         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14557         bound negative.  Suffix upper bound with "L".
14558         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14559         bound with "UL".
14560         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14561         Specify type.
14562         [C99-based standards] (LLONG_MAX): Likewise.
14563         [C99-based standards] (ULLONG_MAX): Likewise.
14564         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14565         == 0.
14566         [ISO11] (max_align_t): Require type.
14567         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14569         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14570         from $CFLAGS, without defining away __attribute__ calls.
14571         (checknamespace): Use $CFLAGS_namespace.
14573         * conform/conformtest.pl (@keywords): Only include C99 keywords
14574         for standards based on C99 or C11.
14576         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14577         Disable tests.
14578         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14579         UNIX98]: Likewise.
14581         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14582         usability of symbols in #if.
14584         * conform/conformtest.pl: If macro or constant types start
14585         "promoted:", expect the symbol to be of the following type
14586         promoted by the integer promotions.
14588         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14589         in one place.  Also handle "macro-constant".
14591         * conform/conformtest.pl: Only accept expected macro values with
14592         "==".  Parse all "macro" lines in one place.
14593         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14595         * conform/conformtest.pl: Handle braced types on "constant" lines
14596         instead of handling "typed-constant".
14597         * conform/data/signal.h-data: Use "constant" instead of
14598         "typed-constant".
14600         * conform/conformtest.pl: Handle "optional-" at start of lines in
14601         one place rather than duplicating several cases.  Handle each
14602         format of "macro" line with initial "optional-".
14604         * conform/conformtest.pl: Only accept expected constant or
14605         optional-constant values with "==".  Parse all "constant" lines in
14606         one place.  Parse all "optional-constant" lines in one place.
14607         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14608         * conform/data/fmtmsg.h-data: Likewise.
14609         * conform/data/netinet/in.h-data: Likewise.
14610         * conform/data/tar.h-data: Likewise.
14611         * conform/data/limits.h-data: Use "==" form on "constant" and
14612         "optional-constant" lines.
14614         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14615         Use -std=c99 for XOPEN2K.
14616         (@knownproblems): Remove.
14617         (newtoken): Don't check %isknown.
14619         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14620         Do not expect macro.
14621         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14622         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14623         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14624         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14625         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14626         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14627         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14628         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14629         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14630         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14631         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14632         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14633         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14634         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14635         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14636         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14637         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14638         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14639         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14640         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14641         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14642         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14643         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14644         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14645         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14646         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14647         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14648         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14649         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14650         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14651         [XPG3] (acosh): Likewise.
14652         [XPG3] (asinh): Likewise.
14653         [XPG3] (atanh): Likewise.
14654         [XPG3] (cbrt): Likewise.
14655         [XPG3] (expm1): Likewise.
14656         [XPG3] (ilogb): Likewise.
14657         [XPG3] (log1p): Likewise.
14658         [XPG3] (logb): Likewise.
14659         [XPG3] (nextafter): Likewise.
14660         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14661         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14662         [XPG3] (remainder): Likewise.
14663         [XPG3] (rint): Likewise.
14664         [XPG3 || XPG4 || UNIX98] (round): Likewise.
14665         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14666         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14667         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14668         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14669         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14670         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14671         [UNIX98 || XOPEN2K] (scalb): Expect.
14672         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14673         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14674         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14675         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14676         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14677         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14678         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14679         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14680         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14681         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14682         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14683         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14684         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14685         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14686         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14687         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14688         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14689         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14690         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14691         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14692         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14693         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14694         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14695         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14696         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14697         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14698         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14699         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14700         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14701         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14702         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14703         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14704         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14705         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14706         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14707         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14708         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14709         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14710         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14711         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14712         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14713         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14714         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14715         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14716         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14717         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14718         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14719         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14720         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14721         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14722         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14723         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14724         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14725         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14726         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14727         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14728         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14729         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14730         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14731         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14732         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14733         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14734         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14735         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14736         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14737         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14738         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14739         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14740         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14741         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14742         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14743         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14744         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14745         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14746         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14747         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14748         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14749         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14750         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14751         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14752         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14753         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14754         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14755         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14756         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14757         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14758         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14759         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14760         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14761         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14762         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14763         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14764         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14765         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14766         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14767         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14768         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14769         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14770         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14771         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14772         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14773         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14774         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14775         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14776         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14777         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14778         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14779         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14780         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14781         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14782         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14783         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14784         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14785         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14786         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14787         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14788         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14789         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14790         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14791         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14792         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14793         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14794         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14795         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14796         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14797         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14798         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14799         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14800         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14801         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14802         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14803         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14804         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14805         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14806         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14807         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14808         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14810         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14811         _XOPEN_SOURCE_EXTENDED for XPG4.
14813         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14815         * Makeconfig (localtime): Remove variable.
14816         (inst_localtime-file): Likewise.
14818 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14821         Update.
14822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14823         Update.
14824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14825         Update.
14826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14827         Update.
14828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14829         Update.
14830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14831         Update.
14832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14833         Update.
14834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14835         Update.
14836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14837         Update.
14839 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14841         [BZ #2550]
14842         [BZ #2570]
14843         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14844         comparisons to determine direction to adjust input.
14845         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14846         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14847         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14848         Likewise.
14849         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14850         Likewise.
14851         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14852         Likewise.
14853         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14854         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14855         Likewise.
14856         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14857         Likewise.
14858         * math/libm-test.inc (nexttoward_test): Add more tests.
14860 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14862         [BZ #14040]
14863         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14864         in version GLIBC_2.1, not GLIBC_2.0.
14865         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14866         Likewise.
14868 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
14870         [BZ #13942]
14871         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14872         (1 - x) * (1 + x).
14873         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14874         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14875         * math/libm-test.inc (acos_test): Add more tests.
14876         (asin_test): Likewise.
14877         * sysdeps/i386/fpu/libm-test-ulps: Update.
14878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14880         [BZ #14034]
14881         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14882         of square root.
14883         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14884         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14885         * math/libm-test.inc (acos_test_tonearest): New function.
14886         (acos_test_towardzero): Likewise.
14887         (acos_test_downward): Likewise.
14888         (acos_test_upward): Likewise.
14889         (asin_test_tonearest): Likewise.
14890         (asin_test_towardzero): Likewise.
14891         (asin_test_downward): Likewise.
14892         (asin_test_upward): Likewise.
14893         (main): Call the new functions.
14894         * sysdeps/i386/fpu/libm-test-ulps: Update.
14895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14897         [BZ #13884]
14898         [BZ #13924]
14899         * math/e_exp10.c: Include <float.h>.
14900         (__ieee754_exp10): Handle underflow here rather than multiplying
14901         large negative argument by M_LN10.
14902         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14903         of __ieee754_expf.
14904         * math/e_exp10l.c: Include <float.h>.
14905         (__ieee754_exp10l): Handle underflow here rather than multiplying
14906         large negative argument by M_LN10l.
14907         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
14908         spurious overflow exception on underflow.
14910 2012-04-29  Marek Polacek  <polacek@redhat.com>
14912         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14913         (__fortify_function): New macro.
14914         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14915         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14916         __extern_always_inline.
14917         * libio/bits/stdio2.h: Likewise.
14918         * libio/bits/stdio.h: Likewise.
14919         * string/string.h: Likewise.
14920         * string/bits/string3.h: Likewise.
14921         * include/stdio.h: Likewise.
14922         * stdlib/bits/stdlib.h: Likewise.
14923         * stdlib/stdlib.h: Likewise.
14924         * rt/bits/mqueue2.h: Likewise.
14925         * rt/mqueue.h: Likewise.
14926         * posix/bits/unistd.h: Likewise.
14927         * posix/unistd.h: Likewise.
14928         * io/bits/poll2.h: Likewise.
14929         * io/bits/fcntl2.h: Likewise.
14930         * io/fcntl.h: Likewise.
14931         * io/sys/poll.h: Likewise.
14932         * misc/bits/syslog.h: Likewise.
14933         * misc/bits/syslog-ldbl.h: Likewise.
14934         * misc/sys/syslog.h: Likewise.
14935         * socket/bits/socket2.h: Likewise.
14936         * socket/sys/socket.h: Likewise.
14937         * debug/tst-chk1.c: Likewise.
14938         * wcsmbs/bits/wchar2.h: Likewise.
14939         * wcsmbs/bits/wchar-ldbl.h: Likewise.
14940         * wcsmbs/wchar.h: Likewise.
14942 2012-04-29  Andreas Jaeger  <aj@suse.de>
14944         * Makerules (tests): Remove enable-check-abi protection.
14945         (check-abi-warn): Remove.
14946         (check-abi-%): Remove check-abi-warn usage.
14948         * configure.in: Remove check-abi configure option.
14949         * configure: Regenerated.
14950         * config.make.in (enable-check-abi): Remove.
14952 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
14954         [BZ #14033]
14955         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14956         double functions to double *_finite functions.
14958         [BZ #13941]
14959         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14960         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14961         LDBL_MIN_EXP.
14962         * stdio-common/Makefile (tests): Add tst-sprintf3.
14963         * stdio-common/tst-sprintf3.c: New file.
14965         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14966         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14968 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14970         * conform/conformtest.pl: Remove duplicate typed-constant
14971         handling.
14973 2012-04-28  David S. Miller  <davem@davemloft.net>
14975         * Makerules (%.abilist): Add vpath on sysdep_dirs.
14976         (check-abi-%): Remove AWK script prerequisite and explicit
14977         abilist directory.
14978         (check-abi): Rewrite to just diff the symlist with the abilist.
14979         (config-tls, config-abi-config): Delete, no longer used.
14980         (update-abi-%): Remove AWK script and explicit abilist directory.
14981         (update-abi): Rewrite to simply compare and conditionally copy the
14982         symlist and the sysdep abilist file.  Remove update-abi-config
14983         checks.
14984         * abilist/ld.abilist: Remove.
14985         * abilist/libBrokenLocale.abilist: Remove.
14986         * abilist/libanl.abilist: Remove.
14987         * abilist/libcrypt.abilist: Remove.
14988         * abilist/libdl.abilist: Remove.
14989         * abilist/librt.abilist: Remove.
14990         * abilist/libthread_db.abilist: Remove.
14991         * abilist/libutil.abilist: Remove.
14992         * scripts/extract-abilist.awk: Remove.
14993         * scripts/merge-abilist.awk: Remove.
14994         * sysdeps/generic/libcidn.abilist: New file.
14995         * sysdeps/generic/libnss_compat.abilist: New file.
14996         * sysdeps/generic/libnss_db.abilist: New file.
14997         * sysdeps/generic/libnss_dns.abilist: New file.
14998         * sysdeps/generic/libnss_files.abilist: New file.
14999         * sysdeps/generic/libnss_hesiod.abilist: New file.
15000         * sysdeps/generic/libnss_nis.abilist: New file.
15001         * sysdeps/generic/libnss_nisplus.abilist: New file.
15002         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15003         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15004         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15005         file.
15006         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15007         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15008         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15009         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15010         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15011         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15012         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15013         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15014         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15015         file.
15016         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15017         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15018         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15019         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15020         file.
15021         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15022         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15023         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15024         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15025         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15026         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15027         file.
15028         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15029         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15030         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15031         file.
15032         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15034         New file.
15035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15036         New file.
15037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15038         New file.
15039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15040         New file.
15041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15042         New file.
15043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15044         New file.
15045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15046         New file.
15047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15048         New file.
15049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15050         New file.
15051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15052         New file.
15053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15054         New file.
15055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15056         New file.
15057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15058         New file.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15060         file.
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15062         New file.
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15064         New file.
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15066         file.
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15068         New file.
15069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15070         New file.
15071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15072         file.
15073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15074         New file.
15075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15076         New file.
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15078         New file.
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15080         New file.
15081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15082         New file.
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15084         New file.
15085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15087         file.
15088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15089         New file.
15090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15091         file.
15092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15093         file.
15094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15095         file.
15096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15097         file.
15098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15099         file.
15100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15101         New file.
15102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15103         file.
15104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15105         file.
15106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15107         New file.
15108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15109         file.
15110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15112         file.
15113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15114         New file.
15115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15116         file.
15117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15118         file.
15119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15120         file.
15121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15122         file.
15123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15124         file.
15125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15126         New file.
15127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15128         file.
15129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15130         file.
15131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15132         New file.
15133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15134         file.
15135         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15136         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15137         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15138         file.
15139         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15140         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15141         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15142         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15143         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15144         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15145         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15146         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15147         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15148         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15151         file.
15152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15153         New file.
15154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15155         file.
15156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15157         file.
15158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15159         file.
15160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15161         file.
15162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15163         file.
15164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15165         New file.
15166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15167         New file.
15168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15169         file.
15170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15171         New file.
15172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15173         file.
15174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15176         file.
15177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15178         New file.
15179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15180         file.
15181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15182         file.
15183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15184         file.
15185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15186         file.
15187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15188         file.
15189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15190         New file.
15191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15192         New file.
15193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15194         file.
15195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15196         New file.
15197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15198         file.
15200 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15202         * conform/conformtest.pl: Fix typo in handling typed-constant from
15203         allow-header.
15205 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15207         * README: Cut down references to pre-2.6 Linux kernels and
15208         Linuxthreads.  Update lists of configurations in libc and ports
15209         and sort alphabetically.  Say "or newer" with Linux kernel version
15210         requirements.
15212         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15214 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15216         [BZ #887]
15217         * math/libm-test.inc (logb_test_downward): New test to expose
15218         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15219         rounding mode.
15221 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15223         [BZ #14027]
15224         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15225         to be done.
15226         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15227         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15229 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15231         * sysdeps/unix/i386/brk.S: Remove file.
15232         * sysdeps/unix/i386/dl-brk.S: Likewise.
15233         * sysdeps/unix/i386/pipe.S: Likewise.
15234         * sysdeps/unix/i386/sigreturn.S: Likewise.
15235         * sysdeps/unix/i386/syscall.S: Likewise.
15236         * sysdeps/unix/i386/vfork.S: Likewise.
15237         * sysdeps/unix/i386/wait.S: Likewise.
15239         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15240         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15242         * configure.in (arm*-none*): Do not allow without
15243         --enable-hacker-mode.
15244         (netbsd*): Remove case setting base_os.
15245         (386bsd*): Likewise.
15246         (freebsd*): Likewise.
15247         (bsdi*): Likewise.
15248         (osf*): Likewise.
15249         (sunos*): Likewise.
15250         (ultrix*): Likewise.
15251         (newsos*): Likewise.
15252         (dynix*): Likewise.
15253         (*bsd*): Likewise.
15254         (sysv*): Likewise.
15255         (isc*): Likewise.
15256         (esix*): Likewise.
15257         (sco*): Likewise.
15258         (minix*): Likewise.
15259         (irix4*): Likewise.
15260         (irix6*): Likewise.
15261         (solaris[2-9]*): Likewise.
15262         (none): Likewise.
15263         * configure: Regenerated.
15265 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15267         [BZ #11521]
15268         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15269         overflow or cancellation in calculating denominator.
15270         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15271         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15272         down expression to avoid unexpected rounding in newer GCCs.
15273         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15275 2012-04-26  David S. Miller  <davem@davemloft.net>
15277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15278         long-double compat symbols.
15279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15293 2012-04-25  David S. Miller  <davem@davemloft.net>
15295         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15296         HWCAP_* values only after the memory barriers have been defined.
15297         (atomic_full_barrier): Define.
15298         (atomic_read_barrier): Define.
15299         (atomic_write_barrier): Define.
15301 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15303         * shlib-versions: Add libgcc_s version information.
15304         * sysdeps/generic/libgcc_s.h: Remove.
15305         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15306         libgcc_s.h.
15307         * sysdeps/gnu/unwind-resume.c: Likewise.
15308         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15310 2012-04-25  David S. Miller  <davem@davemloft.net>
15312         * sysdeps/unix/sparc/brk.S: Delete.
15313         * sysdeps/unix/sparc/dl-brk.S: Delete.
15314         * sysdeps/unix/sparc/pipe.S: Delete.
15315         * sysdeps/unix/sparc/sysdep.S: Delete.
15316         * sysdeps/unix/sparc/sysdep.h: Delete.
15317         * sysdeps/unix/sparc/vfork.S: Delete.
15318         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15319         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15320         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15321         ret_ERRVAL, r0, r1, MOVE): Define.
15322         (JUMPTARGET): Remove.
15323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15324         sysdeps/unix/sparc/sysdep.h
15325         (ENTRY, END): Remove.
15326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15328 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15330         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15331         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15332         -DIS_IN_build.
15334         * timezone/README: Update upstream location and email address for
15335         tzcode and tzdata.
15336         * timezone/zdump.c: Update from tzcode 2012b.
15337         * timezone/zic.c: Likewise.
15339         * configure.in (libc_cv_as_needed): Remove test.
15340         * configure: Regenerated.
15341         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15342         conditional definition.
15343         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15344         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15345         * config.make.in (have-as-needed): Remove variable.
15347 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15348             Paul Pluzhnikov  <ppluzhnikov@google.com>
15350         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15351         strings correctly.
15353 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15355         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15356         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15357         * sysdeps/sh/strlen.S: Likewise.
15359 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15361         * sysdeps/unix/fork.S: Remove file.
15362         * sysdeps/unix/i386/fork.S: Likewise.
15363         * sysdeps/unix/sparc/fork.S: Likewise.
15365         * sysdeps/unix/system.c: Remove file.
15366         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15368         * sysdeps/unix/getegid.S: Remove file.
15369         * sysdeps/unix/geteuid.S: Likewise.
15371 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15373         * scripts/check-localplt.awk: New file.
15374         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15375         of diff.
15376         * scripts/data/localplt-generic.data: Add a comment.
15378         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15379         NODE when __dir_mkfile failed.
15380         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15381         Reported by Ludovic Courtès <ludo@gnu.org>.
15383 2012-04-24  Andreas Jaeger  <aj@suse.de>
15385         * Makerules (common-clean): Also remove gen-as-const-headers
15386         files.
15388 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15390         * Makerules (native-compile): Do not change working directory for
15391         build.  Use $(OUTPUT_OPTION) in command.
15392         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15394 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15396         [BZ #13886]
15397         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15398         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15399         * math/libm-test.inc (floor_test): Add more tests.
15400         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15402 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15404         * sysdeps/unix/getdents.c: Remove file.
15405         * sysdeps/unix/sysv/getdents.c: Likewise.
15406         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15408         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15409         sysdeps/unix/mman/syscalls.list.
15410         (mmap): Likewise.
15411         (mprotect): Likewise.
15412         (msync): Likewise.
15413         (munmap): Likewise.
15414         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15415         * sysdeps/unix/mman/syscalls.list: Remove.
15416         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15418         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15419         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15420         * configure: Regenerated.
15421         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15422         $(libgcc_s_suffix).
15423         * config.make.in (libgcc_s_suffix): Remove variable.
15425 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15427         * sysdeps/unix/sysv/gethostname.c: Move to ...
15428         * sysdeps/posix/gethostname.c: ... here.
15430         * sysdeps/unix/execve.S: Remove file.
15432         * sysdeps/unix/_exit.S: Remove file.
15434 2012-04-23  Andreas Jaeger  <aj@suse.de>
15436         [BZ #13739]
15437         * manual/Makefile: Remove make dist support, there's no
15438         need for a stand-alone documentation tar ball.
15439         (TEXI2DVI): Define always, it's not in Makeconfig.
15440         (dist): Removed.
15441         (tar-it): Removed.
15442         (edition): Removed.
15443         (glibc-doc-$(edition).tar): Removed
15444         (%.Z): Removed.
15445         (%.gz): Removed.
15446         (%.uu): Removed.
15447         (ETAGS): Remove, it's in Makeconfig.
15448         (move-if-change): Remove, it's in Makeconfig.
15450 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15452         [BZ #13970]
15453         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15454         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15455         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15456         (strtod_l, strtof_l, strtold_l): Remove __wur.
15457         It is not necessarily an error to ignore strtol's return value.
15458         One can reliably look at the stored endptr to decide whether
15459         the number had valid syntax.
15461 2012-04-21  Andreas Jaeger  <aj@suse.de>
15463         [BZ #13739]
15464         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15466 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15468         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15469         * sysdeps/unix/sysv/Versions: Remove file.
15471 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15473         [BZ #13927]
15474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15476 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15478         [BZ #7064]
15479         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15480         version from __vm86.
15482 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15484         * sysdeps/unix/common/lxstat.c: Remove file.
15485         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15487         * sysdeps/unix/sysv/Makefile: Remove file.
15489         * sysdeps/unix/sysv/direct.h: Remove file.
15491         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15492         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15493         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15494         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15495         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15496         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15497         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15499         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15501         * sysdeps/unix/xmknod.c: Remove file.
15502         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15504         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15506         * sysdeps/unix/sysv/i386/time.S: Remove file.
15508         * sysdeps/unix/fxstat.c: Remove file.
15509         * sysdeps/unix/xstat.c: Likewise.
15510         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15512         * sysdeps/unix/sysv/sigaction.c: Remove file.
15514         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15515         (sysdep_headers): Remove variable.
15516         [termio.h not in sysdep_headers] (generated): Likewise.
15517         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15518         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15519         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15520         * sysdeps/unix/sysv/tcflow.c: Likewise.
15521         * sysdeps/unix/sysv/tcflush.c: Likewise.
15522         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15523         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15524         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15525         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15526         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15528         * sysdeps/unix/siglist.c: Remove file.
15530         * sysdeps/unix/getppid.S: Remove file.
15532         * sysdeps/unix/mkdir.c: Remove file.
15533         * sysdeps/unix/rmdir.c: Likewise.
15535 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15537         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15538         ERR_MAX value.
15539         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15540         errlist-compat value.
15542 2012-04-18  David S. Miller  <davem@davemloft.net>
15544         * sysdeps/generic/memcopy.h (reg_char): Delete.
15545         * debug/strcat_chk.c: Use char, not reg_char.
15546         * debug/strcpy_chk.c: Likewise.
15547         * debug/strncat_chk.c: Likewise.
15548         * debug/strncpy_chk.c: Likewise.
15549         * string/memchr.c: Likewise.
15550         * string/memrchr.c: Likewise.
15551         * string/rawmemchr.c: Likewise.
15552         * string/strcat.c: Likewise.
15553         * string/strchr.c: Likewise.
15554         * string/strchrnul.c: Likewise.
15555         * string/strcmp.c: Likewise.
15556         * string/strcpy.c: Likewise.
15557         * string/strncat.c: Likewise.
15558         * string/strncmp.c: Likewise.
15559         * string/strncpy.c: Likewise.
15561 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15563         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15564         __builtin_memcopy is called when src and dest ranges are known to not
15565         overlap.
15567 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15569         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15570         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15571         fwd_align_merge macro call.
15572         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15573         bwd_align_merge macro call.
15574         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15576 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15578         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15579         bwd_align_merge macros.
15580         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15581         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15582         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15584 2012-04-18  David S. Miller  <davem@davemloft.net>
15586         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15588 2012-04-18  Andreas Jaeger  <aj@suse.de>
15590         [BZ# 6794]
15591         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15592         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15593         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15595         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15596         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15597         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15599         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15600         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15601         Adjust for changed ldbl-128 files.
15603         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15604         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15605         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15607 2012-04-17  David S. Miller  <davem@davemloft.net>
15609         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15611 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15613         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15614         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15615         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15616         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15617         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15618         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15620 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15622         [BZ #6794]
15623         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15624         * math/libm-test.inc: Add ilogb errno and exception tests.
15625         * math/w_ilogb.c: New file: ilogb wrapper.
15626         * math/w_ilogbf.c: New file: ilogbf wrapper.
15627         * math/w_ilogbl.c: New file: ilogbl wrapper.
15628         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15629         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15630         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15631         exception being thrown with 0.0 as argument.
15632         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15633         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15634         exception being thrown with 0.0 as argument.
15635         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15636         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15637         exception being thrown with 0.0 as argument.
15638         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15639         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15640         exception being thrown with 0.0 as argument.
15641         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15642         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15643         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15644         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15645         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15646         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15647         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15648         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15649         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15651 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15653         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15654         with altivec.
15656 2012-04-16  Marek Polacek  <polacek@redhat.com>
15658         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15660 2012-04-16  Marek Polacek  <polacek@redhat.com>
15662         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15663         operands of fdivp instruction.
15665 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15667         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15668         * elf/tst-auditmod3b.c: Likewise.
15669         * elf/tst-auditmod4b.c: Likewise.
15670         * elf/tst-auditmod5b.c: Likewise.
15671         * elf/tst-auditmod6b.c: Likewise.
15672         * elf/tst-auditmod6c.c: Likewise.
15673         * elf/tst-auditmod7b.c: Likewise.
15674         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15675         * sysdeps/x86_64/preconfigure.in: Likewise.
15676         * sysdeps/x86_64/preconfigure: Regenerated.
15678 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15680         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15681         __ILP32__.
15683 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
15685         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15686         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15688 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
15690         [BZ #13973]
15691         * locale/iso-639.def: Fix gl language name. Spotted by
15692         Yaron Shahrabani.
15694 2012-04-12  Roland McGrath  <roland@hack.frob.com>
15696         [BZ #2074]
15697         * libio/libio.h (__io_write_fn): Update comment.
15699 2012-04-12  Petr Baudis  <pasky@ucw.cz>
15701         [BZ #2074]
15702         * stdio.texi (Hook Functions): The user provided writer function
15703         is not allowed to return -1.
15705 2012-04-11  David S. Miller  <davem@davemloft.net>
15707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15709 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
15711         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15712         Add a leading slash to rtkaio.
15714 2012-04-11  Jim Meyering  <meyering@redhat.com>
15716         [BZ #11959]
15717         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15718         It is not necessarily an error to ignore fwrite's return
15719         value.  One can reliably use ferror to test for errors after
15720         the fact.
15722 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15724         * bits/types.h (__snseconds_t): New type.
15725         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15727         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15729         (__SNSECONDS_T_TYPE): Likewise.
15730         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15731         (__SNSECONDS_T_TYPE): Likewise.
15732         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15733         (__SNSECONDS_T_TYPE): Likewise.
15735 2012-04-10  Andreas Jaeger  <aj@suse.de>
15737         [BZ #2636]
15738         * manual/time.texi (Processor Time): Return type of times is
15739         elapsed real time since an arbitrary point in the past.
15740         (CPU Time): Move CLK_TCK from here...
15741         (Processor Time): ...to here.  Correct description.
15742         * manual/conf.texi (Constants for Sysconf): Correct description of
15743         _SC_CLK_TCK.
15745 2012-04-10  David S. Miller  <davem@davemloft.net>
15747         [BZ #13967]
15748         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15749         where the is a gap between DT_REL(A) and DT_JMPREL.
15751 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15753         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15754         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15755         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15757 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15759         * elf/dl-support.c (_dl_inhibit_cache): New variable.
15760         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15761         (dl_main): Handle --inhibit-cache.
15762         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15763         _dl_inhibit_cache.
15764         * elf/dl-load.c (_dl_map_object): Use it.
15765         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15767 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15769         [BZ #13872]
15770         * sysdeps/i386/fpu/e_powl.S (p78): New object.
15771         (__ieee754_powl): Saturate large exponents rather than testing for
15772         overflow of y*log2(x).
15773         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15774         * math/libm-test.inc (pow_test): Do not permit spurious overflow
15775         exceptions.
15777         [BZ #11521]
15778         * math/s_ctan.c: Include <float.h>.
15779         (__ctan): Avoid internal overflow or cancellation in calculating
15780         denominator.
15781         * math/s_ctanf.c: Likewise.
15782         * math/s_ctanl.c: Likewise.
15783         * math/s_ctanh.c: Likewise.
15784         * math/s_ctanhf.c: Likewise.
15785         * math/s_ctanhl.c: Likewise.
15786         * math/libm-test.inc (ctan_test): Add more tests.
15787         (ctanh_test): Likewise.
15788         * sysdeps/i386/fpu/libm-test-ulps: Update.
15789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15791 2012-04-09  Andreas Jaeger  <aj@suse.de>
15793         [BZ #6894]
15794         * manual/filesys.texi (Directory Entries): Mention that d_namlen
15795         is an optional BSD extension.
15797         [BZ #10254]
15798         * manual/stdio.texi (Opening Streams): Document additional fopen
15799         parameters.
15801 2012-04-09  Roland McGrath  <roland@hack.frob.com>
15803         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15804         %eax without telling the compiler.
15806 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
15808         [BZ # 13963]
15809         * manual/install.texi: Use sourceware.org.
15811 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15813         [BZ #13873]
15814         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15815         (__ieee754_pow): Generate overflow and underflow using huge*huge
15816         and tiny*tiny rather than just returning constant infinity or zero
15817         for large exponents.
15818         * math/libm-test.inc (pow_test): Require overflow exceptions for
15819         applicable cases of large exponents.
15821         [BZ #706]
15822         * sysdeps/i386/fpu/e_pow.S (p10): New object.
15823         (__ieee754_pow): Use iterative multiplication algorithm only for
15824         integer exponents with absolute value below 1024.  Check for odd
15825         integer exponents when using algorithm for real exponents.
15826         * math/libm-test.inc (pow_test): Add more tests.
15827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15829 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
15831         [BZ #13705]
15832         * math/libm-test.inc (exp_test): Do not allow overflow exception
15833         on underflow test.
15835 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
15837         [BZ #13705]
15838         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15839         instead of __kernel_standard_f.
15841 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
15843         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15844         * sysdeps/x86_64/memset_chk.S: Likewise.
15846 2012-04-08  Andreas Jaeger  <aj@suse.de>
15848         [BZ #10153]
15849         * manual/startup.texi (Environment Access): Describe return value
15850         for putenv and setenv.
15852         [BZ #6895]
15853         * manual/filesys.texi (Directory Entries): Add description for
15854         DT_LNK.
15856         [BZ #6890]
15857         * manual/filesys.texi (Directory Entries): Clarify that it's file
15858         system not operating system in the description of DT_UNKNOWN.
15860         [BZ #6578]
15861         * manual/syslog.texi (closelog): Fix reference, it's openlog.
15863 2012-04-08  Stephen Compall  <s11@member.fsf.org>
15865         [BZ #6649]
15866         * manual/llio.texi (Opening and Closing Files): Add cross
15867         reference to explain mode argument.
15869 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
15871         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15872         * sysdeps/x86_64/memset_chk.S: Likewise.
15874 2012-04-07  David S. Miller  <davem@davemloft.net>
15876         * elf/elf.h (R_SPARC_WDISP10): Define.
15877         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15878         R_SPARC_SIZE32.
15879         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15880         R_SPARC_SIZE64 and R_SPARC_H34.
15882 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
15884         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15885         conditions and remove no longer applicable assertion.
15887 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15889         * bits/byteswap.h: Include <features.h>.
15890         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15891         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15893 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15895         * bits/byteswap.h (__bswap_16): Removed.
15896         Include <bits/byteswap-16.h> to get __bswap_16.
15897         * sysdeps/i386/bits/byteswap.h: Likewise.
15898         * sysdeps/s390/bits/byteswap.h: Likewise.
15899         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15900         * bits/byteswap-16.h: New file.
15901         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15902         * sysdeps/s390/bits/byteswap-16.h: Likewise.
15903         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15904         * string/Makefile (headers): Add bits/byteswap-16.h.
15906 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15908         [BZ #13895]
15909         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15910         extra indirection.
15911         * nss/Makefile (tests-static, tests): Add tst-nss-static.
15912         * nss/tst-nss-static.c: New.
15914 2012-04-06  Robert Millan  <rmh@gnu.org>
15916         [BZ #6486]
15917         * manual/llio.texi (File Position Primitive): lseek
15918         refers to WHENCE when it really means OFFSET.
15920 2012-04-06  Andreas Jaeger  <aj@suse.de>
15922         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15923         strncmp declarations.
15925         * abilist/libc.abilist: Add __poll and __ppoll.
15927 2012-04-05  David S. Miller  <davem@davemloft.net>
15929         * scripts/check-local-headers.sh: Accept a host triplet in the
15930         path matched by the exclude regexp.
15932         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15933         definition.
15934         * sysdeps/powerpc/powerpc32/dl-machine.h
15935         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15936         * sysdeps/s390/s390-32/dl-machine.h
15937         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15938         * sysdeps/sparc/sparc32/dl-machine.h
15939         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15940         * sysdeps/sparc/sparc64/dl-machine.h
15941         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15943         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15944         lazy binding.
15945         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15946         undefined symbol errors.
15948         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15949         DT_NEEDED entries.
15951 2012-04-05  Michael Matz  <matz@suse.de>
15953         [BZ #13592]
15954         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15956 2012-04-05  Andreas Jaeger  <aj@suse.de>
15958         [BZ #13908]
15959         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15960         comment.
15962 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15964         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15965         which ROUND is no valid rounding mode.
15967 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15969         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15970         read again.
15971         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15973 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15975         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15976         an exception using FPU order intentionally.
15978 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15980         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15981         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15982         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15983         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15985 2012-04-05  Simon Josefsson  <simon@josefsson.org>
15987         [BZ #12340]
15988         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15989         EINVAL when BUFLEN is too smal.
15991 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15993         [BZ #13553]
15994         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15995         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15997 2012-04-03  Andreas Jaeger  <aj@suse.de>
15999         [BZ #13938]
16000         * manual/setjmp.texi (System V contexts): Fix sentence.
16002         [BZ #13926]
16003         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16004         New macro for this case.
16005         [!__GNUC__] (__bswap_64): New inline function for this case.
16006         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16007         * bits/byteswap.h: Likewise.
16008         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16009         ull, guard with __GLIBC_HAVE_LONG_LONG.
16011         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16012         __GLIBC_HAVE_LONG_LONG.
16014         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16015         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16017 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16019         [BZ #13691]
16020         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16021         inptr and inend, rather than using last_ch.
16023 2012-04-02  David S. Miller  <davem@davemloft.net>
16025         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16026         * stdio-common/printf-parse.h (read_int): Change return type to
16027         'int', return -1 on INT_MAX overflow.
16028         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16029         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16030         overflows INT_MAX.  Check for overflow of in-format-string precision
16031         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16032         SIZE_MAX not INT_MAX for integer overflow test.
16033         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16034         skip the construct in the format string but do not record anything.
16035         * stdio-common/bug22.c: Adjust to test both width/prevision
16036         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16037         explicitly for proper errno values.
16039 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16041         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16042         CHAR_MAX.
16043         * string/test-strcmp.c [! WIDE]: Likewise.
16044         * time/tst-mktime2.c: Likewise for INT_MAX.
16045         * string/test-string.h: #include <sys/param.h> for MIN.
16047         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16048         * sysdeps/i386/init-first.c (init): Likewise.
16049         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16050         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16051         * sysdeps/sh/init-first.c (init): Likewise.
16053 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16055         * po/ru.po: Update from translation team.
16056         * po/vi.po: Likewise.
16058 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16060         * resolv/nss_dns/dns-host.c: Merge copyright years.
16062 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16064         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16065         Optimize memcpy with prefetch if
16066         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16067         src, dst pointers have unequal 16 byte alignments.
16069 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16071         [BZ #13928]
16072         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16073         from a CNAME entry and return the minimum ttl for the query.
16074         (gaih_getanswer_slice): Likewise.
16076 2012-03-30  Jeff Law  <law@redhat.com>
16078         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16079         due to long keys.
16080         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16081         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16083         * resolv/nss_dns/dns-host.c: Update copyright year.
16085 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16087         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16088         requests to save a system call.  Fix check that all bytes are sent.
16090         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16091         comments for sendmmsg.
16093 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16095         [BZ #13691]
16096         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16097         with only 1 character between 0x0041 and 0x01b0.
16098         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16099         * wcsmbs/tst-mbsnrtowcs.c: New file.
16101 2012-03-29  David S. Miller  <davem@davemloft.net>
16103         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16104         small copies by hand.
16106 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16108         [BZ #13761]
16109         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16110         _nss_compat_initgroups_dyn): Fall back to malloc/free
16111         for large group memberships.
16113 2012-03-28  David S. Miller  <davem@davemloft.net>
16115         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16116         that branches into memcpy.
16117         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16118         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16119         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16120         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16121         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16122         bits.
16123         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16124         implementation too.
16125         * sysdeps/sparc/mempcpy.S: New file.
16127         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16128         the IFUNC routine in the libc case.
16129         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16131         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16132         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16133         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16134         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16135         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16136         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16137         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16138         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16140         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16141         loop to 256 bytes instead of 64 bytes and fix test signedness.
16143         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16144         * sysdeps/sparc/sparc32/Makefile: rather than here...
16145         * sysdeps/sparc/sparc64/Makefile: and here.
16147 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16149         * malloc/mallocbug.c: Avoid warnings about unused variables.
16151 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16153         [BZ #13760]
16154         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16155         in the right place. Discard and retry query if response is
16156         larger than input buffer size.
16158 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16160         [BZ #369]
16161         [BZ #2678]
16162         [BZ #3866]
16163         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16164         x for large integer exponent.
16165         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16166         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16167         sign of result as needed afterwards.
16168         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16169         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16170         result for underflowing pow the same as for overflow.
16171         (__kernel_standard_l): Handle powl overflow and underflow here
16172         rather than calling __kernel_standard.
16173         * math/libm-test.inc (pow_test): Add more tests.
16175         [BZ #3868]
16176         [BZ #13879]
16177         [BZ #13910]
16178         [BZ #13911]
16179         [BZ #13912]
16180         [BZ #13913]
16181         [BZ #13915]
16182         [BZ #13916]
16183         [BZ #13917]
16184         [BZ #13918]
16185         [BZ #13919]
16186         [BZ #13920]
16187         [BZ #13921]
16188         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16189         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16190         (__kernel_standard_l): New function.
16191         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16192         __kernel_standard.
16193         * math/w_acosl.c (__acosl): Likewise.
16194         * math/w_asinl.c (__asinl): Likewise.
16195         * math/w_atan2l.c (__atan2l): Likewise.
16196         * math/w_atanhl.c (__atanhl): Likewise.
16197         * math/w_coshl.c (__coshl): Likewise.
16198         * math/w_exp10l.c (__exp10l): Likewise.
16199         * math/w_exp2l.c (__exp2l): Likewise.
16200         * math/w_fmodl.c (__fmodl): Likewise.
16201         * math/w_hypotl.c (__hypotl): Likewise.
16202         * math/w_j0l.c (__j0l, __y0l): Likewise.
16203         * math/w_j1l.c (__j1l, __y1l): Likewise.
16204         * math/w_jnl.c (__jnl, __ynl): Likewise.
16205         * math/w_lgammal.c (__lgammal): Likewise.
16206         * math/w_log10l.c (__log10l): Likewise.
16207         * math/w_log2l.c (__log2l): Likewise.
16208         * math/w_logl.c (__logl): Likewise.
16209         * math/w_powl.c (__powl): Likewise.
16210         * math/w_remainderl.c (__remainderl): Likewise.
16211         * math/w_scalbl.c (sysv_scalbl): Likewise.
16212         * math/w_sinhl.c (__sinhl): Likewise.
16213         * math/w_sqrtl.c (__sqrtl): Likewise.
16214         * math/w_tgammal.c (__tgammal): Likewise.
16215         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16216         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16217         * math/libm-test.inc (acos_test): Add more tests.
16218         (acosh_test): Likewise.
16219         (asin_test): Likewise.
16220         (atanh_test): Likewise.
16221         (exp_test): Likewise.
16222         (exp10_test): Likewise.
16223         (exp2_test): Likewise.
16224         (expm1_test): Likewise.
16225         (lgamma_test): Likewise.
16226         (log_test): Likewise.
16227         (log10_test): Likewise.
16228         (log1p_test): Likewise.
16229         (log2_test): Likewise.
16230         (pow_test): Do not allow some spurious overflow exceptions.
16231         (sqrt_test): Add more tests.
16232         (tgamma_test): Likewise.
16233         (y0_test): Likewise.
16234         (y1_test): Likewise.
16235         (yn_test): Likewise.
16237 2012-03-27  Anton Blanchard  <anton@samba.org>
16239         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16240         MAP_HUGETLB.
16241         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16242         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16243         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16245 2012-03-27  David S. Miller  <davem@davemloft.net>
16247         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16249         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16250         have-as-vis3 check.
16252 2012-03-27  Andreas Jaeger  <aj@suse.de>
16254         * sysdeps/x86_64/elf/configure.in: Moved to ...
16255         * sysdeps/x86_64/configure.in: ... here.
16256         * sysdeps/x86_64/elf/start.S: Moved to ...
16257         * sysdeps/x86_64/start.S: ... here.
16258         * sysdeps/x86_64/elf/configure: Delete.
16260         * sysdeps/x86_64/configure.in: Merge contents from
16261         sysdeps/i386/configure.in (without i686 check).
16263         * sysdeps/i386/elf/Versions: Merge into ...
16264         * sysdeps/i386/Versions: ... this.
16265         * sysdeps/i386/elf/Versions: Delete file.
16266         * sysdeps/i386/elf/start.S: Moved to ...
16267         * sysdeps/i386/start.S: ...here.
16268         * sysdeps/i386/elf/configure.in: Merge into...
16269         * sysdeps/i386/configure.in: ...here.
16270         * sysdeps/i386/elf/configure.in: Delete file.
16271         * sysdeps/i386/elf/configure: Delete file.
16273         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16274         * debug/backtracesyms.c: ... here.
16275         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16276         * debug/backtracesymsfd.c: ... here.
16277         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16278         * sysdeps/generic/ifunc-sel.h: ... here.
16280         * sysdeps/unix/i386/start.c: Delete file.
16281         * sysdeps/unix/sparc/start.c: Delete file.
16282         * sysdeps/unix/start.c: Delete file.
16284         * sysdeps/sh/elf/configure.in: Moved to ...
16285         * sysdeps/sh/configure.in: ... here.
16286         * sysdeps/sh/elf/start.S: Moved to ...
16287         * sysdeps/sh/start.S: ... here.
16288         * sysdeps/sh/elf/configure: Delete file.
16290         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16291         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16292         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16293         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16294         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16295         * sysdeps/powerpc/powerpc64/start.S: here.
16296         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16297         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16298         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16299         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16300         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16302         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16303         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16304         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16305         * sysdeps/powerpc/powerpc32/start.S: ... here.
16306         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16307         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16308         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16310         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16311         * sysdeps/powerpc/ifunc-sel.h: ... here.
16312         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16313         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16315         * sysdeps/sparc/elf/configure.in: Moved to ...
16316         * sysdeps/sparc/configure.in: ... here.
16317         * sysdeps/sparc/elf/configure: Delete file.
16318         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16319         * sysdeps/sparc/sparc32/start.S: ... here.
16320         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16321         * sysdeps/sparc/sparc64/start.S: ... here.
16322         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16323         * sysdeps/sparc/sparc32/Makefile: ... this.
16324         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16325         * sysdeps/sparc/sparc64/Makefile: ... this.
16327         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16328         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16329         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16330         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16331         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16332         * sysdeps/s390/s390-32/setjmp.S: ... here.
16333         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16334         * sysdeps/s390/s390-32/configure.in: ... here.
16335         * sysdeps/s390/s390-32/elf/configure: Delete file.
16336         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16337         * sysdeps/s390/s390-32/start.S: ... here.
16339         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16340         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16341         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16342         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16343         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16344         * sysdeps/s390/s390-64/setjmp.S: ... here.
16345         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16346         * sysdeps/s390/s390-64/configure.in: ... here
16347         * sysdeps/s390/s390-64/elf/configure: Delete file.
16348         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16349         * sysdeps/s390/s390-64/start.S: ... here.
16350         * sysdeps/s390/s390-64/elf/configure: Delete.
16352         * configure.in: Remove support for elf directories in sysdeps.
16354         * configure: Regenerated.
16355         * sysdeps/i386/configure: Regenerated.
16356         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16357         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16358         * sysdeps/s390/s390-32/configure: Regenerated.
16359         * sysdeps/s390/s390-64/configure: Regenerated.
16360         * sysdeps/sh/configure: Regenerated.
16361         * sysdeps/sparc/configure: Regenerated.
16362         * sysdeps/x86_64/configure: Regenerated.
16364 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16368         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16369         denormal result into account.
16371 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16373         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16374         Reported by Allan McRae <allan@archlinux.org>.
16376 2012-03-23  Jeff Law  <law@redhat.com>
16378         * nss/getnssent.c (__nss_getent): Fix typo.
16380 2012-03-23  David S. Miller  <davem@davemloft.net>
16382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16384 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16386         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16387         to pad to uint64_t for each field.
16388         (dl_tls_index): Replace unsigned long with uint64_t.
16390 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16391         Paul Pluzhnikov  <ppluzhnikov@google.com>
16393         [BZ #6528]
16394         * grp/Makefile (otherlibs): Don't set it.
16395         * inet/Makefile (otherlibs): Likewise.
16396         * login/Makefile (otherlibs): Likewise.
16397         * nscd/Makefile (otherlibs): Likewise.
16398         * posix/Makefile (otherlibs): Likewise.
16399         * pwd/Makefile (otherlibs): Likewise.
16400         * rt/Makefile (otherlibs): Likewise.
16401         * sunrpc/Makefile (otherlibs): Likewise.
16402         * nss/Makefile (otherlibs): Likewise.
16403         Add libnss_files to routines and static-only-routines.
16404         ($(objpfx)getent): Remove rule.
16405         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16406         static-only-routines.
16408 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16410         [BZ #13892]
16411         * math/s_cexp.c: Include <float.h>.
16412         (__cexp): Handle exp result overflowing not necessarily
16413         overflowing both real and imaginary parts of result.
16414         * math/s_cexpf.c: Likewise.
16415         * math/s_cexpl.c: Likewise.
16416         * math/libm-test.inc (cexp_test): Add more tests.
16417         * sysdeps/i386/fpu/libm-test-ulps: Update.
16418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16420 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16422         * include/link.h (ELFW): New macro.
16423         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16424         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16426 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16428         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16429         with uint64_t.
16431 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16433         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16434         declaration.
16435         (struct La_x32_retval): Likewise.
16437 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16439         * sysdeps/x86_64/preconfigure.in: New file.
16440         * sysdeps/x86_64/preconfigure: New generated file.
16442 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16444         [BZ #13824]
16445         * math/e_exp2l.c: Include <float.h>.
16446         (__ieee754_exp2l): Handle overflow and underflow cases
16447         separately.  Only pass fractional part of argument to
16448         __ieee754_expl.
16449         * math/libm-test.inc (exp2_test): Add more tests.
16451         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16452         negating x to take absolute value.
16453         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16454         Likewise.
16455         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16456         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16457         Likewise.
16458         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16459         computing low part if x was negated.
16460         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16462 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16464         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16465         la_x32_gnu_pltexit.
16466         (pltexit): Cast int_retval to ptrdiff_t.
16467         * elf/tst-auditmod3b.c: Likewise.
16468         * elf/tst-auditmod4b.c: Likewise.
16469         * elf/tst-auditmod5b.c: Likewise.
16470         * elf/tst-auditmod6b.c: Likewise.
16471         * elf/tst-auditmod6c.c: Likewise.
16472         * elf/tst-auditmod7b.c: Likewise.
16474         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16475         and x32_gnu_pltexit.
16477         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16478         __ELF_NATIVE_CLASS.
16479         (La_x32_regs): New macro.
16480         (La_x32_retval): Likewise.
16481         (la_x32_gnu_pltenter): New function prototype.
16482         (la_x32_gnu_pltexit): Likewise.
16484 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16486         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16487         exponent.
16489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16491         * configure.in (libc_cv_cc_nofma): Check for option to disable
16492         generation of FMA instructions.
16493         * configure: Regenerate.
16494         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16495         * sysdeps/ieee754/dbl-64/Makefile: New file.
16496         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16497         Remove brandred-fma4.
16498         (CFLAGS-brandred-fma4.c): Remove.
16499         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16500         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16501         define.
16502         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16503         define.
16505 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16507         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16508         LLONG_MAX != LONG_MAX.
16509         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16510         (_fitoa_word): Likewise.
16511         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16512         LLONG_MAX != LONG_MAX.
16513         * stdio-common/_itowa.h: Include <_itoa.h>.
16514         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16515         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16516         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16517         only if not defined.
16518         (_ITOA_WORD_TYPE): Likewise.
16519         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16520         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16522 2012-03-21  David S. Miller  <davem@davemloft.net>
16524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16526 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16528         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16529         of x86_64 when setting libc_cv_slibdir, libdir and
16530         libc_cv_localedir.
16531         * sysdeps/unix/sysv/linux/configure: Regenerated.
16533 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16535         * manual/lang.texi (Old Varargs): Remove section.
16536         (How Variadic): Update menu.
16537         (va_start): Do not mention varargs.h.
16539 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16540             Joseph Myers  <joseph@codesourcery.com>
16542         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16543         link test.
16544         * configure: Regenerated.
16546 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16548         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16549         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16550         conformtest.pl
16552 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16554         * NOTES: Remove.
16555         * Makefile (files-for-dist): Remove NOTES.
16556         (NOTES): Remove rule.
16557         * README: Don't refer to NOTES.
16558         * manual/creature.texi: Don't include macros.texi.
16559         * manual/intro.texi (creature.texi): Remove comment referring to
16560         NOTES.
16562         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16563         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16564         * configure: Regenerated.
16565         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16566         LIBC_TRY_CC_OPTION.
16567         (libc_cv_as_i686): Likewise.
16568         (libc_cv_cc_avx): Likewise.
16569         (libc_cv_cc_sse2avx): Likewise.
16570         (libc_cv_cc_fma4): Likewise.
16571         (libc_cv_cc_novzeroupper): Likewise.
16572         * sysdeps/i386/configure: Regenerated.
16574         [BZ #13883]
16575         * sysdeps/i386/fpu/s_cexp.S: Remove.
16576         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16577         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16578         * math/libm-test.inc (cexp_test): Add more tests.
16579         * sysdeps/i386/fpu/libm-test-ulps: Update.
16580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16582 2012-03-21  Allan McRae  <allan@archlinux.org>
16584         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16586 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16588         [BZ #13871]
16589         * math/w_exp2.c: Do not include <float.h>.
16590         (o_threshold, u_threshold): Remove.
16591         (__exp2): Calculate result before checking finiteness and calling
16592         __kernel_standard.
16593         * math/w_exp2f.c: Likewise.
16594         * math/w_exp2l.c: Likewise.
16595         * math/libm-test.inc (exp2_test): Require overflow exception for
16596         1e6 input.
16598         [BZ #3866]
16599         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16600         range of signed 64-bit integers before using fistpll.  Remove
16601         checks for whether integers fit in mantissa bits.
16602         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16603         the range of signed 32-bit integers before using fistpl.  Remove
16604         checks for whether integers fit in mantissa bits.
16605         * sysdeps/i386/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         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16610         divide-by-zero is raised for zero to large negative powers.
16611         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16612         (__ieee754_powl): Test for y outside the range of signed 64-bit
16613         integers before using fistpll.  Reduce 64-bit values to 63-bit
16614         ones as needed.
16615         * math/libm-test.inc (pow_test): Add more tests.
16617 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16619         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16620         <stdio-common/_itoa.h>.
16621         * debug/segfault.c: Likewise.
16622         * elf/dl-cache.c: Likewise.
16623         * elf/dl-minimal.c: Likewise.
16624         * elf/dl-misc.c: Likewise.
16625         * elf/dl-sysdep.c: Likewise.
16626         * elf/dl-version.c: Likewise.
16627         * elf/rtld.c: Likewise.
16628         * hurd/hurdsock.c: Likewise.
16629         * hurd/lookup-retry.c: Likewise.
16630         * malloc/malloc.c: Likewise.
16631         * malloc/mtrace.c: Likewise.
16632         * nscd/nscd_getgr_r.c: Likewise.
16633         * nscd/nscd_getpw_r.c: Likewise.
16634         * nscd/nscd_getserv_r.c: Likewise.
16635         * posix/getopt_init.c: Likewise.
16636         * posix/wordexp.c: Likewise.
16637         * stdio-common/_itoa.c: Likewise.
16638         * stdio-common/printf_fphex.c: Likewise.
16639         * stdio-common/vfprintf.c: Likewise.
16640         * string/_strerror.c: Likewise.
16641         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16642         * sysdeps/i386/i686/hp-timing.h: Likewise.
16643         * sysdeps/mach/_strerror.c: Likewise.
16644         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16645         * sysdeps/mach/hurd/sethostid.c: Likewise.
16646         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16647         * sysdeps/mach/xpg-strerror.c: Likewise.
16648         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16649         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16650         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16651         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16652         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16653         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16654         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16655         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16656         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16657         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16658         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16659         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16660         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16661         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16662         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16663         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16664         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16665         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16666         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16667         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16668         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16670         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16672         * stdio-common/_itoa.h: Moved to ...
16673         * sysdeps/generic/_itoa.h: Here.
16675         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16677         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16678         instead of "_itoa.h" and "_itowa.h".
16679         * stdio-common/vfprintf.: Likewise.
16681 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16683         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16684         <bits/wordsize.h>.
16685         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16686         (__signbit): Likwise.
16687         (llrintf): Likwise.
16688         (llrint): Likwise.
16690 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16692         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16693         __WORDSIZE != 64.
16695 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
16697         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16698         OVERFLOW_EXCEPTION_OK.
16699         * math/libm-test.inc ("Philosophy"): Update comment about
16700         exception testing.
16701         (OVERFLOW_EXCEPTION): Define.
16702         (OVERFLOW_EXCEPTION_OK): Likewise.
16703         (INVALID_EXCEPTION_OK): Renumber.
16704         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16705         (IGNORE_ZERO_INF_SIGN): Likewise.
16706         (test_exceptions): Handle FE_OVERFLOW.
16707         (exp10_test): Expect overflow exceptions.
16708         (exp2_test): Likewise.
16709         (expm1_test): Likewise.
16710         (nextafter_test): Likewise.
16711         (pow_test): Likewise.
16712         (scalbn_test): Likewise.
16713         (scalbln_test): Likewise.
16715 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16717         * sysdeps/x86_64/bits/atomic.h
16718         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16719         64bit integer.
16720         (atomic_exchange_acq): Likewise.
16721         (__arch_exchange_and_add_body): Likewise.
16722         (__arch_add_body): Likewise.
16723         (atomic_add_negative): Likewise.
16724         (atomic_add_zero): Likewise.
16726 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16728         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16729         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16731 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16733         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16734         Check __x86_64__ instead of __WORDSIZE.
16736 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16738         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16740 2012-03-19  David S. Miller  <davem@davemloft.net>
16742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16744         * sysdeps/sparc/fpu/fenv_private.h: New file.
16745         * sysdeps/sparc/fpu/math_private.h: Use it.
16746         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16747         Remove.
16748         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16749         (libc_feholdexcept_setroundl): Remove.
16750         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16751         Remove.
16752         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16753         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16755 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16757         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16758         int64_t instead of long int.
16759         (INSERT_WORDS64): Likwise.
16761 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16763         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16764         _Unwind_GetCFA return to _Unwind_Ptr first.
16766 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
16768         [BZ #13629]
16769         * math/s_clog.c: Include <float.h>.
16770         (__clog): Scale large or subnormal inputs.
16771         * math/s_clogf.c: Likewise.
16772         * math/s_clogl.c: Likewise.
16773         * math/s_clog10.c: Include <float.h>.
16774         (M_LOG10_2): Define.
16775         (__clog10): Scale large or subnormal inputs.
16776         * math/s_clog10f.c: Likewise.
16777         * math/s_clog10l.c: Likewise.
16778         * math/libm-test.inc (clog_test): Add more tests.
16779         (clog10_test): Likewise.
16780         * sysdeps/i386/fpu/libm-test-ulps: Update.
16781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16783         [BZ #11451]
16784         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16785         x and y.
16786         * math/libm-test.inc (atan2_test): Add another test.
16788         * Makerules (common-objdir-compile): Remove.
16789         * sysdeps/unix/Makefile (config-generated): Do not add
16790         $(unix-generated) to variable.
16791         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16792         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16793         Remove rule.
16794         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16795         Likewise.
16796         [generic bits/local_lim.h] (before-compile): Do not append to
16797         variable.
16798         [generic bits/local_lim.h] (common-generated): Likewise.
16799         [generic sys/param.h] (before-compile): Do not append to variable.
16800         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16801         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16802         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16803         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16804         include.
16805         [generic sys/param.h] (sys/param.h-includes): Remove variable.
16806         [generic sys/param.h] (sys/param.h-includes): Remove rule.
16807         [generic sys/param.h] ($(addprefix
16808         $(common-objpfx),$(sys/param.h-includes))): Likewise.
16809         [generic sys/param.h] (common-generated): Do not append to
16810         variable.
16811         [generic sys/param.h] (sysdep_headers): Likewise.
16812         [generic bits/errno.h] (before-compile): Do not append to
16813         variable.
16814         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16815         rule.
16816         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16817         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16818         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16819         [generic bits/errno.h] (common-generated): Do not append to
16820         variable.
16821         [generic bits/ioctls.h] (before-compile): Do not append to
16822         variable.
16823         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16824         rule.
16825         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16826         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16827         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16828         rule.
16829         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16830         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16831         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16832         [generic bits/ioctls.h] (common-generated): Do not append to
16833         variable.
16834         [generic sys/syscall.h] (syscall.h): Remove variable.
16835         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16836         rule.
16837         [generic sys/syscall.h] (before-compile): Do not append to
16838         variable.
16839         [generic sys/syscall.h] (common-generated): Likewise.
16840         * sysdeps/unix/errnos-tmpl.c: Remove file.
16841         * sysdeps/unix/errnos.awk: Likewise.
16842         * sysdeps/unix/ioctls-tmpl.c: Likewise.
16843         * sysdeps/unix/ioctls.awk: Likewise.
16844         * sysdeps/unix/mk-local_lim.c: Likewise.
16845         * sysdeps/unix/snarf-ioctls: Likewise.
16847 2012-03-19  Richard Henderson  <rth@twiddle.net>
16849         * sysdeps/i386/fpu/fenv_private.h: New file.
16850         * sysdeps/i386/fpu/math_private.h: Use it.
16851         (math_opt_barrier, math_force_eval): Remove.
16852         (libc_feholdexcept_setround_53bit): Remove.
16853         (libc_feupdateenv_53bit): Remove.
16854         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16855         (math_opt_barrier, math_force_eval): Remove.
16856         (libc_feholdexcept): Remove.
16857         (libc_feholdexcept_setround): Remove.
16858         (libc_fetestexcept, libc_fesetenv): Remove.
16859         (libc_feupdateenv_test): Remove.
16860         (libc_feupdateenv, libc_feholdsetround): Remove.
16861         (libc_feresetround): Remove.
16863         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16864         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16866         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16867         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16868         (libc_feupdateenv_testl): New.
16869         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16870         (libc_feupdateenv_testf): New.
16871         (libc_feupdateenv): Use libc_feupdateenv_test.
16872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16873         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16875         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16876         (libc_feholdsetroundf, libc_feholdsetroundl): New.
16877         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16878         (libc_feresetround_noex): New.
16879         (libc_feresetround_noexf): New.
16880         (libc_feresetround_noexl): New.
16881         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16882         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16883         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16884         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16885         SET_RESTORE_ROUND.
16886         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16887         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16888         (__cos): Likewise.
16889         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16890         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16891         SET_RESTORE_ROUND_NOEX.
16892         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16893         SET_RESTORE_ROUND_NOEXF.
16894         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16895         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16896         (libc_feholdsetroundf): New.
16897         (libc_feresetround, libc_feresetroundf): New.
16899         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16900         (libc_feholdexcept_setround_53bit): Convert from macro to function.
16901         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
16903         * sysdeps/generic/math_private.h: Include <fenv.h>.
16904         (default_libc_feholdexcept): New.
16905         (default_libc_feholdexcept_setround): New.
16906         (default_libc_fesetenv, default_libc_feupdateenv): New.
16907         (libc_feholdexcept): Only define if undefined.
16908         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16909         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16910         (libc_feholdexcept_setroundl): Likewise.
16911         (libc_feholdexcept_setround_53bit): Likewise.
16912         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16913         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16914         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16915         (libc_feupdateenv_53bit): Likewise.
16916         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16917         (libc_feholdexcept): Convert from macro to inline function.
16918         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16919         (libc_fesetenv, libc_feupdateenv): Likewise.
16921         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16922         not previously defined.
16923         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16924         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16925         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16926         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16927         * sysdeps/ieee754/flt-32/math_private.h: New file.
16928         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16929         math_private.h below SET_FLOAT_WORD.
16930         (__isnan, __isinf_ns, __finite): Remove.
16931         (__isnanf, __isinf_nsf, __finitef): Remove.
16933 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
16935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16937 2012-03-17  David S. Miller  <davem@davemloft.net>
16939         [BZ #6471]
16940         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16941         for 2.16.
16943 2012-03-16  David S. Miller  <davem@davemloft.net>
16945         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16946         warnings.
16948         [BZ #6471]
16949         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16950         properly.
16951         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16952         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16953         sysdep_routines when subdir is sysvipc.
16954         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16955         __getshmlba helper.
16957         * sysdeps/sparc/fpu/libm-test/ulps: Update.
16959 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16961         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16962         [__LP64__].
16964 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16966         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16967         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16968         (__lround): Renamed to ...
16969         (__llround): This.  Replace long int with long long int.
16970         Define lround functions as aliases of llround functions.
16971         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16973 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16975         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16976         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
16977         adresses to uintptr_t.  Replace "long int" and "unsigned long
16978         int" with "greg_t" on va_arg.
16980 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16982         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16983         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16985         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16986         Move e_machine check before EI_CLASS check.  Handle x32
16987         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16988         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16989         SKIP_EM_IA_64 and include
16990         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16992         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16993         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16994         (add_system_dir): New macro.
16996         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16997         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16999 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17001         [BZ #2551]
17002         [BZ #2552]
17003         [BZ #2553]
17004         [BZ #2554]
17005         [BZ #2562]
17006         [BZ #2563]
17007         [BZ #2565]
17008         [BZ #2566]
17009         [BZ #2576]
17010         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17011         (y0): Likewise.
17012         * math/w_j0f.c (j0f): Likewise.
17013         (y0f): Likewise.
17014         * math/w_j0l.c (__j0l): Likewise.
17015         (__y0l): Likewise.
17016         * math/w_j1.c (j1): Likewise.
17017         (y1): Likewise.
17018         * math/w_j1f.c (j1f): Likewise.
17019         (y1f): Likewise.
17020         * math/w_j1l.c (__j1l): Likewise.
17021         (__y1l): Likewise.
17022         * math/w_jn.c (jn): Likewise.
17023         (yn): Likewise.
17024         * math/w_jnf.c (jnf): Likewise.
17025         (ynf): Likewise.
17026         * math/w_jnl.c (__jnl): Likewise.
17027         (__ynl): Likewise.
17028         * math/libm-test.inc (j0_test): Add more tests.
17029         (j1_test): Likewise.
17030         (jn_test): Likewise.  Add trailing semicolon to existing test.
17031         (y0_test): Likewise.
17032         (y1_test): Likewise.
17033         * sysdeps/i386/fpu/libm-test-ulps: Update.
17034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17036         [BZ #13851]
17037         [BZ #13854]
17038         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17039         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17040         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17041         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17042         (__tanl): Set errno for infinite argument.
17043         * sysdeps/i386/fpu/mptan.c: Remove.
17044         * sysdeps/i386/fpu/s_tan.S: Likewise.
17045         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17046         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17047         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17048         * math/libm-test.inc (tan_test): Add more tests and enable more
17049         tests for double and long double.
17050         * sysdeps/i386/fpu/libm-test-ulps: Update.
17051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17053 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17055         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17056         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17058 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17060         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17061         * configure.in: Use it for both main tree and add-ons.
17062         * configure: Regenerated.
17064 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17066         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17068 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17070         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17071         in comment.
17073         [BZ #13851]
17074         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17075         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17076         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17077         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17078         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17079         infinite argument.
17080         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17081         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17082         != 0 for prec == 2.
17083         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17084         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17085         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17086         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17087         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17088         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17089         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17090         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17091         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17092         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17093         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17094         * math/libm-test.inc (cos_test): Add more tests and enable more
17095         tests for long double.
17096         (sin_test): Likewise.
17097         (sincos_test): Likewise.
17098         * sysdeps/i386/fpu/libm-test-ulps: Update.
17099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17101 2012-03-16  David S. Miller  <davem@davemloft.net>
17103         * sysdeps/sparc/fpu/math_private.h: New file.
17105 2012-03-15  David S. Miller  <davem@davemloft.net>
17107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17108         file.
17109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17111         file.
17112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17117         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17118         sysdep routines.
17119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17121         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17122         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17124         * sysdeps/sparc/sparc-ifunc.h: New file.
17125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17126         sparc-ifunc.h
17127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17129         Likewise.
17130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17131         Likewise.
17132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17136         Likewise.
17137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17142         Likewise.
17143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17144         Likewise.
17145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17151         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17152         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17163         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17164         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17165         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17166         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17167         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17168         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17170 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17172         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17173         scaling.
17174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17176 2012-03-15  Andreas Jaeger  <aj@suse.de>
17178         [BZ #13852]
17179         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17180         ieee754/flt-32 implementation for sin, cos and sincos.
17181         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17182         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17183         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17184         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17185         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17186         ieee754/flt-32 implementation for tan.
17188         * math/libm-test.inc (cos_test): Enable some large input tests for
17189         float as well
17190         (sin_test): Likewise.
17191         (sincos_test): Likewise.
17192         (tan_test): Add tests for large input.
17194         * sysdeps/i386/fpu/libm-test-ulps: Update.
17196 2012-03-15  Andreas Jaeger  <aj@suse.de>
17198         [BZ #13658]
17199         * math/libm-test.inc (cos_test): Add more test cases.
17200         (sin_test): Likewise.
17201         (sincos_test): Likewise.
17203 2012-03-15  Andreas Jaeger  <aj@suse.de>
17205         [BZ #13837]
17206         * math/libm-test.inc (cos_test): Add a test case for large input
17207         value.
17208         (sin_test): Likewise.
17209         (sincos_test): Likewise.
17211 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17212         Joseph Myers  <joseph@codesourcery.com>
17214         [BZ #13658]
17215         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17216         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17217         * sysdeps/i386/fpu/branred.c: Likewise.
17218         * sysdeps/i386/fpu/dosincos.c: Likewise.
17219         * sysdeps/i386/fpu/mpa.c: Likewise.
17220         * sysdeps/i386/fpu/s_cos.S: Likewise.
17221         * sysdeps/i386/fpu/s_sin.S: Likewise.
17222         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17223         * sysdeps/i386/fpu/sincos32.c: Likewise.
17225         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17226         Define.
17227         (libc_feupdateenv_53bit): Define.
17228         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17229         Define.
17230         (libc_feupdateenv_53bit): Define.
17232         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17233         53 bit (without extend i386 double precision).
17235         * math/libm-test.inc (sincos_test): Add tests for large input.
17236         (sin): Likewise.
17237         (cos): Likewise.
17239         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17241 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17245 2012-03-15  David S. Miller  <davem@davemloft.net>
17247         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17248         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17249         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17250         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17263         file.
17264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17266         file.
17267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17269         file.
17270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17272         file.
17273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17274         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17275         fmin/fmax sysdep routines.
17276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17278 2012-03-14  David S. Miller  <davem@davemloft.net>
17280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17284         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17286         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17287         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17290         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17300         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17302         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17303         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17304         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17305         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17306         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17307         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17309         routines.
17310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17311         file.
17312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17314         file.
17315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17317         file.
17318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17320         file.
17321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17323         file.
17324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17326         file.
17327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17328         file.
17329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17330         file.
17331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17332         file.
17333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17334         New file.
17335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17336         file.
17337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17338         file.
17339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17341         file.
17342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17344         file.
17345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17347         file.
17348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17350         VIS3 routines.
17352         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17353         New file.
17355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17357         * sysdeps/sparc/configure.in: New file.
17358         * sysdeps/sparc/configure: Generate.
17359         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17360         * configure: Regenerate.
17361         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17362         * config.make.in (have-as-vis3): New.
17363         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17364         available use -Av9d instead of -Av9a.
17365         * sysdeps/sparc/sparc64/Makefile: Likewise.
17366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17368         New file.
17369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17370         file.
17371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17372         New file.
17373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17374         file.
17375         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17376         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17377         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17378         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17379         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17381         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17382         fzeros/fnegs to load 0x80000000 into a float register instead of
17383         using the stack.
17384         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17386 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17389         bits/syscall.h.
17390         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17391         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17392         ($(inst_includedir)/bits/syscall.h): Remove rule.
17393         ($(objpfx)bits/syscall.d): Include instead of
17394         $(objpfx)syscall-list.d.
17395         (generated): Change syscall-list.h and syscall-list.d to
17396         bits/syscall.h and bits/syscall.d.
17398 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17400         [BZ #13846]
17401         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17403 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17405         [BZ #13841]
17406         * math/s_csqrt.c: Include <float.h>.
17407         (__csqrt): Scale large or subnormal inputs.
17408         * math/s_csqrtf.c: Likewise.
17409         * math/s_csqrtl.c: Likewise.
17410         * math/libm-test.inc (csqrt_test): Add more tests.
17411         * sysdeps/i386/fpu/libm-test-ulps: Update.
17412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17414         [BZ #13840]
17415         * math/libm-test.inc (hypot_test): Add more tests.
17417 2012-03-13  David S. Miller  <davem@davemloft.net>
17419         [BZ #13840]
17420         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17421         double-precision for the calculation instead of scaling.
17423 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17425         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17426         manipulate bits before adding and subtracting TWO52[sx].
17427         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17428         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17429         Likewise.
17430         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17432 2012-03-13  David S. Miller  <davem@davemloft.net>
17434         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17435         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17436         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17437         rtld-global-offsets.h
17438         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17440         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17441         large parameters.
17443         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17445         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17446         'err' in the ifdef scope in which it is actually used.
17448         * nss/nss_db/db-init.c: Include string.h
17450 2012-03-12  David S. Miller  <davem@davemloft.net>
17452         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17453         masking out of the most significant byte of random value used.
17454         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17455         Fix coding style in previous change.
17457         * sysdeps/unix/sysv/linux/kernel-features.h
17458         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17459         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17460         expression.
17461         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17462         later.
17464 2012-03-11  David S. Miller  <davem@davemloft.net>
17466         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17467         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17468         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17469         for 'resultvar' otherwise things get truncated on 64-bit.
17471         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17472         Fix masking out of the most significant byte of random value used.
17474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17476 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17480 2012-03-09  David S. Miller  <davem@davemloft.net>
17482         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17483         variables with appropriate CPP guards.
17484         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17485         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17486         on resulting framesize and the management of the outregs buffer for pltexit.
17487         Preserve floating point return values across _dl_call_pltexit call.
17488         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17489         framesize and the management of the outregs buffer for pltexit.
17490         Preserve floating point return values across _dl_call_pltexit
17491         call.
17492         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17493         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17494         (print_exit): Fix format string for return register value.
17496 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17498         * sunrpc/Makefile (others): Add rpcgen.
17499         ($(objpfx)rpcgen): Remove special build rule and dependency on
17500         libc.
17501         * sunrpc/rpcgen.c: New file.
17503 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17505         [BZ #13673]
17506         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17507         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17508         * sysdeps/i386/crti.S: Likewise.
17509         * sysdeps/i386/crtn.S: Likewise.
17510         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17511         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17512         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17513         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17514         * sysdeps/sh/crti.S: Likewise.
17515         * sysdeps/sh/crtn.S: Likewise.
17516         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17518         [BZ #13673]
17519         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17520         with URL.
17521         * locale/programs/locfile-kw.gperf: Likewise.
17522         * locale/programs/charmap-kw.h: Regenerated.
17523         * locale/programs/locfile-kw.h: Likewise.
17525         [BZ #13673]
17526         * intl/plural.y: Replace FSF snail mail address with URL.
17527         * intl/plural.c: Regenerated.
17529 2012-03-09  Richard Henderson  <rth@twiddle.net>
17531         * include/math_private.h: Remove file.
17532         * math/math_private.h: Move file ...
17533         * sysdeps/generic/math_private.h: ... here.
17535         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17536         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17537         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17539         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17540         and <math_private.h>.
17541         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17542         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17543         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17544         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17545         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17546         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17547         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17548         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17549         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17550         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17552         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17553         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17554         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17555         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17556         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17557         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17558         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17559         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17560         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17561         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17562         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17563         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17564         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17565         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17566         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17567         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17568         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17569         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17571         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17572         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17573         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17574         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17575         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17576         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17577         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17578         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17579         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17580         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17581         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17582         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17583         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17584         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17585         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17586         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17587         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17588         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17589         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17590         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17591         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17592         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17593         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17594         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17595         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17596         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17597         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17598         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17599         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17600         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17601         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17602         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17604         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17605         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17606         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17607         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17608         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17609         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17610         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17611         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17612         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17613         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17614         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17615         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17616         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17617         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17618         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17619         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17620         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17621         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17622         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17623         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17624         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17625         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17626         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17627         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17628         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17629         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17630         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17631         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17632         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17633         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17634         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17635         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17636         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17637         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17638         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17639         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17640         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17641         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17642         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17643         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17644         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17645         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17646         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17647         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17648         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17649         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17650         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17651         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17652         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17653         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17654         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17655         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17656         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17657         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17658         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17659         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17660         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17661         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17662         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17663         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17664         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17665         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17666         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17667         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17668         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17669         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17670         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17671         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17672         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17673         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17674         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17675         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17676         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17677         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17678         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17679         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17680         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17681         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17682         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17683         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17684         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17685         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17686         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17687         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17688         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17689         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17690         * sysdeps/ieee754/k_standard.c: Likewise.
17691         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17692         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17693         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17694         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17695         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17696         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17697         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17698         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17699         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17700         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17701         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17702         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17703         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17704         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17705         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17706         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17707         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17708         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17709         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17710         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17711         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17712         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17713         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17714         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17715         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17716         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17717         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17718         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17719         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17720         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17721         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17722         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17723         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17724         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17725         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17726         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17728         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17729         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17730         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17731         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17733         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17734         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17739         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17740         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17741         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17742         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17743         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17744         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17745         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17746         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17747         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17748         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17749         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17750         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17751         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17752         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17753         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17754         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17755         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17756         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17757         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17758         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17759         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17761         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17763         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17764         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17765         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17766         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17767         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17768         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17769         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17770         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17771         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17772         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17773         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17774         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17775         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17776         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17777         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17778         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17779         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17780         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17781         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17782         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17783         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17784         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17786         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17787         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17788         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17789         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17790         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17791         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17792         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17793         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17794         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17795         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17796         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17797         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17798         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17799         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17800         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17801         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17802         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17803         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17804         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17805         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17806         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17807         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17808         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17809         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17810         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17811         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17812         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17813         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17814         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17815         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17816         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17817         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17818         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17819         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17820         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17821         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17822         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17823         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17824         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17825         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17826         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17827         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17828         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17829         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17830         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17831         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17832         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17833         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17834         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17835         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17836         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17837         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17838         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17839         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17840         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17841         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17842         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17843         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17844         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17845         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17846         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17847         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17848         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17849         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17850         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17851         * sysdeps/ieee754/s_lib_version.c: Likewise.
17852         * sysdeps/ieee754/s_matherr.c: Likewise.
17853         * sysdeps/ieee754/s_signgam.c: Likewise.
17854         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17855         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17856         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17857         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17858         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17859         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17860         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17861         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17862         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17863         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17864         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17865         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17866         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17867         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17868         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17869         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17870         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17871         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17872         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17873         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17874         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17876 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17878         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17879         * sunrpc/rpc_main.c: Likewise.
17880         * sunrpc/rpc_svcout.c: Likewise.
17882 2012-03-09  David S. Miller  <davem@davemloft.net>
17884         * include/math_private.h: New file.
17886 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17888         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17889         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17890         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17891         from <bits/socket_type.h>.
17892         (enum __socket_type): Don't define here.
17893         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17895         bits/socket_type.h.
17897         [BZ #13566]
17898         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17899         checking __USE_GNU.
17901         * Makerules ($(inst_includedir)/%.h): New rule.
17902         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17903         (install-others): Remove variable setting.
17904         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17906 2012-03-08  Richard Henderson  <rth@twiddle.net>
17908         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17909         from macro to inline function; merge with the
17910         !__LIBC_INTERNAL_MATH_INLINES version.
17911         (__ieee754_sqrtf): Likewise.
17913         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17914         to inline function.
17915         (__rintf, __floor, __floorf): Likewise.
17917         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17918         macro to inline function.
17919         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17921         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17922         not <math/math_private.h>.
17924 2012-03-08  David S. Miller  <davem@davemloft.net>
17926         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17927         copyright year.
17928         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17930 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
17932         * resolv/gai_misc.c (handle_requests): Fix struct timespec
17933         normalization.
17934         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17935         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17937 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
17939         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
17940         be defined individually, they must be defined as a block.  Define
17941         S for printing a string instead of hidint the different by using a
17942         macro for adding the 'l'.
17943         * stdio-common/tst-fphex-wide.c: Adjust.
17945 2012-03-07  Marek Polacek  <polacek@redhat.com>
17947         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17949 2012-03-08  Marek Polacek  <polacek@redhat.com>
17951         [BZ #13806]
17952         * stdio-common/Makefile (tests): Add tst-fphex-wide.
17953         * stdio-common/tst-fphex.c: Define a few macros to make the
17954         test reusable.  Use them.
17955         * stdio-common/tst-fphex-wide.c: New file.
17957 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
17959         [BZ #6911]
17960         * manual/macros.texi (gnusystems): New macro.
17961         (nongnusystems): Likewise.
17962         (gnulinuxhurdsystems): Likewise.
17963         (gnuhurdsystems): Likewise..
17964         (gnulinuxsystems): Likewise.
17965         * manual/charset.texi: Use new macros or @theglibc{} to refer to
17966         variants of the GNU system, not "GNU system".
17967         * manual/conf.texi: Likewise.
17968         * manual/errno.texi: Likewise.  Update example of errno macro
17969         expansion.
17970         * manual/filesys.texi: Likewise.
17971         (getumask): Document as specific to GNU/Hurd.
17972         * manual/install.texi: Likewise.  Reword some references to
17973         GNU/Linux.
17974         * manual/intro.texi: Likewise.
17975         * manual/io.texi: Likewise.
17976         (File Name Portability): Detail which constraints are inapplicable
17977         to all GNU systems and which are only inapplicable to GNU/Hurd.
17978         * manual/job.texi: Likewise.
17979         * manual/llio.texi: Likewise.
17980         (O_NOCTTY): Document as present on GNU/Linux.
17981         * manual/maint.texi: Likewise.
17982         * manual/memory.texi: Likewise.
17983         * manual/pattern.texi: Likewise.
17984         * manual/pipe.texi: Likewise.
17985         * manual/process.texi: Likewise.
17986         * manual/resource.texi: Likewise.
17987         (RUSAGE_CHILDREN): Remove statement about specifying a particular
17988         child on GNU/Hurd.
17989         * manual/setjmp.texi: Likewise.
17990         * manual/signal.texi: Likewise.
17991         * manual/startup.texi: Likewise.
17992         * manual/stdio.texi: Likewise.
17993         * manual/terminal.texi: Likewise.
17994         (ONLCR): Document as POSIX.
17995         (OXTABS): Document availability on GNU/Linux as XTABS.
17996         (ONOEOT): Document availability separately from other bits.
17997         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17998         * manual/time.texi: Likewise.
17999         * manual/users.texi: Likewise.
18000         * INSTALL: Regenerated.
18001         * sysdeps/gnu/errlist.c: Regenerated.
18003         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18004         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18005         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18006         puts.
18007         * configure: Regenerated.
18009 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18011         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18012         default includes instead of AC_HEADER_CHECK.
18013         * sysdeps/i386/configure: Regenerated.
18015         [BZ #10716]
18016         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18017         * math/s_cacoshf.c (__cacoshf): Likewise.
18018         * math/s_cacoshl.c (__cacoshl): Likewise.
18019         * math/s_casinh.c (__casinh): Set signs of result from argument.
18020         * math/s_casinhf.c (__casinhf): Likewise.
18021         * math/s_casinhl.c (__casinhl): Likewise.
18022         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18023         (casinh_test): Add more tests.
18024         * sysdeps/i386/fpu/libm-test-ulps: Update.
18025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18027 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18029         * po/zh_TW.po: Update from translation team.
18031         * login/Makefile (distribute): Remove variable.
18032         * catgets/Makefile: Likewise.
18033         * mach/Makefile: Likewise.
18034         * malloc/Makefile: Likewise.
18035         * misc/Makefile: Likewise.
18036         * iconv/Makefile: Likewise.
18037         * nscd/Makefile: Likewise.
18038         * hurd/Makefile: Likewise.
18039         * manual/Makefile: Likewise.
18040         * locale/Makefile: Likewise.
18041         * intl/Makefile: Likewise.
18042         * conform/Makefile: Likewise.
18043         * nss/Makefile: Likewise.
18044         * time/Makefile: Likewise.
18045         * soft-fp/Makefile: Likewise.
18046         * dirent/Makefile: Likewise.
18047         * gmon/Makefile: Likewise.
18048         * po/Makefile: Likewise.
18049         * rt/Makefile: Likewise.
18050         * socket/Makefile: Likewise.
18051         * math/Makefile: Likewise.
18052         * signal/Makefile: Likewise.
18053         * debug/Makefile: Likewise.
18054         * elf/Makefile: Likewise.
18055         * timezone/Makefile: Likewise.
18056         * stdlib/Makefile: Likewise.
18057         * iconvdata/Makefile: Likewise.
18058         * sunrpc/Makefile: Likewise.
18059         * io/Makefile: Likewise.
18060         * argp/Makefile: Likewise.
18061         * inet/Makefile: Likewise.
18062         * hesiod/Makefile: Likewise.
18063         * grp/Makefile: Likewise.
18064         * csu/Makefile: Likewise.
18065         * wctype/Makefile: Likewise.
18066         * crypt/Makefile: Likewise.
18067         * libio/Makefile: Likewise.
18068         * string/Makefile: Likewise.
18069         * nis/Makefile: Likewise.
18070         * resolv/Makefile: Likewise.
18071         * stdio-common/Makefile: Likewise.
18072         * wcsmbs/Makefile: Likewise.
18073         * dlfcn/Makefile: Likewise.
18074         * posix/Makefile: Likewise.
18076         [BZ #6959]
18077         * timezone/Makefile: Don't install timezone files, just the programs
18078         and scripts.
18080 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18082         * nss/databases.def: Add missing gshadow entry.
18084         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18086 2012-03-06  Marek Polacek  <polacek@redhat.com>
18088         [BZ #13726]
18089         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18090         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18091         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18092         * stdio-common/tst-long-dbl-fphex.c: New file.
18094 2012-03-06  David S. Miller  <davem@davemloft.net>
18096         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18097         (set_obp_int): New function.
18098         (get_obp_int): New function.
18099         (__get_clockfreq_via_dev_openprom): Likewise.
18100         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18101         Avoid unused variable warnings on 'val' and use builtin_expect.
18102         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18103         __builtin_expect.
18104         (INLINE_CLONE_SYSCALL): Likewise.
18106 2012-03-05  David S. Miller  <davem@davemloft.net>
18108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18110 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18114         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18115         only for |x| >= 40.
18116         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18118 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18121         Replace gettimeofday with __vdso_gettimeofday.
18123         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18124         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18125         __vdso_clock_gettime and __vdso_getcpu.
18127         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18128         time with __vdso_time.
18130 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18132         * manual/lang.texi (size_t): Note types to which size_t may be
18133         equivalent with the GNU C Library, but do not describe when
18134         differences between them are significant.
18136 2012-03-05  Andreas Jaeger  <aj@suse.de>
18138         * sysdeps/i386/fpu/libm-test-ulps: Update.
18140 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18142         [BZ #3976]
18143         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18144         (__ieee754_pow): Save and restore rounding mode and use
18145         round-to-nearest for main computations.
18146         * math/libm-test.inc (pow_test_tonearest): New function.
18147         (pow_test_towardzero): Likewise.
18148         (pow_test_downward): Likewise.
18149         (pow_test_upward): Likewise.
18150         (main): Call the new functions.
18151         * sysdeps/i386/fpu/libm-test-ulps: Update.
18152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18154         [BZ #3976]
18155         * math/libm-test.inc (cosh_test_tonearest): New function.
18156         (cosh_test_towardzero): Likewise.
18157         (cosh_test_downward): Likewise.
18158         (cosh_test_upward): Likewise.
18159         (sinh_test_tonearest): Likewise.
18160         (sinh_test_towardzero): Likewise.
18161         (sinh_test_downward): Likewise.
18162         (sinh_test_upward): Likewise.
18163         (main): Call the new functions.
18164         * sysdeps/i386/fpu/libm-test-ulps: Update.
18165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18167 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18169         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18170         default stack guard is set in last bytes.
18171         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18173 2012-03-05  Kees Cook  <keescook@chromium.org>
18175         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18177         [BZ #13656]
18178         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18179         possibly allocate from heap instead of stack.
18180         * stdio-common/bug-vfprintf-nargs.c: New file.
18181         * stdio-common/Makefile (tests): Add nargs overflow test.
18183 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18187 2012-03-03  Marek Polacek  <polacek@redhat.com>
18189         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18190         * math/math_private.h: Likewise.
18191         * stdlib/tst-strtod.c: Likewise.
18192         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18193         * sysdeps/x86_64/bits/atomic.h: Likewise.
18195 2012-03-02  David S. Miller  <davem@davemloft.net>
18197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18201         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18202         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18203         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18204         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18206 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18208         [BZ #13792]
18209         * manual/examples/README: New file, says the example source files
18210         can be used under GPL>=2.
18211         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18212         line containing just "*/".
18213         * manual/examples/add.c: Add copyright header (GPL>=2).
18214         * manual/examples/argp-ex1.c: Likewise.
18215         * manual/examples/argp-ex2.c: Likewise.
18216         * manual/examples/argp-ex3.c: Likewise.
18217         * manual/examples/argp-ex4.c: Likewise.
18218         * manual/examples/atexit.c: Likewise.
18219         * manual/examples/db.c: Likewise.
18220         * manual/examples/dir.c: Likewise.
18221         * manual/examples/dir2.c: Likewise.
18222         * manual/examples/execinfo.c: Likewise.
18223         * manual/examples/filecli.c: Likewise.
18224         * manual/examples/filesrv.c: Likewise.
18225         * manual/examples/fmtmsgexpl.c: Likewise.
18226         * manual/examples/genpass.c: Likewise.
18227         * manual/examples/inetcli.c: Likewise.
18228         * manual/examples/inetsrv.c: Likewise.
18229         * manual/examples/isockad.c: Likewise.
18230         * manual/examples/longopt.c: Likewise.
18231         * manual/examples/memopen.c: Likewise.
18232         * manual/examples/memstrm.c: Likewise.
18233         * manual/examples/mkfsock.c: Likewise.
18234         * manual/examples/mkisock.c: Likewise.
18235         * manual/examples/mygetpass.c: Likewise.
18236         * manual/examples/pipe.c: Likewise.
18237         * manual/examples/popen.c: Likewise.
18238         * manual/examples/rprintf.c: Likewise.
18239         * manual/examples/search.c: Likewise.
18240         * manual/examples/select.c: Likewise.
18241         * manual/examples/setjmp.c: Likewise.
18242         * manual/examples/sigh1.c: Likewise.
18243         * manual/examples/sigusr.c: Likewise.
18244         * manual/examples/stpcpy.c: Likewise.
18245         * manual/examples/strdupa.c: Likewise.
18246         * manual/examples/strftim.c: Likewise.
18247         * manual/examples/strncat.c: Likewise.
18248         * manual/examples/subopt.c: Likewise.
18249         * manual/examples/swapcontext.c: Likewise.
18250         * manual/examples/termios.c: Likewise.
18251         * manual/examples/testopt.c: Likewise.
18252         * manual/examples/testpass.c: Likewise.
18253         * manual/examples/timeval_subtract.c: Likewise.
18255         [BZ #13792]
18256         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18257         function to ...
18258         * manual/timeval_subtract.c.texi: ... here, new file.
18260 2012-03-02  David S. Miller  <davem@davemloft.net>
18262         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18264 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18266         [BZ #3976]
18267         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18268         (__sin): Save and restore rounding mode and use round-to-nearest
18269         for all computations.
18270         (__cos): Save and restore rounding mode and use round-to-nearest
18271         for all computations.
18272         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18273         <fenv.h>.
18274         (tan): Save and restore rounding mode and use round-to-nearest for
18275         all computations.
18276         * math/libm-test.inc (cos_test_tonearest): New function.
18277         (cos_test_towardzero): Likewise.
18278         (cos_test_downward): Likewise.
18279         (cos_test_upward): Likewise.
18280         (sin_test_tonearest): Likewise.
18281         (sin_test_towardzero): Likewise.
18282         (sin_test_downward): Likewise.
18283         (sin_test_upward): Likewise.
18284         (tan_test_tonearest): Likewise.
18285         (tan_test_towardzero): Likewise.
18286         (tan_test_downward): Likewise.
18287         (tan_test_upward): Likewise.
18288         (main): Call the new functions.
18289         * sysdeps/i386/fpu/libm-test-ulps: Update.
18290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18292         [BZ #10135]
18293         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18294         small n, then large n, before computing and testing k+n.
18295         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18296         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18297         Likewise.
18298         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18299         Likewise.
18300         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18301         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18302         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18303         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18304         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18305         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18306         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18307         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18308         * math/libm-test.inc (scalbn_test): Add more tests.
18309         (scalbln_test): Likewise.
18311         * manual/filesys.texi (mode_t): Describe constraints on size and
18312         signedness, not exact equivalence to a particular type.
18313         (ino_t): Likewise.
18314         (ino64_t): Likewise.
18315         (dev_t): Likewise.
18316         (nlink_t): Likewise.
18317         (blkcnt_t): Likewise.
18318         (blkcnt64_t): Likewise.
18319         * manual/llio.texi (off_t): Likewise.
18321         [BZ #3976]
18322         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18323         (__ieee754_exp): Save and restore rounding mode and use
18324         round-to-nearest for all computations.
18325         * math/libm-test.inc (exp_test_tonearest): New function.
18326         (exp_test_towardzero): Likewise.
18327         (exp_test_downward): Likewise.
18328         (exp_test_upward): Likewise.
18329         (main): Call the new functions.
18330         * sysdeps/i386/fpu/libm-test-ulps: Update.
18331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18333 2012-03-01  Chris Demetriou  <cgd@google.com>
18335         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18336         have predictable order.
18338 2012-03-01  David S. Miller  <davem@davemloft.net>
18340         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18342         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18343         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18344         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18345         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18347         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18348         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18349         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18351         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18352         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18353         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18354         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18355         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18359         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18360         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18361         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18363         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18364         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18365         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18366         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18367         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18368         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18369         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18370         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18371         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18372         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18373         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18374         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18375         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18376         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18377         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18378         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18379         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18380         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18381         * sysdeps/sparc/elf/configure: Regenerated.
18383 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18385         * configure.in (AS, LD): Require binutils 2.20 or later.
18386         * configure: Regenerated.
18387         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18388         as required minimum version.
18389         * INSTALL: Regenerated.
18391         [BZ #2541]
18392         [BZ #4108]
18393         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18394         before squaring exponent.
18395         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18396         bottom long double and 27 bits of top long double before squaring
18397         exponent.
18398         * math/libm-test.inc (erfc_test): Add more tests.
18399         * sysdeps/i386/fpu/libm-test-ulps: Update.
18400         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18403 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18405         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18406         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18407         containing bit-fields.
18408         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18409         * soft-fp/single.h (_FP_UNION_S): Likewise.
18410         * soft-fp/double.h (_FP_UNION_D): Likewise.
18412 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18414         [BZ #13786]
18415         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18416         not include ../strcmp.S.
18417         [USE_AS_STRNCASECMP_L]: Likewise.
18418         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18419         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18420         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18421         (__strncasecmp_l_ia32): Define as alias to
18422         __strncasecmp_l_nonascii.
18424         [BZ #5794]
18425         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18426         * sysdeps/i386/fpu/libm-test-ulps: Update.
18427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18429         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18432 2012-02-29  Jeff Law  <law@redhat.com>
18434         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18435         out of bounds read.
18437 2012-02-29  Marek Polacek  <polacek@redhat.com>
18439         [BZ #13706]
18440         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18441         * elf/Makefile: Add rules to run tst-unused-dep.out.
18443 2012-02-28  David S. Miller  <davem@davemloft.net>
18445         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18446         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18447         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18448         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18449         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18450         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18452 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18454         * math/libm-test.inc (llround_test): Move one test from
18455         lround_test.  Use TEST_f_L in moved test.
18456         (lround_test): Move misplaced test to llround_test.  Add testcase
18457         from bug 2561.
18459 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18461         * sysdeps/x86_64/fpu/e_expf.S: New file.
18462         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18464 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18466         [BZ #13637]
18467         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18468         of remain_len that may cause incomplete multi-byte character and
18469         false match.
18470         * posix/bug-regex33.c: New file.
18471         * posix/Makefile (tests): Add bug-regex33.
18473 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18475         * manual/macros.texi: New file.
18476         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18477         * manual/libc.texinfo: Include macros.texi.
18478         * manual/creatute.texi: Likewise.
18479         * manual/install.texi: Likewise.
18480         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18481         @glibcadj{} in references to the GNU C Library.
18482         * manual/charset.texi: Likewise.
18483         * manual/conf.texi: Likewise.
18484         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18485         when not using those macros.
18486         * manual/creature.texi: Likewise.
18487         * manual/crypt.texi: Likewise.
18488         * manual/errno.texi: Likewise.
18489         * manual/filesys.texi: Likewise.
18490         * manual/header.texi: Likewise.
18491         * manual/install.texi: Likewise.
18492         * manual/intro.texi: Likewise.
18493         * manual/io.texi: Likewise.
18494         * manual/job.texi: Likewise.
18495         * manual/lang.texi: Likewise.
18496         * manual/libc.texiinfo: Likewise.
18497         * manual/llio.texi: Likewise.
18498         * manual/locale.texi: Likewise.
18499         * manual/maint.texi: Likewise.
18500         * manual/math.texi: Likewise.
18501         * manual/memory.texi: Likewise.
18502         * manual/message.texi: Likewise.
18503         * manual/nss.texi: Likewise.
18504         * manual/pattern.texi: Likewise.
18505         * manual/process.texi: Likewise.
18506         * manual/resource.texi: Likewise.
18507         * manual/search.texi: Likewise.
18508         * manual/setjmp.texi: Likewise.
18509         * manual/signal.texi: Likewise.
18510         * manual/socket.texi: Likewise.
18511         * manual/startup.texi: Likewise.
18512         * manual/stdio.texi: Likewise.
18513         * manual/string.texi: Likewise.
18514         * manual/sysinfo.texi: Likewise.
18515         * manual/syslog.texi: Likewise.
18516         * manual/terminal.texi: Likewise.
18517         * manual/time.texi: Likewise.
18518         * manual/users.texi: Likewise.
18519         * INSTALL: Regenerated.
18520         * NOTES: Regenerated.
18521         * sysdeps/gnu/errlist.c: Regenerated.
18523 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18525         * include/dirent.h: Include <dirstream.h> before
18526         <dirent/dirent.h>.
18528 2012-02-28  David S. Miller  <davem@davemloft.net>
18530         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18531         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18532         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18533         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18535 2012-02-27  David S. Miller  <davem@davemloft.net>
18537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18539         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18540         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18543         frame pointer instead of stack pointer relative arg slot.
18544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18545         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18546         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18548 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18550         [BZ #3992]
18551         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18553 2012-02-27  David S. Miller  <davem@davemloft.net>
18555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18559         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18560         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18561         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18562         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18564 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18566         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18567         later.  Allow versions 5-9.
18568         * configure: Regenerated.
18569         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18570         required minimum version and 4.6 as recommended version.  Do not
18571         mention bugs in GCC 2.7 and 2.8.
18572         * INSTALL: Regenerated.
18574 2012-02-27  David S. Miller  <davem@davemloft.net>
18576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18580         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18581         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18582         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18583         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18585         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18586         manipulate bits before adding and subtracting TWO112[sx].
18587         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18589 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18591         [BZ #13775]
18592         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18593         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18594         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18595         being in POSIX, because they are in 1003.1-2008.
18597         * rt/tst-aio.c: Include <fcntl.h>.
18598         * rt/tst-aio7.c: Likewise.
18599         * rt/tst-aio64.c: Likewise.
18601         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18603 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18605         * manual/install.texi (--with-headers): Describe headers as
18606         interface headers, not private headers.
18607         (Specific advice for GNU/Linux systems): Describe use of headers
18608         from "make headers_install", not private headers from older
18609         kernels.
18610         * INSTALL: Regenerated.
18611         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18612         Change to 2.6.19.
18613         * sysdeps/unix/sysv/linux/configure: Regenerated.
18615         * manual/llio.texi (fclean): Remove documentation.
18617         * manual/Makefile (libc-texi-generated): New variable.  Include
18618         version.texi.
18619         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18620         $(libc-texi-generated), not duplicated list of files.
18621         (version.texi, stamp-version): New rules.
18622         (realclean): Remove $(libc-texi-generated), not individual files
18623         from that list.  Do not remove dir-add.texinfo.
18624         * manual/libc.texinfo: Comment out uses of edition numbers and
18625         references to printed manual.  Remove last-updated dates.
18626         (EDITION): Comment out.
18627         (ISBN): Likewise.
18628         (VERSION, UPDATED): Remove.
18629         (version.texi): Include.
18631 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18633         * sysdeps/posix/spawni.c: Include <signal.h>.
18634         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18635         * sysdeps/pthread/aio_fsync.c: Likewise.
18637 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18639         * conform/Makefile (tests): Run only when not cross-compiling and
18640         when fast-check is not defined.
18642         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18643         * conform/data/limits.h-data: Fixes for POSIX2008.
18644         * conform/run-conformtest.sh: Run all tests.
18645         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18646         headers.
18647         * include/bits/dlfcn.h: Likewise.
18648         * include/langinfo.h: Likewise.
18649         * include/monetary.h: Likewise.
18650         * include/sys/poll.h: Likewise.
18652         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18653         for __USE_GNU.
18654         * posix/spawn.h: Define __need_sigset_t.
18655         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18656         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18657         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
18658         to get sigevent_t only.
18659         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18660         only for __USE_GNU.
18661         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18662         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18663         process_vm_writev only for __USE_GNU.
18664         * termios/termios.h: Declare tcgetsid also for POSIX2008.
18666         * conform/Makefile: For now ignore errors from run-conformtest.
18667         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
18668         POSIX to avoid namespace pollution.  Don't prepend headers.
18669         * conform/data/aio.h-data: Fixes for POSIX testing.
18670         * conform/data/fcntl.h-data: Likewise.
18671         * conform/data/glob.h-data: Likewise.
18672         * conform/data/grp.h-data: Likewise.
18673         * conform/data/pthread.h-data: Likewise.
18674         * conform/data/pwd.h-data: Likewise.
18675         * conform/data/signal.h-data: Likewise.
18676         * conform/data/spawn.h-data: Likewise.
18677         * conform/data/stdio.h-data: Likewise.
18678         * conform/data/stdlib.h-data: Likewise.
18679         * conform/data/stropts.h-data: Likewise.
18680         * conform/data/sys/mman.h-data: Likewise.
18681         * conform/data/sys/stat.h-data: Likewise.
18682         * conform/data/sys/types.h-data: Likewise.
18683         * conform/data/sys/wait.h-data: Likewise.
18684         * conform/data/time.h-data: Likewise.
18685         * conform/data/unistd.h-data: Likewise.
18686         * conform/data/utime.h-data: Likewise.
18688         * io/sys/stat.h: fchmod was always in POSIX.
18689         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18690         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18691         * rt/aio.h: Define __need_timespec before including <time.h>.
18692         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18693         struct.  Add forward declaration of pthread_attr_t and use it in
18694         sigevent.
18695         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18696         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18697         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18698         always remove CLK_TCK definition.
18700 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
18702         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18704 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
18706         * conform/run-conformtest.sh: New file.
18707         * conform/Makefile: Run run-conformtest for tests.
18708         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
18709         support.
18711         * conform/data/uchar.h-data: New file.
18712         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18713         * conform/data/arpa/inet.h-data: Likewise.
18714         * conform/data/assert.h-data: Likewise.
18715         * conform/data/complex.h-data: Likewise.
18716         * conform/data/cpio.h-data: Likewise.
18717         * conform/data/ctype.h-data: Likewise.
18718         * conform/data/dirent.h-data: Likewise.
18719         * conform/data/dlfcn.h-data: Likewise.
18720         * conform/data/errno.h-data: Likewise.
18721         * conform/data/fcntl.h-data: Likewise.
18722         * conform/data/float.h-data: Likewise.
18723         * conform/data/fmtmsg.h-data: Likewise.
18724         * conform/data/fnmatch.h-data: Likewise.
18725         * conform/data/ftw.h-data: Likewise.
18726         * conform/data/glob.h-data: Likewise.
18727         * conform/data/grp.h-data: Likewise.
18728         * conform/data/iconv.h-data: Likewise.
18729         * conform/data/inttypes.h-data: Likewise.
18730         * conform/data/langinfo.h-data: Likewise.
18731         * conform/data/libgen.h-data: Likewise.
18732         * conform/data/limits.h-data: Likewise.
18733         * conform/data/locale.h-data: Likewise.
18734         * conform/data/math.h-data: Likewise.
18735         * conform/data/monetary.h-data: Likewise.
18736         * conform/data/mqueue.h-data: Likewise.
18737         * conform/data/ndbm.h-data: Likewise.
18738         * conform/data/net/if.h-data: Likewise.
18739         * conform/data/netdb.h-data: Likewise.
18740         * conform/data/netinet/in.h-data: Likewise.
18741         * conform/data/nl_types.h-data: Likewise.
18742         * conform/data/poll.h-data: Likewise.
18743         * conform/data/pthread.h-data: Likewise.
18744         * conform/data/pwd.h-data: Likewise.
18745         * conform/data/regex.h-data: Likewise.
18746         * conform/data/sched.h-data: Likewise.
18747         * conform/data/search.h-data: Likewise.
18748         * conform/data/semaphore.h-data: Likewise.
18749         * conform/data/setjmp.h-data: Likewise.
18750         * conform/data/signal.h-data: Likewise.
18751         * conform/data/spawn.h-data: Likewise.
18752         * conform/data/stdarg.h-data: Likewise.
18753         * conform/data/stdio.h-data: Likewise.
18754         * conform/data/stdlib.h-data: Likewise.
18755         * conform/data/string.h-data: Likewise.
18756         * conform/data/strings.h-data: Likewise.
18757         * conform/data/stropts.h-data: Likewise.
18758         * conform/data/sys/ipc.h-data: Likewise.
18759         * conform/data/sys/mman.h-data: Likewise.
18760         * conform/data/sys/msg.h-data: Likewise.
18761         * conform/data/sys/resource.h-data: Likewise.
18762         * conform/data/sys/select.h-data: Likewise.
18763         * conform/data/sys/sem.h-data: Likewise.
18764         * conform/data/sys/shm.h-data: Likewise.
18765         * conform/data/sys/socket.h-data: Likewise.
18766         * conform/data/sys/stat.h-data: Likewise.
18767         * conform/data/sys/statvfs.h-data: Likewise.
18768         * conform/data/sys/time.h-data: Likewise.
18769         * conform/data/sys/timeb.h-data: Likewise.
18770         * conform/data/sys/times.h-data: Likewise.
18771         * conform/data/sys/types.h-data: Likewise.
18772         * conform/data/sys/uio.h-data: Likewise.
18773         * conform/data/sys/un.h-data: Likewise.
18774         * conform/data/sys/utsname.h-data: Likewise.
18775         * conform/data/sys/wait.h-data: Likewise.
18776         * conform/data/syslog.h-data: Likewise.
18777         * conform/data/tar.h-data: Likewise.
18778         * conform/data/termios.h-data: Likewise.
18779         * conform/data/utime.h-data: Likewise.
18780         * conform/data/utmpx.h-data: Likewise.
18781         * conform/data/varargs.h-data: Likewise.
18782         * conform/data/wchar.h-data: Likewise.
18783         * conform/data/wctype.h-data: Likewise.
18784         * conform/data/wordexp.h-data: Likewise.
18786         * include/stropts.h: New file.
18787         * include/uchar.h: New file.
18788         * include/aio.h: Changes to allow conformtest.pl to use the headers.
18789         * include/assert.h: Likewise.
18790         * include/ctype.h: Likewise.
18791         * include/dirent.h: Likewise.
18792         * include/dlfcn.h: Likewise.
18793         * include/fcntl.h: Likewise.
18794         * include/fnmatch.h: Likewise.
18795         * include/glob.h: Likewise.
18796         * include/grp.h: Likewise.
18797         * include/libio.h: Likewise.
18798         * include/locale.h: Likewise.
18799         * include/math.h: Likewise.
18800         * include/net/if.h: Likewise.
18801         * include/netdb.h: Likewise.
18802         * include/netinet/in.h: Likewise.
18803         * include/pthread.h: Likewise.
18804         * include/pwd.h: Likewise.
18805         * include/regex.h: Likewise.
18806         * include/sched.h: Likewise.
18807         * include/search.h: Likewise.
18808         * include/setjmp.h: Likewise.
18809         * include/signal.h: Likewise.
18810         * include/stdio.h: Likewise.
18811         * include/stdlib.h: Likewise.
18812         * include/string.h: Likewise.
18813         * include/sys/cdefs.h: Likewise.
18814         * include/sys/mman.h: Likewise.
18815         * include/sys/msg.h: Likewise.
18816         * include/sys/resource.h: Likewise.
18817         * include/sys/select.h: Likewise.
18818         * include/sys/socket.h: Likewise.
18819         * include/sys/stat.h: Likewise.
18820         * include/sys/statvfs.h: Likewise.
18821         * include/sys/time.h: Likewise.
18822         * include/sys/times.h: Likewise.
18823         * include/sys/uio.h: Likewise.
18824         * include/sys/utsname.h: Likewise.
18825         * include/sys/wait.h: Likewise.
18826         * include/termios.h: Likewise.
18827         * include/time.h: Likewise.
18828         * include/ulimit.h: Likewise.
18829         * include/unistd.h: Likewise.
18830         * include/utime.h: Likewise.
18831         * include/wchar.h: Likewise.
18832         * include/wctype.h: Likewise.
18833         * include/wordexp.h: Likewise.
18835         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18837         * time/time.h: TIME_UTC must be a macro.
18838         Make timespec_get available for ISO C11 only as well.
18840 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
18842         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18843         Reported by Peng Haitao <penght@cn.fujitsu.com>.
18845 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18847         * configure.in: Use -o not -a in test for unsupported multi-arch.
18849 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18851         * manual/texinfo.tex: Update to version 2012-01-19.16.
18853 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18855         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18857 2012-02-24  Roland McGrath  <roland@hack.frob.com>
18859         [BZ #13738]
18860         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18861         * manual/fdl-1.3.texi: New file.
18862         * manual/fdl-1.1.texi: File removed.
18864         [BZ #13738]
18865         * manual/libc.texinfo (FDL_VERSION): New @set.
18866         Use it for mention of FDL in cover text.
18867         (Documentation License): Use it in @include file name.
18869 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18870             Roland McGrath  <roland@hack.frob.com>
18872         [BZ #5461]
18873         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18874         not LONG_LONG_MAX and LONG_LONG_MIN.
18875         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18876         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
18877         name.
18878         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18880 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18882         [BZ #2547]
18883         [BZ #11365]
18884         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18885         manipulate bits before adding and subtracting TWO23[sx].
18886         * math/libm-test.inc (nearbyint_test): Add more tests.
18888 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18890         [BZ #2548]
18891         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18892         bits before adding and subtracting TWO23[sx].
18893         * math/libm-test.inc (rint_test): Add more tests.
18894         (rint_test_tonearest): Likewise.
18895         (rint_test_towardzero): Likewise.
18896         (rint_test_downward): Likewise.
18897         (rint_test_upward: Likewise.
18899 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18901         [BZ #10110]
18902         * include/stdc-predef.h: New file.  Extracted from features.h.
18903         * include/features.h: Include stdc-predef.h.
18904         * Makefile (headers): Add stdc-predef.h.
18905         * CONFORMANCE (Compiler limitations): Update.
18907 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18909         * manual/libc.texinfo (VERSION, UPDATED): Revert.
18911 2012-02-21  David S. Miller  <davem@davemloft.net>
18913         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18914         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18916 2012-02-20  David S. Miller  <davem@davemloft.net>
18918         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18919         using a normal save/restore sequence, rather than allocating a
18920         dummy stack frame just to store a frame pointer and restore.
18921         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18923 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18925         * manual/install.texi: Fix stray word in line-wrapped comment.
18927 2012-02-20  David S. Miller  <davem@davemloft.net>
18929         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18930         both binutils and gcc support GOTDATA.
18932         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18933         "rd %pc" in the PIC register setup sequences.
18935         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18936         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18937         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18938         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18939         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18941         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18942         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18943         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18944         (SYSCALL_ERROR_HANDLER): Likewise.
18945         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18946         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18947         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18948         (SYSCALL_ERROR_HANDLER): Likewise.
18950         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18951         (HAVE_GCC_GOTDATA): New.
18952         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18953         relocation support in both binutils and gcc.
18954         * sysdeps/sparc/elf/configure: Regenerate.
18956         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18957         * sysdeps/sparc/sparc32/elf/configure: Delete.
18958         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18959         * sysdeps/sparc/sparc64/elf/configure: Delete.
18960         * sysdeps/sparc/elf/configure.in: New file.
18961         * sysdeps/sparc/elf/configure: Generate.
18963         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18964         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18965         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18966         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18967         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18969 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18971         * manual/install.texi: Do not mention specific glibc version
18972         numbers.
18973         * manual/libc.texinfo (VERSION, UPDATED): Update.
18974         (@copying): Use @copyright{} and range of years.
18976 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18978         [BZ #13695]
18979         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18980         [crti.S not in sysdirs] (generated): Do not append.
18981         [crti.S not in sysdirs] (omit-deps): Likewise.
18982         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18983         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18984         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18985         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18986         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18987         Likewise.
18988         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18989         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18990         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18991         * csu/defs.awk: Remove file.
18992         * sysdeps/generic/initfini.c: Likewise.
18993         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18994         variable.
18995         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18996         Likewise.
18998 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19000         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19001         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19002         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19003         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19004         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19005         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19006         <bits/epoll.h>.
19007         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19008         (__EPOLL_PACKED): Define to empty if not defined by
19009         <bits/epoll.h>.
19010         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19012         bits/epoll.h.
19014 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19016         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19017         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19018         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19019         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19020         <bits/timerfd.h>.
19021         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19023         bits/timerfd.h.
19025 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19027         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19028         in C locale.
19029         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19030         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19031         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19034 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19036         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19037         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19039 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19041         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19042         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19043         defined.
19044         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19045         Likewise.
19046         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19047         entry for 2.16.
19049 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19051         * math/w_acos.c: Use non-signaling floating-point comparisons.
19052         * math/w_acosf.c: Likewise.
19053         * math/w_acosh.c: Likewise.
19054         * math/w_acoshf.c: Likewise.
19055         * math/w_acoshl.c: Likewise.
19056         * math/w_acosl.c: Likewise.
19057         * math/w_asin.c: Likewise.
19058         * math/w_asinf.c: Likewise.
19059         * math/w_asinl.c: Likewise.
19060         * math/w_atanh.c: Likewise.
19061         * math/w_atanhf.c: Likewise.
19062         * math/w_atanhl.c: Likewise.
19063         * math/w_exp2.c: Likewise.
19064         * math/w_exp2f.c: Likewise.
19065         * math/w_exp2l.c: Likewise.
19066         * math/w_j0.c: Likewise.
19067         * math/w_j0f.c: Likewise.
19068         * math/w_j0l.c: Likewise.
19069         * math/w_j1.c: Likewise.
19070         * math/w_j1f.c: Likewise.
19071         * math/w_j1l.c: Likewise.
19072         * math/w_jn.c: Likewise.
19073         * math/w_jnf.c: Likewise.
19074         * math/w_log.c: Likewise.
19075         * math/w_log10.c: Likewise.
19076         * math/w_log10f.c: Likewise.
19077         * math/w_log10l.c: Likewise.
19078         * math/w_log2.c: Likewise.
19079         * math/w_log2f.c: Likewise.
19080         * math/w_log2l.c: Likewise.
19081         * math/w_logf.c: Likewise.
19082         * math/w_logl.c: Likewise.
19083         * math/w_sqrt.c: Likewise.
19084         * math/w_sqrtf.c: Likewise.
19085         * math/w_sqrtl.c: Likewise.
19086         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19087         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19088         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19089         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19090         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19092 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #9739]
19095         * manual/string.texi (strnlen): Use correct parameter name in
19096         equivalent expression.
19098 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19100         [BZ #11174]
19101         * manual/users.texi (seteuid): Consistently use neweuid for
19102         argument name.
19104 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19106         [BZ #13704]
19107         * manual/nss.texi (Services in the NSS configuration): Correct
19108         list of services in example configuration file.
19110 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19112         [BZ #11322]
19113         * manual/arith.texi: Remove statements about negative zero
19114         behaving identically to zero.
19116 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19118         [BZ #5993]
19119         * manual/install.texi: Do not document upgrading from libc5.
19121 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19123         [BZ #4596]
19124         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19126 2012-02-18  David S. Miller  <davem@davemloft.net>
19128         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19129         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19130         %o7 across the call.
19131         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19132         instead.
19133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19134         SETUP_PIC_REG_LEAF.
19135         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19136         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19137         * sysdeps/sparc/crtn.S: Likewise.
19139 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19141         * aout/Makefile: Remove.
19143 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19145         [BZ #13058]
19146         * manual/examples/argp-ex1.c (main): Format definition in GNU
19147         style.
19148         * manual/examples/argp-ex2.c (main): Likewise.
19149         * manual/examples/argp-ex3.c (main): Likewise.
19150         * manual/examples/argp-ex4.c (main): Likewise.
19151         * manual/examples/longopt.c (main): Use new-style prototype
19152         definition.
19153         * manual/examples/strncat.c (main): Specify return type and use
19154         (void) for arguments.
19155         * manual/examples/subopt.c (main): Use char **argv argument.
19157 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19159         [BZ #5077]
19160         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19161         rounding modes.
19163 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19165         [BZ #6907]
19166         * manual/string.texi (strchr): Change when strchrnul is
19167         recommended.
19169 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19171         [BZ #174]
19172         * manual/locale.texi (setlocale): Document LOCPATH.
19174 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19176         [BZ #10210]
19177         * manual/process.texi (execle): Move @dots{} before last argument.
19179 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19181         [BZ #12047]
19182         * manual/charset.texi (Generic Charset Conversion): Fix typo
19183         (LC_TYPE -> LC_CTYPE).
19185 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19187         [BZ #5805]
19188         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19189         (scalbnf): Likewise.
19190         (scalbnl): Likewise.
19191         (scalbln): Likewise.
19192         (scalblnf): Likewise.
19193         (scalblnl): Likewise.
19194         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19195         (vwarnx): Likewise.
19196         (verr): Likewise.
19197         (verrx): Likewise.
19198         * manual/filesys.texi (telldir): Use braces around return type.
19199         * manual/llio.texi (mmap): Add space after comma.
19200         (mmap64): Likewise.
19201         * manual/math.texi (jn): Use @var{} on parameter names.
19202         (jnf): Likewise.
19203         (jnl): Likewise.
19204         (yn): Likewise.
19205         (ynf): Likewise.
19206         (ynl): Likewise.
19207         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19208         line.
19209         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19210         "...".
19211         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19212         (sched_get_priority_max): Likewise.
19213         * manual/signal.texi (sigvec): Add space after comma.
19214         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19215         names.
19216         (if_indextoname): Likewise.
19217         (if_freenameindex): Likewise.
19218         (sendto): Use ',' instead of '.' in prototype.
19219         * manual/startup.texi (syscall): Use @dots{} instead of literal
19220         "...".
19221         * manual/stdio.texi (__fpending): Separate initial words of
19222         paragraph from @deftypefun line.
19223         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19224         "...".
19225         (vsyslog): Use @var{} on parameter names.
19226         * manual/terminal.texi (stty): Use @var{} on parameter names.
19227         * manual/users.texi (getutmp): Use @var{} on parameter names.
19228         (getutmpx): Likewise.
19230 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19232         [BZ #6884]
19233         * manual/stdio.texi (fopen): Fix typos in description of
19234         ",ccs=STRING".
19236 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19238         [BZ #4026]
19239         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19240         get clock_id definition.
19242 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19244         [BZ #4822]
19245         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19246         (madvise): Cast every argument to void on its own.
19248 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19250         [BZ #9902]
19251         * manual/startup.texi (Exit Status): Fix typo.
19253 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19255         [BZ #10140]
19256         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19257         * manual/examples/argp-ex2.c: Likewise.
19258         * manual/examples/argp-ex3.c: Likewise.
19260 2012-02-16  Richard Henderson  <rth@redhat.com>
19262         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19263         * sysdeps/s390/s390-32/initfini.c: Remove.
19264         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19265         * sysdeps/s390/s390-64/initfini.c: Remove.
19267 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19269         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19270         compiler output for sysdeps/generic/initfini.c.
19271         * sysdeps/sh/elf/initfini.c: Remove file.
19273 2012-02-16  David S. Miller  <davem@davemloft.net>
19275         [BZ #11494]
19276         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19278         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19279         * sysdeps/sparc/crti.S: New file.
19280         * sysdeps/sparc/crtn.S: New file.
19281         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19282         * sysdeps/sparc/sparc64/Makefile: Likewise.
19284 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19286         [BZ #3335]
19287         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19289 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19291         [BZ #4822]
19292         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19294         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19295         (write, read, close): Likewise.
19296         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19298 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19300         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19301         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19302         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19303         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19304         <bits/signalfd.h>.
19305         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19306         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19307         bits/signalfd.h.
19309 2012-02-14  Marek Polacek  <polacek@redhat.com>
19311         * sysdeps/x86_64/crti.S: New file.
19312         * sysdeps/x86_64/crtn.S: New file.
19313         * sysdeps/x86_64/elf/initfini.c: Remove file.
19315 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19317         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19318         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19319         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19320         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19321         <bits/inotify.h>.
19322         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19324         bits/inotify.h.
19326 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19328         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19329         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19330         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19331         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19332         <bits/eventfd.h>.
19333         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19335         bits/eventfd.h.
19337 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19339         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19340         __feraiseexcept instead of feraiseexcept.
19342         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19343         nanosleep invocations.
19344         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19345         strings, and add error checking for a nanosleep invocations.
19347 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19349         Replace FSF snail mail address with URLs, as per GNU coding standards.
19350         Most of the snail mail addresses were wrong anyway, and omitting
19351         them makes the source code easier to maintain.  Almost all of the
19352         changes are to license notices and to locale LC_IDENTIFICATION
19353         addresses, except for this one:
19354         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19355         not its snail mail address.
19357 2012-02-09  Richard Henderson  <rth@twiddle.net>
19359         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19360         of kernel-features.h.
19362         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19364 2012-02-08  Marek Polacek  <polacek@redhat.com>
19366         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19367         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19368         * sysdeps/gnu/_G_config.h: Likewise.
19369         * sysdeps/generic/_G_config.h: Likewise.
19371 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19373         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19374         tests.
19375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19377         * sysdeps/powerpc/powerpc32/crti.S: New file.
19378         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19379         * sysdeps/powerpc/powerpc64/crti.S: New file.
19380         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19382         * Makeconfig (have-initfini): Don't set.
19383         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19384         * configure.in (nopic_initfini): Don't substitute.
19385         * config.h.in (HAVE_INITFINI): Don't #undef.
19386         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19387         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19389 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19391         Support crti.S and crtn.S provided directly by architectures.
19392         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19393         [crti.S in sysdirs] (omit-deps): Likewise.
19394         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19395         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19396         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19397         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19398         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19399         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19400         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19401         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19402         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19403         compiler output for sysdeps/generic/initfini.c.
19404         * sysdeps/i386/elf/Makefile: Remove file.
19405         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19407 2012-02-07  Marek Polacek  <polacek@redhat.com>
19409         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19410         * sysdeps/gnu/_G_config.h: Likewise.
19411         * sysdeps/mach/hurd/_G_config.h: Likewise.
19413 2012-02-07  Marek Polacek  <polacek@redhat.com>
19415         * math/Makefile (tests): Add tst-CMPLX2.
19416         * math/tst-CMPLX2.c: New file.
19418 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19420         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19422         * math/libm-test.inc (jn_test): Add missing L suffix.
19424 2012-02-06  Marek Polacek  <polacek@redhat.com>
19426         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19427         * sysdeps/i386/fpu/e_powf.S: Likewise.
19428         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19429         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19430         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19431         * sysdeps/i386/fpu/e_pow.S: Likewise.
19432         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19433         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19434         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19435         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19436         * sysdeps/i386/fpu/e_log2.S: Likewise.
19437         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19438         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19439         * sysdeps/i386/fpu/e_powl.S: Likewise.
19440         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19441         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19442         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19443         * sysdeps/i386/fpu/e_logl.S: Likewise.
19444         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19445         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19446         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19447         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19448         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19449         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19450         * sysdeps/i386/fpu/e_log.S: Likewise.
19451         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19452         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19453         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19454         * sysdeps/i386/fpu/e_logf.S: Likewise.
19455         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19456         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19457         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19458         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19459         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19460         * sysdeps/i386/fpu/e_log10.S: Likewise.
19461         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19462         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19463         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19464         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19465         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19466         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19467         * sysdeps/i386/asm-syntax.h: Likewise.
19468         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19470         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19471         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19472         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19473         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19474         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19475         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19476         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19477         * sysdeps/powerpc/sysdep.h: Likewise.
19478         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19479         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19481 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19483         [BZ #411]
19484         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19486 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19488         * sysdeps/i386/sysdep.h: Include <features.h>.
19489         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19490         version.
19492 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19494         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19495         Define.
19496         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19497         LOAD_PIC_REG_STR.
19499 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19501         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19502         (SETUP_PIC_REG): Use GET_PC_THUNK.
19503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19504         macro.
19506 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19508         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19509         for non-PIC compilation.
19510         (SETUP_PIC_REG): Add .p2align directive.
19511         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19512         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19513         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19514         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19515         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19516         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19517         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19518         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19525         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19526         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19527         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19528         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19529         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19530         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19531         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19532         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19533         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19534         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19535         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19536         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19537         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19538         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19539         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19540         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19541         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19542         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19543         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19544         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19545         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19546         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19547         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19548         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19549         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19550         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19551         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19553 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19555         * math/tst-CMPLX.c: Include <stdio.h>.
19557 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19559         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19560         float.
19561         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19562         * sysdeps/sparc/bits/mathdef.h: Likewise.
19564 2012-01-31  Marek Polacek  <polacek@redhat.com>
19566         * libio/libio.h: Don't define _PARAMS.
19567         * locale/programs/config.h: Don't define PARAMS.
19568         * stdlib/strtol_l.c: Likewise.
19569         (__strtol_l): Remove PARAMS from the prototype.
19571 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19573         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19574         names.  Just use the correct names.  Remove unnecessary wrapper
19575         functions.
19576         * malloc/arena.c: Likewise.
19577         * malloc/hooks.c: Likewise.
19579         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19580         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19581         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19583 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19585         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19586         into tail calls.
19587         (update_get_addr): New function.
19588         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19589         GET_ADDR_MODULE parameter.
19591 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19593         * crypt/cert.c: Remove __STDC__ conditionals.
19594         * crypt/crypt-entry.c: Likewise.
19595         * crypt/crypt_util.c: Likewise.
19596         * libio/filedoalloc.c: Likewise.
19597         * libio/fileops.c: Likewise.
19598         * libio/genops.c: Likewise.
19599         * libio/iofclose.c: Likewise.
19600         * libio/iofdopen.c: Likewise.
19601         * libio/iofopen.c: Likewise.
19602         * libio/iofopen64.c: Likewise.
19603         * libio/iogetdelim.c: Likewise.
19604         * libio/iopopen.c: Likewise.
19605         * libio/obprintf.c: Likewise.
19606         * libio/oldfileops.c: Likewise.
19607         * libio/oldiofclose.c: Likewise.
19608         * libio/oldiofdopen.c: Likewise.
19609         * libio/oldiofopen.c: Likewise.
19610         * libio/oldiopopen.c: Likewise.
19611         * libio/wfiledoalloc.c: Likewise.
19612         * libio/wgenops.c: Likewise.
19613         * locale/programs/xmalloc.c: Likewise.
19614         * misc/syslog.c: Likewise.
19615         * stdio-common/xbug.c: Likewise.
19616         * string/memchr.c: Likewise.
19617         * string/memcmp.c: Likewise.
19618         * string/memrchr.c: Likewise.
19619         * string/rawmemchr.c: Likewise.
19620         * sysdeps/posix/getcwd.c: Likewise.
19621         * time/strftime_l.c: Likewise.
19623 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19625         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19626         * config.make.in (config-cflags-sse2avx): Define.
19627         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19628         Fix typo.
19630 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19632         * scripts/config.guess: Update from upstream config git repository.
19633         * scripts/config.sub: Likewise.
19635 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19637         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19638         (EM_NUM): Update.
19639         (R_TILEPRO_*, R_TILEGX_*): New macros.
19641         * scripts/firstversions.awk: Fix bug in version range handling.
19643         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19645         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19647         * include/sys/epoll.h: New file.
19648         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19649         libc_hidden_def.
19651 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19653         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19654         Avoid unnecessary __WORDSIZE == 64 test.
19655         (fmaxf): Use VEX format if possible.
19656         (fmax): Likewise.
19657         (fminf): Likewise.
19658         (fmin): Likewise.
19660         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19661         * math/math_private.h: Remove libc_fegetround* and
19662         libc_fesetround*.
19663         * sysdeps/i386/configure.in: Check for -msse2avx.
19664         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19665         also if SSE2AVX is defined.
19666         Remove libc_fegetround* and libc_fesetround*.
19667         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19668         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
19669         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19670         of HAS_YMM_USABLE.
19671         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19672         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19673         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19674         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19675         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19677         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19679 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19681         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19682         size is not set.
19683         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19685 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
19687         [BZ #13618]
19688         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19689         relocation.
19690         * Makeconfig (libm): Define.
19691         * elf/Makefile: Add rules to build and run tst-relsort1.
19692         * elf/tst-relsort1.c: New file.
19693         * elf/tst-relsort1mod1.c: New file.
19694         * elf/tst-relsort1mod2.c: New file.
19696 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
19698         * math/s_ldexp.c: Remove __STDC__ conditionals.
19699         * math/s_ldexpf.c: Likewise.
19700         * math/s_ldexpl.c: Likewise.
19701         * math/s_nextafter.c: Likewise.
19702         * math/s_nexttowardf.c: Likewise.
19703         * math/s_significand.c: Likewise.
19704         * math/s_significandf.c: Likewise.
19705         * math/s_significandl.c: Likewise.
19706         * math/w_jnl.c: Likewise.
19707         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19708         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19709         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19710         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19711         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19712         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19713         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19714         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19715         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19716         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19717         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19718         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19719         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19720         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19721         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19722         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19723         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19724         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19726         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19727         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19728         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19729         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19730         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19731         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19732         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19733         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19734         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19735         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19736         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19737         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19738         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19739         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19740         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19741         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19742         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19743         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19744         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19745         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19746         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19747         * sysdeps/ieee754/k_standard.c: Likewise.
19748         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19749         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19750         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19751         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19752         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19753         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19754         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19755         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19756         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19757         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19758         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19759         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19760         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19761         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19762         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19763         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19764         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19765         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19766         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19767         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19768         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19769         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19770         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19771         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19772         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19773         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19774         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19777         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19778         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19779         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19780         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19781         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19783         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19784         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19786         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19787         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19788         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19789         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19790         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19791         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19792         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19793         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19794         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19795         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19797         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19798         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19801         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19802         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19803         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19804         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19805         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19806         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19807         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19808         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19809         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19810         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19811         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19812         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19813         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19814         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19815         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19816         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19817         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19818         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19819         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19820         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19821         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19822         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19823         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19824         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19825         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19826         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19827         * sysdeps/ieee754/s_matherr.c: Likewise.
19828         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19829         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19830         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19833 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19835         * crypt/md5.h: Remove __STDC__ conditionals.
19836         * libio/libioP.h: Likewise.
19837         * locale/programs/config.h: Likewise.
19838         * sysdeps/generic/sysdep.h: Likewise.
19839         * sysdeps/i386/asm-syntax.h: Likewise.
19840         * sysdeps/s390/asm-syntax.h: Likewise.
19841         * sysdeps/unix/sysdep.h: Likewise.
19842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19845 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19847         * libio/libio.h: Remove __STDC__ conditionals.
19848         * malloc/obstack.h: Likewise.
19849         * math/complex.h: Likewise.
19850         * math/math.h: Likewise.
19851         * sysdeps/generic/_G_config.h: Likewise.
19852         * sysdeps/gnu/_G_config.h: Likewise.
19853         * sysdeps/mach/hurd/_G_config.h: Likewise.
19854         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19855         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19856         * sysdeps/sparc/bits/mathdef.h: Likewise.
19858 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
19860         [BZ #13583]
19861         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19862         Clean up HAS_* macros.
19863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19864         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19865         possible.
19866         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19867         HAS_AVX.
19868         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19869         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19870         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19871         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19872         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19874 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
19876         * elf/tst-unique3.cc (gets): Remove declaration.
19877         * elf/tst-unique3lib.cc (gets): Likewise.
19878         * elf/tst-unique3lib2.cc (gets): Likewise.
19879         * elf/tst-unique4.cc (gets): Likewise.
19881 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
19883         * include/stdio.h: Add C++ protection.  Add gets declarations and
19884         definitions.
19885         * debug/tst-chk1.c: Don't declare gets here.
19886         * stdio-common/tst-gets.c: Likewise.
19888 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19890         * posix/glob: Remove directory.
19892 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19894         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19896 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
19898         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19899         of the non-standard EPFNOSUPPORT.
19901 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19903         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19904         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19905         ANYWHERE set to 1 only on KERN_NO_SPACE error.
19907 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
19909         * wcsmbs/uchar.h: Test __STDC_VERSION__.
19911 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
19913         * nscd/aicache.c (addhstaiX): Do not cache negative results of
19914         transient errors.
19915         * nscd/grpcache.c (cache_addgr): Likewise.
19916         * nscd/hstcache.c (cache_addhst): Likewise.
19917         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19918         * nscd/pwdcache.c (cache_addpw): Likewise.
19919         * nscd/servicescache.c (cache_addserv): Likewise.
19921 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
19923         * malloc/malloc.c: Various cleanups.
19924         * malloc/hooks.c: Likewise.
19926         * stdlib/Makefile (tests): Add bug-fmtmsg1.
19927         * stdlib/bug-fmtmsg1.c: New file.
19929         * stdlib/fmtmsg.c (init): Add missing unlock.
19930         Patch by Peng Haitao <penght@cn.fujitsu.com>.
19932 2012-01-12  Marek Polacek  <polacek@redhat.com>
19934         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19935         and _GNU_SOURCE.
19937 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19939         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19940         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19941         macro to ensure uniqueness of label name.
19942         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19943         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19945 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
19947         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19949         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19950         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19951         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19952         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19954 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
19956         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19958         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19959         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19960         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19962         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19964         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19965         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19966         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19967         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19969         * math/bits/math-finite.h: Add ldexp support.
19971 2012-01-10  Marek Polacek  <polacek@redhat.com>
19973         * locale/programs/localedef.h (show_archive_content): Add noreturn
19974         attribute.
19976 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
19978         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19980 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19982         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19984         * io/Makefile (headers): Add bits/poll2.h.
19986 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
19988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19989         typo #include statement.
19991 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19993         * include/sys/cdefs.h: Define __attribute_alloc_size.
19994         * catgets/gencat.c: Add alloc_size attribute and apply consistently
19995         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19996         * elf/pldd.c: Likewise.
19997         * iconv/iconv_charmap.c: Likewise.
19998         * iconv/iconvconfig.c: Likewise.
19999         * iconv/strtab.c: Likewise.
20000         * locale/programs/locale.c: Likewise.
20001         * locale/programs/localedef.h: Likewise.
20002         * locale/programs/simple-hash.c: Likewise.
20003         * nscd/nscd.h: Likewise.
20004         * nss/makedb.c: Likewise.
20005         * sysdeps/generic/ldconfig.h: Likewise.
20006         * locale/programs/localedef.c: Remove xmalloc prototype.
20007         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20009 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20011         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20012         appropriate.
20014 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20016         * math/Makefile (tests): Add tst-CMPLX.
20017         * math/tst-CMPLX.c: New file.
20019         * math/complex.h (CMPLXL): Fix typo.
20021         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20022         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20023         GLIBC_2.16.
20024         * debug/tst-chk1.c: Add poll and ppoll tests.
20025         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20026         * include/sys/poll.h: Add hidden proto for ppoll.
20027         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20028         * sysdeps/mach/hurd/ppoll.c: Likewise.
20029         * io/ppoll.c: Likewise.
20030         * debug/poll_chk.c: New file.
20031         * debug/ppoll_chk.c: New file.
20032         * include/bits/poll2.h: New file.
20033         * io/bits/poll2.h: New file.
20035         [BZ #1350]
20036         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20038         * configure.in: static is always set to yes.  Remove.
20039         * config.make.in: Don't set build-static.
20040         * Makeconfig: Remove use of build-static.
20041         * dlfcn/Makefile: Likewise.
20042         * elf/Makefile: Likewise.
20043         * math/Makefile: Likewise.
20044         * misc/Makefile: Likewise.
20045         * nptl/Makefile: Likewise.
20046         * sysdeps/mach/hurd/Makefile: Likewise.
20048         * configure.in: PWD_P is not used anymore.
20049         * config.make.in: Remove PWD_P entry.
20051         * configure.in: Remove last remnants of RANLIB.
20052         No need to check for signed size_t anymore.
20053         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20054         and IA-64.
20055         Remove __builtin_expect test because we require at least gcc 3.4.
20056         * aclocal.m4: Likewise.
20058         * wcsmbs/mbrtoc16.c: Implement using towc function.
20059         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20060         * wcsmbs/wcsmbsload.c: Likewise.
20061         * iconv/gconv_simple.c: Likewise.
20062         * iconv/gconv_int.h: Likewise.
20063         * iconv/gconv_builtin.h: Likewise.
20064         * iconv/iconv_prog.c: Remove CHAR16 handling.
20066         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20068         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20070         * configure.in: Remove --with-elf and --enable-bounded options.
20071         Dont set base_machine for ia64.  More non-ELF conditions removed.
20072         Remove testing and setting of leading underscore information.
20073         * config.make.in (build-bounded): Set to no.
20074         * config.h.in: Remove NO_UNDERSCORES entry.
20075         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20076         them.
20077         * csu/start.c: Remove !NO_UNDERSCORE code.
20078         * locale/localeinfo.h: Likewise.
20079         * sysdeps/generic/machine-gmon.h: Likewise.
20080         * sysdeps/generic/sysdep.h: Likewise.
20081         * sysdeps/i386/sysdep.h: Likewise.
20082         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20083         * sysdeps/mach/sysdep.h: Likewise.
20084         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20085         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20086         * sysdeps/sh/sysdep.h: Likewise.
20087         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20088         * sysdeps/unix/i386/sysdep.S: Likewise.
20089         * sysdeps/unix/sparc/start.c: Likewise.
20090         * sysdeps/unix/sparc/sysdep.S: Likewise.
20091         * sysdeps/unix/sparc/sysdep.h: Likewise.
20092         * sysdeps/unix/start.c: Likewise.
20093         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20094         * sysdeps/x86_64/sysdep.h: Likewise.
20096 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20098         [BZ #13553]
20099         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20100         for non-gcc.
20101         * argp/argp-fmtstream.h: Use const instead __const.
20102         * argp/argp.h: Likewise.
20103         * assert/assert.h: Likewise.
20104         * bits/fenv.h: Likewise.
20105         * bits/sched.h: Likewise.
20106         * bits/sigset.h: Likewise.
20107         * bits/sigthread.h: Likewise.
20108         * catgets/nl_types.h: Likewise.
20109         * conform/data/pthread.h-data: Likewise.
20110         * crypt/crypt-private.h: Likewise.
20111         * crypt/crypt.h: Likewise.
20112         * crypt/crypt_util.c: Likewise.
20113         * ctype/ctype.h: Likewise.
20114         * debug/execinfo.h: Likewise.
20115         * debug/mbsnrtowcs_chk.c: Likewise.
20116         * debug/mbsrtowcs_chk.c: Likewise.
20117         * debug/wcsnrtombs_chk.c: Likewise.
20118         * debug/wcsrtombs_chk.c: Likewise.
20119         * debug/wcstombs_chk.c: Likewise.
20120         * dirent/dirent.h: Likewise.
20121         * dlfcn/dlfcn.h: Likewise.
20122         * elf/neededtest4.c: Likewise.
20123         * grp/grp.h: Likewise.
20124         * gshadow/gshadow.h: Likewise.
20125         * iconv/gconv.h: Likewise.
20126         * iconv/gconv_int.h: Likewise.
20127         * iconv/gconv_simple.c: Likewise.
20128         * iconv/iconv.h: Likewise.
20129         * iconv/loop.c: Likewise.
20130         * iconv/skeleton.c: Likewise.
20131         * include/aio.h: Likewise.
20132         * include/aliases.h: Likewise.
20133         * include/argz.h: Likewise.
20134         * include/arpa/inet.h: Likewise.
20135         * include/assert.h: Likewise.
20136         * include/dirent.h: Likewise.
20137         * include/dlfcn.h: Likewise.
20138         * include/execinfo.h: Likewise.
20139         * include/fcntl.h: Likewise.
20140         * include/fenv.h: Likewise.
20141         * include/glob.h: Likewise.
20142         * include/grp.h: Likewise.
20143         * include/libintl.h: Likewise.
20144         * include/mntent.h: Likewise.
20145         * include/netdb.h: Likewise.
20146         * include/pwd.h: Likewise.
20147         * include/rpc/netdb.h: Likewise.
20148         * include/sched.h: Likewise.
20149         * include/search.h: Likewise.
20150         * include/shadow.h: Likewise.
20151         * include/signal.h: Likewise.
20152         * include/stdio.h: Likewise.
20153         * include/stdlib.h: Likewise.
20154         * include/string.h: Likewise.
20155         * include/sys/socket.h: Likewise.
20156         * include/sys/stat.h: Likewise.
20157         * include/sys/statfs.h: Likewise.
20158         * include/sys/statvfs.h: Likewise.
20159         * include/sys/syslog.h: Likewise.
20160         * include/sys/time.h: Likewise.
20161         * include/sys/uio.h: Likewise.
20162         * include/time.h: Likewise.
20163         * include/unistd.h: Likewise.
20164         * include/utmp.h: Likewise.
20165         * include/wchar.h: Likewise.
20166         * include/wctype.h: Likewise.
20167         * inet/aliases.h: Likewise.
20168         * inet/arpa/inet.h: Likewise.
20169         * inet/netinet/ether.h: Likewise.
20170         * inet/netinet/in.h: Likewise.
20171         * intl/libintl.h: Likewise.
20172         * io/bits/fcntl2.h: Likewise.
20173         * io/fcntl.h: Likewise.
20174         * io/ftw.h: Likewise.
20175         * io/sys/poll.h: Likewise.
20176         * io/sys/stat.h: Likewise.
20177         * io/sys/statfs.h: Likewise.
20178         * io/sys/statvfs.h: Likewise.
20179         * io/utime.h: Likewise.
20180         * libio/bits/stdio.h: Likewise.
20181         * libio/bits/stdio2.h: Likewise.
20182         * libio/libio.h: Likewise.
20183         * libio/libioP.h: Likewise.
20184         * libio/stdio.h: Likewise.
20185         * locale/lc-ctype.c: Likewise.
20186         * locale/locale.h: Likewise.
20187         * login/utmp.h: Likewise.
20188         * malloc/arena.c: Likewise.
20189         * malloc/malloc.c: Likewise.
20190         * malloc/malloc.h: Likewise.
20191         * malloc/mcheck.c: Likewise.
20192         * malloc/mtrace.c: Likewise.
20193         * math/bits/mathcalls.h: Likewise.
20194         * math/fenv.h: Likewise.
20195         * math/math_private.h: Likewise.
20196         * misc/bits/error.h: Likewise.
20197         * misc/bits/syslog.h: Likewise.
20198         * misc/err.h: Likewise.
20199         * misc/error.h: Likewise.
20200         * misc/fstab.h: Likewise.
20201         * misc/mntent.h: Likewise.
20202         * misc/regexp.h: Likewise.
20203         * misc/search.h: Likewise.
20204         * misc/sgtty.h: Likewise.
20205         * misc/sys/mman.h: Likewise.
20206         * misc/sys/syslog.h: Likewise.
20207         * misc/sys/uio.h: Likewise.
20208         * misc/sys/xattr.h: Likewise.
20209         * misc/ttyent.h: Likewise.
20210         * nis/rpcsvc/ypclnt.h: Likewise.
20211         * nss/nss.h: Likewise.
20212         * posix/bits/unistd.h: Likewise.
20213         * posix/fnmatch.h: Likewise.
20214         * posix/glob.h: Likewise.
20215         * posix/sched.h: Likewise.
20216         * posix/spawn.h: Likewise.
20217         * posix/sys/wait.h: Likewise.
20218         * posix/unistd.h: Likewise.
20219         * posix/wordexp.h: Likewise.
20220         * pwd/pwd.h: Likewise.
20221         * resolv/netdb.h: Likewise.
20222         * resource/sys/resource.h: Likewise.
20223         * rt/aio.h: Likewise.
20224         * rt/bits/mqueue2.h: Likewise.
20225         * rt/mqueue.h: Likewise.
20226         * shadow/shadow.h: Likewise.
20227         * signal/signal.h: Likewise.
20228         * socket/send.c: Likewise.
20229         * socket/sendto.c: Likewise.
20230         * socket/sys/socket.h: Likewise.
20231         * stdio-common/printf.h: Likewise.
20232         * stdlib/bits/stdlib.h: Likewise.
20233         * stdlib/fmtmsg.h: Likewise.
20234         * stdlib/monetary.h: Likewise.
20235         * stdlib/stdlib.h: Likewise.
20236         * stdlib/ucontext.h: Likewise.
20237         * streams/stropts.h: Likewise.
20238         * string/argz.h: Likewise.
20239         * string/bits/string2.h: Likewise.
20240         * string/string.h: Likewise.
20241         * string/strings.h: Likewise.
20242         * sunrpc/rpc/auth.h: Likewise.
20243         * sunrpc/rpc/auth_des.h: Likewise.
20244         * sunrpc/rpc/clnt.h: Likewise.
20245         * sunrpc/rpc/netdb.h: Likewise.
20246         * sunrpc/rpc/pmap_clnt.h: Likewise.
20247         * sunrpc/rpc/xdr.h: Likewise.
20248         * sysdeps/generic/inttypes.h: Likewise.
20249         * sysdeps/generic/net/if.h: Likewise.
20250         * sysdeps/generic/sys/swap.h: Likewise.
20251         * sysdeps/gnu/net/if.h: Likewise.
20252         * sysdeps/gnu/utmpx.h: Likewise.
20253         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20254         * sysdeps/i386/i486/bits/string.h: Likewise.
20255         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20256         * sysdeps/s390/bits/string.h: Likewise.
20257         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20258         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20259         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20260         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20261         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20262         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20263         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20264         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20265         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20266         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20267         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20268         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20269         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20270         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20271         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20272         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20273         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20274         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20275         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20276         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20277         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20278         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20279         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20280         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20281         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20282         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20283         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20284         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20285         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20286         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20287         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20288         * sysvipc/sys/ipc.h: Likewise.
20289         * sysvipc/sys/msg.h: Likewise.
20290         * sysvipc/sys/sem.h: Likewise.
20291         * sysvipc/sys/shm.h: Likewise.
20292         * termios/termios.h: Likewise.
20293         * time/sys/time.h: Likewise.
20294         * time/time.h: Likewise.
20295         * wcsmbs/bits/wchar2.h: Likewise.
20296         * wcsmbs/uchar.h: Likewise.
20297         * wcsmbs/wchar.h: Likewise.
20298         * wctype/wctype.h: Likewise.
20300         [BZ #13551]
20301         * Makeconfig: Remove all but ELF support including AIX support.
20302         * Makerules: Likewise.
20303         * config.h.in: Likewise.
20304         * config.make.in: Likewise.
20305         * configure: Likewise.
20306         * configure.in: Likewise.
20307         * csu/Makefile: Likewise.
20308         * csu/version.c: Likewise.
20309         * debug/Makefile: Likewise.
20310         * dlfcn/Makefile: Likewise.
20311         * elf/Makefile: Likewise.
20312         * extra-lib.mk: Likewise.
20313         * iconv/Makefile: Likewise.
20314         * include/libc-symbols.h: Likewise.
20315         * include/shlib-compat.h: Likewise.
20316         * resolv/Makefile: Likewise.
20317         * resolv/res_libc.c: Likewise.
20318         * rt/Makefile: Likewise.
20319         * sysdeps/i386/asm-syntax.h: Likewise.
20320         * sysdeps/i386/sysdep.h: Likewise.
20321         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20322         * sysdeps/mach/sysdep.h: Likewise.
20323         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20324         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20325         * sysdeps/s390/asm-syntax.h: Likewise.
20326         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20327         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20328         * sysdeps/sh/sysdep.h: Likewise.
20329         * sysdeps/unix/sparc/sysdep.h: Likewise.
20330         * sysdeps/wordsize-32/divdi3.c: Likewise.
20331         * sysdeps/x86_64/sysdep.h: Likewise.
20333         * argp/Versions: Remove _argp_unlock_xxx.
20335         [BZ #13559]
20336         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20337         * abilist/libBrokenLocale.abilist: Likewise.
20338         * abilist/libanl.abilist: Likewise.
20339         * abilist/libc.abilist: Likewise.
20340         * abilist/libcrypt.abilist: Likewise.
20341         * abilist/libdl.abilist: Likewise.
20342         * abilist/libm.abilist: Likewise.
20343         * abilist/libnsl.abilist: Likewise.
20344         * abilist/libpthread.abilist: Likewise.
20345         * abilist/libresolv.abilist: Likewise.
20346         * abilist/librt.abilist: Likewise.
20347         * abilist/libthread_db.abilist: Likewise.
20348         * abilist/libutil.abilist: Likewise.
20349         * abilist/libnss_db.abilist: New file.
20351         * scripts/abilist.awk: Add support for indirect functions.
20353         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20355         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20357         * shlib-versions: Remove entries for ports architectures.
20359         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20360         files in ports.
20361         * elf/stackguard-macros.h: Remove support for IA-64.
20362         * elf/tst-auditmod1.c: Likewise.
20363         * sysdeps/generic/ldsodefs.h: Likewise.
20365         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20366         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20367         configure files.
20369         [BZ #13552]
20370         * configure.in: Remove --enable-omitfp support.
20371         * FAQ.in: Adjust.
20372         * config.make.in: Likewise.
20373         * Makeconfig: Likewise.
20374         * manual/install.texi: Likewise.
20376         In case anyone cares, the IA-64 architecture could move to ports.
20377         * sysdeps/ia64/*: Removed.
20378         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20379         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20381         [BZ #13555]
20382         * configure.in: Remove entries for unsupported architectures.
20384         [BZ #13533]
20385         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20386         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20387         routines.
20388         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20389         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20390         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20391         fall back to using wcrtomb.
20392         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20393         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20394         renaming.
20395         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20396         * wcsmbs/tst-c16c32-1.c: New file.
20398         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20399         local variable.
20401         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20403         * elf/tst-unique3.cc: Add explicit declaration of gets.
20404         * elf/tst-unique3lib.cc: Likewise.
20405         * elf/tst-unique3lib2.cc: Likewise.
20406         * elf/tst-unique4.cc: Likewise.
20408         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20410 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20412         [BZ #13566]
20413         * assert/assert.h (static_assert): Don't define for C++.
20414         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20415         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20417 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20419         * iconv/loop.c (single loop): Fix assertion in storing of
20420         remaining bytes.
20422         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20424 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20426         * posix/getconf.c: Update copyright year.
20427         * nss/getent.c: Likewise.
20428         * nss/makedb.c: Likewise.
20429         * iconv/iconvconfig.c: Likewise.
20430         * iconv/iconv_prog.c: Likewise.
20431         * elf/ldconfig.c: Likewise.
20432         * elf/pldd.c: Likewise.
20433         * elf/sotruss.ksh: Likewise.
20434         * catgets/gencat.c: Likewise.
20435         * csu/version.c: Likewise.
20436         * elf/ldd.bash.in: Likewise.
20437         * elf/sprof.c (print_version): Likewise.
20438         * locale/programs/locale.c: Likewise.
20439         * locale/programs/localedef.c: Likewise.
20440         * login/programs/pt_chown.c: Likewise.
20441         * nscd/nscd.c (print_version): Likewise.
20442         * debug/xtrace.sh: Likewise.
20443         * malloc/memusage.sh: Likewise.
20444         * malloc/mtrace.pl: Likewise.
20445         * debug/catchsegv.sh: Likewise.
20447 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20449         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20450         pure attribute.
20452 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20454         [BZ #13533]
20455         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20456         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20457         transformations.
20458         * iconv/gconv_int.h: Likewise.
20459         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20460         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20461         from libc for GLIBC_2.16.
20462         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20463         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20464         * wcsmbs/uchar.h: Really define mbstate_t.
20465         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20466         * wcsmbs/c16rtomb.c: New file.
20467         * wcsmbs/mbrtoc16.c: New file.
20468         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20469         for C/POSIX locale.
20470         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20471         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20473         * wcsmbs/wchar.h: Add missing __restrict.
20475 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20477         [BZ #13532]
20478         * time/Makefile (routines): Add timespec_get.
20479         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20480         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20481         timespec for ISO C11.
20482         * time/timespec_get.c: New file.
20483         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20484         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20486         [BZ #13531]
20487         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20488         * stdlib/stdlib.h: Declare aligned_alloc.
20489         * Versions.def: Add GLIBC_2.16 for libc.
20490         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20492         [BZ 13527]
20493         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20494         ISO C11.
20496         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20497         code.
20499         [BZ #13528]
20500         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20502         [BZ #13529]
20503         * assert/assert.h (static_assert): Define.
20505         * version.h: Update for 2.16 development version.
20507         [BZ #13526]
20508         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20509         _ISOC11_SOURCE.
20511         * version.h (RELEASE): Bump for 2.15 release.
20512         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20514         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20515         Patch by Marek Polacek <mpolacek@redhat.com>.
20517         * bits/byteswap.h: Protect long long constants with __extension__.
20518         * sysdeps/i386/bits/byteswap.h: Likewise.
20519         * sysdeps/ia64/bits/byteswap.h: Likewise.
20520         * sysdeps/s390/bits/byteswap.h: Likewise.
20521         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20523 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20525         [BZ #13540]
20526         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20527         destination buffer.
20528         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20530 2011-12-23  Marek Polacek  <polacek@redhat.com>
20532         * elf/dl-addr.c (determine_info): Add inline keyword.
20533         * elf/tst-auditmod4b.c (check_avx): Likewise.
20534         * elf/tst-auditmod6b.c (check_avx): Likewise.
20535         * elf/tst-auditmod6c.c (check_avx): Likewise.
20536         * elf/tst-auditmod7b.c (check_avx): Likewise.
20538 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20540         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20541         !__SSE_MATH__.
20543 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20545         [BZ #13540]
20546         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20547         processing for last bytes.
20549 2011-08-06  Bruno Haible  <bruno@clisp.org>
20551         [BZ #13061]
20552         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20553         U+0385, not to U+1FEE.
20555         [BZ #13062]
20556         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20557         entry for U+00A5 U+0301.
20559 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20561         [BZ #13166]
20562         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20563         buffer for the output is too small.
20565         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20566         optimization.
20568         [BZ #13185]
20569         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20570         SSE flags if possible.
20572 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20574         [BZ #13540]
20575         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20576         processing for last bytes.
20578 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20580         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20581         (syscall-list-default-options, syscall-list-default-condition)
20582         (syscall-list-includes): Define.
20583         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20584         list of ABIs and options and #if conditions for each ABI.  Do not
20585         handle common syscalls between ABIs specially.
20586         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20587         Remove.
20588         (syscall-list-variants, syscall-list-32bit-options)
20589         (syscall-list-32bit-condition, syscall-list-64bit-options)
20590         (syscall-list-64bit-condition): Define.
20591         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20592         (syscall-list-variants, syscall-list-32bit-options)
20593         (syscall-list-32bit-condition, syscall-list-64bit-options)
20594         (syscall-list-64bit-condition): Define.
20595         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20596         Remove.
20597         (syscall-list-variants, syscall-list-32bit-options)
20598         (syscall-list-32bit-condition, syscall-list-64bit-options)
20599         (syscall-list-64bit-condition): Define.
20600         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20601         Remove.
20602         (syscall-list-variants, syscall-list-32bit-options)
20603         (syscall-list-32bit-condition, syscall-list-64bit-options)
20604         (syscall-list-64bit-condition): Define.
20606 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20608         * locale/iso-639.def: Add brx entry.
20610         [BZ #13328]
20611         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20612         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20614         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20615         __feraiseexcept_renamed.
20617 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20619         [BZ #13538]
20620         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20621         EPOLLET with unsigned values.
20622         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20623         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20625         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20626         to large cancellation.
20627         * math/s_cacoshf.c: Likewise.
20628         * math/s_cacoshl.c: Likewise.
20630 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20632         [BZ #13305]
20633         [BZ #12786]
20634         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20635         * math/s_cacoshf.c: Likewise.
20636         * math/s_cacoshl.c: Likewise.
20638 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20640         [BZ #13439]
20641         * iconv/gconv.h: Define __GCONV_SWAP.
20642         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20643         * iconvdata/utf-16.c: Likewise.
20644         * iconvdata/utf-32.c: Likewise.
20646 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20648         [BZ #13524]
20649         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20650         numerator after shifting it by one limb.
20652 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20654         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20655         under [__USE_EXTERN_INLINES].
20657 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20659         [BZ #13446]
20660         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20662 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20664         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20665         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20666         optimized code.
20667         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20668         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20669         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20670         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20671         for strncasecmp/strncasecmp_l compilation.
20672         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20673         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20675 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
20677         [BZ #13484]
20678         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20679         of __asm__.
20681 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20683         [BZ #13506]
20684         * time/tzfile.c (__tzfile_read): Check values from file header.
20686 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20688         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20689         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20690         * powerpc/powerpc32/dl-start.S: Likewise.
20691         * powerpc/powerpc32/elf/start.S: Likewise.
20692         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20693         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20694         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20695         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20696         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20697         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20698         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20699         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20700         * powerpc/powerpc32/fpu/s_round.S: Likewise.
20701         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20702         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20703         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20704         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20705         * powerpc/powerpc32/memset.S: Likewise.
20706         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20707         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20708         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20709         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20710         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20711         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20712         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20713         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20714         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20715         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20716         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20717         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20718         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20720 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20722         * math/libm-test.inc: Added more nearbyint tests.
20723         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20724         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20725         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20728 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
20730         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20731         FD_CLOEXEC.
20733 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20735         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20736         Add wcscpy-ssse3 wcscpy-c.
20737         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20738         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20739         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20740         * sysdeps/x86_64/wcschr.S: New file.
20741         * sysdeps/x86_64/wcsrchr.S: New file.
20742         * string/test-strcmp.c: Remove checking of wcscmp function for
20743         wrong alignments.
20744         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20745         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20746         wcsrchr-sse2 wcsrchr-c.
20747         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20748         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20749         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20750         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20751         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20752         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20753         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20754         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20755         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20756         * wcsmbc/wcschr.c (WCSCHR): New macro.
20758 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20760         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20761         * wcsmbs/test-wcsrchr.c: New file.
20762         * string/test-strrchr.c: Add wcsrchr support.
20763         (WIDE): New macro.
20764         * wcsmbs/test-wcscpy.c: New file.
20765         * string/test-strcpy.c: Add wcscpy support.
20766         (WIDE): New macro.
20768 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
20770         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20771         the inner loop.
20773 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
20775         [BZ #13472]
20776         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20778 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
20780         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20781         Minor optimizations.
20783         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20784         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20785         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20787 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
20789         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20790         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20791         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20792         for gcc to avoid warnings.
20793         * inet/Makefile (tests): Add tst-checks.
20794         * inet/tst-checks.c: New file.
20796         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20797         warning.
20799         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20800         __wmemcmp_sse2.
20802         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20803         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20805         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20807 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
20809         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20810         problem.
20812         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20814 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
20816         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20817         conditional on GCC version.
20818         (__arch_compare_and_exchange_val_8_acq)
20819         (__arch_compare_and_exchange_val_16_acq)
20820         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20821         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20822         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20824 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
20826         * sysdeps/sh/backtrace.c: New file.
20828 2011-12-02  Andreas Schwab  <schwab@redhat.com>
20830         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
20831         parenthesis.
20833 2011-12-01  Andreas Schwab  <schwab@redhat.com>
20835         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20836         falling back to utime.
20838 2011-11-30  Andreas Schwab  <schwab@redhat.com>
20840         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20841         expectations for float.
20843 2011-11-29  Andreas Schwab  <schwab@redhat.com>
20845         * locale/weight.h (findidx): Add parameter len.
20846         * locale/weightwc.h (findidx): Likewise.
20847         * posix/fnmatch_loop.c (FCT): Adjust caller.
20848         * posix/regcomp.c (build_equiv_class): Likewise.
20849         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20850         * posix/regexec.c (check_node_accept_bytes): Likewise.
20851         * string/strcoll_l.c (STRCOLL): Likewise.
20852         * string/strxfrm_l.c (STRXFRM): Likewise.
20854 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
20856         * Makefile.in: Remove CVSOPT handling.
20857         * configure.in: Remove use of AC_REVISION.
20858         * iconvdata/Makefile (distribute): No need to filter out CVS.
20859         * scripts/list-sources.sh: Remove CVS, subversion and monotone
20860         handling.
20862 2011-11-16  Andreas Schwab  <schwab@redhat.com>
20864         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20865         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20866         [USE_AS_STRNCASECMP_L]: Likewise.
20867         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20868         NO_TLS_DIRECT_SEG_REFS.
20869         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20870         Fix argument offsets for non-PIC.
20871         [USE_AS_STRNCASECMP_L]: Likewise.
20872         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20873         NO_TLS_DIRECT_SEG_REFS.
20875 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20877         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20878         O_CLOEXEC.
20879         * locale/loadlocale.c (_nl_load_locale): Likewise.
20881 2011-11-15  Andreas Schwab  <schwab@redhat.com>
20883         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20884         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20885         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20886         (SYSCALL_GETTIME): Set errno on error.
20888         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20889         count references to noai6ai_cached.
20891 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20893         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20895         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20896         FD_CLOEXEC for /proc/self/maps.
20898         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20899         FD_CLOEXEC for /proc/meminfo.
20901         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20902         gai.conf.
20904         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
20905         FD_CLOEXEC for given file.
20907         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20909         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20910         FD_CLOEXEC for /etc/hosts.
20911         (_gethtent): Likewise.
20913         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20915         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20916         cancellation and set FD_CLOEXEC for /etc/netgroup.
20918         * nss/nss_files/files-key.c (search): Don't allow cancellation when
20919         reading /etc/publickey.
20921         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20922         allow cancellation when reading /etc/group.
20924         * nss/nss_files/files-alias.c (internal_setent): Don't allow
20925         cancellation.
20926         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
20928         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20929         when using data file.
20931         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20933         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20934         (write_nis_obj): Use "c" and "e" in fopen.
20936         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20938         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20940         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20942         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20944         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20945         locale.alias.
20947         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20949         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20951         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20953         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20954         file parsing and set FD_CLOEXEC.
20956 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20958         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20960 2011-11-14  Andreas Schwab  <schwab@redhat.com>
20962         * malloc/arena.c (arena_get2): Don't call reused_arena when
20963         _int_new_arena failed.
20965 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20967         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20968         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20969         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20970         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20971         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20973         to compile strcasecmp and strncasecmp.
20974         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20975         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20979 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
20981         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20982         locale-defines.sym to gen-as-const-headers.
20983         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20984         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20986         to compile strcasecmp and strncasecmp.
20987         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20988         strcasecmp_l and strncasecmp_l.
20989         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20990         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20991         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20992         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20993         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20994         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20995         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20996         * sysdeps/i386/i686/multiarch/strncase.S: New file.
20997         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20998         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20999         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21001 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21003         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21004         result of SYSDEP_GETTIME_CPU to retval.
21005         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21006         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21008         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21009         variable.
21011         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21012         mantissa words.
21013         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21015         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21016         from unused variable.
21018         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21019         DWARF definitions.
21020         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21021         for assembling.
21023         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21024         over namespaces.
21026         * sunrpc/rpc_prot.c (rejected): Fix case value.
21028         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21029         unsigned long long int to avoid warnings in shift.
21031         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21032         of use of trans.
21033         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21034         variable tmp.
21036         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21037         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21038         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21040         * nis/nis_table.c (nis_list): Use variable of correct type for
21041         result of __follow_path call.
21043 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21045         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21046         of math functions ceil, trunc, floor, round, and sqrt, when
21047         avaliable on the platform.
21048         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21049         name clash.
21050         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21051         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21052         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21054 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21056         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21057         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21059 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21061         * include/unistd.h: Fix __readlink return type.
21062         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21064 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21066         * stdlib/ucontext.h: Undo last change for makecontext.
21068 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21070         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21072         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21073         * setjmp/setjmp.h: Mark functions as non-leaf.
21074         * setjmp/bits/setjmp2.h: Likewise.
21075         * stdlib/ucontext.h: Likewise.
21077 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21079         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21080         (reused_arena): Don't check arena limit.
21081         (arena_get2): Atomically check arena limit.
21083 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21085         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21086         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21088         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21089         instructions.
21091 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21093         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21094         handler when locking.
21096         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21097         Fix size of allocated buffer.
21099 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21101         [BZ #10103]
21102         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21103         declarations for long double functions.
21104         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21106         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21108 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21110         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21111         installed.
21113         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21114         is disabled.
21116 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21118         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21120 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21122         * include/alloca.h (stackinfo_alloca_round): Define.
21123         (extend_alloca): Use it.
21124         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21125         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21126         here.
21128         * scripts/check-local-headers.sh: Ignore libaudit.h.
21130         * nscd/Makefile (extra-objs): Make recursively expanded.
21132 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21134         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21135         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21137         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21138         * posix/tst-rfc3484-2.c: Likewise.
21139         * posix/tst-rfc3484-3.c: Likewise.
21141         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21142         process_vm_writev.
21143         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21144         process_vm_writev.
21145         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21146         process_vm_writev from libc using GLIBC_2.15 version.
21148         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21150 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21152         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21153         stack usage.
21155 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21157         [BZ #13367]
21158         * nss/getent.c (initgroups_keys): Show error message in case no group
21159         names are given.
21161         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21162         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21163         __bump_nl_timestamp.
21164         * nscd/connections (nscd_init): When host database is served open
21165         netlink socket and request notification about configuration changes.
21166         (main_loop_poll): Track netlink file descriptor and bump timestamp
21167         in case data becomes available.
21168         (main_loop_epoll): Likewise.
21169         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21170         (database_pers_head): Add extra_data fileds.
21171         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21172         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21173         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21174         Adjust caller.
21175         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21176         in6ai data, call __free_in6ai.
21177         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21178         Add -DHAVE_NETLINK.
21179         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21180         interface information.  Reuse previous data if netlink timestamp
21181         is not changed.
21182         (__bump_nl_timestamp): New function.
21183         (__free_in6ai): New function.
21185 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21187         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21188         close_not_cancel_no_status here.
21189         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21191 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21193         [BZ #13276]
21194         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21195         return value.
21197         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21198         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21199         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21201 2011-07-03  Andreas Jaeger  <aj@suse.de>
21203         [BZ #10709]
21204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21205         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21206         * math/libm-test.inc (sin_test): Add test case.
21208 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21210         [BZ #13337]
21211         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21212         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21214         * elf/chroot_canon.c (chroot_canon): Cleanups.
21216         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21218         [BZ #13335]
21219         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21220         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21222         * string/test-strchr.c: Make usable for strchrnul testing.
21223         * string/test-strchrnul.c: New file.
21224         * string/Makefile (strop-tests): Add strchrnul.
21226         * po/it.po: Update from translation team.
21227         * po/es.po: Likewise.
21229 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21231         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21232         the three constants needed as parameters.  Drop the others.
21233         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21234         __m128i_strloadu_tolower.
21235         Create and initialize variable zero and use it in all the places
21236         where _mm_setzero_si128 was used.
21238         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21239         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21240         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21241         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21242         anymore.
21243         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21244         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21245         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21246         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21247         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21248         __mpranred, __mptan.
21249         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21250         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21251         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21252         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21253         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21254         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21255         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21256         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21257         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21259 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21261         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21262         redefine if SHARED.
21263         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21266         wide char related routines to wcsmbs subdir.
21268 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21270         [BZ #13344]
21271         * misc/sys/cdefs.h (__THROWNL): Define.
21272         * posix/unistd.h: Use __THREADNL instead of __THREAD
21273         for memory synchronization functions.
21275 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21277         [BZ #13349]
21278         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21279         doesn't exist.
21280         * manual/stdio.texi (Obstack Streams): Node removed.
21282 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21284         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21285         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21286         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21288         * math/math_private.h (math_force_eval): Allow non-addressable
21289         arguments.
21290         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21292 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21294         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21295         file is not needed.
21297         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21299         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21300         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21301         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21302         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21303         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21304         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21305         Add AVX variants.
21306         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21307         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21308         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21309         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21310         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21311         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21312         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21313         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21314         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21315         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21316         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21317         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21318         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21319         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21320         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21321         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21322         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21323         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21324         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21326         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21327         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21329         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21330         place.  Use VEX encoding when compiling for AVX.
21332 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21334         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21335         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21337         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21339 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21341         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21342         useless if() expression.
21343         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21344         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21345         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21346         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21347         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21348         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21349         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21350         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21351         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21352         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21353         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21354         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21355         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21356         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21357         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21358         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21359         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21360         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21361         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21363         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21365 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21367         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21368         condition.
21369         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21371 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21373         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21374         .text section.  Avoid duplicate constants.
21375         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21376         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21377         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21378         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21380         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21381         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21382         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21383         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21384         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21385         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21386         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21387         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21388         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21389         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21390         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21391         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21392         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21393         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21394         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21395         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21396         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21397         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21398         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21399         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21400         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21401         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21402         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21403         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21404         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21405         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21406         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21407         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21408         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21409         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21410         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21411         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21412         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21413         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21414         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21415         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21416         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21417         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21418         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21419         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21421 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21423         * sysdeps/x86_64/dla.h: Move to ...
21424         * sysdeps/x86_64/fpu/dla.h: ...here.
21425         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21426         situations.  Use __builtin_fma only for gcc 4.6 and up.
21428         * config.make.in: Add have-mfma4 entry.
21429         * configure.in: Substitute libc_cv_cc_fma4.
21430         * math/Makefile (dbl-only-routines): Add sincostab.
21431         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21432         Use __sincostab not sincos.
21433         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21434         name is a macro.
21435         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21436         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21437         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21438         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21439         using __copysign.
21440         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21441         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21442         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21443         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21444         and __inv.
21445         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21446         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21447         __copysign.
21448         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21449         define aliases when function name is a macro.
21450         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21451         sysdeps/ieee754/dbl-64/sincos.tbl.
21452         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21453         fma4-enabled routines.
21454         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21455         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21456         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21457         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21458         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21459         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21461         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21462         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21463         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21464         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21465         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21466         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21467         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21468         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21469         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21470         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21471         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21472         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21473         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21474         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21475         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21476         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21477         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21478         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21479         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21480         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21481         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21482         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21483         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21485         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21486         rename.
21487         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21489         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21490         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21491         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21492         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21493         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21494         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21496 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21498         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21500 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21502         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21504         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21505         prediction.
21506         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21508         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21509         Remove unused variable magic_bits.
21510         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21512         * string/strnlen.c: Define and use STRNLEN macro.
21513         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21514         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21515         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21516         * wcsmbs/wcslen.c: Define and use WCSLEN.
21517         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21518         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21519         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21520         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21521         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21522         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21523         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21525 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21528         strnlen-sse2-no-bsf.
21529         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21530         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21531         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21532         Add strnlen support.
21533         (USE_AS_STRNLEN): New macro.
21534         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21535         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21536         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21537         * sysdeps/x86_64/wcslen.S: New file.
21539 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21541         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21542         XMM-moves are used for copying on small sizes.
21544 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21546         * wcsmbs/Makefile (strop-tests): Add wcschr.
21547         * wcsmbs/test-wcschr.c: New file.
21548         * string/test-strchr.c: Update.
21549         Add wcschr support.
21550         (WIDE): New macro.
21552 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21554         * wcsmbs/Makefile (strop-tests): Add wcslen.
21555         * wcsmbs/test-wcslen.c: New file.
21556         * string/test-strlen.c: Update.
21557         Add wcslen support.
21558         (WIDE): New macro.
21560 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21562         * po/it.po: Update from translation team.
21564 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21566         * sysdeps/x86_64/wcscmp.S: Update.
21567         Fix wrong comparison semantics.
21568         wcscmp shall use signed comparison not unsigned.
21569         Don't use substraction to avoid overflow bug.
21570         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21571         * wcsmbc/wcscmp.c: Likewise.
21572         * string/test-strcmp.c: Likewise.
21573         Add new tests to check cases with negative values.
21575 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21577         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21578         * sysdeps/x86_64/dla.h: ...here.  New file.
21579         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21584         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21585         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21586         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21587         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21589 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21591         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21592         __ynl_finite aliases.
21594 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21598         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21599         define DLA_FMA.
21600         [DLA_FMA] (EMULV): Use DLA_FMA.
21601         [DLA_FMA] (MUL12): Use EMULV.
21602         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21603         that are not needed.
21604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21605         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21609         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21612 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21614         * math/s_nan.c: Undef __nan.
21615         * math/s_nanf.c: Undef __nanf.
21616         * math/s_nanl.c: Undef __nanl.
21617         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21618         "math_private.h".
21620 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21622         * math/s_catan.c: Add branch predictions.
21623         * math/s_catanf.c: Likewise.
21624         * math/s_catanh.c: Likewise.
21625         * math/s_catanhf.c: Likewise.
21626         * math/s_catanhl.c: Likewise.
21627         * math/s_catanl.c: Likewise.
21628         * math/s_cexp.c: Likewise.
21629         * math/s_cexpf.c: Likewise.
21630         * math/s_cexpl.c: Likewise.
21631         * math/s_clog.c: Likewise.
21632         * math/s_clog10.c: Likewise.
21633         * math/s_clog10f.c: Likewise.
21634         * math/s_clog10l.c: Likewise.
21635         * math/s_clogf.c: Likewise.
21636         * math/s_clogl.c: Likewise.
21637         * math/s_csqrt.c: Likewise.
21638         * math/s_csqrtf.c: Likewise.
21639         * math/s_csqrtl.c: Likewise.
21640         * math/s_ctanf.c: Likewise.
21641         * math/s_ctanh.c: Likewise.
21642         * math/s_ctanhf.c: Likewise.
21643         * math/s_ctanhl.c: Likewise.
21644         * math/s_ctanl.c: Likewise.
21646         * math/math_private.h: Define __nan, __nanf, __nanl.
21647         * math/s_cacosh.c: Include <math_private.h>.
21648         * math/s_cacoshl.c: Likewise.
21649         * math/s_casinh.c: Likewise.
21650         * math/s_casinhf.c: Likewise.
21651         * math/s_casinhl.c: Likewise.
21652         * math/s_ccos.c: Rely entire on ccosh.
21653         * math/s_ccosf.c: Rely entire on ccoshf.
21654         * math/s_ccosl.c: Rely entirely on ccoshl.
21655         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
21656         Remove tests for FE_INVALID.
21657         * math/s_ccoshf.c: Likewise.
21658         * math/s_ccoshl.c: Likewise.
21659         * math/s_csin.c: Likewise.
21660         * math/s_csinf.c: Likewise.
21661         * math/s_csinh.c Likewise.
21662         * math/s_csinhf.c: Likewise.
21663         * math/s_csinhl.c: Likewise.
21664         * math/s_csinl.c: Likewise.
21665         * math/s_ctan.c: Likewise.
21666         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21667         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21668         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21670 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
21672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21673         compilation problems.
21675         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21676         __builtin_expect.
21678 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
21680         * sysdeps/i386/configure.in: Test for -mfma4 option.
21681         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21682         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21683         COMMON_CPUID_INDEX_80000001.
21684         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21685         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21686         use it if FMA3 is not supported.
21687         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21689         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21690         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21692 2011-10-20  Andreas Schwab  <schwab@redhat.com>
21694         [BZ #12892]
21695         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21696         it would create a cycle with a link time dependency.
21698 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
21700         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21701         instruction.
21702         * string/Makefile (strop-tests): Add rawmemchr.
21703         * string/test-rawmemchr.c: New file.
21705         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21706         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
21707         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
21708         when compiling str{,n}casecmp and when AVX is available.  Hook up
21709         new optimized code in initializers.
21711 2011-10-19  Andreas Schwab  <schwab@redhat.com>
21713         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21714         __feraiseexcept instead of feraiseexcept.
21716 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
21718         * math/math_private.h: Define defaults for libc_fetestexcept and
21719         libc_feupdateenv.
21720         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21721         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21722         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21723         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21724         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21725         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21726         libc_fetestexcept and libc_feupdateenv.
21728         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21729         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21730         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21731         * sysdeps/x86_64/fpu/math_private.h: Define special version of
21732         libc_feholdexcept_setround.
21734         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21735         Add s_nearbyint-c and s_nearbyintf-c.
21736         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21737         nearbyintf inlines.
21738         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21739         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21740         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21741         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21743         * math/math_private.h: Define defaults for libc_fegetround,
21744         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21745         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21746         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21747         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21748         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21749         standard functions.
21750         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21751         Remove comments and hacks for old compiler versions.
21752         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21753         libc_fegetround, libc_fesetround, libc_feholdexcept, and
21754         libc_feholdexceptl.
21756 2011-10-18  Andreas Schwab  <schwab@redhat.com>
21758         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21759         (__feraiseexcept_renamed): Add __NTH.
21760         (feraiseexcept): Add __NTH.  Rename local variables to fix
21761         namespace violations.
21763 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
21765         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21767         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21769         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21770         recently added interfaces.
21771         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21773         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21774         about macro parameter expansion.
21776         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21777         __NO_MATH_INLINES is defined.  Cleanups.
21779         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21780         and __floorf is target has SSE4.1.
21781         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21782         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21783         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21784         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21786         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21787         name.
21788         (floorf): Likewise.
21790         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21792 2011-10-17  Andreas Schwab  <schwab@redhat.com>
21794         * misc/sys/cdefs.h: Fix last change.
21796         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21797         database lookup.
21799 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
21801         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21803         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21804         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21805         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21806         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21807         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21808         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21809         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21810         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21811         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21812         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21813         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21814         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21815         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21816         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21817         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21818         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21819         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21820         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21821         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21822         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21823         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21824         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21826         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21827         ceil, ceilf, floor, floorf.
21829         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21830         Perform IRELATIVE relocations last.
21832         * elf/do-rel.h: Add another parameter nrelative, replacing the
21833         local variable with the same name.  Change name of the function
21834         to end in Rel or Rela (uppercase).
21835         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21836         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
21837         elf_dynamic_do_##reloc function.
21839 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21841         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21842         is sufficient, at least on modern CPUs.
21844         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21846         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21847         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21849         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21850         __expl_finite.
21851         * math/bits/math-finite.h: Add entries for exp.
21852         * math/e_expl.c: Add __*_finite alias.
21853         * sysdeps/i386/fpu/e_exp.S: Likewise.
21854         * sysdeps/i386/fpu/e_expf.S: Likewise.
21855         * sysdeps/i386/fpu/e_expl.c: Likewise.
21856         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21857         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21858         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21859         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21860         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21861         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21862         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21864         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21865         is sufficient, at least on modern CPUs.
21867         * ctype/ctype-info.c (__ctype_init): Define.
21868         * include/ctype.h (__ctype_init): Declare.
21869         (__ctype_b_loc): The variable is always initialized.
21870         (__ctype_toupper_loc): Likewise.
21871         (__ctype_tolower_loc): Likewise.
21872         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21873         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21875 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
21877         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21879         * configure.in: Also look in $cxxmachine/include for C++ system
21880         headers.
21882 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21884         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21885         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21886         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21887         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
21888         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21889         (USE_AS_WMEMCMP): New macro.
21890         Fixing indents.
21891         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21892         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21893         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21894         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21895         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21896         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21897         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21898         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21899         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21900         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21901         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21902         (USE_AS_WMEMCMP): New macro.
21903         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21904         * sysdeps/string/test-memcmp.c: Update.
21905         Fix simple_wmemcmp.
21906         Add new tests.
21907         * wcsmbs/wmemcmp.c: Update.
21908         (WMEMCMP): New macro.
21909         Fix overflow bug.
21911 2011-10-12  Andreas Jaeger  <aj@suse.de>
21913         [BZ #13268]
21914         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21916 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21918         * libio/iofwide.c (do_length): Avoid warning.
21920         * ctype/ctype.h (__isctype_f): Add missing __THROW.
21922 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
21924         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21926         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21927         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21928         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21929         * sysdeps/i386/i686/fpu/e_log.S: New file.
21930         * sysdeps/i386/i686/fpu/e_logf.S: New file.
21931         * sysdeps/i386/i686/fpu/e_logl.S: New file.
21933         * ctype/ctype.h: Add support for inlined isXXX functions when
21934         compiling C++ code.
21936 2011-10-14  Andreas Schwab  <schwab@redhat.com>
21938         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21940         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21942 2011-10-13  Roland McGrath  <roland@hack.frob.com>
21944         [BZ #13291]
21945         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21947 2011-10-13  Andreas Schwab  <schwab@redhat.com>
21949         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21950         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21951         feraiseexcept.
21953         * sysdeps/x86_64/memrchr.S: Check for zero size.
21955         * string/stratcliff.c: Add memrchr tests.
21957 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21959         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21960         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21961         rawmemchr-sse2 rawmemchr-sse2-bsf.
21962         * sysdeps/i386/i686/multiarch/memchr.S: New file.
21963         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21964         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21965         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21966         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21967         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21968         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21969         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21970         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21971         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21972         * string/memrchr.c (MEMRCHR): New macro.
21974 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
21976         Add integration with gcc's -ffinite-math-only and optimize wrapper
21977         functions in libm.
21978         * Versions.def: Define GLIBC_2.15 version for libm.
21979         * math/Makefile (headers): Add bits/math-finite.h.
21980         * math/bits/math-finite.h: New file.
21981         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21982         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21983         * math/e_acoshl.c: Add __*_finite alias.
21984         * math/e_acosl.c: Likewise.
21985         * math/e_asinl.c: Likewise.
21986         * math/e_atan2l.c: Likewise.
21987         * math/e_atanhl.c: Likewise.
21988         * math/e_coshl.c: Likewise.
21989         * math/e_exp10.c: Likewise.
21990         * math/e_exp10f.c: Likewise.
21991         * math/e_exp10l.c: Likewise.
21992         * math/e_exp2l.c: Likewise.
21993         * math/e_fmodl.c: Likewise.
21994         * math/e_gammal_r.c: Likewise.
21995         * math/e_hypotl.c: Likewise.
21996         * math/e_j0l.c: Likewise.
21997         * math/e_j1l.c: Likewise.
21998         * math/e_jnl.c: Likewise.
21999         * math/e_lgammal_r.c: Likewise.
22000         * math/e_log10l.c: Likewise.
22001         * math/e_log2l.c: Likewise.
22002         * math/e_logl.c: Likewise.
22003         * math/e_powl.c: Likewise.
22004         * math/e_sinhl.c: Likewise.
22005         * math/e_sqrtl.c: Likewise.
22006         * math/e_scalb.c: Completely rewritten and optimized.
22007         * math/e_scalbf.c: Likewise.
22008         * math/e_scalbl.c: Likewise.
22009         * math/w_acos.c: Likewise.
22010         * math/w_acosf.c: Likewise.
22011         * math/w_acosl.c: Likewise.
22012         * math/w_acosh.c: Likewise.
22013         * math/w_acoshf.c: Likewise.
22014         * math/w_acoshl.c: Likewise.
22015         * math/w_asin.c: Likewise.
22016         * math/w_asinf.c: Likewise.
22017         * math/w_asinl.c: Likewise.
22018         * math/w_atan2.c: Likewise.
22019         * math/w_atan2f.c: Likewise.
22020         * math/w_atan2l.c: Likewise.
22021         * math/w_atanh.c: Likewise.
22022         * math/w_atanhf.c: Likewise.
22023         * math/w_atanhl.c: Likewise.
22024         * math/w_exp10.c: Likewise.
22025         * math/w_exp10f.c: Likewise.
22026         * math/w_exp10l.c: Likewise.
22027         * math/w_fmod.c: Likewise.
22028         * math/w_fmodf.c: Likewise.
22029         * math/w_fmodl.c: Likewise.
22030         * math/w_j0.c: Likewise.
22031         * math/w_j0f.c: Likewise.
22032         * math/w_j0l.c: Likewise.
22033         * math/w_j1.c: Likewise.
22034         * math/w_j1f.c: Likewise.
22035         * math/w_j1l.c: Likewise.
22036         * math/w_jn.c: Likewise.
22037         * math/w_jnf.c: Likewise.
22038         * math/w_log.c: Likewise.
22039         * math/w_logf.c: Likewise.
22040         * math/w_logl.c: Likewise.
22041         * math/w_log10.c: Likewise.
22042         * math/w_log10f.c: Likewise.
22043         * math/w_log10l.c: Likewise.
22044         * math/w_log2.c: Likewise.
22045         * math/w_log2f.c: Likewise.
22046         * math/w_log2l.c: Likewise.
22047         * math/w_pow.c: Likewise.
22048         * math/w_powf.c: Likewise.
22049         * math/w_powl.c: Likewise.
22050         * math/w_remainder.c: Likewise.
22051         * math/w_remainderf.c: Likewise.
22052         * math/w_remainderl.c: Likewise.
22053         * math/w_scalb.c: Likewise.
22054         * math/w_scalbf.c: Likewise.
22055         * math/w_scalbl.c: Likewise.
22056         * math/w_sqrt.c: Likewise.
22057         * math/w_sqrtf.c: Likewise.
22058         * math/w_sqrtl.c: Likewise.
22059         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22060         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22061         used.
22062         * math/math_private.h: Declare __kernel_standard_f.
22063         * math/w_cosh.c: Remove cruft and optimize a bit.
22064         * math/w_coshf.c: Likewise.
22065         * math/w_coshl.c: Likewise.
22066         * math/w_exp2.c: Likewise.
22067         * math/w_exp2f.c: Likewise.
22068         * math/w_exp2l.c: Likewise.
22069         * math/w_hypot.c: Likewise.
22070         * math/w_hypotf.c: Likewise.
22071         * math/w_hypotl.c: Likewise.
22072         * math/w_lgamma.c: Likewise.
22073         * math/w_lgamma_r.c: Likewise.
22074         * math/w_lgammaf.c: Likewise.
22075         * math/w_lgammaf_r.c: Likewise.
22076         * math/w_lgammal.c: Likewise.
22077         * math/w_lgammal_r.c: Likewise.
22078         * math/w_sinh.c: Likewise.
22079         * math/w_sinhf.c: Likewise.
22080         * math/w_sinhl.c: Likewise.
22081         * math/w_tgamma.c: Likewise.
22082         * math/w_tgammaf.c: Likewise.
22083         * math/w_tgammal.c: Likewise.
22084         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22085         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22086         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22087         Minor optimizations.  Pretty printing.  Remove cruft.
22088         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22089         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22090         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22091         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22092         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22093         * sysdeps/i386/fpu/e_asin.S: Likewise.
22094         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22095         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22096         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22097         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22098         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22099         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22100         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22101         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22102         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22103         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22104         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22105         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22106         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22107         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22108         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22109         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22110         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22111         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22112         * sysdeps/i386/fpu/e_log.S: Likewise.
22113         * sysdeps/i386/fpu/e_log10.S: Likewise.
22114         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22115         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22116         * sysdeps/i386/fpu/e_log2.S: Likewise.
22117         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22118         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22119         * sysdeps/i386/fpu/e_logf.S: Likewise.
22120         * sysdeps/i386/fpu/e_logl.S: Likewise.
22121         * sysdeps/i386/fpu/e_pow.S: Likewise.
22122         * sysdeps/i386/fpu/e_powf.S: Likewise.
22123         * sysdeps/i386/fpu/e_powl.S: Likewise.
22124         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22125         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22126         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22127         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22128         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22129         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22130         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22131         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22132         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22133         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22134         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22135         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22136         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22137         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22138         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22139         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22140         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22141         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22142         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22143         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22144         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22145         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22146         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22147         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22148         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22149         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22150         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22151         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22152         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22153         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22154         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22155         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22156         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22157         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22158         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22159         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22160         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22161         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22162         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22163         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22164         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22165         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22166         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22167         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22168         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22169         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22170         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22171         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22172         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22173         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22174         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22175         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22176         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22177         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22178         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22179         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22180         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22181         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22182         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22183         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22184         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22185         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22186         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22187         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22188         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22189         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22190         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22191         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22192         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22193         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22194         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22196         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22198         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22199         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22200         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22201         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22202         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22203         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22204         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22205         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22206         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22207         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22208         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22209         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22210         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22211         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22212         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22213         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22214         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22215         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22216         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22217         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22218         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22219         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22220         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22221         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22222         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22223         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22224         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22225         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22226         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22227         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22228         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22229         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22230         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22231         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22232         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22233         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22234         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22235         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22236         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22237         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22238         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22239         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22240         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22241         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22242         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22243         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22244         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22245         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22246         (__isnanf): Likewise.
22247         (__isinf_ns): Likewise.
22248         (__isinf_nsf): Likewise.
22249         (__finite): Likewise.
22250         (__finitef): Likewise.
22251         (__ieee754_sqrt): Define as macro.
22252         (__ieee754_sqrtf): Define as macro.
22253         (__ieee754_sqrtl): Define as macro.
22254         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22255         inlined copy.
22256         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22257         __FINITE_MATH_ONLY__ consistent.
22258         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22260 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22262         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22263         of rawmemchr.
22265         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22267 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22269         * po/ja.po: Update from translation team.
22271 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22273         * locale/programs/locarchive.c (prepare_address_space): New function.
22274         (create_archive, enlarge_archive, open_archive): Use it.
22276         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22277         inside [SHARED], where it is used.
22279         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22281         * nss/getent.c (netgroup_keys): Remove unused variable.
22282         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22284 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22286         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22287         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22288         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22289         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22290         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22291         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22292         * math/Makefile (libm-calls): Add s_isinf_ns.
22293         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22294         * math/multc3.c: Likewise.
22295         * math/s_casin.c: Likewise.
22296         * math/s_casinf.c: Likewise.
22297         * math/s_casinl.c: Likewise.
22298         * math/s_ccos.c: Likewise.
22299         * math/s_ccosf.c: Likewise.
22300         * math/s_ccosl.c: Likewise.
22301         * math/s_ctan.c: Likewise.
22302         * math/s_ctanf.c: Likewise.
22303         * math/s_ctanh.c: Likewise.
22304         * math/s_ctanhf.c: Likewise.
22305         * math/s_ctanhl.c: Likewise.
22306         * math/s_ctanl.c: Likewise.
22307         * math/w_fmod.c: Likewise.
22308         * math/w_fmodf.c: Likewise.
22309         * math/w_fmodl.c: Likewise.
22310         * math/w_remainder.c: Likewise.
22311         * math/w_remainderf.c: Likewise.
22312         * math/w_remainderl.c: Likewise.
22313         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22314         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22315         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22316         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22317         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22318         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22319         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22320         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22322         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22323         of the number.
22324         * stdio-common/printf_fphex.c: Likewise.
22325         * stdio-common/printf_size.c: Likewise.
22327         * math/e_exp10.c: Include math_private.h using <...> not "...".
22328         * math/e_exp10f.c: Likewise.
22329         * math/e_exp10l.c: Likewise.
22330         * math/e_exp2l.c: Likewise.
22331         * math/e_j0l.c: Likewise.
22332         * math/e_j1l.c: Likewise.
22333         * math/e_jnl.c: Likewise.
22334         * math/e_lgammal_r.c: Likewise.
22335         * math/e_rem_pio2l.c: Likewise.
22336         * math/e_scalb.c: Likewise.
22337         * math/e_scalbf.c: Likewise.
22338         * math/e_scalbl.c: Likewise.
22339         * math/k_cosl.c: Likewise.
22340         * math/k_sinl.c: Likewise.
22341         * math/k_tanl.c: Likewise.
22342         * math/s_cacoshf.c: Likewise.
22343         * math/s_catan.c: Likewise.
22344         * math/s_catanf.c: Likewise.
22345         * math/s_catanh.c: Likewise.
22346         * math/s_catanhf.c: Likewise.
22347         * math/s_catanhl.c: Likewise.
22348         * math/s_catanl.c: Likewise.
22349         * math/s_ccosh.c: Likewise.
22350         * math/s_ccoshf.c: Likewise.
22351         * math/s_ccoshl.c: Likewise.
22352         * math/s_cexp.c: Likewise.
22353         * math/s_cexpf.c: Likewise.
22354         * math/s_cexpl.c: Likewise.
22355         * math/s_clog.c: Likewise.
22356         * math/s_clog10.c: Likewise.
22357         * math/s_clog10f.c: Likewise.
22358         * math/s_clog10l.c: Likewise.
22359         * math/s_clogf.c: Likewise.
22360         * math/s_clogl.c: Likewise.
22361         * math/s_csin.c: Likewise.
22362         * math/s_csinf.c: Likewise.
22363         * math/s_csinh.c: Likewise.
22364         * math/s_csinhf.c: Likewise.
22365         * math/s_csinhl.c: Likewise.
22366         * math/s_csinl.c: Likewise.
22367         * math/s_csqrt.c: Likewise.
22368         * math/s_csqrtf.c: Likewise.
22369         * math/s_csqrtl.c: Likewise.
22370         * math/s_ctan.c: Likewise.
22371         * math/s_ctanf.c: Likewise.
22372         * math/s_ctanh.c: Likewise.
22373         * math/s_ctanhf.c: Likewise.
22374         * math/s_ctanhl.c: Likewise.
22375         * math/s_ctanl.c: Likewise.
22376         * math/s_ldexp.c: Likewise.
22377         * math/s_ldexpf.c: Likewise.
22378         * math/s_ldexpl.c: Likewise.
22379         * math/s_significand.c: Likewise.
22380         * math/s_significandf.c: Likewise.
22381         * math/s_significandl.c: Likewise.
22382         * math/w_acos.c: Likewise.
22383         * math/w_acosf.c: Likewise.
22384         * math/w_acosh.c: Likewise.
22385         * math/w_acoshf.c: Likewise.
22386         * math/w_acoshl.c: Likewise.
22387         * math/w_acosl.c: Likewise.
22388         * math/w_asin.c: Likewise.
22389         * math/w_asinf.c: Likewise.
22390         * math/w_asinl.c: Likewise.
22391         * math/w_atan2.c: Likewise.
22392         * math/w_atan2f.c: Likewise.
22393         * math/w_atan2l.c: Likewise.
22394         * math/w_atanh.c: Likewise.
22395         * math/w_atanhf.c: Likewise.
22396         * math/w_atanhl.c: Likewise.
22397         * math/w_cosh.c: Likewise.
22398         * math/w_coshf.c: Likewise.
22399         * math/w_coshl.c: Likewise.
22400         * math/w_dremf.c: Likewise.
22401         * math/w_exp10.c: Likewise.
22402         * math/w_exp10f.c: Likewise.
22403         * math/w_exp10l.c: Likewise.
22404         * math/w_exp2.c: Likewise.
22405         * math/w_exp2f.c: Likewise.
22406         * math/w_fmod.c: Likewise.
22407         * math/w_fmodf.c: Likewise.
22408         * math/w_fmodl.c: Likewise.
22409         * math/w_hypot.c: Likewise.
22410         * math/w_hypotf.c: Likewise.
22411         * math/w_hypotl.c: Likewise.
22412         * math/w_j0.c: Likewise.
22413         * math/w_j0f.c: Likewise.
22414         * math/w_j0l.c: Likewise.
22415         * math/w_j1.c: Likewise.
22416         * math/w_j1f.c: Likewise.
22417         * math/w_j1l.c: Likewise.
22418         * math/w_jn.c: Likewise.
22419         * math/w_jnf.c: Likewise.
22420         * math/w_jnl.c: Likewise.
22421         * math/w_lgamma.c: Likewise.
22422         * math/w_lgamma_r.c: Likewise.
22423         * math/w_lgammaf.c: Likewise.
22424         * math/w_lgammaf_r.c: Likewise.
22425         * math/w_lgammal.c: Likewise.
22426         * math/w_lgammal_r.c: Likewise.
22427         * math/w_log.c: Likewise.
22428         * math/w_log10.c: Likewise.
22429         * math/w_log10f.c: Likewise.
22430         * math/w_log10l.c: Likewise.
22431         * math/w_log2.c: Likewise.
22432         * math/w_log2f.c: Likewise.
22433         * math/w_log2l.c: Likewise.
22434         * math/w_logf.c: Likewise.
22435         * math/w_logl.c: Likewise.
22436         * math/w_pow.c: Likewise.
22437         * math/w_powf.c: Likewise.
22438         * math/w_powl.c: Likewise.
22439         * math/w_remainder.c: Likewise.
22440         * math/w_remainderf.c: Likewise.
22441         * math/w_remainderl.c: Likewise.
22442         * math/w_scalb.c: Likewise.
22443         * math/w_scalbf.c: Likewise.
22444         * math/w_scalbl.c: Likewise.
22445         * math/w_sinh.c: Likewise.
22446         * math/w_sinhf.c: Likewise.
22447         * math/w_sinhl.c: Likewise.
22448         * math/w_sqrt.c: Likewise.
22449         * math/w_sqrtf.c: Likewise.
22450         * math/w_sqrtl.c: Likewise.
22451         * math/w_tgamma.c: Likewise.
22452         * math/w_tgammaf.c: Likewise.
22453         * math/w_tgammal.c: Likewise.
22455         * po/ja.po: Update from translation team.
22457 2011-09-29  Andreas Jaeger  <aj@suse.de>
22459         [BZ #13179]
22460         * sunrpc/netname.c (netname2host): Fix logic.
22462         [BZ #6779]
22463         [BZ #6783]
22464         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22465         correctly.
22466         * math/w_remainder.c (__remainder): Likewise.
22467         * math/w_remainderf.c (__remainderf): Likewise.
22468         * math/libm-test.inc (remainder_test): Add test cases.
22470 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22472         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22473         sdiv_qrnnd.
22475 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22477         * string/test-memcmp.c: Avoid unncessary #defines.
22478         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22480 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22482         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22483         Use new sse2 version for core i3 - i7 as it's faster
22484         than sse42 version.
22485         (bit_Prefer_PMINUB_for_stringop): New.
22486         * sysdeps/x86_64/rawmemchr.S: Update.
22487         Replace with faster SSE2 version.
22488         * sysdeps/x86_64/memrchr.S: New file.
22489         * sysdeps/x86_64/memchr.S: Update.
22490         Replace with faster SSE2 version.
22492 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22494         * elf/dl-load.c (lose): Add cast to avoid warning.
22496 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22498         * po/ca.po: Update from translation team.
22500         * inet/getnetgrent_r.c: Hook up nscd.
22501         * nscd/Makefile (routines): Add nscd_netgroup.
22502         (nscd-modules): Add netgroupcache.
22503         (CFLAGS-netgroupcache.c): Define.
22504         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22505         (cache_search): Add const to second parameter.
22506         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22507         INNETGR.
22508         (dbs): Add netgrdb entry.
22509         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22510         (verify_persistent_db): Handle netgrdb.
22511         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22512         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22513         GETFDNETGR.
22514         (netgroup_response_header): Define.
22515         (innetgroup_response_header): Define.
22516         (datahead): Add netgroup_response_header and innetgroup_response_header
22517         elements.
22518         * nscd/nscd.conf: Add entries for netgroup cache.
22519         * nscd/nscd.h (dbtype): Add netgrdb.
22520         (_PATH_NSCD_NETGROUP_DB): Define.
22521         (netgroup_iov_disabled): Declare.
22522         (xmalloc, xcalloc, xrealloc): Move declarations here.
22523         (cache_search): Adjust prototype.
22524         Add netgroup-related prototypes.
22525         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22526         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22527         (__nscd_innetgr): Declare.
22528         * nscd/selinux.c (perms): Use access_vector_t as element type and
22529         add netgroup-related initializers.
22530         * nscd/netgroupcache.c: New file.
22531         * nscd/nscd_netgroup.c: New file.
22532         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22533         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22534         For four parameters use innetgr.
22535         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22536         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22537         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22538         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22540         * nscd/connections.c (register_traced_file): Don't register file
22541         for disabled databases.
22543 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22545         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22547         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22548         from tree and freeing node.
22550 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22552         * nss/nsswitch.c (__nss_database_lookup): Handle
22553         nss_parse_service_list out of memory case.
22555 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22557         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22558         out of memory case.
22560 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22562         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22563         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22564         pass it down.
22565         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22566         elf_machine_rela, elf_machine_lazy_rel.
22567         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22568         (ELF_DYNAMIC_DO_REL): Likewise.
22569         (ELF_DYNAMIC_DO_RELA): Likewise.
22570         (ELF_DYNAMIC_RELOCATE): Likewise.
22571         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22572         to ELF_DYNAMIC_DO_REL.
22573         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22574         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22575         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22576         elf_machine_rela.
22577         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22578         skip_ifunc, don't call ifunc function if non-zero.
22579         (elf_machine_rela): Likewise.
22580         (elf_machine_lazy_rel): Likewise.
22581         (elf_machine_lazy_rela): Likewise.
22582         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22583         (elf_machine_lazy_rel): Likewise.
22584         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22585         Likewise.
22586         (elf_machine_lazy_rel): Likewise.
22587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22588         Likewise.
22589         (elf_machine_lazy_rel): Likewise.
22590         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22591         (elf_machine_lazy_rel): Likewise.
22592         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22593         (elf_machine_lazy_rel): Likewise.
22594         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22595         (elf_machine_lazy_rel): Likewise.
22596         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22597         (elf_machine_lazy_rel): Likewise.
22598         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22599         (elf_machine_lazy_rel): Likewise.
22600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22601         (elf_machine_lazy_rel): Likewise.
22603 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22605         * nss/nss_files/files-init.c (_nss_files_init): Use static
22606         initialization for all the *_traced_file variables.
22608 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22610         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22612 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22614         [BZ #13226]
22615         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22617 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22619         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22620         Reread the line before reparsing it.
22622 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22624         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22626 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22627             Maxim Kuvyrkov  <maxim@codesourcery.com>
22628             Joseph Myers  <joseph@codesourcery.com>
22630         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22631         if needed for __stack_chk_guard.
22633 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22635         * sysdeps/posix/spawni.c (script_execute): Always define it.
22636         It will be optimized away if unused.
22637         (maybe_script_execute): New function.
22638         (__spawni): Call it.
22640         * Makerules: Don't include tls.make.
22641         (config-tls): Always set to thread.
22642         * tls.make.c: File removed.
22644 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22646         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22647         * config.make.in (CPPFLAGS-config): New substituted variable.
22649 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22651         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22653         [BZ #13192]
22654         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22655         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22657 2011-09-15  Roland McGrath  <roland@hack.frob.com>
22659         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22660         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22661         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22662         (CALL_FAIL): Likewise.
22663         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22664         (CALL_FAIL): Macro removed.
22665         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22667 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22669         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22670         for __FINITE_MATH_ONLY__ == 1.
22672 2011-09-15  Andreas Schwab  <schwab@redhat.com>
22674         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22675         __ieee754_sqrt instead of sqrt.
22676         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22677         __ieee754_sqrtf instead of sqrtf.
22678         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22679         __floorf instead of floorf.
22680         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22681         __floorf, __truncf instead of floorf, truncf.
22683 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
22685         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22687         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22688         __extern_always_inline.
22689         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22690         32-bit.
22692 2011-09-14  Andreas Schwab  <schwab@redhat.com>
22694         * elf/rtld.c (dl_main): Also relocate in dependency order when
22695         doing symbol dependency testing.
22697 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
22699         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22700         Always define `refsym'.
22702 2011-09-13  Andreas Schwab  <schwab@redhat.com>
22704         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22705         (__FD_ELT): Renamed from __FDELT.
22706         * misc/bits/select2.h (__FD_ELT): Likewise.
22707         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22708         __FD_MASK instead of __FDELT, __FDMASK.
22709         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22710         Likewise.
22711         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22712         Likewise.
22714         * elf/Makefile (gen-ldd): Fix pattern.
22716         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22717         (init_tls): Likewise.
22719 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
22721         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22723 2011-09-12  Andreas Schwab  <schwab@redhat.com>
22725         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22726         `struct cmsghdr *' instead of `void *'.
22727         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22728         Likewise.
22730 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
22732         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22733         if non-absolute.
22734         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22735         ldd_rewrite_script.
22737 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
22739         * configure.in: Remove --with-tls option.
22740         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22741         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22742         out in case it is missing.
22743         * sysdeps/ia64/elf/configure.in: Likewise.
22744         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22745         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22746         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22747         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22748         * sysdeps/sh/elf/configure.in: Likewise.
22749         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22750         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22751         * sysdeps/x86_64/elf/configure.in: Likewise.
22752         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22753         * sysdeps/mach/hurd/tls.h: Likewise.
22755         [BZ #13067]
22756         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22758         [BZ #13090]
22759         * configure.in: Fix use of AC_INIT.
22761         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22763 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
22765         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22766         __set_errno.
22767         * malloc/hooks.c: Likewise.
22769         [BZ #11929]
22770         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
22771         variables statically.
22772         (narenas): Initialize.
22773         (list_lock): Initialize.
22774         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
22775         initializtion of main_arena and list_lock.  Small cleanups.
22776         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22777         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
22778         Add initializers to main_arena and mp_.
22779         (malloc_state): Remove pagesize member.  Change all users to use
22780         GLRO(dl_pagesize).
22782         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22783         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
22784         is always initialized.
22786         * malloc/malloc.c: Removed unused configurations and dead code.
22787         * malloc/arena.c: Likewise.
22788         * malloc/hooks.c: Likewise.
22789         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22791         * include/tls.h: Removed.  USE___THREAD must always be defined.
22792         * bits/libc-tsd.h: Don't handle !USE___THREAD.
22793         * elf/dl-libc.c: Likewise.
22794         * elf/dl-tsd.c: Likewise.
22795         * include/errno.h: Likewise.
22796         * include/netdb.h: Likewise.
22797         * include/resolv.h: Likewise.
22798         * inet/herrno-loc.c: Likewise.
22799         * inet/herrno.c: Likewise.
22800         * malloc/arena.c: Likewise.
22801         * malloc/hooks.c: Likewise.
22802         * malloc/malloc.c: Likewise.
22803         * resolv/res-state.c: Likewise.
22804         * resolv/res_libc.c: Likewise.
22805         * sysdeps/i386/dl-machine.h: Likewise.
22806         * sysdeps/ia64/dl-machine.h: Likewise.
22807         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22808         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22809         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22810         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22811         * sysdeps/sh/dl-machine.h: Likewise.
22812         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22813         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22814         * sysdeps/unix/i386/sysdep.S: Likewise.
22815         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22816         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22817         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22820         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22821         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22823         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22825         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22826         * sysdeps/x86_64/dl-machine.h: Likewise.
22827         * tls.make.c: Likewise.
22829         * configure.in: Remove --with-__thread option.  Make tests for
22830         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22831         tls_model attribute fail if no support is available.  Remove
22832         USE_IN_LIBIO.
22833         * Makeconfig: Adjust for dropped configure option.  All features are
22834         now mandatory.
22835         * Makerules: Likewise.
22836         * Versions.def: Likewise.
22837         * argp/argp-fmtstream.c: Likewise.
22838         * argp/argp-fmtstream.h: Likewise.
22839         * argp/argp-help.c: Likewise.
22840         * assert/assert.c: Likewise.
22841         * config.h.in: Likewise.
22842         * config.make.in: Likewise.
22843         * configure: Likewise.
22844         * configure.in: Likewise.
22845         * csu/Versions: Likewise.
22846         * csu/init.c: Likewise.
22847         * elf/tst-audit2.c: Likewise.
22848         * elf/tst-tls10.c: Likewise.
22849         * elf/tst-tls10.h: Likewise.
22850         * elf/tst-tls11.c: Likewise.
22851         * elf/tst-tls12.c: Likewise.
22852         * elf/tst-tls14.c: Likewise.
22853         * elf/tst-tlsmod11.c: Likewise.
22854         * elf/tst-tlsmod12.c: Likewise.
22855         * elf/tst-tlsmod13.c: Likewise.
22856         * elf/tst-tlsmod13a.c: Likewise.
22857         * elf/tst-tlsmod14a.c: Likewise.
22858         * elf/tst-tlsmod15b.c: Likewise.
22859         * elf/tst-tlsmod16a.c: Likewise.
22860         * elf/tst-tlsmod16b.c: Likewise.
22861         * elf/tst-tlsmod7.c: Likewise.
22862         * elf/tst-tlsmod8.c: Likewise.
22863         * elf/tst-tlsmod9.c: Likewise.
22864         * gmon/gmon.c: Likewise.
22865         * grp/fgetgrent_r.c: Likewise.
22866         * grp/putgrent.c: Likewise.
22867         * hurd/fopenport.c: Likewise.
22868         * include/libc-symbols.h: Likewise.
22869         * include/tls.h: Likewise.
22870         * intl/gettextP.h: Likewise.
22871         * intl/loadinfo.h: Likewise.
22872         * locale/global-locale.c: Likewise.
22873         * locale/localeinfo.h: Likewise.
22874         * mach/devstream.c: Likewise.
22875         * malloc/arena.c: Likewise.
22876         * malloc/set-freeres.c: Likewise.
22877         * misc/err.c: Likewise.
22878         * misc/getttyent.c: Likewise.
22879         * misc/mntent_r.c: Likewise.
22880         * posix/getopt.c: Likewise.
22881         * posix/wordexp.c: Likewise.
22882         * pwd/fgetpwent_r.c: Likewise.
22883         * resolv/Versions: Likewise.
22884         * resolv/res_hconf.c: Likewise.
22885         * shadow/fgetspent_r.c: Likewise.
22886         * shadow/putspent.c: Likewise.
22887         * stdio-common/printf_fphex.c: Likewise.
22888         * stdio-common/tmpfile.c: Likewise.
22889         * stdlib/abort.c: Likewise.
22890         * stdlib/fmtmsg.c: Likewise.
22891         * sunrpc/auth_unix.c: Likewise.
22892         * sunrpc/clnt_perr.c: Likewise.
22893         * sunrpc/clnt_tcp.c: Likewise.
22894         * sunrpc/clnt_udp.c: Likewise.
22895         * sunrpc/clnt_unix.c: Likewise.
22896         * sunrpc/openchild.c: Likewise.
22897         * sunrpc/svc_simple.c: Likewise.
22898         * sunrpc/svc_tcp.c: Likewise.
22899         * sunrpc/svc_udp.c: Likewise.
22900         * sunrpc/svc_unix.c: Likewise.
22901         * sunrpc/xdr.c: Likewise.
22902         * sunrpc/xdr_array.c: Likewise.
22903         * sunrpc/xdr_rec.c: Likewise.
22904         * sunrpc/xdr_ref.c: Likewise.
22905         * sunrpc/xdr_stdio.c: Likewise.
22907 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22909         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22911 2011-07-03  Andreas Jaeger  <aj@suse.de>
22913         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22914         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22915         regenerate with gen-libm-tests.pl.
22917 2010-05-12  Petr Baudis  <pasky@suse.cz>
22919         [BZ #11589]
22920         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22921         around j0() zero points by switching to j1().
22922         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22923         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22925         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22927 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22929         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22930         instead of 0.
22931         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22932         instead of 0.
22933         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22934         Patch in part by Pavel Roskin <proski@gnu.org>.
22936         [BZ #13138]
22937         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22938         realloc.
22939         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
22940         Free memory block if necessary.
22942         [BZ #12847]
22943         * libio/genops.c (INTDEF): For string streams the _lock pointer can
22944         be NULL.  Don't lock in this case.
22946 2011-09-09  Roland McGrath  <roland@hack.frob.com>
22948         * elf/elf.h (ELFOSABI_GNU): New macro.
22949         (ELFOSABI_LINUX): Define to that.
22951 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
22953         * string/strncat.c (strncat): Undef the symbol in case it has been
22954         defined in bits/string.h.
22956 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22958         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22960         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22961         link map.
22963 2011-08-17  Andreas Jaeger  <aj@suse.de>
22965         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22967 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22968             Ian Lance Taylor  <iant@google.com>
22970         * math/libm-test.inc (lround_test): New testcase.
22971         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22973 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
22975         * Makefile: Remove support for automatic cvs check-ins.
22976         * Makerules: Likewise.
22977         * config.make.in: Likewise.
22978         * configure.in: Likewise.
22979         * intl/Makefile: Likewise.
22980         * locale/Makefile: Likewise.
22981         * po/Makefile: Likewise.
22982         * posix/Makefile: Likewise.
22983         * sysdeps/gnu/Makefile: Likewise.
22984         * sysdeps/mach/hurd/Makefile: Likewise.
22985         * sysdeps/sparc/sparc32/Makefile: Likewise.
22987         [BZ #13118]
22988         * posix/Makefile (bug-regex32-ENV): Define.
22989         Patch by John Stanley <jpsinthemix@verizon.net>.
22991         * misc/Makefile (headers): Add bits/select2.h.
22992         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22993         * misc/bits/select2.h: New file.
22994         * include/bits/select2.h: New file.
22995         * debug/Makefile (routines): Add fdelt_chk.
22996         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22997         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22998         FD_ISSET.
22999         * debug/fdelt_chk.c: New file.
23001         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23002         * wcsmbs/test-wmemcmp.c: Likewise.
23003         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23004         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23006 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23008         * string/Makefile (strop-tests): Add memcmp.
23009         * string/test-wmemcmp.c: New file.
23010         * string/test-memcmp.c: Add wmemcmp support.
23012 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23014         [BZ #13153]
23015         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23016         2011-07-19 change.
23018         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23019         garbage value in a __mach_port_mod_refs call in the cases of the
23020         task-self and thread-self ports.
23022 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23024         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23026 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23028         * elf/dl-load.c (lose): Check for non-null L.
23030 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23032         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23034         * elf/dl-libc.c (dlerror_run): Pass back error code from
23035         dl_catch_error.
23037         [BZ #13123]
23038         * elf/dl-load.c (lose): Free l_origin if it is valid.
23040         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23041         names.
23042         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23043         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23044         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23045         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23046         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23047         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23049 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23051         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23052         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23053         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23054         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23055         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23056         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23057         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23058         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23059         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23060         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23062 2011-08-15  Alan Modra  <amodra@gmail.com>
23064         [BZ #13092]
23065         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23066         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23067         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23068         ppc_mcount to static-only-routines.
23069         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23070         __mcount_internal.
23071         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23072         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23074 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23076         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23077         for finite and infinity parameters.
23079 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23081         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23082         and add nop instructions for throughput optimization.
23083         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23085 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23087         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23088         aligned copy for power7 with vector-scalar instructions.
23089         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23091 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23093         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23094         AVX check.
23096 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23098         [BZ #13144]
23099         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23100         last change.
23102 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23104         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23105         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23106         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23107         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23108         clock_gettime.
23110 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23112         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23113         Forgot to demangle the pointer.
23115         * sysdeps/i386/sysdep.h: Define atom_text_section.
23116         * sysdeps/x86_64/sysdep.h: Likewise.
23117         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23118         section with atom_text_section.
23119         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23120         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23121         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23122         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23123         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23125         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23126         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23127         already be defined.  Change to take two parameters and don't assign
23128         result to variable.  Adjust all users.
23129         Define INTERNAL_GETTIME if not already defined.
23130         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23131         call.
23132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23133         HAVE_CLOCK_GETTIME_VSYSCALL.
23134         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23137         gettimeofday vsyscall, just use time.
23139 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23141         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23142         <errno.h>.
23144 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23146         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23147         syscall on x86-64.
23148         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23149         syscall.
23150         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23151         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23152         syscall if possible.
23154 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23156         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23157         e_ident.  Don't pass to find_mapsXX.
23158         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23160 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23163         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23164         * sysdeps/x86_64/multiarch/strchr.S: Update.
23165         Check bit_slow_BSF bit.
23166         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23167         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23168         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23170 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23172         [BZ #13134]
23173         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23174         before glibc 2.15.
23175         (tryshell): Define.
23176         (__spawni): Change last parameter to be flag.  Test
23177         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23178         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23179         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23180         * posix/spawni.c: Likewise.
23181         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23182         * posix/spawnp.c: Likewise.  Change normal version to use
23183         SPAWN_XFLAGS_USE_PATH.
23184         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23185         SPAWN_XFLAGS_TRY_SHELL.
23187         [BZ #13150]
23188         * posix/glob.h: Remove gcc 1.x support.
23190         [BZ #13068]
23191         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23193 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23195         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23196         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23197         strrchr-sse2-bsf
23198         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23199         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23200         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23201         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23202         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23203         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23205 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23207         * sysdeps/x86_64/wcscmp.S: New file.
23209         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23210         wcscmp-c wcscmp-sse2
23211         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23212         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23213         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23214         * wcsmbs/wcscmp.c: Allow renaming.
23216 2011-09-05  David S. Miller  <davem@davemloft.net>
23218         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23219         stack slot, rather than the struct return pointer slot.
23220         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23221         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23223         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23225 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23227         * po/ja.po: Update from translation team.
23229         [BZ #13144]
23230         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23231         kernel in 64-bit binaries.
23233 2011-09-01  David S. Miller  <davem@davemloft.net>
23235         * elf/elf.h (HWCAP_SPARC_*): Move to..
23236         * sysdeps/sparc/sysdep.h: this new file and add new values.
23237         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23238         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23239         _DL_HWCAP_COUNT to 24.
23240         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23241         entries.
23242         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23243         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23244         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23245         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23246         instead of magic constants.
23247         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23249 2011-08-31  David S. Miller  <davem@davemloft.net>
23251         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23253         Reimplement to do errno handling inline.
23254         (SYSCALL_ERROR_HANDLER): New macro.
23255         (__SYSCALL_STRING): Do not do errno handling in asm.
23256         (__CLONE_SYSCALL_STRING): Delete.
23257         (__INTERNAL_SYSCALL_STRING): Delete.
23258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23259         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23260         (PSEUDO): Reimplement to do errno handling inline.
23261         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23262         (SYSCALL_ERROR_HANDLER): New macro.
23263         (__SYSCALL_STRING): Do not do errno handling in asm.
23264         (__CLONE_SYSCALL_STRING): Delete.
23265         (__INTERNAL_SYSCALL_STRING): Delete.
23266         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23267         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23268         i386.
23269         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23270         (inline_syscall*): Add 'err' argument.
23271         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23272         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23273         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23274         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23276         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23277         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23279 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23281         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23283 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23285         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23286         directive.
23288 2011-08-24  David S. Miller  <davem@davemloft.net>
23290         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23292 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23294         * elf/Makefile: Add rules to build and run unload8 test.
23295         * elf/unload8.c: New file.
23296         * elf/unload8mod1.c: New file.
23297         * elf/unload8mod1x.c: New file.
23298         * elf/unload8mod2.c: New file.
23299         * elf/unload8mod3.c: New file.
23301         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23302         it wasn't used.
23304 2011-08-23  David S. Miller  <davem@davemloft.net>
23306         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23307         subtract stack bias.
23308         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23309         %sp not %fp in calculations.
23310         (_JMPBUF_UNWINDS_ADJ): Likewise.
23312         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23313         (aio_suspend): Call it to force an exception region around the
23314         AIO_MISC_WAIT() invocation.
23316 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23318         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23319         backslash.
23321 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23323         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23324         protection macro.
23325         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23326         and <dl-machine.h>.
23327         (Elf64_FuncDesc): Remove.
23329 2011-08-22  David S. Miller  <davem@davemloft.net>
23331         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23332         sigaltstack check, add missing cfi directives.
23333         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23334         missing cfi directives, and sigaltstack handling.
23336 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23338         [BZ #11724]
23339         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23340         object is seen twice.
23341         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23343         * elf/Makefile (distribute): Add tst-initorder2.c.
23344         (tests): Add tst-initorder2.
23345         (modules-names): Add tst-initorder2a tst-initorder2b
23346         tst-initorder2c tst-initorder2d.  Add rules to build them.
23347         ($(objpfx)tst-initorder2.out): New rule.
23348         * elf/tst-initorder2.c: New file.
23349         * elf/tst-initorder2.exp: New file.
23351 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23353         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23355         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23356         dependencies back to end of function.
23358         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23359         $(elfobjdir)/ld.so.
23361 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23363         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23364         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23365         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23366         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23367         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23368         of __vdso_gettimeofday.
23369         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23370         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23371         attribute_hidden.
23372         (_libc_vdso_platform_setup): Remove initialization of
23373         __vdso_gettimeofday and __vdso_time.
23375 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23377         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23378         and fgetc_unlocked.
23379         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23380         getc_unlocked.
23382         * elf/dl-open.c (add_to_global): Report additions to the global scope
23383         for LD_DEBUG=scopes.
23384         (dl_open_worker): Also print scope of newly loaded dependencies.
23385         (_dl_show_scope): Indicate if there is no scope.
23387         [BZ #13114]
23388         * stdio-common/Makefile (tests): Add bug24.
23389         * stdio-common/bug24.c: New file.
23391 2011-08-19  Andreas Jaeger  <aj@suse.de>
23393         [BZ #13114]
23394         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23395         non-existant file when using close-on-exec mode.
23397 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23399         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23400         the very first instruction.
23402         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23403         the CFI state in the end.
23404         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23405         inclusion of dl-trampoline.h.
23406         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23408 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23410         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23411         expectations for long double.
23413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23414         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23416 2011-08-14  David S. Miller  <davem@davemloft.net>
23418         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23419         artificual limit depends upon the system page size.
23421 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23423         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23424         * resolv/Makefile: Define CFLAGS-libresolv.
23426 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23428         * nss/makedb.c (compute_tables): Make variables used in nested
23429         function static.
23431 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23433         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23434         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23435         if buffer was too small.
23437         * elf/pldd.c (main): Attach to all threads in the process.
23438         Rewrite /proc handling to use *at functions.
23440 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23442         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23443         specifies first scope to show.
23444         (dl_open_worker): Update callers.  Move printing scope of new
23445         object to before the relocation.
23446         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23447         * sysdeps/generic/ldsodefs.h: Update declaration.
23449         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23450         string for the scope number.
23452 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23454         * nscd/servicescache.c (cache_addserv): Make sure written is always
23455         initialized.
23457 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23459         * sysdeps/i386/i486/bits/atomic.h
23460         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23461         statement expression, so as to suppress "set but not used" warning.
23462         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23464         * string/strncat.c (STRNCAT): Use prototype definition.
23466         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23467         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23468         -Iprograms here.
23469         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23470         (localedef-modules): Add localedef.
23471         (locale-modules): Add locale.
23473         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23474         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23475         to avoid a warning.
23477 2011-08-14  David S. Miller  <davem@davemloft.net>
23479         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23480         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23482 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23484         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23485         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23486         * elf/rtld.c (dl_main): Set l_name of vDSO.
23487         Call _dl_show_scope when DL_DEBUG_SCOPES.
23488         (process_dl_debug): Recognize scopes flag and also set it for all.
23489         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23490         Declare _dl_show_scope.
23492         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23493         (do_dlopen): Pass caller_dlopen to dl_open.
23494         (__libc_dlopen_mode): Initialize caller_dlopen.
23496         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23497         of libc.  Make tolower call locale-independent.  Optimize a bit by
23498         using isdigit instead of isalnum.
23499         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23501 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23503         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23504         was a dependency or dynamically loaded.
23506 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23508         * intl/l10nflist.c: Allow architecture-specific pop function.
23509         * sysdeps/x86_64/l10nflist.c: New file.
23511         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23512         classification.
23514 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23516         * include/dirent.h: Add libc_hidden_proto for scandirat and
23517         scandirat64.  Don't declare __scandirat64.
23518         * dirent/scandirat.c: Add libc_hidden_def.
23519         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23520         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23522 2011-08-10  David S. Miller  <davem@davemloft.net>
23524         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23525         enum.
23526         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23527         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23528         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23530 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23532         * Versions.def [libc]: Add GLIBC_2.15.
23533         * dirent/Makefile (routines): Add scandirat and scandirat64.
23534         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23535         GLIBC_2.15.
23536         * dirent/dirent.h: Declare scandirat and scandirat64.
23537         * dirent/scandirat.c: New file.
23538         * dirent/scandirat64.c: New file.
23539         * sysdeps/wordsize-64/scandirat.c: New file.
23540         * sysdeps/wordsize-64/scandirat64.c: New file.
23541         * dirent/opendir.c: Define opendirat.
23542         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23543         using scandirat.
23544         * dirent/scandir64.c: Adjust for scandir.c change.
23545         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23546         __scandirat64, and __scandir_cancel_handler.
23547         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23548         additional parameter and use openat instead of open (outside of ld.so).
23549         Add new __opendir as wrapper around __opendirat.
23550         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23551         here without requiring old scandirat implementation.
23553 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23555         * dirent/scandir.c (cancel_handler): Renamed to
23556         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23557         defined.  Adjust users.
23558         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23559         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23561 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23563         * string/test-string.h (IMPL): Use __STRING to expand name and then
23564         stringify it.
23566         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23567         of cleanups.
23569 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23571         * string/Makefile: Update.
23572         (strop-tests): Append strncat.
23573         * string/test-wcscmp.c: New file.
23574         New comprehensive test for wcscmp.
23575         * string/test-strcmp.c: Update.
23576         (WIDE): New define.
23578 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23580         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23581         line.
23583 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23586         encoding to ACE if AI_IDN.
23588 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23590         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23591         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23593 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23595         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23596         Fix overflow bug in strncat.
23597         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23599         * string/test-strncat.c: Update.
23600         Add new tests for checking overflow bugs.
23602 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23604         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23605         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23606         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23607         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23608         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23609         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23610         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23611         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23612         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23614         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23615         (USE_AS_STRCAT): Define.
23616         Add strcat and strncat support.
23617         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23619 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23621         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23622         __n bigger than INT_MAX+1.
23623         (__strncmp_g): Likewise.
23625 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23627         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23628         * libio/stido.h: Likewise.
23630         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23631         (AF_NFC): Define.
23632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23633         (AF_NFC): Define.
23635         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23636         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23638         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23641         [BZ #13021]
23642         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23643         installed.
23645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23646         typo.
23647         (_dl_x86_64_save_sse): Likewise.
23649 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23651         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23652         OSXSAVE.
23653         (_dl_x86_64_save_sse): Likewise.
23655         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23657         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23659 2011-07-21  Andreas Schwab  <schwab@redhat.com>
23661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23662         change.
23663         (_dl_x86_64_save_sse): Use correct AVX check.
23665 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23667         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23668         bug in strncpy/strncat.
23669         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23671 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
23673         * string/tester.c (test_strcat): Add tests for different alignments
23674         of source and destination.
23675         (test_strncat): Likewise.
23677 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23679         [BZ #12852]
23680         * posix/glob.c (glob): Check passed in values before using them in
23681         expressions to avoid some overflows.
23682         (glob_in_dir): Likewise.
23684         [BZ #13007]
23685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23686         check for AVX enablement so that we don't crash with old kernels and
23687         new hardware.
23688         * elf/tst-audit4.c: Add same checks here.
23689         * elf/tst-audit6.c: Likewise.
23691         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23693 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
23695         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23697 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23699         * po/cs.po: Update from translation team.
23700         * po/bg.po: Likewise.
23702 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
23704         * misc/sys/cdefs.h: Add support for const attribute.
23705         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23706         to gnu_dev_{major,minor,makedev} functions.
23708 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
23710         * intl/dcigettext.c (get_output_charset): Add missing bracket.
23712 2011-07-20  Andreas Schwab  <schwab@redhat.com>
23714         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23715         strlen results.
23717 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23720         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23721         register in order to avoid conflicts with the soft frame pointer
23722         being held in r11 when necessary.
23723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23724         (INTERNAL_VSYSCALL_NCS): Likewise.
23726 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
23728         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23729         * elf/dl-fini.c (_dl_fini): Adjust caller.
23730         * elf/dl-close.c (_dl_close_worker): Likewise.
23731         * sysdeps/generic/ldsodefs.h: Adjust declaration.
23733 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23735         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23736         "aux_cache->nlibs < 0".
23738         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23739         in the reload-count case.
23741 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23744         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23745         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23746         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23747         * sysdeps/x86_64/multiarch/strcat.S: New file.
23748         * sysdeps/x86_64/multiarch/strncat.S: New file.
23749         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23750         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23751         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23752         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23753         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23754         (USE_AS_STRCAT): Define.
23755         Add strcat and strncat support.
23756         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23757         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23758         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23759         * string/strncat.c: Update.
23760         (USE_AS_STRNCAT): Define.
23761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23762         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23763         and i7.
23764         * sysdeps/x86_64/multiarch/init-arch.h
23765         (bit_Prefer_PMINUB_for_stringop): New.
23766         (index_Prefer_PMINUB_for_stringop): Likewise.
23767         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23768         bit_Prefer_PMINUB_for_stringop.
23770 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23772         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23773         buffer64.
23774         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23775         of casting of buffer.
23776         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23777         buffer32 and buffer64.
23778         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23779         writes instead of casting of buffer.
23780         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23781         buffer32.
23782         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23783         casting of buffer.
23785 2011-07-19  Andreas Schwab  <schwab@redhat.com>
23787         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23789 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23791         * nscd/nscd.c (termination_handler): Don't do anything for a database
23792         if it has not yet been initialized.
23794 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23796         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23798 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23800         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23802 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23804         * po/nl.po: Update from translation team.
23805         * po/sv.po: Likewise.
23807 2011-07-16  Roland McGrath  <roland@hack.frob.com>
23809         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23810         now disallowed by GCC.
23812         * configure.in (use-default-link): Default to yes if a test -shared
23813         link meets our qualifications.
23814         * configure: Regenerated.
23816         * config.make.in (output-format): New variable.
23817         * configure.in: Check for ld --print-output-format support.
23818         * configure: Regenerated.
23819         * Makerules ($(common-objpfx)format.lds)
23820         [$(output-format) != unknown]: Just use $(output-format),
23821         instead of the linker-script munging.
23823 2011-07-14  Roland McGrath  <roland@hack.frob.com>
23825         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23826         of $(common-objpfx)shlib.lds.
23827         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23829         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23830         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23832         * configure.in (-z relro check): Adjust test code to add a large
23833         writable data section after it.
23834         * configure: Regenerated.
23836 2011-07-11  Roland McGrath  <roland@hack.frob.com>
23838         * configure.in (-z relro check): Fix test code to make the variable
23839         truly const.
23840         * configure: Regenerated.
23842 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
23844         * nscd/nscd.h (struct traced_file): Define.
23845         (struct database_dyn): Remove inotify_descr, reset_res, and filename
23846         elements.  Add traced_files.
23847         (inotify_fd): Declare.
23848         (register_traced_file): Declare.
23849         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23850         (inotify_fd): Export.
23851         (resolv_conf_descr): Remove.
23852         (nscd_init): Move inotify descriptor creation to main.
23853         Don't register files for notification here.
23854         (register_traced_file): New function.
23855         (invalidate_cache): Don't use reset_res to determine whether to call
23856         res_init, go through the list of registered files.
23857         (main_loop_poll): The inotify descriptors are now stored in the
23858         structures for the traced files.
23859         (main_loop_epoll): Likewise
23860         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
23861         to __nss_disable_nscd.
23862         * nscd/cache.c (prune_cache): There is no single inotify descriptor
23863         for a database anymore.  Check the records for all the registered
23864         files instead.
23865         * nss/Makefile (libnss_files-routines): Add files-init.
23866         (libnss_db-routines): Add db-init.
23867         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23868         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23869         * nss/nss_db/db-init.c: New file.
23870         * nss/nss_files/files-init.c: New file.
23871         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
23872         __nss_lookup_function.
23873         (__nss_lookup_function): Call nss_load_library.
23874         (nss_load_all_libraries): New function.
23875         (__nss_disable_nscd): Take parameter with callback function for files
23876         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
23877         used for the cached services.
23878         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23879         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23880         options for features to all the files in nscd.
23882         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23884 2011-07-10  Roland McGrath  <roland@hack.frob.com>
23886         * csu/elf-init.c (__libc_csu_init): Comment typo.
23888 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
23890         * po/pl.po: Update from translation team.
23891         * po/ja.po: Likewise.
23892         * po/ru.po: Likewise.
23893         * po/ko.po: Likewise.
23894         * po/fr.po: Likewise.
23896 2011-07-09  Roland McGrath  <roland@hack.frob.com>
23898         * configure.in (.ctors/.dtors header and trailer check):
23899         Use an empirical test on a built program.
23900         * configure: Regenerated.
23902         * configure.in (-z relro check): Use an empirical test on a built DSO.
23903         Detect, but do not require, on ia64.
23904         * configure: Regenerated.
23906         * configure.in (READELF): Find it with AC_CHECK_TOOL.
23907         Update tests that use readelf to use $READELF instead.
23908         * configure: Regenerated.
23910 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
23912         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23913         if the result is not used.
23915 2011-07-05  Andreas Jaeger  <aj@suse.de>
23917         [BZ#9696]
23918         * stdlib/tst-strtod.c: Add testcase.
23920 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
23922         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23923         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23924         The latter has a higher limit.  Take additional parameter to pass to
23925         the new function.
23926         (__pathconf): Pass file to __statfs_link_max.
23927         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23928         __statfs_link_max.
23929         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23930         __statfs_link_max.
23932         [BZ #12868]
23933         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23934         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23935         Handle Lustre.
23936         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23937         (__statfs_filesize_max): Likewise.
23938         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23940 2011-07-05  Andreas Jaeger  <aj@suse.de>
23942         * resolv/res_comp.c (dn_skipname): Remove unused variable.
23944 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
23946         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23947         `status' variable.
23948         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23949         Likewise.
23951 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
23953         * Makefile (strop-tests): Add strncat.
23954         * string/test-strncat.c: New file.
23956 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
23958         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23960 2011-06-21  Andreas Jaeger  <aj@suse.de>
23962         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23963         Copy rule from iconvdata/Makefile.
23965 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23967         [BZ #12922]
23968         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23969         but no long options are defined, just return 'W'.
23971 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
23973         [BZ #9696]
23974         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23976 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23978         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23979         netgroups to read.
23980         (innetgr): Likewise.
23982 2011-07-05  Roland McGrath  <roland@hack.frob.com>
23984         * config.make.in (install_root): Default to $(DESTDIR).
23986 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
23988         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23990 2011-07-02  Roland McGrath  <roland@hack.frob.com>
23992         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23994         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23995         containing directory rather than embedding absolute directory names.
23997         * scripts/check-local-headers.sh: Rewritten using awk.
23998         Match by word, not by line.  Print error messages for matches.
23999         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24001         * Makerules [shlib-lds-flags empty]:
24002         ($(common-objpfx)libc_pic.opts): New target.
24003         ($(common-objpfx)libc_pic.os.clean): New target.
24004         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24006         * config.make.in (OBJCOPY): New variable.
24007         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24008         * configure: Regenerated.
24010         * config.make.in (use-default-link): New variable.
24011         * configure.in (use_default_link): Grok --with-default-link to set it.
24012         * configure: Regenerated.
24013         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24014         (shlib-lds, shlib-lds-flags): Define to empty.
24016         * Makerules (shlib-lds): New variable.
24017         (shlib-lds-flags): New variable.
24018         (build-shlib, build-moduile, build-module-asneeded): Use it.
24019         ($(common-objpfx)libc.so): Use $(shlib-lds).
24020         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24021         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24023         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24024         DT_FLAGS/DT_FLAGS_1 with zero flags.
24026         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24027         linker script munging.
24029 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24031         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24032         as 128-bit value.
24033         * crypt/sha512.c (sha512_process_block): Perform total addition using
24034         128-bit if possible.
24035         (__sha512_finish_ctx): Likewise.
24036         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24037         as 64-bit value.
24038         * crypt/sha256.c (SWAP64): Define.
24039         (sha256_process_block): Perform total addition using 64-bit if
24040         possible.
24041         (__sha256_finish_ctx): Likewise.
24043 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24045         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24046         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24047         * nscd/hstcache.c (cache_addhst): Likewise.
24048         * nscd/grpcache.c (cache_addgr): Likewise.
24049         * nscd/aicache.c (addhstaiX): Likewise
24050         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24052 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24054         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24055         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24056         * nscd/hstcache.c (cache_addhst): Likewise.
24057         * nscd/grpcache.c (cache_addgr): Likewise.
24058         * nscd/aicache.c (addhstaiX): Likewise
24060 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24062         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24063         domain only when needed.
24065 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24068         is always restored.
24070 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24072         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24073         are re-adding the entry.
24074         * nscd/servicescache.c (cache_addserv): Likewise.
24076 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24078         * sysdeps/generic/dl-irel.h: fix protection against multiple
24079         inclusions.
24080         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24082 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24084         [BZ #12935]
24085         * malloc/memusage.sh: Fix quoting in message.
24086         * debug/xtrace.sh: Likewise.
24088         * configure.in: Remove support for --experimental-malloc option, make
24089         it the default.
24090         * config.make.in: Likewise.
24091         * malloc/Makefile: Likewise.
24093 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24095         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24096         two-byte characters.
24098 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24100         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24101         AC_CACHE_CHECK invocation.
24102         * configure: Regenerated.
24104         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24106 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24108         [BZ #12350]
24109         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24110         bit from old_res_options.
24112         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24114         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24115         value type for setfct.
24117 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24119         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24120         __gettimeofday instead of gettimeofday.
24122 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24124         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24126 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24128         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24130         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24131         info.
24133 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24136         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24137         strcpy-sse2-unaligned strncpy-sse2-unaligned
24138         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24139         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24140         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24141         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24142         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24143         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24144         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24145         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24146         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24147         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24148         (STRCPY): Support SSE2 and SSSE3 versions.
24150 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24152         [BZ #12874]
24153         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24154         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24155         kernels which artificially limit size of requests.
24157 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24160         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24161         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24162         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24163         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24164         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24165         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24166         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24167         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24168         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24169         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24170         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24171         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24172         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24173         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24175         Enable unaligned load optimization for Intel Core i3, i5 and i7
24176         processors.
24177         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24178         Define.
24179         (index_Fast_Unaligned_Load): Define.
24180         (HAS_FAST_UNALIGNED_LOAD): Define.
24182 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24184         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24186 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24188         [BZ #12907]
24189         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24190         until it is clear that the information is realy needed.
24191         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24193 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24197 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24200         /sys/devices/system/cpu/online if it is usable.
24202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24203         reading the information from the /proc filesystem to once a second.
24205 2011-06-21  Andreas Jaeger  <aj@suse.de>
24207         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24208         NULL after inclusion of kernel headers.
24210 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24212         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24213         calls to internal_setent.
24215         [BZ #12885]
24216         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24217         addresses using gethostbyname4_r ignore IPv4 addresses.
24219         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24220         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24222         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24224 2011-06-20  David S. Miller  <davem@davemloft.net>
24226         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24227         inclusions.
24228         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24230         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24231         (elf_irel): Use it.
24232         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24233         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24234         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24235         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24236         * sysdeps/x86_64/dl-irel.h: Likewise.
24238         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24239         * elf/dl-sym.c: Likewise.
24241 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24243         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24244         need to dereference resplen2.
24246 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24248         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24250 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24252         * Makeconfig: Define vardbdir and inst_vardbdir.
24253         * nss/Makefile: Add rules to install db-Makefile.
24255         * nss/nss_db/db-XXX.c: Cleanup.
24257         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24258         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24259         GLIBC_PRIVATE.
24260         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24261         * nss/makedb.c: Implement -g option to specify that value strings
24262         are generated and should not be added to table iterated over for
24263         get*ent calls.
24264         * nss/nss_db/db-initgroups.c: New file.
24266         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24267         interface.
24269         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24270         (internal_getgrouplist): Adjust to name change.
24271         Update use_initgroups_entry if this is not the first call.
24272         * nss/databases.def: Add initgroups entry.
24274         * nss/makedb.c (compute_tables): Check result of multiple hash table
24275         sizes to minimize maximum chain length.
24277 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24279         * Versions.def: Add entry for libnss_db.
24280         * shlib-versions: Likewise.
24281         * nss/Makefile: Add rules to build libnss_db.
24282         * nss/Versions: Add libnss_db information.  Organize libnss_files
24283         entries better.
24284         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24285         makedb progra.  Some minor improvements to generate smaller files.
24286         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24287         here from...
24288         * nss/makedb.c: ...here.
24289         Improve database format to be smaller and require less memory at
24290         runtime.
24291         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24292         db anymore.
24293         * nss/nss_db/db-netgrp.c: Likewise.
24294         * nss/nss_db/db-open.c: Likewise.
24295         * nss/nss_files/flies-XXX.x: Adjust comments.
24296         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24297         * nss/nss_files/files-grp.c: Likewise.
24298         * nss/nss_files/files-hosts.c: Likewise.
24299         * nss/nss_files/files-network.c: Likewise.
24300         * nss/nss_files/files-proto.c: Likewise.
24301         * nss/nss_files/files-pwd.c: Likewise.
24302         * nss/nss_files/files-rpc.c: Likewise.
24303         * nss/nss_files/files-service.c: Likewise.
24304         * nss/nss_files/files-sgrp.c: Likewise.
24305         * nss/nss_files/files-spwd.c: Likewise.
24306         * nss/nss_db/db-alias.c: Removed.
24307         * nss/nss_db/dummy-db.h: Removed.
24309 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24311         * nss/makedb.c: Rewritten to not use database library.
24312         * nss/Makefile: Update to build new makedb program.
24314 2011-06-14  Andreas Jaeger  <aj@suse.de>
24316         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24317         memset declaration.
24319 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24322         tmpbuf.
24324 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24326         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24327         * elf/Makefile ($(objpfx)ld.so): Likewise.
24329         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24330         Don't list ld.so twice in dependencies.
24332         * posix/bug-regex31.c: Include <stdlib.h>.
24334         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24336         * nis/nss_compat/compat-spwd.c
24337         (getspent_next_nss_netgr): Remove unused variable.
24338         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24340         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24341         nonmembers" output to use the right array.
24343         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24345         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24347         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24348         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24349         * catgets/gencat.c (read_input_file): Likewise.
24350         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24352         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24353         variable definition inside #if's controlling its use.
24355         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24357         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24359         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24361         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24362         unreachable code.
24364         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24366         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24367         * configure: Regenerated.
24369         * Makerules: Revert last change.
24370         * elf/Makefile: Likewise.
24372 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24374         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24375         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24376         (reloc-link): Likewise.
24378 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24380         * elf/Makefile: Add rules to build pldd.
24381         * elf/pldd.c: New file.
24382         * elf/pldd-xx.c: New file.
24384 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24386         * version.h: Update for 2.15 development version.
24388 2011-06-07  David S. Miller  <davem@davemloft.net>
24390         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24391         ifuncs.
24392         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24393         elf_machine_lazy_rel): Likewise.
24394         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24395         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24396         elf_machine_lazy_rel): Likewise.
24397         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24398         dl_hwcap via passed in argument.
24399         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24400         Likewise.
24402 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24404         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24406 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24408         [BZ #12849]
24409         * manual/fdl-1.1.texi: New file, verbatim from:
24410         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24411         * manual/lgpl-2.1.texi: New file, verbatim from:
24412         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24413         * manual/Makefile (licenses): New variable, list those new file names.
24414         (texis): Use it.
24415         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24417         * manual/fdl.texi: File removed.
24418         * manual/lesser.texi: File removed.
24419         * manual/libc.texinfo (Copying, Documentation License):
24420         Use new @include file names, put @appendix directive before @include.
24422 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24424         [BZ #12841]
24425         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24426         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24427         (mq_open): Add __NTH.
24429 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24432         Assume Intel Core i3/i5/i7 processor if AVX is available.
24434 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24436         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24437         typo.
24439 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24441         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24442         memory.  Use alloca_account.  Fix memory leak when retrying.
24444 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24446         * version.h (RELEASE): Bump for 2.14 release.
24447         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24449         * config.make.in (RANLIB): Remove entry.
24451 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24453         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24454         (libc.pot): Work around missing support for .ksh extension in xgettext.
24456         [BZ #12684]
24457         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24458         if both request failed.
24459         (send_dg): In case of server errors clear resplen or *resplen2.
24461         [BZ #12454]
24462         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24463         when there are multiple maps.
24464         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24465         (_dl_fini): Remove test here.
24467         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24469 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24471         [BZ #12350]
24472         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24473         bit from old_res_options.
24474         (gaih_inet): Likewise.
24476         [BZ #11099]
24477         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24478         as signed.
24480         * resolv/res_init.c (res_setoptions): Make the code more compact.
24482         [BZ #11558]
24483         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24484         set RES_USEVC.
24486         [BZ #11634]
24487         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24489         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24491         [BZ #11781]
24492         * malloc/malloc.h: Declare malloc hook variables as volatile.
24494         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24495         in last patch.
24497         [BZ #11799]
24498         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24499         raise in the comment.
24500         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24501         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24502         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24504 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24506         [BZ #12811]
24507         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24508         grow the buffers more if it already has to be sufficient.
24509         (build_wcs_upper_buffer): Likewise.
24510         * posix/regexec.c (check_matching): Likewise.
24511         (clean_state_log_if_needed): Likewise.
24512         (extend_buffers): Don't enlarge buffers beyond size of the input
24513         buffer.
24514         Patches mostly by Emil Wojak <emil@wojak.eu>.
24515         * posix/bug-regex32.c: New file.
24516         * posix/Makefile (tests): Add bug-regex32.
24518         * locale/findlocale.c (_nl_find_locale): Return right away if
24519         _nl_explode_name failed.
24520         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24522         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24524         * debug/xtrace.sh: Unify messages.
24525         * malloc/memusage.sh: Likewise.
24527         [BZ #12813]
24528         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24529         time symbol from vDSO.  Substitute with vsyscall if not available.
24530         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24531         __vdso_time.
24533         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24534         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24535         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24536         Add sendmmsg and internal_sendmmsg.
24537         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24538         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24539         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24541         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24542         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24543         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24545 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24547         [BZ #12813]
24548         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24549         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24550         available.
24551         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24552         __vdso_getcpu.
24554         [BZ #12814]
24555         * iconvdata/Makefile (tests): Add bug-iconv9.
24556         * iconvdata/bug-iconv9.c: New file.
24558 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24560         [BZ #12814]
24561         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24563 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24565         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24566         (struct user_regs_struct): Change intcs field back to cs.
24568 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24570         * po/ja.po: Update from translation team.
24572 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24574         [BZ #12795]
24575         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24576         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24578 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24580         * stdlib/longlong.h: Update from GCC.
24582 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24584         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24585         parameter name.
24586         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24587         Add parameter name.
24588         (__sysconf): Pass it down.
24590 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24592         [BZ #12671]
24593         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24594         some situations.
24595         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24596         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24597         add in in __libc_use_alloca calls.  Adjust callers.
24598         (glob): Use malloc in some situations.
24600         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24601         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24602         pltexit.
24604 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24606         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24607         and CLOCK_BOOTTIME_ALARM.
24609         [BZ #12782]
24610         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24611         is returned.
24613         * string/_strerror.c (__strerror_r): Print negative errors as signed
24614         numbers.
24616         [BZ #12777]
24617         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24618         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24619         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24621         * configure.in: Fix typo in redirection and correct removal of test
24622         files in two cases.
24624         [BZ #12788]
24625         * locale/setlocale.c (new_composite_name): Fix test to check for
24626         identical name of all categories.
24628         [BZ #12792]
24629         * libio/filedoalloc.c (local_isatty): New function.
24630         (_IO_file_doallocate): Use local_isatty.
24631         * stdio-common/perror.c (perror): In case a new stream is used
24632         forward the stream error.
24633         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24634         error flag.
24636 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24638         [BZ #11869]
24639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24640         alloca.
24641         * include/alloca.h (extend_alloca_account): Define.
24643         [BZ #11857]
24644         * posix/regex.h: Fix comments with documentation of user-accessible
24645         fields after compilation and describe correct free'ing of pattern
24646         after re_compile_pattern.
24647         Patch by Reuben Thomas <rrt@sc3d.org>.
24649 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24651         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24652         and -mno-altivec to prevent the compiler from using Altivec and/or
24653         VSX instructions when the corresponding registers are not available.
24655 2011-05-19  Andreas Schwab  <schwab@redhat.com>
24657         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24659 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
24661         * libio/freopen.c (freopen): Use __dup2, not dup2.
24662         * libio/freopen64.c (freopen64): Likewise.
24664 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24666         [BZ #12775]
24667         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24668         * math/Makefile (tests): Add test-powl.
24669         (CFLAGS-test-powl.c): Define.
24670         * math/test-powl.c: New file.
24672 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24674         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24676 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
24678         [BZ #11837]
24679         * iconvdata/gb18030.c: Update to GB18020-2005.
24681 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
24683         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24684         RE_SYNTAX_POSIX_AWK): Update to match recent development.
24685         Patch by Aharon Robbins <arnold@skeeve.com>.
24687         [BZ #11892]
24688         * stdlib/putenv.c (putenv): Don't always create copy of the variable
24689         on the stack.
24691         [BZ #11895]
24692         * misc/pselect.c (__pselect): Handle timeout value errors hidden
24693         through underflows.
24695         [BZ #12766]
24696         * misc/error.c (error_at_line): Ensure file_name and old_file_name
24697         point to strings before performing equality test for error_one_per_line
24698         mode.
24700         [BZ #11697]
24701         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24703         [BZ #11820]
24704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24705         (struct user_fpregs_struct): Avoid __uint*_t types.
24707         [BZ #6420]
24708         * malloc/mtrace.c (tr_where): Add additional parameter to point to
24709         symbol info.  Use it instead of calling _dl_addr locally.
24710         (lock_and_info): New function.
24711         (tr_freehook): Call lock_and_info and pass symbol info as additional
24712         parameter to tr_where.
24713         (tr_mallochook): Likewise.
24714         (tr_reallochook): Likewise.
24715         (tr_memalignhook): Likewise.
24717         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
24718         used and couldn't be at all thread-safe.
24720 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
24722         * libio/freopen.c (freopen): Don't close old file descriptor
24723         before the new one is opened.  Instead dup the new file descriptor
24724         to the old one after the new stream is created.
24725         * libio/freopen64.c (freopen64): Likewise.
24726         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24727         * libio/fileops.c (_IO_new_file_close_it): Handle new
24728         _IO_FLAGS2_NOCLOSE flag.
24729         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24730         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24731         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24732         _IO_FLAGS2_NOCLOSE flag.
24733         * include/unistd.h: Add hidden_proto for dup3.
24734         Define __have_dup3.
24735         * io/dup3.c: Define hidden symbol.
24736         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24738         [BZ #7101]
24739         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24740         when an incomplete long option is used.
24741         * posix/tst-getopt_long1.c: New file.
24742         * posix/Makefile (tests): Add tst-getopt_long1.
24744         [BZ #10138]
24745         * scripts/config.guess: Update from autoconf-2.68.
24746         * scripts/config.sub: Likewise.
24748         [BZ #10157]
24749         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24750         tests into ...
24751         (has_cpuclock): ...this.  New function.
24752         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24753         macro here based on has_cpuclock code.
24755         [BZ #10149]
24756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24757         First byte (not low byte) is now always NUL.
24758         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24760         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24761         Use non-cancelable interfaces.
24763         [BZ #9809]
24764         * locale/iso-639.def: Add entry for Sorani.
24766         [BZ #11901]
24767         * include/stdlib.h: Move include protection to the right place.
24768         Define abort_msg_s.  Declare __abort_msg with it.
24769         * stdlib/abort.c (__abort_msg): Adjust type.
24770         * assert/assert.c (__assert_fail_base): New function.  Majority
24771         of code from __assert_fail.  Allocate memory for __abort_msg with
24772         mmap.
24773         (__assert_fail): Now call __assert_fail_base.
24774         * assert/assert-perr.c: Remove bulk of implementation.  Use
24775         __assert_fail_base.
24776         * include/assert.hL Declare __assert_fail_base.
24777         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24778         mmap.
24779         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24781 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
24783         [BZ #11952]
24784         [BZ #12453]
24785         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24786         until all modules are registered in the DTV.
24787         * elf/Makefile: Add rules to build and run tst-tls19.
24788         * elf/tst-tls19.c: New file.
24789         * elf/tst-tls19mod1.c: New file.
24790         * elf/tst-tls19mod2.c: New file.
24791         * elf/tst-tls19mod3.c: New file.
24792         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24794         [BZ #12083]
24795         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24796         correctly.
24798         [BZ #12601]
24799         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24800         two-byte sequence errors.
24801         * iconvdata/Makefile (tests): Add bug-iconv8.
24802         * iconvdata/bug-iconv8.c: New file.
24804         [BZ #12626]
24805         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24806         buf2 definition.
24808         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24810         [BZ #12432]
24811         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24812         (dummy_getcfa): New function.
24813         (init): Get _Unwind_GetCFA address, use dummy if not found.
24814         (backtrace_helper): In recursion check, also check whether CFA changes.
24815         (__backtrace): Completely initialize arg.
24817         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24818         storing incomplete byte sequence in state object.  Avoid testing for
24819         guaranteed too small input if we know there is enough data available.
24821 2011-05-11  Andreas Schwab  <schwab@redhat.com>
24823         * Makeconfig (+link-pie): Indent.
24824         * Rules (binaries-pie): Define if $(have-fpie) and
24825         $(build-shared).
24826         (binaries-shared): Also filter out $(binaries-pie).
24827         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24828         * nscd/Makefile (others-pie): Add nscd.
24829         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24830         ($(objpfx)nscd): Remove command override.
24831         * login/Makefile (others-pie): Add pt_chown.
24832         ($(objpfx)pt_chown): Remove command override.
24833         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24834         remove command overrides.
24836 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
24838         * libio/tst_putwc.c: Fix error messages.
24840         [BZ #12724]
24841         * libio/fileops.c (_IO_new_file_close_it): Always flush when
24842         currently writing and seek to current position when not.
24843         * libio/Makefile (tests): Add bug-fclose1.
24844         * libio/bug-fclose1.c: New file.
24846 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
24848         [BZ #12511]
24849         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24850         don't set DF_1_NODELETE here.
24851         (do_lookup_x): When entering new entry test for copy relocation
24852         and if necessary set DF_1_NODELETE flag.
24853         * elf/tst-unique4.cc: New file.
24854         * elf/tst-unique4.h: New file.
24855         * elf/tst-unique4lib.cc: New file.
24856         * elf/Makefile: Add rules to build and run tst-unique4.
24857         Patch by Piotr Bury <pbury@goahead.com>.
24859 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
24861         [BZ #12052]
24862         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24864         [BZ #12625]
24865         * misc/mntent_r.c (addmntent): Flush the stream after the output
24867         [BZ #12393]
24868         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24869         (is_trusted_path_normalize): Skip initial colon.  Append slash
24870         to empty buffer.  Duplicate is_trusted_path code but allow
24871         constructed patch to be prefix.
24872         (is_dst): Allow $ORIGIN followed by /.
24873         (_dl_dst_substitute): Correct clearing of check_for_trusted.
24874         Correct testing of result of is_trusted_path_normalize
24875         (decompose_rpath): Fix warning.
24877 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
24879         [BZ #11257]
24880         * grp/initgroups.c (internal_getgrouplist): When we found the service
24881         list through the initgroups entry in nsswitch.conf do not always
24882         continue on a successful lookup.  Don't always use the
24883         __nss_group_database value if it is set.
24884         * nss/nsswitch.conf (initgroups): Change action for successful db
24885         lookup to continue for compatibility.
24887 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
24889         [BZ #11532]
24890         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24891         and CP774 modules.
24892         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24893         and CP774 modules.
24894         * iconvdata/tst-tables.sh: Likewise.
24895         * iconvdata/cp770.c: New file.
24896         * iconvdata/cp771.c: New file.
24897         * iconvdata/cp772.c: New file.
24898         * iconvdata/cp773.c: New file.
24899         * iconvdata/cp774.c: New file.
24900         * iconvdata/testdata/CP770: New file.
24901         * iconvdata/testdata/CP770..UTF8: New file.
24902         * iconvdata/testdata/CP771: New file.
24903         * iconvdata/testdata/CP771..UTF8: New file.
24904         * iconvdata/testdata/CP772: New file.
24905         * iconvdata/testdata/CP772..UTF8: New file.
24906         * iconvdata/testdata/CP773: New file.
24907         * iconvdata/testdata/CP773..UTF8: New file.
24908         * iconvdata/testdata/CP774: New file.
24909         * iconvdata/testdata/CP774..UTF8: New file.
24911         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24912         END CHARMAP line.
24913         * iconvdata/gen-8bit-gap.sh: Likewise.
24914         * iconvdata/gen-8bit.sh: Likewise.
24916         * locale/iso-639.def: Add ary entry.
24918         [BZ #11258]
24919         * locale/C-translit.h.in: Add U20A1 transliteration.
24921         [BZ #12178]
24922         * locale/iso-639.def: Add wae entry.
24923         Patch by Kevin Bortis <bortis@translate-wae.ch>.
24925         [BZ #12545]
24926         * locale/programs/localedef.c (construct_output_path): Use ssize_t
24927         for n.
24929         [BZ #12711]
24930         * locale/C-translit.h.in: Add entry for U20B9.
24931         Patch by pravin.d.s@gmail.com.
24933 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
24935         [BZ #12713]
24936         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24937         ENAMETOOLONG use generic getcwd.
24938         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
24939         in rtld.  Use *stat64.
24940         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24941         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24942         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24943         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24944         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24945         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24946         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24947         __fstatat64 macros.
24948         * include/dirent.h: Add libc_hidden_proto for rewinddir.
24949         * dirent/rewinddir.c: Add libc_hidden_def.
24950         * sysdeps/mach/hurd/rewinddir.c: Likewise.
24951         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
24953         * include/dirent.h (__alloc_dir): Add flags parameter.
24954         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24955         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24956         __alloc_dir.
24957         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
24958         from fdopendir if O_CLOEXEC is already set.
24960 2011-03-15  Alan Modra  <amodra@gmail.com>
24962         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24963         l_tls_firstbyte_offset non-zero.  Save padding offset in
24964         l_tls_firstbyte_offset for later use.
24965         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24966         freeing static tls block.
24968 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
24970         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24971         where #ifdef was intended.  The intent is to prevent ARG_MAX from
24972         being defined by the kernel headers.
24974 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
24976         [BZ #12734]
24977         * resolv/resolv.h: Define RES_NOTLDQUERY.
24978         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24979         no-tld-query and set RES_NOTLDQUERY.
24980         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24981         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24982         modern BIND to search name as TLD unless forbidden.
24984 2011-05-07  Petr Baudis  <pasky@suse.cz>
24985             Ulrich Drepper  <drepper@gmail.com>
24987         [BZ #12393]
24988         * elf/dl-load.c (fillin_rpath): Move trusted path check...
24989         (is_trusted_path): ...to here.
24990         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24991         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24992         using is_trusted_path_normalize() in setuid scripts.
24994 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24996         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24997         __BEGIN/__END_DECLS.
24999 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25001         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25002         NSS_STATUS_NOTFOUND if no record was found.
25004 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25006         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25007         (headers-not-in-tirpc): Remove rpc/netdb.h
25008         * resolv/netdb.h: Revert last change.
25010 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25012         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25013         circular dependency between libgcc.a and libc.a.
25015 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25017         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25018         * nis/Makefile: Don't install rpcsvc/*.
25019         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25020         instead of <rpc/types.h>.
25021         (MAXHOSTNAMELEN): Define.
25023 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25025         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25027 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25029         [BZ #12714]
25030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25031         gethostbyname4_r when IPv6 results are possible.
25033 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25035         [BZ #12723]
25036         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25037         _PC_PIPE_BUF handling.
25039 2011-04-30  Bruno Haible  <bruno@clisp.org>
25041         [BZ #12717]
25042         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25043         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25044         to 'int'.
25045         * inet/getnameinfo.c (getnameinfo): Likewise.
25047 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25049         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25050         to groups setting in database lookup.
25051         * nss/nsswitch.conf: Add initgroups entry.
25053 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25055         [BZ #12685]
25056         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25057         mode string.
25058         Patch by Eric Blake <eblake@redhat.com>.
25060 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25062         * sunrpc/Makefile (need-export-routines): Add svc_run.
25063         (routines): Remove svc_run.
25064         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25065         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25066         * sunrpc/svc_run.c (svc_run): Likewise.
25067         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25069 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25071         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25072         problem in reallocation in last patch.
25074 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25076         * sunrpc/Makefile: Move inclusion of Rules.
25078 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25080         * nss/nss_files/files-initgroups.c: New file.
25081         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25082         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25083         _nss_files_initgroups_dyn.
25085 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25087         * elf/elf.h (R_ARM_IRELATIVE): Define.
25089 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25091         * po/ru.po: Update from translation team.
25093 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25095         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25096         dependencies.
25098 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25100         [BZ #12653]
25101         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25102         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25104         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25105         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25107 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25109         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25110         differing bytes.
25111         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25112         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25113         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25115 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25117         [BZ #12420]
25118         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25119         storing it.
25120         * stdlib/bug-getcontext.c: New file.
25121         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25123 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25125         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25126         instructions into .machine "z9-109".
25127         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25128         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25130 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25132         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25133         between environment variables and auxiliary vector.
25135 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25137         * Makefile: Add rules to build linkobj/libc.so.
25138         * include/libc-symbols.h: Define libc_hidden_nolink.
25139         * include/rpc/auth.h: Mark functions which are to be hidden.
25140         * include/rpc/auth_des.h: Likewise.
25141         * include/rpc/auth_unix.h: Likewise.
25142         * include/rpc/clnt.h: Likewise.
25143         * include/rpc/des_crypt.h: Likewise.
25144         * include/rpc/key_prot.h: Likewise.
25145         * include/rpc/pmap_clnt.h: Likewise.
25146         * include/rpc/pmap_prot.h: Likewise.
25147         * include/rpc/pmap_rmt.h: Likewise.
25148         * include/rpc/rpc_msg.h: Likewise.
25149         * include/rpc/svc.h: Likewise.
25150         * include/rpc/svc_auth.h: Likewise.
25151         * include/rpc/xdr.h: Likewise.
25152         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25153         * nss/Makefile: Likewise.
25154         * sunrpc/Makefile: Don't install headers.  Build library with normal
25155         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25156         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25157         for the compat linking library.  Remove use of INTDEF/INTUSE.
25158         * sunrpc/auth_none.c: Likewise.
25159         * sunrpc/auth_unix.c: Likewise.
25160         * sunrpc/authdes_prot.c: Likewise.
25161         * sunrpc/authuxprot.c: Likewise.
25162         * sunrpc/clnt_gen.c: Likewise.
25163         * sunrpc/clnt_perr.c: Likewise.
25164         * sunrpc/clnt_raw.c: Likewise.
25165         * sunrpc/clnt_simp.c: Likewise.
25166         * sunrpc/clnt_tcp.c: Likewise.
25167         * sunrpc/clnt_udp.c: Likewise.
25168         * sunrpc/clnt_unix.c: Likewise.
25169         * sunrpc/des_crypt.c: Likewise.
25170         * sunrpc/des_soft.c: Likewise.
25171         * sunrpc/get_myaddr.c: Likewise.
25172         * sunrpc/key_call.c: Likewise.
25173         * sunrpc/key_prot.c: Likewise.
25174         * sunrpc/netname.c: Likewise.
25175         * sunrpc/pm_getmaps.c: Likewise.
25176         * sunrpc/pm_getport.c: Likewise.
25177         * sunrpc/pmap_clnt.c: Likewise.
25178         * sunrpc/pmap_prot.c: Likewise.
25179         * sunrpc/pmap_prot2.c: Likewise.
25180         * sunrpc/pmap_rmt.c: Likewise.
25181         * sunrpc/publickey.c: Likewise.
25182         * sunrpc/rpc_cmsg.c: Likewise.
25183         * sunrpc/rpc_common.c: Likewise.
25184         * sunrpc/rpc_dtable.c: Likewise.
25185         * sunrpc/rpc_prot.c: Likewise.
25186         * sunrpc/rpc_thread.c: Likewise.
25187         * sunrpc/rtime.c: Likewise.
25188         * sunrpc/svc.c: Likewise.
25189         * sunrpc/svc_auth.c: Likewise.
25190         * sunrpc/svc_authux.c: Likewise.
25191         * sunrpc/svc_raw.c: Likewise.
25192         * sunrpc/svc_run.c: Likewise.
25193         * sunrpc/svc_simple.c: Likewise.
25194         * sunrpc/svc_tcp.c: Likewise.
25195         * sunrpc/svc_udp.c: Likewise.
25196         * sunrpc/svc_unix.c: Likewise.
25197         * sunrpc/svcauth_des.c: Likewise.
25198         * sunrpc/xcrypt.c: Likewise.
25199         * sunrpc/xdr.c: Likewise.
25200         * sunrpc/xdr_array.c: Likewise.
25201         * sunrpc/xdr_float.c: Likewise.
25202         * sunrpc/xdr_intXX_t.c: Likewise.
25203         * sunrpc/xdr_mem.c: Likewise.
25204         * sunrpc/xdr_rec.c: Likewise.
25205         * sunrpc/xdr_ref.c: Likewise.
25206         * sunrpc/xdr_sizeof.c: Likewise.
25207         * sunrpc/xdr_stdio.c: Likewise.
25209 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25211         [BZ #12650]
25212         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25213         * sysdeps/ia64/dl-tls.h: Likewise.
25214         * sysdeps/powerpc/dl-tls.h: Likewise.
25215         * sysdeps/s390/dl-tls.h: Likewise.
25216         * sysdeps/sh/dl-tls.h: Likewise.
25217         * sysdeps/sparc/dl-tls.h: Likewise.
25218         * sysdeps/x86_64/dl-tls.h: Likewise.
25219         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25221 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25223         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25224         rpath element also skip the following colon.
25225         (expand_dynamic_string_token): Add is_path parameter and pass
25226         down to DL_DST_REQUIRED and _dl_dst_substitute.
25227         (decompose_rpath): Call expand_dynamic_string_token with
25228         non-zero is_path.  Ignore empty rpaths.
25229         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25230         with zero is_path.
25232 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25235         Make cancelable.
25237 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25239         [BZ #12655]
25240         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25241         Patch by Filipe David Manana <fdmanana@apache.org>.
25243 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25246         Maintain aligned stack.
25247         (CHECK_RSP): Remove unused macro.
25249 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25251         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25252         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25254 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25256         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25258         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25260 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25262         [BZ #12518]
25263         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25264         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25265         * sysdeps/x86_64/memmove.c: New file.
25266         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25267         (memcpy): Renamed to ...
25268         (__new_memcpy): This.
25269         (memcpy): Provide GLIBC_2_14 memcpy.
25270         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25271         (memcpy): Provide GLIBC_2_2_5 memcpy.
25273 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25275         [BZ #12631]
25276         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25278 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25280         * misc/syncfs.c: New file.
25281         * misc/Makefile (routines): Add syncfs.
25282         * posix/unistd.h: Declare syncfs.
25283         * sysdeps/unix/syscalls.list: Add syncfs.
25285 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25287         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25288         open_by_handle_at.
25289         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25290         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25291         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25292         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25293         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25294         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25295         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25297 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25299         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25300         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25301         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25302         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25303         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25305         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25307         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25308         sync_file_range.c with -fexceptions.
25309         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25310         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25311         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25312         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25313         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25314         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25316         sync_file_range as cancellation point
25317         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25318         now a wrapper around __call_sync_file_range with cancellation handling.
25319         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25320         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25321         function name to __call_sync_file_range.
25322         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25323         Add call_sync_file_range.
25325 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25328         bits/timex.h.
25330 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25332         * iconv/iconv.h: Fix typo in comment.
25333         * io/fcntl.h: Likewise.
25334         * libio/stdio.h: Likewise.
25335         * posix/spawn.h: Likewise.
25336         * posix/unistd.h: Likewise.
25337         * stdlib/stdlib.h: Likewise.
25338         * time/time.h: Likewise.
25339         * wcsmbs/wchar.h: Likewise.
25341         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25342         open_by_handle): Add.
25343         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25344         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25345         Augment a few comments.
25346         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25347         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25348         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25349         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25350         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25351         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25352         open_by_handle.
25354         * io/fcntl.h (AT_EMPTY_PATH): Define.
25356 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25358         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25359         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25360         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25361         to...
25362         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25363         * Versions.def: Add GLIBC_2.14.
25364         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25365         Export.
25367 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25369         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25370         round counter.
25371         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25373 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25375         [BZ #12597]
25376         * string/test-strncmp.c (do_page_test): New function.
25377         (check2): Likewise.
25378         (test_main): Call check2.
25379         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25381 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25383         [BZ #12587]
25384         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25385         Handle cache information in CPU leaf 4.
25386         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25388 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25390         [BZ #12583]
25391         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25392         character representation.
25393         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25395 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25397         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25398         END(__isnan) to END(__isnanf) to match function entry point/label
25399         EALIGN(__isnanf,...).
25401 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25403         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25405 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25407         [BZ #12510]
25408         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25409         copy from the symbol referenced in the relocation to initialize the
25410         used variable.
25411         Patch by Piotr Bury <pbury@goahead.com>.
25412         * elf/Makefile: Add rules to build and tst-unique3.
25413         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25414         * elf/tst-unique3.cc: New file.
25415         * elf/tst-unique3.h: New file.
25416         * elf/tst-unique3lib.cc: New file.
25417         * elf/tst-unique3lib2.cc: New file.
25419         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25421 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25423         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25424         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25425         to _start.
25427 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25429         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25430         to-be-loaded object along a path to loader is ld.so.
25432 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25433             Ulrich Drepper  <drepper@gmail.com>
25435         * sysdeps/x86_64/memset.S: After aligning destination, code
25436         branches to different locations depending on the value of
25437         misalignment, when multiarch is enabled. Fix this.
25439 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25441         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25442         Set _x86_64_preferred_memory_instruction for AMD processsors.
25443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25444         Set bit_Prefer_SSE_for_memop for AMD processors.
25446 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25448         * libio/fmemopen.c (fmemopen): Optimize a bit.
25450 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25452         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25454 2011-03-03  Roland McGrath  <roland@redhat.com>
25456         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25458 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25460         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25461         __bzero_ultra1 instead of __memset_ultra1.
25463 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25464             Ulrich Drepper  <drepper@gmail.com>
25466         [BZ #12509]
25467         * include/link.h (struct link_map): Add l_orig_initfini.
25468         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25469         returning unsuccessfully.
25470         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25471         close of a file loaded at startup, restore the original l_initfini
25472         list.
25473         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25474         list, store the pointer.
25475         * elf/Makefile ($(objpfx)noload-mem): New rule.
25476         (noload-ENV): Define.
25477         (tests): Add $(objpfx)noload-mem.
25478         * elf/noload.c: Include <memcheck.h>.
25479         (main): Call mtrace.  Close all opened handles.
25481 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25483         [BZ #12454]
25484         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25485         dependencies are missing.
25487 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25489         Fix __if_freereq crash: Unlike the generic version which uses free,
25490         Hurd needs munmap.
25491         * sysdeps/mach/hurd/ifreq.h: New file.
25493 2011-01-27  Petr Baudis  <pasky@suse.cz>
25494             Ulrich Drepper  <drepper@gmail.com>
25496         [BZ 12445]#
25497         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25498         to extend_alloca().
25499         * stdio-common/bug23.c: New file.
25500         * stdio-common/Makefile (tests): Add bug23.
25502 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25503             Ulrich Drepper  <drepper@gmail.com>
25505         [BZ #12489]
25506         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25507         before performing relro protection.  At old place add assertion
25508         to make sure nothing changed.
25510 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25511             Glauber de Oliveira Costa  <glommer@gmail.com>
25513         * elf/elf.h: Add new ARM TLS relocs.
25515 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25518         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25519         cast from r3.
25520         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25521         'tests' variable.
25522         * sysdeps/wordsize-64/tst-writev.c: New file.
25524 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25526         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25527         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25528         insns in _dl_start to prevent a TOC reference before relocs are
25529         resolved.
25531 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25533         [BZ #12469]
25534         * Makeconfig: Remove RANLIB definition.
25535         * Makerules: Don't use RANLIB.
25536         * aclocal.m4: Remove ranlib test.
25537         * configure.in: No need to check for ranlib.
25538         * elf/rtld-Rules: Don't use RANLIB.
25540 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25542         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25543         protection macro.
25544         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25545         inclusion protection macro.
25547         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25548         SIGRTMIN and SIGRTMAX and print information in that case only when
25549         SIGRTMIN is defined.
25551 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25553         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25554         arginfo fn returning -1.
25556         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25557         and thousands string is zero terminated.
25559 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25562         sysdeps/unix/sysv/linux/bits/socket.h.
25564 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25566         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25567         (__CPU_COUNT): Remove old macros.
25568         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25569         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25570         (__CPU_ALLOC, __CPU_FREE): Add macros.
25571         (__sched_cpualloc, __sched_cpufree): Add declarations.
25573 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25575         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25576         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25577         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25578         (readdhstai): Return value of addhstaiX call.
25579         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25580         (addgrbyX): Return value returned by cache_addgr.
25581         (readdgrbyname): Return value returned by addgrbyX.
25582         (readdgrbygid): Likewise.
25583         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25584         (addpwbyX): Return value returned by cache_addpw.
25585         (readdpwbyname): Return value returned by addhstbyX.
25586         (readdpwbyuid): Likewise.
25587         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25588         (addservbyX): Return value returned by cache_addserv.
25589         (readdservbyname): Return value returned by addservbyX:
25590         (readdservbyport): Likewise.
25591         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25592         (addhstbyX): Return value returned by cache_addhst.
25593         (readdhstbyname): Return value returned by addhstbyX.
25594         (readdhstbyaddr): Likewise.
25595         (readdhstbynamev6): Likewise.
25596         (readdhstbyaddrv6): Likewise.
25597         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25598         (readdinitgroups): Return value returned by addinitgroupsX.
25599         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25600         (prune_cache): Keep track of timeout value of re-added entries.
25601         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25602         * nscd/nscd.h: Adjust prototypes of readd* functions.
25604 2011-02-04  Roland McGrath  <roland@redhat.com>
25606         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25607         (nis_stats): Likewise.
25608         * nis/nis_modify.c (nis_modify): Likewise.
25609         * nis/nis_remove.c (nis_remove): Likewise.
25610         * nis/nis_add.c (nis_add): Likewise.
25612         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25614         * posix/fnmatch_loop.c: Add some consts.
25616         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25618 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25620         [BZ #12460]
25621         * config.make.in (config-cflags-novzeroupper): Define.
25622         * configure.in: Substitute libc_cv_cc_novzeroupper.
25623         * elf/Makefile (AVX-CFLAGS): Define.
25624         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25625         (CFLAGS-tst-auditmod4a.c): Likewise.
25626         (CFLAGS-tst-auditmod4b.c): Likewise.
25627         (CFLAGS-tst-auditmod6b.c): Likewise.
25628         (CFLAGS-tst-auditmod6c.c): Likewise.
25629         (CFLAGS-tst-auditmod7b.c): Likewise.
25630         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25632 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25634         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25635         function to the callback.
25636         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25638 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25640         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25641         of errno.
25643 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25645         [BZ #11724]
25646         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25647         of constructors.
25648         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25649         of destructors.
25650         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25652         [BZ #11724]
25653         * elf/Makefile: Add rules to build and run new test.
25654         * elf/tst-initorder.c: New file.
25655         * elf/tst-initorder.exp: New file.
25656         * elf/tst-initordera1.c: New file.
25657         * elf/tst-initordera2.c: New file.
25658         * elf/tst-initordera3.c: New file.
25659         * elf/tst-initordera4.c: New file.
25660         * elf/tst-initorderb1.c: New file.
25661         * elf/tst-initorderb2.c: New file.
25662         * elf/tst-order-a1.c: New file.
25663         * elf/tst-order-a2.c: New file.
25664         * elf/tst-order-a3.c: New file.
25665         * elf/tst-order-a4.c: New file.
25666         * elf/tst-order-b1.c: New file.
25667         * elf/tst-order-b2.c: New file.
25668         * elf/tst-order-main.c: New file.
25669         New test case by George Gensure <werkt0@gmail.com>.
25671 2010-10-01  Andreas Schwab  <schwab@redhat.com>
25673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25674         decoding ACE if AI_CANONIDN.
25676 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
25678         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25680 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
25682         * version.h (RELEASE): Bump for 2.13 release.
25683         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25685         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25687         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25688         MADV_NOHUGEPAGE.
25689         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25690         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25691         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25692         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25693         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25694         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25696         * posix/getconf.c: Update copyright year.
25697         * catgets/gencat.c: Likewise.
25698         * csu/version.c: Likewise.
25699         * debug/catchsegv.sh: Likewise.
25700         * debug/xtrace.sh: Likewise.
25701         * elf/ldconfig.c: Likewise.
25702         * elf/ldd.bash.in: Likewise.
25703         * elf/sprof.c (print_version): Likewise.
25704         * iconv/iconv_prog.c: Likewise.
25705         * iconv/iconvconfig.c: Likewise.
25706         * locale/programs/locale.c: Likewise.
25707         * locale/programs/localedef.c: Likewise.
25708         * malloc/memusage.sh: Likewise.
25709         * malloc/mtrace.pl: Likewise.
25710         * nscd/nscd.c (print_version): Likewise.
25711         * nss/getent.c: Likewise.
25713         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25714         PF_CAIF, and PF_ALG.
25715         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25717 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
25719         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25720         (modules-names): Use them.
25721         (ifunc-test-modules, ifunc-pie-tests): Define.
25722         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25723         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25724         (test-extras): Likewise.
25725         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25726         $(compile-command.c).
25727         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25728         (all-built-dso): Define.
25729         (check-textrel.out, check-execstack.out): Depend on it.
25731         * configure.in: Don't override --enable-multi-arch.
25733 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
25735         [BZ #6812]
25736         * nscd/hstcache.c (tryagain): Define.
25737         (cache_addhst): Return tryagain not notfound for temporary errors.
25738         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25739         failed.
25741 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
25743         [BZ #10563]
25744         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25745         to make the syscall.
25746         * sysdeps/unix/sysv/linux/setgroups.c: New file.
25748         [BZ #12378]
25749         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25750         and fall back to matching as normal character if the string ends before
25751         the matching ']' is found.  This is what POSIX requires.
25752         * posix/testfnm.c: Adjust test result.
25753         * posix/globtest.sh: Adjust test result.  Add new test.
25754         * posix/tst-fnmatch.input: Likewise.
25755         * posix/tst-fnmatch2.c: Add new test.
25757 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
25759         * elf/Makefile (check-execstack): Revert last change.  Depend on
25760         check-execstack.h.
25761         (check-execstack.h): New target.
25762         (generated): Add check-execstack.h.
25763         * elf/check-execstack.c: Include "check-execstack.h".
25764         (main): Revert last change.
25765         (handle_file): Return zero if GNU_STACK is absent and
25766         DEFAULT_STACK_PERMS doesn't include PF_X.
25768 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25770         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25771         in child fails because the descriptor is already closed.
25772         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25773         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25774         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25776         [BZ #12397]
25777         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25778         syscall.
25780         [BZ #10484]
25781         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25782         temporary buffer used to handle multi lookups locally.
25783         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25785 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25787         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25788         loader is ld.so.
25790 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
25792         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25793         alignment for SSE2.
25795 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25797         [BZ #12394]
25798         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25799         characters.  When rounding increased number of integer digits recompute
25800         number of groups.
25801         * stdio-common/tst-grouping.c: New file.
25802         * stdio-common/Makefile: Add rules to build and run tst-grouping.
25804 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
25806         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25807         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
25809         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25810         void.
25811         * bits/select.h: Likewise.
25813 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
25815         * po/ja.po: Update from translation team.
25817 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
25819         [BZ #11155]
25820         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25821         implementation just like for lxstat, fxstatat, et al.
25823 2010-12-27  Jim Meyering  <meyering@redhat.com>
25825         [BZ #12348]
25826         * posix/regexec.c (build_trtable): Return failure indication upon
25827         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
25829 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
25831         [BZ #12201]
25832         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25833         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25834         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25835         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25837         [BZ #12207]
25838         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25840         [BZ #12204]
25841         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25842         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25844 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25846         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25847         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25848         script has SORT_BY_INIT_PRIORITY.
25849         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25850         NO_CTORS_DTORS_SECTIONS is defined.
25851         * elf/soinit.c: Likewise.
25852         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25853         NO_CTORS_DTORS_SECTIONS is defined.
25854         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25855         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25856         * sysdeps/sh/init-first.c: Likewise.
25857         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25859 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
25861         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25862         always use the slow path.
25864 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
25866         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25867         similar rule which adds the sysdep directories to the header search in
25868         order to pick up the correct platform stackinfo.h.
25869         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25870         perform test if it is, otherwise return successfully without testing.
25871         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25872         DEFAULT_STACK_PERMS define in stackinfo.h.
25873         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25874         defined in stackinfo.h.
25875         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25876         DEFAULT_STACK_PERMS defined in stackinfo.h.
25877         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25878         * sysdeps/ia64/stackinfo.h: Likewise.
25879         * sysdeps/s390/stackinfo.h: Likewise.
25880         * sysdeps/sh/stackinfo.h: Likewise.
25881         * sysdeps/sparc/stackinfo.h: Likewise.
25882         * sysdeps/x86_64/stackinfo.h: Likewise.
25883         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25884         PF_X for powerpc64.  Retain PF_X for powerpc32.
25886 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
25888         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25889         accurately.
25890         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25891         GETDENTS_64BIT_ALIGNED.
25893 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
25895         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25897 2010-12-10  Andreas Schwab  <schwab@redhat.com>
25899         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25900         _GNU_SOURCE.
25902         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25903         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25904         Remove __restrict.
25905         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25906         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25908 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
25910         [BZ #11655]
25911         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25912         are initialized.
25914 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
25916         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25918 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
25920         * po/it.po: Update from translation team.
25922 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25925         unused codes.
25927 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
25929         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25931 2010-11-24  Andreas Schwab  <schwab@redhat.com>
25933         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25934         specially.
25935         (gaih_getanswer_slice): Likewise.
25937 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
25939         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25941 2010-05-31  Petr Baudis  <pasky@suse.cz>
25943         [BZ #11149]
25944         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25945         silently even in the chroot mode.
25947 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
25949         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25950         last patch a bit.  Pretty printing
25952 2010-05-31  Petr Baudis <pasky@suse.cz>
25954         [BZ #10085]
25955         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25956         initialization of skip_initgroups_dyn.
25958 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
25960         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25961         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25963 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
25965         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25967 2010-11-11  Andreas Schwab  <schwab@redhat.com>
25969         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25970         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25971         (tst-fnmatch-ENV): Set MALLOC_TRACE.
25972         ($(objpfx)tst-fnmatch-mem): New rule.
25973         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25974         * posix/tst-fnmatch.c (main): Call mtrace.
25976 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
25978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25979         Support Intel processor model 6 and model 0x2c.
25981 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
25983         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25984           signed comparison.
25986 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
25988         [BZ #12205]
25989         * string/test-strncasecmp.c (check_result): New function.
25990         (do_one_test): Use it.
25991         (check1): New function.
25992         (test_main): Use it.
25993         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25994         Support strcasecmp and strncasecmp.
25996 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
25998         [BZ #12194]
25999         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26000         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26002 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26004         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26005         IFUNC support.
26006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26007         memset-x86-64.
26008         * sysdeps/x86_64/multiarch/bzero.S: New file.
26009         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26010         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26011         * sysdeps/x86_64/multiarch/memset.S: New file.
26012         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26014         Set bit_Prefer_SSE_for_memop for Intel processors.
26015         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26016         Define.
26017         (index_Prefer_SSE_for_memop): Define.
26018         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26020 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26022         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26023         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26025 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26027         [BZ #12191]
26028         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26029         (__x86_64_raw_data_cache_size_half): Likewise.
26030         (__x86_64_raw_shared_cache_size): Likewise.
26031         (__x86_64_raw_shared_cache_size_half): Likewise.
26033         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26034         (__x86_64_raw_data_cache_size_half): Likewise.
26035         (__x86_64_raw_shared_cache_size): Likewise.
26036         (__x86_64_raw_shared_cache_size_half): Likewise.
26037         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26038         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26039         and __x86_64_raw_shared_cache_size_half.  Round
26040         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26041         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26042         to multiple of 256 bytes.
26044 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26046         [BZ #12167]
26047         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26048         of inacessible symlinks.  Verify result of symlink before returning it.
26049         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26050         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26052 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26054         * math/math.h (isinf): Fix typo in comment.
26056 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26058         * po/da.po: Update from translation team.
26060 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26062         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26063         is added to the list.
26065 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26066             Ulrich Drepper  <drepper@gmail.com>
26068         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26069         the global list here.  Move code to...
26070         (_dl_add_to_namespace_list): ...here.  New function.
26071         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26072         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26073         * elf/dl-load.c (lose): Don't remove the element from the list.
26074         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26075         (_dl_map_object): Likewise.
26077 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26079         [BZ #12159]
26080         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26081         into all bytes of SSE register.
26082         Patch by Richard Li <richardpku@gmail.com>.
26084 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26086         [BZ #12140]
26087         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26088         perturbing.
26090 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26092         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26093         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26094         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26095         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26097         submachine.
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26100 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26102         * include/dlfcn.h (__RTLD_SECURE): Define.
26103         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26104         mode & __RTLD_SECURE instead.
26105         (open_path): Rename preloaded parameter to secure.
26106         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26107         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26108         * elf/dl-deps.c (openaux): Likewise.
26109         * elf/rtld.c (struct map_args): Remove is_preloaded.
26110         (map_doit): Don't use it.
26111         (dl_main): Likewise.
26112         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26113         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26115 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26117         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26118         (sysd-rules-targets): Remove duplicates.
26119         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26120         rtld-%.$o dependency.
26122 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26124         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26125         _dl_map_object do it.
26127 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26129         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26130         fast fma builtins, define the macros in the C99 standard.
26131         (FP_FAST_FMAF): Likewise.
26132         (FP_FAST_FMAL): Likewise.
26133         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26135         * bits/mathdef.h: Update copyright year.
26136         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26138 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26140         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26141         builtins, define the macros in the C99 standard.
26142         (FP_FAST_FMAF): Likewise.
26143         (FP_FAST_FMAL): Likewise.
26144         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26145         multiply/add.
26146         (FP_FAST_FMAF): Likewise.
26148 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26150         [BZ #3268]
26151         * math/libm-test.inc (fma_test): Some new testcases.
26152         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26153         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26154         y and infinite z.  Do multiplication by C already in long double.
26155         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26157         y and infinite z.  Do bitwise or of inexact bit into u.d.
26158         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26159         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26160         * sysdeps/i386/fpu/s_fma.S: Removed.
26161         * sysdeps/i386/fpu/s_fmal.S: Removed.
26163 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26165         [BZ #3268]
26166         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26167         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26168         computation is not scheduled after fetestexcept.  Fix value
26169         of minimum denormal long double.
26171 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26173         [BZ #3268]
26174         * math/libm-test.inc (fma_test): Add some more tests.
26175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26176         correctly.
26178 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26180         * scripts/data/localplt-s390-linux-gnu.data: New file.
26181         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26183 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26185         [BZ #3268]
26186         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26187         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26188         instead of dbl-64.
26189         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26190         inlines.
26191         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26193         if one of x and y is very large and the other is subnormal.
26194         * sysdeps/s390/fpu/s_fmaf.c: New file.
26195         * sysdeps/s390/fpu/s_fma.c: New file.
26196         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26197         * sysdeps/powerpc/fpu/s_fma.S: New file.
26198         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26199         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26200         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26202 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26204         [BZ #3268]
26205         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26206         fma tests.
26207         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26208         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26209         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26210         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26211         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26212         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26213         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26215 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26217         [BZ #12078]
26218         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26219         * posix/bug-regex31.input: Add test case.
26221 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26223         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26224         * posix/bug-regex31.input: New file.
26226         [BZ #12078]
26227         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26228         (parse_sub_exp): Fix last change, use postorder.
26230         * posix/bug-regex31.c: New file.
26231         * posix/Makefile: Add rules to build and run bug-regex31.
26233         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26235         [BZ #12078]
26236         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26238         [BZ #12108]
26239         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26240         to have entries in sys_siglist.
26242         [BZ #12093]
26243         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26244         be NULL.
26246 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26248         [BZ #3268]
26249         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26250         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26251         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26252         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26253         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26254         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26255         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26256         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26257         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26258         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26259         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26260         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26261         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26262         * math/ftestexcept.c (fetestexcept): Likewise.
26263         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26264         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26265         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26266         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26267         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26268         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26269         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26271 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26273         [BZ #12107]
26274         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26275         newline.
26277 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26279         * string/bug-strstr1.c: New file.
26280         * string/Makefile: Add rules to build and run bug-strstr1.
26282 2010-10-05  Eric Blake  <eblake@redhat.com>
26284         [BZ #12092]
26285         * string/str-two-way.h (two_way_long_needle): Always clear memory
26286         when skipping input due to the shift table.
26288 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26290         [BZ #12005]
26291         * malloc/mcheck.c: Handle large requests.
26293         [BZ #12077]
26294         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26295         for strncmp and strncasecmp.
26296         * string/stratcliff.c: Add tests for strcmp and strncmp.
26297         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26299 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26301         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26302         __set_fpscr.
26304 2010-09-30  Andreas Jaeger  <aj@suse.de>
26306         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26307         (CGROUP_SUPER_MAGIC): Define.
26308         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26309         Handle btrfs and cgroup file systems.
26310         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26311         Likewise.
26313 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26315         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26316         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26318 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26320         [BZ #12067]
26321         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26322         trying to locate the ELF header.
26324 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26326         [BZ #11611]
26327         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26328         Mask out sign-bit copies when constructing f_fsid.
26330 2010-09-24  Petr Baudis <pasky@suse.cz>
26332         * debug/stack_chk_fail_local.c: Add missing licence exception.
26333         * debug/warning-nop.c: Likewise.
26335 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26337         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26338         implementing getdents64 using getdents syscall, set d_type if
26339         __ASSUME_GETDENTS32_D_TYPE.
26341 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26343         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26344         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26346 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26348         [BZ #12037]
26349         * posix/unistd.h: Undo change of feature selection for ftruncate from
26350         2010-01-11.
26352 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26354         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26355         detection.
26357 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26359         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26360         fanotify_mark.
26361         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26363 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26365         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26366         variables after CHECK_SP call.
26367         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26369 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26370             Ulrich Drepper  <drepper@redhat.com>
26372         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26373         re-relocationg ld.so.
26374         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26375         _dl_init_paths call.
26376         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26377         here anymore.
26379 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26381         * resolv/res_init.c (__res_vinit): Count the default server we added.
26383 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26384             Ulrich Drepper  <drepper@redhat.com>
26386         [BZ #11968]
26387         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26388         (____longjmp_chk): Use %ebx for saving value across system call.
26389         Add unwind info.
26391 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26393         * manual/Makefile: Don't mix pattern rules with normal rules.
26395 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26397         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26398         operation.
26399         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26400         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26401         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26402         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26404         Likewise.
26406 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26408         [BZ #11979]
26409         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26410         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26412 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26414         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26415         * sysdeps/x86_64/addmul_1.S: Likewise.
26416         * sysdeps/x86_64/lshift.S: Likewise.
26417         * sysdeps/x86_64/mul_1.S: Likewise.
26418         * sysdeps/x86_64/rshift.S: Likewise.
26419         * sysdeps/x86_64/sub_n.S: Likewise.
26420         * sysdeps/x86_64/submul_1.S: Likewise.
26422 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26424         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26425         Define __sched_param instead of SCHED_* and sched_param when
26426         <bits/sched.h> is included with __need_schedparam defined.
26427         * bits/sched.h [__need_schedparam]
26428         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26429         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26430         (__defined_schedparam): Define to 1.
26431         (__sched_param): New structure, identical to sched_param.
26432         (__need_schedparam): Undefine.
26434 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26436         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26437         (epoll_create1): Declare.
26439         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26441 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26443         [BZ #7066]
26444         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26445         shifting retval into place.
26447 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26449         * nis/rpcsvc/nis.h: Update copyright notice.
26450         * nis/rpcsvc/nis.x: Likewise.
26451         * nis/rpcsvc/nis_callback.h: Likewise.
26452         * nis/rpcsvc/nis_callback.x: Likewise.
26453         * nis/rpcsvc/nis_object.x: Likewise.
26454         * nis/rpcsvc/nis_tags.h: Likewise.
26455         * nis/rpcsvc/yp.h: Likewise.
26456         * nis/rpcsvc/yp.x: Likewise.
26457         * nis/rpcsvc/ypupd.h: Likewise.
26458         * nis/yp_xdr.c: Likewise.
26459         * nis/ypupdate_xdr.c: Likewise.
26461         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26462         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26463         (pmap_getport): Use __libc_rpc_getport.
26464         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26465         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26466         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26468 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26471         fanotify_mark.
26473 2010-08-27  Roland McGrath  <roland@redhat.com>
26475         * sysdeps/i386/i686/multiarch/Makefile
26476         (CFLAGS-varshift.c): New variable.
26478 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26480         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26481         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26483         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26485         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26487 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26489         * sysdeps/x86_64/strlen.S: Unroll the loop.
26490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26491         strlen-sse2 strlen-sse2-bsf.
26492         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26493         __strlen_no_bsf if bit_Slow_BSF is set.
26494         (__strlen_sse42): Removed.
26495         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26496         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26498 2010-08-25  Roland McGrath  <roland@redhat.com>
26500         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26501         * sysdeps/x86_64/multiarch/varshift.c: New file.
26502         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26503         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26504         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26505         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26507 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26510         strlen-sse2 strlen-sse2-bsf.
26511         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26512         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26513         (__strlen_sse2): Removed.
26514         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26515         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26517         bit_Slow_BSF for Atom.
26518         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26519         (index_Slow_BSF): Define.
26520         (HAS_SLOW_BSF): Define.
26522 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26524         [BZ #10851]
26525         * resolv/res_init.c (__res_vinit): When no server address at all
26526         is given default to loopback.
26528 2010-08-24  Roland McGrath  <roland@redhat.com>
26530         * configure.in: Remove config-name.h generation.
26531         * configure: Regenerated.
26532         * config-name.in: File removed.
26533         * scripts/config-uname.sh: New file.
26534         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26535         ($(objdir)config-name.h): New target.
26537         * sunrpc/rpc_parse.h: Avoid nested comment.
26539 2010-08-24  Richard Henderson  <rth@redhat.com>
26540             Ulrich Drepper  <drepper@redhat.com>
26541             H.J. Lu  <hongjiu.lu@intel.com>
26543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26545         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26546         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26547         _mm_alignr_epi8 with _mm_loadu_si128.
26548         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26549         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26550         (__m128i_shift_right): Removed.
26551         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26552         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26553         * sysdeps/x86_64/multiarch/varshift.h: New file.
26554         * sysdeps/x86_64/multiarch/varshift.S: New file.
26556 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26558         * configure.in: Move assembler checks to before sysdep dir checking.
26560 2010-08-20  Petr Baudis  <pasky@suse.cz>
26562         * LICENSES: Sync the sunrpc license.
26564 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26566         * sunrpc/auth_des.c: Update copyright notice once again.
26567         * sunrpc/auth_none.c: Likewise.
26568         * sunrpc/auth_unix.c: Likewise.
26569         * sunrpc/authdes_prot.c: Likewise.
26570         * sunrpc/authuxprot.c: Likewise.
26571         * sunrpc/bindrsvprt.c: Likewise.
26572         * sunrpc/clnt_gen.c: Likewise.
26573         * sunrpc/clnt_perr.c: Likewise.
26574         * sunrpc/clnt_raw.c: Likewise.
26575         * sunrpc/clnt_simp.c: Likewise.
26576         * sunrpc/clnt_tcp.c: Likewise.
26577         * sunrpc/clnt_udp.c: Likewise.
26578         * sunrpc/clnt_unix.c: Likewise.
26579         * sunrpc/des_crypt.c: Likewise.
26580         * sunrpc/des_soft.c: Likewise.
26581         * sunrpc/get_myaddr.c: Likewise.
26582         * sunrpc/getrpcport.c: Likewise.
26583         * sunrpc/key_call.c: Likewise.
26584         * sunrpc/key_prot.c: Likewise.
26585         * sunrpc/openchild.c: Likewise.
26586         * sunrpc/pm_getmaps.c: Likewise.
26587         * sunrpc/pm_getport.c: Likewise.
26588         * sunrpc/pmap_clnt.c: Likewise.
26589         * sunrpc/pmap_prot.c: Likewise.
26590         * sunrpc/pmap_prot2.c: Likewise.
26591         * sunrpc/pmap_rmt.c: Likewise.
26592         * sunrpc/rpc/auth.h: Likewise.
26593         * sunrpc/rpc/auth_unix.h: Likewise.
26594         * sunrpc/rpc/clnt.h: Likewise.
26595         * sunrpc/rpc/des_crypt.h: Likewise.
26596         * sunrpc/rpc/key_prot.h: Likewise.
26597         * sunrpc/rpc/netdb.h: Likewise.
26598         * sunrpc/rpc/pmap_clnt.h: Likewise.
26599         * sunrpc/rpc/pmap_prot.h: Likewise.
26600         * sunrpc/rpc/pmap_rmt.h: Likewise.
26601         * sunrpc/rpc/rpc.h: Likewise.
26602         * sunrpc/rpc/rpc_des.h: Likewise.
26603         * sunrpc/rpc/rpc_msg.h: Likewise.
26604         * sunrpc/rpc/svc.h: Likewise.
26605         * sunrpc/rpc/svc_auth.h: Likewise.
26606         * sunrpc/rpc/types.h: Likewise.
26607         * sunrpc/rpc/xdr.h: Likewise.
26608         * sunrpc/rpc_clntout.c: Likewise.
26609         * sunrpc/rpc_cmsg.c: Likewise.
26610         * sunrpc/rpc_common.c: Likewise.
26611         * sunrpc/rpc_cout.c: Likewise.
26612         * sunrpc/rpc_dtable.c: Likewise.
26613         * sunrpc/rpc_hout.c: Likewise.
26614         * sunrpc/rpc_main.c: Likewise.
26615         * sunrpc/rpc_parse.c: Likewise.
26616         * sunrpc/rpc_parse.h: Likewise.
26617         * sunrpc/rpc_prot.c: Likewise.
26618         * sunrpc/rpc_sample.c: Likewise.
26619         * sunrpc/rpc_scan.c: Likewise.
26620         * sunrpc/rpc_scan.h: Likewise.
26621         * sunrpc/rpc_svcout.c: Likewise.
26622         * sunrpc/rpc_tblout.c: Likewise.
26623         * sunrpc/rpc_util.c: Likewise.
26624         * sunrpc/rpc_util.h: Likewise.
26625         * sunrpc/rpcinfo.c: Likewise.
26626         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26627         * sunrpc/rpcsvc/key_prot.x: Likewise.
26628         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26629         * sunrpc/rpcsvc/mount.x: Likewise.
26630         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26631         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26632         * sunrpc/rpcsvc/rex.x: Likewise.
26633         * sunrpc/rpcsvc/rstat.x: Likewise.
26634         * sunrpc/rpcsvc/rusers.x: Likewise.
26635         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26636         * sunrpc/rpcsvc/spray.x: Likewise.
26637         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26638         * sunrpc/rtime.c: Likewise.
26639         * sunrpc/svc.c: Likewise.
26640         * sunrpc/svc_auth.c: Likewise.
26641         * sunrpc/svc_authux.c: Likewise.
26642         * sunrpc/svc_raw.c: Likewise.
26643         * sunrpc/svc_run.c: Likewise.
26644         * sunrpc/svc_simple.c: Likewise.
26645         * sunrpc/svc_tcp.c: Likewise.
26646         * sunrpc/svc_udp.c: Likewise.
26647         * sunrpc/svc_unix.c: Likewise.
26648         * sunrpc/svcauth_des.c: Likewise.
26649         * sunrpc/xcrypt.c: Likewise.
26650         * sunrpc/xdr.c: Likewise.
26651         * sunrpc/xdr_array.c: Likewise.
26652         * sunrpc/xdr_float.c: Likewise.
26653         * sunrpc/xdr_mem.c: Likewise.
26654         * sunrpc/xdr_rec.c: Likewise.
26655         * sunrpc/xdr_ref.c: Likewise.
26656         * sunrpc/xdr_sizeof.c: Likewise.
26657         * sunrpc/xdr_stdio.c: Likewise.
26659         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26660         handling.
26662 2010-08-19  Andreas Schwab  <schwab@redhat.com>
26664         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26666 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
26668         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26669         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26670         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26671         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26672         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26673         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26674         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26675         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26676         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26677         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26678         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26679         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26680         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26681         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26683 2010-07-26  Anton Blanchard  <anton@samba.org>
26685         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26686         * malloc/arena.c (heap_trim): Likewise.
26688 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
26690         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26691         here.  Not...
26692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26693         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26695 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26697         * sysdeps/i386/elf/Makefile: New file.
26699 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26701         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26702         from fanotify_init.
26703         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26706 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
26708         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26709         of strncasecmp_l.
26710         * sysdeps/multiarch/strcmp.S: Likewise.
26712 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
26714         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26715         strncase_l-nonascii.
26716         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26717         Add strncase_l-ssse3.
26718         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26719         * sysdeps/x86_64/strcmp.S: Likewise.
26720         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26721         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26722         * sysdeps/x86_64/strncase.S: New file.
26723         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26724         * sysdeps/x86_64/strncase_l.S: New file.
26725         * string/Makefile (strop-tests): Add strncasecmp.
26726         * string/test-strncasecmp.c: New file.
26728         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26729         warning.
26731         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26732         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26734 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26736         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26738 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
26740         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26741         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26742         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26744 2010-05-01  Alan Modra  <amodra@gmail.com>
26746         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26747         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26748         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26749         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26750         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26751         tidying.  Don't tail-call __sigjmp_save for static lib.
26752         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26753         save location.
26754         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26755         (CALL_MCOUNT): Add eh info, and nop after bl.
26756         (TAIL_CALL_SYSCALL_ERROR): New macro.
26757         (PSEUDO_RET): Use it.
26758         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26759         Correct save location of integer regs and cr.
26760         (_dl_profile_resolve): Correct cr save location.  Delete nops
26761         after bl when SHARED.  Reduce cfi size a little by better
26762         placement of cfi directives.
26763         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26764         make a stack frame.  Instead use parm save area as a temp.
26765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26766         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
26767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26768         Don't make a stack frame for parent, use parm save area.
26769         Increase child stack frame to 112 bytes.  Don't save unused reg,
26770         and adjust reg usage.  Set up cfi on error recovery and
26771         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26773         (__makecontext): Add dummy nop after jump to exit.
26774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26775         Use correct parm save area and cr save, reduce stack frame.
26776         Correct cfi for possible PSEUDO_RET frame setup.
26777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26778         Branch to local label emitted by PSEUDO_RET rather than
26779         __syscall_error.
26781 2010-08-12  Andreas Schwab  <schwab@redhat.com>
26783         [BZ #11904]
26784         * locale/programs/locale.c (print_assignment): New function.
26785         (show_locale_vars): Use it.
26787 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
26789         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26790         field.
26791         (struct statfs64): Likewise.
26792         (_STATFS_F_FLAGS): Define.
26793         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26795         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26796         (ST_VALID): Define locally.
26797         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26798         __statvfs_getflags, use the provided value.
26799         * sysdeps/unix/sysv/linux/kernel-features.h: Define
26800         __ASSUME_STATFS_F_FLAGS.
26802         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26804         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26805         Add sys/fanotify.h.
26806         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26807         fanotify_mask for GLIBC_2.13.
26808         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26809         fanotify_init and fanotify_mark.
26810         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26811         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26813         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26814         Add prlimit.
26815         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26816         prlimit64 for GLIBC_2.13.
26817         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26818         prlimit64.
26819         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26820         syscall.
26821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26822         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26823         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26824         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
26826         add prlimit alias.
26827         * sysdeps/unix/sysv/linux/prlimit.c: New file.
26829         [BZ #11903]
26830         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26831         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26833         * nss/Makefile: Add rules to build and run tst-nss-test1.
26834         * shlib-versions: Add entry for libnss_test1.
26835         * nss/nss_test1.c: New file.
26836         * nss/tst-nss-test1.c: New file.
26838         * nss/nsswitch.c (__nss_database_custom): Define new variable.
26839         (__nss_configure_lookup): Set appropriate entry in
26840         __nss_configure_lookup to true.
26841         * nss/nsswitch.h: Define enum with indeces of databases in
26842         databases and __nss_database_custom arrays.  Declare
26843         __nss_database_custom.
26844         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26845         to avoid using nscd when custom rules are installed.
26846         * nss/getXXbyYY_r.c: Likewise.
26847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26849         * nss/nss_files/files-parse.c: Whitespace fixes.
26851 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
26853         [BZ #11883]
26854         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26855         * posix/fnmatch_loop.c: Likewise.
26857 2010-07-17  Andi Kleen  <ak@linux.intel.com>
26859         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26860         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26861         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26862         * Versions.def [GLIBC_2.13]: Add.
26864 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
26866         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26867         Also fail if tpwd after pwuid call is NULL.
26869 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26871         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26872         when converting to ms.
26874 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26876         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26877         EOPNOTSUPP errors with ENOTTY.
26878         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26879         EOPNOTSUPP errors with ENOTTY.
26881 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
26883         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26884         Add strcasecmp_l-ssse3.
26885         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26886         strcasecmp.
26887         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26888         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26889         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26891 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
26893         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26895         * string/Makefile (strop-tests): Add strcasecmp.
26896         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26897         strcasecmp_l-nonascii.
26898         (gen-as-const-headers): Add locale-defines.sym.
26899         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26900         * sysdeps/x86_64/strcasecmp.S: New file.
26901         * sysdeps/x86_64/strcasecmp_l.S: New file.
26902         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26903         * sysdeps/x86_64/locale-defines.sym: New file.
26904         * string/test-strcasecmp.c: New file.
26906         * string/test-strcasestr.c: Test both ends of the range of characters.
26907         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26909 2010-07-29  Roland McGrath  <roland@redhat.com>
26911         [BZ #11856]
26912         * manual/locale.texi (Yes-or-No Questions): Fix example code.
26914 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
26916         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26917         for ld.so.
26919 2010-07-27  Andreas Schwab  <schwab@redhat.com>
26921         * manual/memory.texi (Malloc Tunable Parameters): Document
26922         M_PERTURB.
26924 2010-07-26  Roland McGrath  <roland@redhat.com>
26926         [BZ #11840]
26927         * configure.in (-fgnu89-inline check): Set and substitute
26928         gnu89_inline, not libc_cv_gnu89_inline.
26929         * configure: Regenerated.
26930         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26932 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
26934         * string/test-strnlen.c: New file.
26935         * string/Makefile (strop-tests): Add strnlen.
26936         * string/tester.c (test_strnlen): Add a few more test cases.
26937         * string/tst-strlen.c: Better error reporting.
26939         * sysdeps/x86_64/strnlen.S: New file.
26941 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
26943         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26944         lower-latency instructions.
26946 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
26948         * string/test-strcasestr.c: New file.
26949         * string/test-strstr.c: New file.
26950         * string/Makefile (strop-tests): Add strstr and strcasestr.
26951         * string/str-two-way.h: Don't undefine MAX.
26952         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26954 2010-07-21  Andreas Schwab  <schwab@redhat.com>
26956         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26957         strcasestr-nonascii.
26958         (CFLAGS-strcasestr-nonascii.c): Define.
26959         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26960         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26961         Remove unused attribute.
26963 2010-07-20  Roland McGrath  <roland@redhat.com>
26965         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26966         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
26967         ld.so.cache was broken.  With it, there is no way to disable dsocaps
26968         like LD_HWCAP_MASK can disable hwcaps.
26970 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26972         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26974 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
26976         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26977         call in strcasestr.
26978         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26979         __strcasestr_sse42_nonascii.
26980         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26981         strcasestr-nonascii.c.
26982         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26984 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
26986         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26987         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26988         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26989         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26991 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
26993         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26994         fcntl.
26996 2010-07-06  Andreas Schwab  <schwab@redhat.com>
26998         [BZ #11577]
26999         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27000         dl_signal_cerror.
27002 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27004         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27005         _PC_PIPE_BUF using F_GETPIPE_SZ.
27007 2010-07-05  Roland McGrath  <roland@redhat.com>
27009         * manual/arith.texi (Rounding Functions): Fix rint description
27010         implicit in round description.
27012 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27014         * elf/Makefile: Fix linking for a few tests to make recent linker
27015         happy.
27017 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27019         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27020         $(common-objpfx)libc_nonshared.a.
27022 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27024         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27025         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27026         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27027         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27028         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27029         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27030         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27031         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27046         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27047         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27048         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27049         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27050         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27051         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27052         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27053         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27054         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27055         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27056         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27057         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27073 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27075         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27076         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27077         * string/memmove.c (memmove): Renamed to ...
27078         (MEMMOVE): ...this.  Default to memmove.
27079         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27080         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27081         (END_CHK): Define.
27082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27083         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27084         mempcpy-ssse3-back memmove-ssse3-back.
27085         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27086         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27087         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27088         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27089         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27090         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27091         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27092         * sysdeps/x86_64/multiarch/memmove.c: New file.
27093         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27094         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27095         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27096         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27097         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27098         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27099         Define.
27100         (index_Fast_Copy_Backward): Define.
27101         (HAS_ARCH_FEATURE): Define.
27102         (HAS_FAST_REP_STRING): Define.
27103         (HAS_FAST_COPY_BACKWARD): Define.
27105 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27107         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27108         Restore proper fallback handling.
27110 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27112         [BZ #11701]
27113         * posix/group_member.c (__group_member): Correct checking loop.
27115         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27116         OOM in getpwuid_r correctly.  Return error number when the caller
27117         should return, otherwise -1.
27118         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27119         call returning > 0 value.
27120         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27122 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27124         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27125         libc_nonshared.a from targets in modules-names.
27127 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27129         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27130         requires it.
27132 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27134         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27135         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27136         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27137         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27139 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27141         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27143 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27145         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27146         and F_GETPIPE_SZ.
27147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27148         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27151         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27152         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27154 2010-06-14  Roland McGrath  <roland@redhat.com>
27156         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27158 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27160         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27161         __REDIRECT followed by __THROW.
27162         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27163         * posix/getopt.h (getopt): Likewise.
27165 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27167         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27168         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27169         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27170         in AT_FLAGS.
27171         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27172         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27174 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27176         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27178 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27180         [BZ #11640]
27181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27182         Properly check family and model.
27184 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27186         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27188 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27190         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27192 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27194         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27195         symbol reference.
27197 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27199         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27200         symbol reference.
27202 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27204         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27205         and internal_recvmmsg.
27206         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27207         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27208         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27209         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27211         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27212         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27213         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27215 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27217         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27219 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27221         POWER7 optimizations.
27222         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27223         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27225 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27227         * version.h: Update for 2.13 development version.
27229 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27231         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27232         exceptions.  Return 0.
27234 2010-05-07  Roland McGrath  <roland@redhat.com>
27236         * elf/ldconfig.c (main): Add a const.
27238 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27240         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27241         (args_options): Add no-idn option.
27242         (ahosts_keys_int): Add idn_flags to ai_flags.
27243         (parse_option): Handle 'i' option to clear idn_flags.
27245         * malloc/malloc.c (_int_free): Possible race in the most recently
27246         added check.  Only act on the data if no current modification
27247         happened.
27249 See ChangeLog.17 for earlier changes.