Move BZ#11261 from 2.18 to 2.16 bug list.
[glibc.git] / ChangeLog
blobf7abe056d89a509b872163b4c4052ec62a4591c8
1 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
3         * manual/memory.texi (Malloc Tunable Parameters):
4         Sort parameters alphabetically. Add comments for missing entries.
6 2013-03-17  David S. Miller  <davem@davemloft.net>
8         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12         [BZ #15283]
13         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14         for arguments at most half maximum finite value.
15         * math/libm-test.inc (j0_test): Add more tests.
16         (j1_test): Likewise.
17         (y0_test): Likewise.
18         (y1_test): Likewise.
19         * sysdeps/i386/fpu/libm-test-ulps: Update.
20         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22         [BZ #14155]
23         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24         1 / x and functions P and Q for arguments above 0x1p256L.
25         (__ieee754_y0l): Likewise.
26         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27         (__ieee754_y1l): Likewise.
28         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29         (j1_test): Likewise.
30         (y0_test): Likewise.
31         (y1_test): Likewise.
33 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36         variable.
38 2013-03-15  Roland McGrath  <roland@hack.frob.com>
40         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
41         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42         zero since it's initialized to EXEC_PAGESIZE.
44         * sysdeps/unix/sysv/linux/ldsodefs.h
45         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46         * sysdeps/generic/ldsodefs.h: ... here.
48 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53         math/test-snan.c.
54         * math/test-snan.c: Renamed from
55         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56         * math/Makefile (tests): Add test-snan.
57         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58         test-powerpc-snan.
60         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62         functions.
63         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
64         __builtin_nan family of functions.
65         * math/libm-test.inc (initialize): Initialize qnan_value with
66         __builtin_nan family of functions.
67         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
68         Remove variables.
69         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
70         Remove functions.
71         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
72         storage class.  Initialize qNaN_var and sNaN_var with
73         __builtin_nan and __builtin_nans families of functions,
74         respectively.
76         * math/libm-test.inc (acosh_test): Also test with qNaN input.
77         (sqrt_test): Remove duplicate test with qNaN input.
78         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
79         (round_test, signbit_test, significand_test): Note missing +/-Inf
80         as well as qNaN tests.
82         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
83         qNaN_var.  Fix a few strings, too.
84         * math/libm-test.inc (nan_value): Rename to qnan_value.
85         * math/gen-libm-test.pl (%beautify): Adjust to that.
86         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
87         * math/test-misc.c (main): Likewise.
88         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
89         to __qnan_bytes, and __qnan_union, respectively.
90         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
91         Likewise.
92         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
93         and lqnanval, respectively.
94         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
95         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
96         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
97         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
99         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
100         * math/test-misc.c (main) [__x86_64__]: Enable test for long
101         doubles.
103         * math/test-misc.c (main): Fix copy'n'pastos.
104         * misc/tst-efgcvt.c (special): Likewise.
106         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
107         Remove declarations.
109 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
111         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
112         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
113         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
114         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
116 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
118         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
119         macro to return vdso values correctly in IFUNC implementations.
120         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
121         Optimization by using IFUNC.
123 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
124             Richard Henderson  <rth@redhat.com>
125             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
127         * Makefile.in (bench): New target.
128         * NEWS: Mention the benchmark framework.
129         * Rules (bench): Likewise.
130         (binaries-bench): Generate binaries for functions to
131         benchmark.
132         * benchtests/Makefile: New makefile for benchmark tests.
133         * benchtests/bench-skeleton.c: New skeleton file for benchmark
134         programs.
135         * benchtests/exp-inputs: New input file for EXP function.
136         * benchtests/pow-inputs: New input file for POW function.
137         * scripts/bench.pl: New script to generate source files for
138         benchmark programs.
140 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
142         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
143         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
144         computations on mantissa.  Use macros for rounding and
145         division.
146         (denorm): Likewise.
147         (__dbl_mp): Likewise.
148         (add_magnitudes): Likewise.
149         (sub_magnitudes): Likewise.
150         (__mul): Likewise.
151         (__sqr): Likewise.
152         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
153         powers of two in terms of TWOPOW macro.
154         (mp_no): Make type of mantissa as MANTISSA_T.
155         [!RADIXI]: Define RADIXI.
156         [!TWO52]: Define TWO52.
157         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
159         * manual/nptl.texi (cindex): Modify threads to pthreads.
161 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
163         * sysdeps/x86_64/preconfigure: Regenerated.
165 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
167         [BZ #14155]
168         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
169         0x1p28 and above.
170         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
171         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
172         0x1p28 and above.
173         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
174         * math/libm-test.inc (j0_test): Do not allow one spurious
175         underflow exception.
176         (y1_test): Likewise.
178 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
180         * manual/Makefile (chapters): Add nptl.
181         * manual/debug.texi (Debugging Support): Add link to Threads
182         chapter.
183         * manual/nptl.texi: New file.
185         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
187 2013-03-14  Petr Baudis  <pasky@ucw.cz>
189         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
190         for non-NULL pointer before the memory validity test. Pointed
191         out by Holger Brunck <holger.brunck@keymile.com>.
193 2013-03-13  Andreas Schwab  <schwab@suse.de>
195         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
196         instead of .os.
198 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
200         * timezone/zic.c: Update from tzcode 2013b.
202 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
204         * manual/install.texi (Configuring and compiling):
205         Mention i686 and i586.
206         * INSTALL: Regenerate.
208 2013-03-12  Roland McGrath  <roland@hack.frob.com>
210         * sysdeps/init_array/elf-init.c: New file.
211         * csu/elf-init.c
212         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
213         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
215         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
216         __gmon_start__ as global, but as static with a .preinit_array pointer.
217         * sysdeps/init_array/gmon-start.c: New file.  Use that.
218         * sysdeps/init_array/crti.S: New file, empty except for comments.
219         * sysdeps/init_array/crtn.S: Likewise.
221 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
223         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
224         definining bcopy.
225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
226         Remove Prefer_SSE_for_memop.
227         * sysdeps/x86_64/multiarch/init-arch.h: Remove
228         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
229         HAS_PREFER_SSE_FOR_MEMOP.
230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
231         memset-x86-64.
232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
233         Remove bzero, memset ifunc support.
234         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
235         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
236         * sysdeps/x86_64/multiarch/memset.S: Likewise.
237         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
239 2013-03-11  Andreas Schwab  <schwab@suse.de>
241         [BZ #15234]
242         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
243         by SHLIB_COMPAT.
244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
245         (GLIBC_2.16): Remove pthread_atfork.
247 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
249         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
250         (ptestcases.h): Likewise.
252 2013-03-08  Roland McGrath  <roland@hack.frob.com>
254         * Makeconfig ($(common-objpfx)config.status): Depend on
255         sysdeps/*/preconfigure{,.in} too.
257 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
259         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
260         (__free_hook): Use void * instead of __malloc_ptr_t.
261         (__malloc_hook): Likewise.
262         (__realloc_hook): Likewise.
263         (__memalign_hook): Likewise.
264         (__after_morecore_hook): Likewise.
265         * malloc/arena.c (save_malloc_hook): Likewise.
266         (save_free_hook): Likewise.
267         * malloc/hooks.c (malloc_hook_ini): Likewise.
268         (realloc_hook_ini): Likewise.
269         (memalign_hook_ini): Likewise.
270         * malloc/malloc.c (malloc_hook_ini): Likewise.
271         (realloc_hook_ini): Likewise.
272         (memalign_hook_ini): Likewise.
273         (__free_hook): Likewise.
274         (__malloc_hook): Likewise.
275         (__realloc_hook): Likewise.
276         (__memalign_hook): Likewise.
277         (__libc_malloc): Likewise.
278         (__libc_free): Likewise.
279         (__libc_realloc): Likewise.
280         (__libc_memalign): Likewise.
281         (__libc_valloc): Likewise.
282         (__libc_pvalloc): Likewise.
283         (__libc_calloc): Likewise.
284         (__posix_memalign): Likewise.
285         * malloc/morecore.c (__sbrk): Likewise.
286         (__default_morecore): Likewise.
288         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
290         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
291         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
292         __malloc_ptrdiff_t.
294         * malloc/malloc.h (__malloc_size_t): Remove macro.
295         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
296         __malloc_size_t.
297         (old_memalign_hook): Likewise.
298         (old_realloc_hook): Likewise.
299         (struct hdr): Likewise.
300         (flood): Likewise.
301         (mallochook): Likewise.
302         (memalignhook): Likewise.
303         (reallochook): Likewise.
304         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
305         (tr_old_realloc_hook): Likewise.
306         (tr_old_memalign_hook): Likewise.
307         (tr_mallochook): Likewise.
308         (tr_reallochook): Likewise.
309         (tr_memalignhook): Likewise.
311 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
313         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
314         default_ldbl_pack and using as default implementation.
315         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
316         implementation.
317         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
318         redundant definition.
319         (ldbl_insert_mantissa): Likewise.
320         (ldbl_canonicalize): Likewise.
321         (ldbl_nearbyint): Likewise.
322         (ldbl_pack): Rename to ldbl_pack_ppc.
323         (ldbl_unpack): Rename to ldbl_unpack_ppc.
324         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
325         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
327 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
330         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
331         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
332         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
334         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
335         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
336         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
338 2013-03-07  Andreas Jaeger  <aj@suse.de>
340         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
341         bits/mman-linux.h.
343 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
345         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
346         Include mpa.h and declare __MPEXP.
347         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
348         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
349         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
350         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
351         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
352         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
353         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
355         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
356         (__slowpow): Use long double EXPL and LOGL functions to
357         compute POW.
358         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
359         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
360         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
361         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
362         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
363         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
366         intermediate variable to calculate exponent.
367         (__sqr): Likewise.
368         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
369         Likewise.
370         (__sqr): Likewise.
372         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
373         [!NO__SQR]: Define __sqr.
374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
375         and NO__SQR.  Remove all code except __mul and __sqr.  Include
376         sysdeps/ieee754/dbl-64/mpa.c.
377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
379         [BZ #12723]
380         * posix/Makefile (tests): Add tst-pathconf.
381         * posix/tst-pathconf.c: New test case.
382         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
383         _PC_PIPE_BUF.
384         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
386 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
388         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
390 2013-03-06  Andreas Jaeger  <aj@suse.de>
392         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
393         definition via __MAP_ANONYMOUS.
395         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
396         it's not part of Linux headers.
398         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
399         (MAP_HUGE_MASK): Define.
401         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
402         Define.
403         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
404         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
405         Define.
406         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
407         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
408         Define.
409         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
410         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
411         Define.
412         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
414         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
415         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
416         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
417         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
418         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
419         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
421         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
422         Handle f2fs.
424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
425         Handle f2fs and efivarfs.
427         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
428         f2fs.
430         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
431         (EFIVARFS_MAGIC): Add.
432         (F2FS_LINK_MAX): Add.
434 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
436         * stdio-common/vfprintf.c: Replace __builtin_expect with
437         __glibc_unlikely.
439 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
441         [BZ #13550]
442         * sysdeps/generic/bp-sym.h: Remove file.
443         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
444         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
445         <bp-sym.h> and <bp-asm.h>.
446         (__longjmp): Don't use BP_SYM.
447         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
448         and <bp-asm.h>.
449         (memcpy): Don't use BP_SYM.
450         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
451         <bp-sym.h> and <bp-asm.h>.
452         (memcpy): Don't use BP_SYM.
453         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
454         <bp-asm.h>.
455         (memcpy): Don't use BP_SYM.
456         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
457         <bp-asm.h>.
458         (memset): Don't use BP_SYM.
459         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
460         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
461         (__bzero): Don't use BP_SYM.
462         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
463         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
464         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
465         <bp-sym.h> and <bp-asm.h>.
466         (memcmp): Don't use BP_SYM.  Remove comment about bounded
467         pointers.
468         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
469         <bp-sym.h> and <bp-asm.h>.
470         (memcpy): Don't use BP_SYM.
471         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
472         <bp-sym.h> and <bp-asm.h>.
473         (memset): Don't use BP_SYM.
474         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
475         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
476         (__bzero): Don't use BP_SYM.
477         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
478         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
479         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
480         <bp-sym.h> and <bp-asm.h>.
481         (strncmp): Don't use BP_SYM.  Remove comment about bounded
482         pointers.
483         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
484         <bp-sym.h> and <bp-asm.h>.
485         (memcpy): Don't use BP_SYM.
486         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
487         <bp-sym.h> and <bp-asm.h>.
488         (memset): Don't use BP_SYM.
489         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
490         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
491         (__bzero): Don't use BP_SYM.
492         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
493         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
494         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
495         <bp-sym.h> and <bp-asm.h>.
496         (__memchr): Don't use BP_SYM.
497         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
498         <bp-sym.h> and <bp-asm.h>.
499         (memcmp): Don't use BP_SYM.  Remove comment about bounded
500         pointers.
501         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
502         <bp-sym.h> and <bp-asm.h>.
503         (memcpy): Don't use BP_SYM.
504         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
505         <bp-sym.h> and <bp-asm.h>.
506         (__mempcpy): Don't use BP_SYM.
507         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
508         <bp-sym.h> and <bp-asm.h>.
509         (__memrchr): Don't use BP_SYM.
510         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
511         <bp-sym.h> and <bp-asm.h>.
512         (memset): Don't use BP_SYM.
513         (__bzero): Likewise.
514         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
515         <bp-sym.h> and <bp-asm.h>.
516         (__rawmemchr): Don't use BP_SYM.
517         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
518         <bp-sym.h> and <bp-asm.h>.
519         (__STRCMP): Don't use BP_SYM.
520         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
521         <bp-sym.h> and <bp-asm.h>.
522         (strchr): Don't use BP_SYM.
523         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
524         <bp-sym.h> and <bp-asm.h>.
525         (__strchrnul): Don't use BP_SYM.
526         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
527         <bp-sym.h> and <bp-asm.h>.
528         (strlen): Don't use BP_SYM.
529         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
530         <bp-sym.h> and <bp-asm.h>.
531         (strncmp): Don't use BP_SYM.  Remove comment about bounded
532         pointers.
533         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
534         <bp-sym.h> and <bp-asm.h>.
535         (__strnlen): Don't use BP_SYM.
536         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
537         <bp-sym.h> and <bp-asm.h>.
538         (__GI__setjmp): Don't use BP_SYM.
539         (_setjmp): Likewise.
540         (__sigsetjmp): Likewise.
541         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
542         (L(start_addresses)): Don't use BP_SYM.
543         (_start): Likewise.
544         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
545         <bp-asm.h>.
546         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
547         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
548         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
549         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
550         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
551         <bp-asm.h>.
552         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
553         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
554         about bounded pointers.
555         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
556         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
557         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
558         <bp-asm.h>.
559         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
560         about bounded pointers.  Remove GKM FIXME comments.
561         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
562         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
563         <bp-asm.h>.
564         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
565         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
566         Remove GKM FIXME comments.
567         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
568         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
569         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
570         <bp-asm.h>.
571         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
572         about bounded pointers.  Remove GKM FIXME comment.
573         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
574         and <bp-asm.h>.
575         (strncmp): Don't use BP_SYM.  Remove comment about bounded
576         pointers.
577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
578         <bp-sym.h> and <bp-asm.h>.
579         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
581         <bp-sym.h> and <bp-asm.h>.
582         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
583         comment.
585 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
587         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
588         call free(NULL).
590 2013-03-05  David S. Miller  <davem@davemloft.net>
592         * po/es.po: Update from translation team.
594 2013-03-05  Andreas Jaeger  <aj@suse.de>
596         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
597         <bits/mman-linux.h>.
598         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
599         is fine.
600         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
601         <bits/mman-linux.h> to end of file.
602         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
603         is fine.
604         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
605         <bits/mman-linux.h> to end of file.
606         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
607         is fine.
608         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
609         <bits/mman-linux.h> to end of file.
611         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
612         (MCL_CURRENT, MCL_FUTURE): Define here.
614 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
616         [BZ #15232]
617         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
618         attribute_hidden.
619         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
621 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
623         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
624         fourth parameter needed for rt_sigprocmask syscall.
625         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
626         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
627         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
628         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
629         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
630         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
632 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
634         [BZ #13550]
635         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
636         comment about bounded pointers.
637         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
638         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
640 2013-03-04  Andreas Jaeger  <aj@suse.de>
642         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
643         common definitions.
645         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
646         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
647         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
648         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
649         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
650         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
652 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
654         [BZ #15055]
655         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
656         __ieee754_sqrl instead of __sqrl.
658 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
660         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
661         * sysdeps/powerpc/fpu_control.h: ... here.
662         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
663         * sysdeps/powerpc/bits/fenvinline.h: ... here.
664         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
665         * sysdeps/powerpc/bits/mathinline.h: ... here.
667 2013-03-01  Roland McGrath  <roland@hack.frob.com>
669         * elf/dl-hwcaps.c (_dl_important_hwcaps):
670         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
671         to just [NEED_DL_SYSINFO_DSO].
672         * elf/dl-support.c: Likewise.
673         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
674         * elf/rtld.c (dl_main): Likewise.
675         * elf/setup-vdso.h (setup_vdso): Likewise.
676         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
677         * sysdeps/unix/sysv/linux/dl-sysdep.c
678         (_dl_discover_osversion): Likewise.
680 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
682         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
683         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
685 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
687         * NEWS: Mention libm performance improvements and non-x86 PI
688         futex support.
690         * csu/libc-start.c (__pthread_initialize_minimal): Change
691         function arguments.
692         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
694 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
696         [BZ #13550]
697         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
698         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
699         <bp-sym.h> and <bp-asm.h>.
700         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
701         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
702         and <bp-asm.h>.
703         (memcpy): Don't use BP_SYM.
704         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
705         <bp-asm.h>.
706         (__mpn_add_n): Don't use BP_SYM.
707         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
708         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
709         and <bp-asm.h>.
710         (__mpn_addmul_1): Don't use BP_SYM.
711         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
712         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
713         <bp-sym.h>.
714         (_setjmp): Don't use BP_SYM.
715         (__novmx_setjmp): Likewise.
716         (__GI__setjmp): Likewise.
717         (__vmx_setjmp): Likewise.
718         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
719         <bp-sym.h>.
720         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
721         (__bzero): Don't use BP_SYM.
722         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
723         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
724         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
725         <bp-sym.h> and <bp-asm.h>.
726         (memcpy): Don't use BP_SYM.
727         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
728         <bp-sym.h> and <bp-asm.h>.
729         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
730         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
731         <bp-sym.h> and <bp-asm.h>.
732         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
733         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
734         <bp-asm.h>.
735         (__mpn_lshift): Don't use BP_SYM.
736         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
737         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
738         <bp-asm.h>.
739         (memset): Don't use BP_SYM.
740         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
741         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
742         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
743         <bp-asm.h>.
744         (__mpn_mul_1): Don't use BP_SYM.
745         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
746         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
747         <bp-sym.h> and <bp-asm.h>.
748         (memcmp): Don't use BP_SYM.
749         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
750         <bp-sym.h> and <bp-asm.h>.
751         (memcpy): Don't use BP_SYM.
752         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
753         <bp-sym.h> and <bp-asm.h>.
754         (memset): Don't use BP_SYM.
755         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
756         <bp-sym.h> and <bp-asm.h>.
757         (strncmp): Don't use BP_SYM.
758         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
759         <bp-sym.h> and <bp-asm.h>.
760         (memcpy): Don't use BP_SYM.
761         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
762         <bp-sym.h> and <bp-asm.h>.
763         (memset): Don't use BP_SYM.
764         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
765         <bp-sym.h> and <bp-asm.h>.
766         (__memchr): Don't use BP_SYM.
767         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
768         <bp-sym.h> and <bp-asm.h>.
769         (memcmp): Don't use BP_SYM.
770         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
771         <bp-sym.h> and <bp-asm.h>.
772         (memcpy): Don't use BP_SYM.
773         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
774         <bp-sym.h> and <bp-asm.h>.
775         (__mempcpy): Don't use BP_SYM.
776         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
777         <bp-sym.h> and <bp-asm.h>.
778         (__memrchr): Don't use BP_SYM.
779         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
780         <bp-sym.h> and <bp-asm.h>.
781         (memset): Don't use BP_SYM.
782         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
783         <bp-sym.h> and <bp-asm.h>.
784         (__rawmemchr): Don't use BP_SYM.
785         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
786         <bp-sym.h> and <bp-asm.h>.
787         (__STRCMP): Don't use BP_SYM.
788         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
789         <bp-sym.h> and <bp-asm.h>.
790         (strchr): Don't use BP_SYM.
791         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
792         <bp-sym.h> and <bp-asm.h>.
793         (__strchrnul): Don't use BP_SYM.
794         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
795         <bp-sym.h> and <bp-asm.h>.
796         (strlen): Don't use BP_SYM.
797         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
798         <bp-sym.h> and <bp-asm.h>.
799         (strncmp): Don't use BP_SYM.
800         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
801         <bp-sym.h> and <bp-asm.h>.
802         (__strnlen): Don't use BP_SYM.
803         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
804         <bp-asm.h>.
805         (__mpn_rshift): Don't use BP_SYM.
806         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
807         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
808         <bp-sym.h> and <bp-asm.h>.
809         (__sigsetjmp): Don't use BP_SYM.
810         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
811         (L(start_addresses)): Don't use BP_SYM.
812         (_start): Likewise.
813         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
814         <bp-asm.h>.
815         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
816         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
817         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
818         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
819         <bp-asm.h>.
820         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
821         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
822         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
823         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
824         <bp-asm.h>.
825         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
826         comments.
827         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
828         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
829         <bp-asm.h>.
830         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
831         FIXME comments.
832         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
833         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
834         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
835         <bp-asm.h>.
836         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
837         comment.
838         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
839         and <bp-asm.h>.
840         (strncmp): Don't use BP_SYM,
841         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
842         <bp-asm.h>.
843         (__mpn_sub_n): Don't use BP_SYM.
844         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
845         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
846         and <bp-asm.h>.
847         (__mpn_submul_1): Don't use BP_SYM.
848         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
850         <bp-sym.h> and <bp-asm.h>.
851         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
853         <bp-sym.h> and <bp-asm.h>.
854         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
855         comment.
857 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
860         Use ZK to minimize writes to Z.
861         (sub_magnitudes): Simplify code a bit.
862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
863         Use ZK to minimize writes to Z.
864         (sub_magnitudes): Simplify code a bit.
866 2013-02-27  Roland McGrath  <roland@hack.frob.com>
868         * csu/gmon-start.c: Add special exception to license text.
870 2013-02-27  Richard Henderson  <rth@redhat.com>
872         * scripts/config.guess: Update from config.git.
873         * scripts/config.sub: Likewise.
875 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
877         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
879         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
881         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
883         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
885         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
887 2013-02-26  Roland McGrath  <roland@hack.frob.com>
889         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
890         [$(build-shared = yes].
892 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
894         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
895         (__mul): Reduce iterations for calculating mantissa.
897         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
898         MPTWO.
899         (__mpranred): Likewise.
901         [BZ #15160]
902         * malloc/memusagestat.c (main): Draw graphs for heap and stack
903         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
905 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
907         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
908         Define __attribute__.
910 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
912         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
913         unused.
914         * posix/regex_internal.h (__attribute): Remove.
915         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
916         (re_string_context_at): Likewise.
917         (bitset_not): Use __attribute__ and mark function as possibly
918         unused.
919         (bitset_merge): Likewise.
920         (bitset_mask): Likewise.
921         (re_string_char_size_at): Likewise.
922         (re_string_wchar_at): Likewise.
923         (re_string_elem_size_at): Likewise.
925 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
927         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
928         code.
929         (cc32): Likewise.
931         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
932         (__acr): Likewise.
933         (__cpy): Likewise.
934         (norm): Likewise.
935         (denorm): Likewise.
936         (__dbl_mp): Likewise.
937         (add_magnitudes): Likewise.
938         (sub_magnitudes): Likewise.
939         (__mul): Likewise.
940         (__inv): Likewise.
942         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
943         style.
945         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
946         style.
948         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
949         code.
951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
952         up changes with default code.
953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
954         Likewise.
956 2013-02-24  Allan McRae  <allan@archlinux.org>
958         * manual/socket.texi (The Internet Namespace): Order menu items
959         to match that in the file.
961         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
962         node listing of the info page menu.
964 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
966         [BZ #13550]
967         * sysdeps/i386/bp-asm.h: Remove file.
968         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
969         (PARMS): Do not use macros from bp-asm.h.
970         (S1): Likewise.
971         (S2): Likewise.
972         (SIZE): Likewise.
973         (__mpn_add_n): Do not use BP_SYM
974         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
975         "bp-asm.h".
976         (PARMS): Do not use macros from bp-asm.h.
977         (S1): Likewise.
978         (SIZE): Likewise.
979         (__mpn_addmul_1): Do not use BP_SYM
980         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
981         "bp-asm.h".
982         (PARMS): Do not use macros from bp-asm.h.
983         (SIGMSK): Likewise.
984         (_setjmp): Likewise.  Do not use BP_SYM.
985         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
986         "bp-asm.h".
987         (PARMS): Do not use macros from bp-asm.h.
988         (SIGMSK): Likewise.
989         (setjmp): Likewise.  Do not use BP_SYM.
990         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
991         "bp-asm.h".
992         (PARMS): Do not use macros from bp-asm.h.
993         (__frexp): Do not use BP_SYM.
994         (frexp): Likewise.
995         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
996         "bp-asm.h".
997         (PARMS): Do not use macros from bp-asm.h.
998         (__frexpf): Do not use BP_SYM.
999         (frexpf): Likewise.
1000         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1001         "bp-asm.h".
1002         (PARMS): Do not use macros from bp-asm.h.
1003         (__frexpl): Do not use BP_SYM.
1004         (frexpl): Likewise.
1005         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1006         "bp-asm.h".
1007         (PARMS): Do not use macros from bp-asm.h.
1008         (__remquo): Do not use BP_SYM.
1009         (remquo): Likewise.
1010         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1011         "bp-asm.h".
1012         (PARMS): Do not use macros from bp-asm.h.
1013         (__remquof): Do not use BP_SYM.
1014         (remquof): Likewise.
1015         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1016         "bp-asm.h".
1017         (PARMS): Do not use macros from bp-asm.h.
1018         (__remquol): Do not use BP_SYM.
1019         (remquol): Likewise.
1020         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1021         "bp-asm.h".
1022         (PARMS): Do not use macros from bp-asm.h.
1023         (DEST): Likewise.
1024         (SRC): Likewise.
1025         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1026         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1027         "bp-asm.h".
1028         (PARMS): Do not use macros from bp-asm.h.
1029         (strlen): Do not use BP_SYM.
1030         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1031         "bp-asm.h".
1032         (PARMS): Do not use macros from bp-asm.h.
1033         (S1): Likewise.
1034         (S2): Likewise.
1035         (SIZE): Likewise.
1036         (__mpn_add_n): Do not use BP_SYM.
1037         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1038         "bp-asm.h".
1039         (PARMS): Do not use macros from bp-asm.h.
1040         (S1): Likewise.
1041         (SIZE): Likewise.
1042         (__mpn_addmul_1): Do not use BP_SYM.
1043         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1044         weak_alias.
1045         (bzero): Likewise.
1046         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1047         "bp-asm.h".
1048         (PARMS): Do not use macros from bp-asm.h.
1049         (S): Likewise.
1050         (SIZE): Likewise.
1051         (__mpn_lshift): Do not use BP_SYM.
1052         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1053         "bp-asm.h".
1054         (PARMS): Do not use macros from bp-asm.h.
1055         (DEST): Likewise.
1056         (SRC): Likewise.
1057         (LEN): Likewise.
1058         (memcpy): Likewise.  Do not use BP_SYM.
1059         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1060         libc_hidden_def and weak_alias.
1061         (mempcpy): Do not use BP_SYM in weak_alias.
1062         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1063         "bp-asm.h".
1064         (PARMS): Do not use macros from bp-asm.h.
1065         (DEST): Likewise.
1066         (LEN): Likewise.
1067         [!BZERO_P] (CHR): Likewise.
1068         (memset): Likewise.  Do not use BP_SYM.
1069         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1070         "bp-asm.h".
1071         (PARMS): Do not use macros from bp-asm.h.
1072         (S1): Likewise.
1073         (SIZE): Likewise.
1074         (__mpn_mul_1): Do not use BP_SYM.
1075         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1076         "bp-asm.h".
1077         (PARMS): Do not use macros from bp-asm.h.
1078         (S): Likewise.
1079         (SIZE): Likewise.
1080         (__mpn_rshift): Do not use BP_SYM.
1081         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1082         "bp-asm.h".
1083         (PARMS): Do not use macros from bp-asm.h.
1084         (STR): Likewise.
1085         (CHR): Likewise.
1086         (strchr): Likewise.  Do not use BP_SYM.
1087         (index): Do not use BP_SYM in weak_alias.
1088         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1089         "bp-asm.h".
1090         (PARMS): Do not use macros from bp-asm.h.
1091         (DEST): Likewise.
1092         (SRC): Likewise.
1093         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1094         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1095         "bp-asm.h".
1096         (PARMS): Do not use macros from bp-asm.h.
1097         (strlen): Do not use BP_SYM.
1098         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1099         "bp-asm.h".
1100         (PARMS): Do not use macros from bp-asm.h.
1101         (S1): Likewise.
1102         (S2): Likewise.
1103         (SIZE): Likewise.
1104         (__mpn_sub_n): Do not use BP_SYM.
1105         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1106         "bp-asm.h".
1107         (PARMS): Do not use macros from bp-asm.h.
1108         (S1): Likewise.
1109         (SIZE): Likewise.
1110         (__mpn_submul_1): Do not use BP_SYM.
1111         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1112         "bp-asm.h".
1113         (PARMS): Do not use macros from bp-asm.h.
1114         (S1): Likewise.
1115         (S2): Likewise.
1116         (SIZE): Likewise.
1117         (__mpn_add_n): Do not use BP_SYM.
1118         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1119         weak_alias.
1120         (bzero): Likewise.
1121         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1122         "bp-asm.h".
1123         (PARMS): Do not use macros from bp-asm.h.
1124         (BLK2): Likewise.
1125         (LEN): Likewise.
1126         (memcmp): Do not use BP_SYM.
1127         (bcmp): Do not use BP_SYM in weak_alias.
1128         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1129         "bp-asm.h".
1130         (PARMS): Do not use macros from bp-asm.h.
1131         (DEST): Likewise.
1132         (SRC): Likewise.
1133         (LEN): Likewise.
1134         (memcpy): Likewise.  Do not use BP_SYM.
1135         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1136         "bp-asm.h".
1137         (PARMS): Do not use macros from bp-asm.h.
1138         (DEST): Likewise.
1139         (SRC): Likewise.
1140         (LEN): Likewise.
1141         (memmove): Likewise.  Do not use BP_SYM.
1142         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1143         "bp-asm.h".
1144         (PARMS): Do not use macros from bp-asm.h.
1145         (DEST): Likewise.
1146         (SRC): Likewise.
1147         (LEN): Likewise.
1148         (__mempcpy): Likewise.  Do not use BP_SYM.
1149         (mempcpy): Do not use BP_SYM in weak_alias.
1150         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1151         "bp-asm.h".
1152         (PARMS): Do not use macros from bp-asm.h.
1153         (DEST): Likewise.
1154         (LEN): Likewise.
1155         [!BZERO_P] (CHR): Likewise.
1156         (memset): Likewise.  Do not use BP_SYM.
1157         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1158         "bp-asm.h".
1159         (PARMS): Do not use macros from bp-asm.h.
1160         (STR2): Likewise.
1161         (strcmp): Do not use BP_SYM.
1162         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1163         "bp-asm.h".
1164         (PARMS): Do not use macros from bp-asm.h.
1165         (STR): Likewise.
1166         (DELIM): Likewise.
1167         [USE_AS_STRTOK_R] (SAVE): Likewise.
1168         (FUNCTION): Likewise.  Do not use BP_SYM.
1169         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1170         aliases.
1171         (strtok_r): Likewise.
1172         (__GI___strtok_r): Likewise.
1173         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1174         (PARMS): Do not use macros from bp-asm.h.
1175         (S): Likewise.
1176         (SIZE): Likewise.
1177         (__mpn_lshift): Do not use BP_SYM.
1178         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1179         (PARMS): Do not use macros from bp-asm.h.
1180         (STR): Likewise.
1181         (CHR): Likewise.
1182         (__memchr): Do not use BP_SYM.
1183         (memchr): Do not use BP_SYM in weak_alias.
1184         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1185         (PARMS): Do not use macros from bp-asm.h.
1186         (BLK2): Likewise.
1187         (LEN): Likewise.
1188         (memcmp): Do not use BP_SYM.
1189         (bcmp): Do not use BP_SYM in weak_alias.
1190         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1191         (PARMS): Do not use macros from bp-asm.h.
1192         (S1): Likewise.
1193         (SIZE): Likewise.
1194         (__mpn_mul_1): Do not use BP_SYM.
1195         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1196         "bp-asm.h".
1197         (PARMS): Do not use macros from bp-asm.h.
1198         (STR): Likewise.
1199         (CHR): Likewise.
1200         (__rawmemchr): Do not use BP_SYM.
1201         (rawmemchr): Do not use BP_SYM in weak_alias.
1202         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1203         (PARMS): Do not use macros from bp-asm.h.
1204         (S): Likewise.
1205         (SIZE): Likewise.
1206         (__mpn_rshift): Do not use BP_SYM.
1207         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1208         (PARMS): Do not use macros from bp-asm.h.
1209         (SIGMSK): Likewise.
1210         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1211         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1212         (_start): Do not use BP_SYM.
1213         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1214         (PARMS): Do not use macros from bp-asm.h.
1215         (DEST): Likewise.
1216         (SRC): Likewise.
1217         (__stpcpy): Likewise.  Do not use BP_SYM.
1218         (stpcpy): Do not use BP_SYM in weak_alias.
1219         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1220         "bp-asm.h".
1221         (PARMS): Do not use macros from bp-asm.h.
1222         (DEST): Likewise.
1223         (SRC): Likewise.
1224         (LEN): Likewise.
1225         (__stpncpy): Likewise.  Do not use BP_SYM.
1226         (stpncpy): Do not use BP_SYM in weak_alias.
1227         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1228         (PARMS): Do not use macros from bp-asm.h.
1229         (STR): Likewise.
1230         (CHR): Likewise.
1231         (strchr): Likewise.  Do not use BP_SYM.
1232         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1233         "bp-asm.h".
1234         (PARMS): Do not use macros from bp-asm.h.
1235         (STR): Likewise.
1236         (CHR): Likewise.
1237         (__strchrnul): Likewise.  Do not use BP_SYM.
1238         (strchrnul): Do not use BP_SYM in weak_alias.
1239         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1240         "bp-asm.h".
1241         (PARMS): Do not use macros from bp-asm.h.
1242         (STOP): Likewise.
1243         (strcspn): Do not use BP_SYM.
1244         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1245         "bp-asm.h".
1246         (PARMS): Do not use macros from bp-asm.h.
1247         (STR): Likewise.
1248         (STOP): Likewise.
1249         (strpbrk): Likewise.  Do not use BP_SYM.
1250         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1251         "bp-asm.h".
1252         (PARMS): Do not use macros from bp-asm.h.
1253         (STR): Likewise.
1254         (CHR): Likewise.
1255         (strrchr): Likewise.  Do not use BP_SYM.
1256         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1257         (PARMS): Do not use macros from bp-asm.h.
1258         (SKIP): Likewise.
1259         (strspn): Do not use BP_SYM.
1260         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1261         (PARMS): Do not use macros from bp-asm.h.
1262         (STR): Likewise.
1263         (DELIM): Likewise.
1264         (SAVE): Likewise.
1265         (FUNCTION): Likewise.  Do not use BP_SYM.
1266         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1267         aliases.
1268         (strtok_r): Likewise.
1269         (__GI___strtok_r): Likewise.
1270         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1271         (PARMS): Do not use macros from bp-asm.h.
1272         (S1): Likewise.
1273         (S2): Likewise.
1274         (SIZE): Likewise.
1275         (__mpn_sub_n): Do not use BP_SYM.
1276         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1277         "bp-asm.h".
1278         (PARMS): Do not use macros from bp-asm.h.
1279         (S1): Likewise.
1280         (SIZE): Likewise.
1281         (__mpn_submul_1): Do not use BP_SYM.
1282         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1283         <bp-sym.h>.
1284         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1285         and <bp-asm.h>.
1286         (PARMS): Do not use macros from bp-asm.h.
1287         (FLAGS): Likewise.
1288         (PTID): Likewise.
1289         (TLS): Likewise.
1290         (CTID): Likewise.
1291         (__clone): Do not use BP_SYM.
1292         (clone): Do not use BP_SYM in weak_alias.
1293         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1294         and <bp-asm.h>.
1295         (PARMS): Do not use macros from bp-asm.h.
1296         (LEN): Likewise.
1297         (__mmap64): Do not use BP_SYM.
1298         (mmap64): Do not use BP_SYM in weak_alias.
1299         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1300         <bp-sym.h> and <bp-asm.h>.
1301         (PARMS): Do not use macros from bp-asm.h.
1302         (__posix_fadvise64_l64): Do not use BP_SYM.
1303         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1304         (PARMS): Do not use macros from bp-asm.h.
1305         (NSOPS): Likewise.
1306         (semtimedop): Do not use BP_SYM.
1307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1308         and <bp-asm.h>.
1310 2013-02-21  Allan McRae  <allan@archlinux.org>
1312         * manual/message.texi (Charset conversion in gettext):
1313         Move @end statement to beginning of line.
1315 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1317         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1318         static.
1319         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1320         Likewise.
1322         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1323         (denorm): Likewise.
1324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1327 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1329         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1330         tail-call to the resolved function if pltexit isn't needed.
1332 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1335         or Y being zero as being unlikely.
1336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1337         Likewise.
1339 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1341         * manual/nss.texi (System Databases and Name Service Switch):
1342         Remove frobnicate @pxref.
1344 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1346         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1347         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1349 2013-02-20  Petr Machata  <pmachata@redhat.com>
1351         * elf/elf.h (R_ARM_TARGET1): New macro.
1352         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1353         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1354         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1355         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1356         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1357         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1358         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1359         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1360         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1361         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1362         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1363         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1364         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1365         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1366         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1367         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1368         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1369         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1370         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1371         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1372         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1373         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1374         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1375         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1376         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1377         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1378         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1379         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1380         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1381         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1382         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1383         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1384         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1385         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1386         (R_ARM_THM_GOT_BREL12): Likewise.
1387         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1388         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1389         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1390         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1391         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1392         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1393         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1394         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1395         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1397 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1399         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1400         __attribute_used__ to __attribute__ ((unused)).
1402 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1404         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1405         powerpc mpa.c.
1406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1407         comment formatting.
1408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1410 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1412         [BZ #13550]
1413         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1414         Remove macro.
1415         (ENTER): Remove both macro definitions.
1416         (LEAVE): Likewise.
1417         (CHECK_BOUNDS_LOW): Likewise.
1418         (CHECK_BOUNDS_HIGH): Likewise.
1419         (CHECK_BOUNDS_BOTH): Likewise.
1420         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1421         (RETURN_BOUNDED_POINTER): Likewise.
1422         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1423         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1424         (POP_ERRNO_LOCATION_RETURN): Likewise.
1425         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1426         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1427         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1428         macros.
1429         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1430         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1431         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1432         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1433         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1434         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1435         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1436         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1437         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1438         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1439         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1440         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1441         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1442         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1443         removed macros.
1444         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1445         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1446         macros.
1447         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1448         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1449         * sysdeps/i386/i586/memset.S (memset): Likewise.
1450         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1451         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1452         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1453         macros.
1454         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1455         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1456         Change uses of L(2) to L(out).
1457         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1458         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1459         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1460         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1461         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1462         removed macros.
1463         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1464         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1465         macros.
1466         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1467         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1468         (RETURN): Do not use macro LEAVE.
1469         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1470         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1471         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1472         * sysdeps/i386/i686/memset.S (memset): Likewise.
1473         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1474         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1475         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1476         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1477         Likewise.
1478         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1479         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1480         L(1_2) and L(1_3) into L(1).
1481         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1482         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1483         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1484         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1485         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1486         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1487         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1488         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1489         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1490         macros.
1491         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1492         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1493         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1494         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1495         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1496         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1497         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1498         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1499         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1500         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1501         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1502         * sysdeps/i386/strspn.S (strspn): Likewise.
1503         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1504         conditional code.
1505         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1506         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1507         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1508         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1509         L(1_3) into L(1_1).
1510         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1511         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1512         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1513         macros.
1514         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1516 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1518         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1519         macro.
1521 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1523         * math/atest-exp.c (exp_mpn): Remove ROUND.
1524         * math/atest-exp2.c (exp_mpn): Likewise.
1525         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1527         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1528         * stdlib/tst-tls-atexit-lib.c: Likewise.
1529         * stdlib/tst-tls-atexit.c: Likewise.
1531 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1533         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1534         and __attribute_alloc_size__.
1536 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1538         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1539         __attribute_alloc_size__.
1540         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1541         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1543 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1545         * include/programs/xmalloc.h: New file.
1546         * catgets/gencat.c: Include it.
1547         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1548         * elf/pldd.c: Likewise.
1549         * iconv/iconv_charmap.c: Likewise.
1550         * iconv/iconvconfig.c: Likewise.
1551         * iconv/strtab.c: Likewise.
1552         * locale/programs/locale.c: Likewise.
1553         * locale/programs/localedef.h: Likewise.
1554         * locale/programs/simple-hash.c: Likewise.
1555         * nscd/nscd.h: Likewise.
1556         * nss/makedb.c: Likewise.
1557         * sysdeps/generic/ldconfig.h: Likewise.
1559 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1561         * Versions.def: Add GLIBC_2.18.
1562         * include/link.h (struct link_map): New member l_tls_dtor_count.
1563         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1564         (__call_tls_dtors): Likewise.
1565         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1566         __cxa_thread_atexit_impl.
1567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1568         Likewise.
1569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1570         Likewise.
1571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1572         Likewise.
1573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1574         Likewise.
1575         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1577         Likewise.
1578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1579         Likewise.
1580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1582         Likewise.
1583         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1584         (tests): Add test case tst-tls-atexit.
1585         (modules-names): Add shared library for tst-tls-atexit.
1586         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1587         (GLIBC_PRIVATE): Add __call_tls_dtors.
1588         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1589         for libstdc++.
1590         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1591         * stdlib/tst-tls-atexit.c: New test case.
1592         * stdlib/tst-tls-atexit-lib.c: New test case.
1594         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1596         * elf/Versions (ld): Add _dl_find_dso_for_object.
1597         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1598         * elf/dl-open.c (_dl_find_dso_for_object): New function.
1599         (dl_open_worker): Use _dl_find_dso_for_object.
1600         * elf/dl-sym.c (do_sym): Likewise.
1601         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1603 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1605         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1606         Syntactic changes only.
1607         (_dl_runtime_profile): Do a tail-call to the resolved function.
1609 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
1611         [BZ #13550]
1612         * sysdeps/x86_64/bp-asm.h: Remove file.
1613         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1614         <bp-sym.h> and <bp-asm.h>.
1615         (__clone): Do not use BP_SYM.
1616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1617         <bp-sym.h> and <bp-asm.h>.
1618         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1619         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1620         "bp-asm.h".
1621         (_setjmp): Do not use BP_SYM.
1622         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1623         "bp-asm.h".
1624         (setjmp): Do not use BP_SYM.
1625         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1626         libc_hidden_def.
1627         (mempcpy): Do not use BP_SYM in weak_alias.
1628         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1629         "bp-asm.h".
1630         (strchr): Do not use BP_SYM.
1631         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1632         "bp-asm.h".
1633         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1634         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1635         (_start): Do not use BP_SYM.
1636         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1637         "bp-asm.h".
1638         (strcat): Do not use BP_SYM.
1639         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1640         "bp-asm.h".
1641         (STRCMP): Do not use BP_SYM.
1642         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1643         "bp-asm.h".
1644         (STRCPY): Do not use BP_SYM.
1645         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1646         "bp-asm.h".
1647         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1648         "bp-asm.h".
1649         (FUNCTION): Do not use BP_SYM.
1650         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1651         weak_alias.
1652         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1654 2013-02-17  Andreas Jaeger  <aj@suse.de>
1656         * time/Versions: Sort entries.
1657         * string/Versions: Likewise.
1658         * resolv/Versions: Likewise.
1659         * posix/Versions: Likewise.
1660         * iconv/Versions: Likewise.
1661         * elf/Versions: Likewise.
1662         * wcsmbs/Versions: Likewise.
1664 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1666         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1667         loop termination condition.
1669         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1670         variable to calculate EZ.
1671         (__sqr): Likewise.
1673         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1674         the lower precision input.
1676 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
1678         [BZ #13550]
1679         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1680         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1681         (run-via-rtld-prefix): Do not handle %-bp tests.
1682         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1683         (all-object-suffixes): Remove .ob.
1684         (bppfx): Remove variable.
1685         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1686         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1687         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1688         [$(build-bounded) = yes] (libtype.ob): Likewise.
1689         * Makerules (elide-routines.ob): Remove variable.
1690         (do-tests-clean): Do not handle *-bp.out.
1691         (common-mostlyclean): Do not handle *-bp and *-bp.out.
1692         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1693         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1694         (tests): Do not include $(tests-bp.out).
1695         (xtests): Do not include $(xtests-bp.out).
1696         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1697         [$(build-bounded) = yes] ($(addprefix
1698         $(objpfx),$(binaries-bounded))): Remove rule.
1699         ($(objpfx)%-bp.out): Remove rule.
1700         * config.make.in (build-bounded): Remove variable.
1701         * crypt/Makefile [$(build-bounded) = yes]
1702         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1703         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1704         append to variable.
1705         [$(build-bounded) = yes] (install-lib): Likewise.
1706         [$(build-bounded) = yes] (generated): Likewise.
1707         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1708         Remove rule.
1709         * intl/Makefile [$(build-bounded) = yes]
1710         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1711         * math/Makefile [$(build-bounded) = yes]
1712         ($(tests:%=$(objpfx)%-bp): Likewise.
1713         * misc/Makefile [$(build-bounded) = yes]
1714         ($(objpfx)tst-tsearch-bp): Likewise.
1715         * nptl/Makeconfig (bounded-thread-library): Remove variable.
1716         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1717         Remove dependency.
1718         * string/Makefile (o-objects.ob): Remove variable.
1719         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1720         (CFLAGS-.ob): Remove variable.
1721         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1722         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1723         both definitions of variable.
1724         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1725         (ASFLAGS-.ob): Remove variable.
1727 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
1729         [BZ #13550]
1730         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1731         Remove __BOUNDED_POINTERS__ from condition.
1732         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1733         * string/bits/string2.h [!__NO_STRING_INLINES &&
1734         !__BOUNDED_POINTERS__]: Likewise.
1735         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1736         Likewise.
1737         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1738         Remove conditional code.
1739         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1740         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1741         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1742         condition.
1744         [BZ #13550]
1745         * csu/libc-start.c: Do not include <bp-sym.h>.
1746         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1747         * elf/dl-open.c: Do not include <bp-sym.h>.
1748         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1749         * math/fegetenv.c: Do not include <bp-sym.h>.
1750         (fegetenv): Do not use BP_SYM in versioned symbols.
1751         * nptl/sysdeps/pthread/bits/libc-lockP.h
1752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1753         <bp-sym.h>.
1754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1755         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1757         (__pthread_mutex_destroy): Likewise.
1758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1759         (__pthread_mutex_lock): Likewise.
1760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1761         (__pthread_mutex_trylock): Likewise.
1762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1763         (__pthread_mutex_unlock): Likewise.
1764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1765         (__pthread_mutexattr_init): Likewise.
1766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1767         (__pthread_mutexattr_destroy): Likewise.
1768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1769         (__pthread_mutexattr_settype): Likewise.
1770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1771         (__pthread_rwlock_init): Likewise.
1772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1773         (__pthread_rwlock_destroy): Likewise.
1774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1775         (__pthread_rwlock_rdlock): Likewise.
1776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1777         (__pthread_rwlock_tryrdlock): Likewise.
1778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1779         (__pthread_rwlock_wrlock): Likewise.
1780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1781         (__pthread_rwlock_trywrlock): Likewise.
1782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1783         (__pthread_rwlock_unlock): Likewise.
1784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1785         (__pthread_key_create): Likewise.
1786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1787         (__pthread_setspecific): Likewise.
1788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1789         (__pthread_getspecific): Likewise.
1790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1791         Likewise.
1792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1793         (_pthread_cleanup_push_defer): Likewise.
1794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1795         (_pthread_cleanup_pop_restore): Likewise.
1796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1797         (pthread_setcancelstate): Likewise.
1798         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1799         <bp-sym.h>.
1800         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1801         (memchr): Do not use BP_SYM in weak_alias.
1802         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1803         (fegetenv): Do not use BP_SYM in versioned symbols.
1804         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1805         (fesetenv): Do not use BP_SYM in versioned symbols.
1806         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1807         (feupdateenv): Do not use BP_SYM in versioned symbols.
1808         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1809         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1810         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1811         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1812         (open64): Do not use BP_SYM in weak_alias.
1813         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1814         (fegetenv): Do not use BP_SYM in versioned symbols.
1815         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1816         (fesetenv): Do not use BP_SYM in versioned symbols.
1817         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1818         (feupdateenv): Do not use BP_SYM in versioned symbols.
1819         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1820         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1821         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1822         (feraiseexcept): Do not use BP_SYM in versioned symbols.
1823         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1824         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1825         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1826         <bp-sym.h>.
1827         (__libc_start_main): Do not use BP_SYM.
1829 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1832         redundant return line.
1833         (norm): Likewise.
1834         (denorm): Likewise.
1835         (dbl_mp): Likewise.
1836         (sub_magnitudes): Likewise.
1837         (__add): Likewise.
1838         (__sub): Likewise.
1839         (__mul): Likewise.
1840         (__inv): Likewise.
1841         (__dvd): Likewise.
1842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1843         (norm): Likewise.
1844         (denorm): Likewise.
1845         (dbl_mp): Likewise.
1846         (sub_magnitudes): Likewise.
1847         (__add): Likewise.
1848         (__sub): Likewise.
1849         (__mul): Likewise.
1850         (__inv): Likewise.
1851         (__dvd): Likewise.
1853         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1854         instead of __mul.
1855         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1856         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1857         (cc32): Likewise.
1859         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1860         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1861         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1862         of __mul for squares.
1863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1864         function
1865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1866         Likewise.
1867         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1868         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1870 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
1872         [BZ #13550]
1873         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1874         code.
1875         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1876         prototype or function definition.  Rename ubp_* variables and
1877         parameters.  Remove argv definitions conditional on
1878         [__BOUNDED_POINTERS__].
1879         * debug/backtrace.c (__backtrace): Do not use __unbounded.
1880         * elf/dl-runtime.c (_dl_fixup): Likewise.
1881         * include/set-hooks.h (RUN_HOOK): Likewise.
1882         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1883         definition.
1884         * string/strcpy.c (strcpy): Do not use __unbounded.
1885         * sysdeps/generic/frame.h (struct layout): Likewise.
1886         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1887         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1888         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1889         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1890         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1891         (__backtrace): Likewise.
1892         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1893         use __ptrvalue.
1894         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1895         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1896         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1897         Likewise.
1898         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1899         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1900         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1901         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1902         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1903         Do not use __unbounded.
1904         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1905         Rename __unboundedrlimits parameter to rlimits in prototype.
1906         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1907         Do not use __unbounded.
1908         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1909         not use __ptrvalue.
1910         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1911         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1912         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1913         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1914         __ptrvalue or __unbounded.
1915         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1916         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1917         use __unbounded.
1918         (__new_msgctl): Do not use __ptrvalue.
1919         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1920         __unbounded.
1921         (__libc_msgrcv): Do not use __ptrvalue.
1922         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1923         startup_info): Do not use __unbounded.
1924         (__libc_start_main): Likewise.  Rename ubp_* variables and
1925         parameters.  Remove argv definitions conditional on
1926         [__BOUNDED_POINTERS__].
1927         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1928         __ptrvalue.
1929         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1930         use __unbounded.
1931         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1932         or __ptrvalue.
1933         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1934         use __unbounded.
1935         (__new_shmctl): Do not use __ptrvalue.
1936         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1937         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1938         Likewise.
1939         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1941         (__libc_sigaction): Likewise.
1942         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1943         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1944         Likewise.
1945         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1947 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
1949         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1951         * string/mempcpy.c: Implement by calling memcpy.
1953 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1958         evaluation.
1960         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1961         values in the mantissa.
1963         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1964         minimize writes to Z.
1965         (sub_magnitudes): Simplify code a bit.
1967 2013-02-12  Roland McGrath  <roland@hack.frob.com>
1969         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1970         from the message.  The linker prefixes all warnings with that already.
1972 2013-02-12  Andreas Schwab  <schwab@suse.de>
1974         [BZ #15078]
1975         * posix/regexec.c (extend_buffers): Add parameter min_len.
1976         (check_matching): Pass minimum needed length.
1977         (clean_state_log_if_needed): Likewise.
1978         (get_subexp): Likewise.
1979         * posix/Makefile (tests): Add bug-regex34.
1980         (bug-regex34-ENV): Define.
1981         * posix/bug-regex34.c: New file.
1983         [BZ #11561]
1984         * posix/regcomp.c (parse_bracket_exp): When looking up collating
1985         elements compare against the byte sequence of it, not its name.
1986         * posix/Makefile (tests): Add bug-regex35.
1987         (bug-regex35-ENV): Define.
1988         * posix/bug-regex35.c: New file.
1990 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1992         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
1993         comment.
1994         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1995         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1996         (CHECK_EOL): Add undef.
1998 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2000         * bits/stdlib-bsearch.h: New file.
2001         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2002         * stdlib/stdlib.h: Likewise.
2004 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2006         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2007         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2008         declaration.
2009         * manual/search.texi (Array Search Function): Add missing const in
2010         lfind prototype.
2011         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2012         declaration to use rlim_t.
2013         (Basic Scheduling Functions): Remove erroneous const from
2014         sched_getparam prototype.  Remove erroneous * from
2015         sched_get_priority_max and sched_get_priority_min prototypes.
2016         (Resource Usage): Fix summary @comment on vtimes to refer to
2017         sys/vtimes.h rather than vtimes.h.
2018         Add missing *s in vtimes prototype.
2019         (Limits on Resources): Fix ulimit prototype to return long int.
2020         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2021         prototypes to use long int rather than double.
2022         (BSD Random): Fix initstate and setstate to use char *, not void *.
2023         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2024         prototype to make second argument 'struct aiocb64 *const[]'.
2025         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2026         (Status of AIO Operations): Remove erroneous const in aio_return and
2027         aio_return64 prototypes.
2028         (Synchronizing I/O): Fix sync prototype to return void.
2029         * manual/startup.texi (Suboptions): Remove an erroneous const in
2030         getsubopt prototype.
2031         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2032         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2033         use size_t rather than int.
2034         (Scanning All Users): Likewise for getpwent_r.
2035         (Setting Groups): Add missing const to setgroups prototype.
2036         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2037         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2038         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2039         'const void *' rather than 'const char *'.
2040         (Host Address Functions): Likewise for inet_ntop.
2041         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2042         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2043         ssize_t for return value.
2044         (Sending Data): Likewise for send, sendto, sendmsg.
2045         (Socket Option Functions): Add a missing const in setsockopt prototype.
2046         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2047         use wchar_t for the argument.
2048         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2049         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2050         take no arguments.
2051         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2052         double/float/long double for second argument.
2053         Fix return types of significand, significandf, significandl.
2054         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2055         argument in fchmod prototype.
2056         (File Owner): Use uid_t and gid_t in fchown prototype.
2057         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2058         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2059         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2060         use 'const struct dirent **' as argument types to CMP function pointer
2061         argument.
2062         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2063         (File Times): Fix summary magic @comment for struct utimbuf and utime
2064         to refer to utime.h, not time.h.
2065         * manual/string.texi (Argz Functions): Add missing const in
2066         argz_extract and argz_next prototypes.
2067         (Finding Tokens in a String): Likewise for basename.
2068         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2069         (Copying and Concatenation): Fix typo in wmemmove prototype.
2070         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2071         (Signal Stack): Remove erroneous const in sigstack prototype.
2072         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2073         prototype.
2074         (Simple Calendar Time): Likewise for stime.
2075         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2076         prototype.
2077         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2078         say sys/sysctl.h instead.
2079         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2080         and vsyslog prototypes.
2082 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2084         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2085         Remove.
2087 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2089         * misc/sys/mman.h: Fix typo in mremap comment.
2091 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2093         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2094         the '\0' terminator.
2096 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2098         [BZ #13550]
2099         * debug/segfault.c: Don't include <bp-checks.h>.
2100         * sysdeps/generic/bp-checks.h: Remove file.
2101         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2102         (__GETDENTS): Don't use CHECK_N.
2103         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2104         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2105         (__getgroups): Don't use CHECK_N.
2106         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2107         (setgroups): Don't use CHECK_N.
2108         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2109         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2110         (__libc_msgrcv): Don't use CHECK_N.
2111         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2112         (__libc_msgsnd): Don't use CHECK_N.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2114         <bp-checks.h>.
2115         (__libc_pread): Don't use CHECK_N.
2116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2117         include <bp-checks.h>.
2118         (__libc_pread64): Don't use CHECK_N.
2119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2120         include <bp-checks.h>.
2121         (__libc_pwrite): Don't use CHECK_N.
2122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2123         include <bp-checks.h>.
2124         (__libc_pwrite64): Don't use CHECK_N.
2125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2126         <bp-checks.h>.
2127         (__libc_pread): Don't use CHECK_N.
2128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2129         include <bp-checks.h>.
2130         (__libc_pread64): Don't use CHECK_N.
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2132         include <bp-checks.h>.
2133         (__libc_pwrite): Don't use CHECK_N.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2135         include <bp-checks.h>.
2136         (__libc_pwrite64): Don't use CHECK_N.
2137         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2138         (do_pread): Don't use CHECK_N.
2139         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2140         (do_pread64): Don't use CHECK_N.
2141         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2142         (do_pwrite): Don't use CHECK_N.
2143         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2144         (do_pwrite64): Don't use CHECK_N.
2145         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2146         (__libc_readv): Don't use CHECK_N.
2147         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2148         (semop): Don't use CHECK_N.
2149         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2150         <bp-checks.h>.
2151         (semtimedop): Don't use CHECK_N.
2152         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2153         (__libc_pread): Don't use CHECK_N.
2154         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2155         <bp-checks.h>.
2156         (__libc_pread64): Don't use CHECK_N.
2157         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2158         <bp-checks.h>.
2159         (__libc_pwrite): Don't use CHECK_N.
2160         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2161         <bp-checks.h>.
2162         (__libc_pwrite64): Don't use CHECK_N.
2163         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2164         <bp-checks.h>.
2165         (__libc_msgrcv): Don't use CHECK_N.
2166         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2167         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2168         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2169         (__libc_writev): Don't use CHECK_N.
2171 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2173         * string/strcpy.c: Removed unused variable.
2175         * Makeconfig (+sysdep-includes): Define with := rather than =.
2176         Use an existing include/ subdir of each sysdeps dir before it.
2178 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2180         * nscd/connection.c (register_traced_file): Comment function.
2181         [HAVE_INOTIFY] (union __inev): Define.
2182         [HAVE_INOTIFY] (inotify_check_files): New function.
2183         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2184         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2185         clear_db_cache.
2186         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2188 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2190         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2191         loaded if not already and that a failure is permanent.
2193 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2195         [BZ #15006]
2196         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2197         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2199 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2201         [BZ #13550]
2202         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2203         (CHECK_1_NULL_OK): Likewise.
2204         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2205         (__fxstat): Do not use CHECK_1.
2206         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2207         <bp-checks.h>.
2208         (___fxstat64): Do not use CHECK_1.
2209         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2210         <bp-checks.h>.
2211         (__fxstatat): Do not use CHECK_1.
2212         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2213         <bp-checks.h>.
2214         (__fxstatat64): Do not use CHECK_1.
2215         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2216         <bp-checks.h>.
2217         (__fxstat): Do not use CHECK_1.
2218         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2219         <bp-checks.h>.
2220         (__fxstatat): Do not use CHECK_1.
2221         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2222         <bp-checks.h>.
2223         (__getresgid): Do not use CHECK_1.
2224         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2225         <bp-checks.h>.
2226         (__getresuid): Do not use CHECK_1.
2227         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2228         <bp-checks.h>.
2229         (__lxstat): Do not use CHECK_1.
2230         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2231         <bp-checks.h>.
2232         (__old_msgctl): Do not use CHECK_1.
2233         (__new_msgctl): Likewise.
2234         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2235         <bp-checks.h>.
2236         (__new_setrlimit): Do not use CHECK_1.
2237         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2238         <bp-checks.h>.
2239         (__old_shmctl): Do not use CHECK_1.
2240         (__new_shmctl): Likewise.
2241         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2242         <bp-checks.h>.
2243         (__xstat): Do not use CHECK_1.
2244         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2245         (__lxstat): Do not use CHECK_1.
2246         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2247         <bp-checks.h>.
2248         (___lxstat64): Do not use CHECK_1.
2249         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2250         (__old_msgctl): Do not use CHECK_1.
2251         (__new_msgctl): Likewise.
2252         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2253         <bp-checks.h>.
2254         (__gettimeofday): Do not use CHECK_1.
2255         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2256         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2257         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2258         <bp-checks.h>.
2259         (__gettimeofday): Do not use CHECK_1.
2260         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2261         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2262         (__new_shmctl): Do not use CHECK_1.
2263         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2264         <bp-checks.h>.
2265         (do_sigtimedwait): Do not use CHECK_1.
2266         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2267         <bp-checks.h>.
2268         (do_sigwaitinfo): Do not use CHECK_1.
2269         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2270         <bp-checks.h>.
2271         (msgctl): Do not use CHECK_1.
2272         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2273         <bp-checks.h>.
2274         (shmctl): Do not use CHECK_1.
2275         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2276         (ustat): Do not use CHECK_1.
2277         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2278         <bp-checks.h>.
2279         (__fxstat): Do not use CHECK_1.
2280         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2281         <bp-checks.h>.
2282         (__fxstatat): Do not use CHECK_1.
2283         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2284         <bp-checks.h>.
2285         (__lxstat): Do not use CHECK_1.
2286         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2287         <bp-checks.h>.
2288         (__xstat): Do not use CHECK_1.
2289         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2290         (__xstat): Do not use CHECK_1.
2291         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2292         (___xstat64): Do not use CHECK_1.
2294         [BZ #13550]
2295         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2296         definitions.
2297         (CHECK_BOUNDS_HIGH): Likewise.
2298         * string/strcpy.c: Do not include <bp-checks.h>.
2299         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2301 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2303         * nscd/nscd-client.h (__nscd_drop_map_ref):
2304         Add __attribute__ ((unused)).
2305         * nis/nss-nisplus.h (niserr2nss): Likewise.
2307         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2308         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2310         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2311         Remove inline keyword.
2312         * include/rounding-mode.h (round_away): Likewise.
2313         * libio/wfileops.c (adjust_wide_data): Likewise.
2314         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2315         (__m128i_strloadu_tolower): Likewise.
2316         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2317         (__m128i_strloadu_tolower): Likewise.
2318         * time/mktime.c (ydhms_diff): Likewise.
2319         * locale/elem-hash.h (elem_hash): Likewise.
2320         * locale/setlocale.c (setdata): Likewise.
2321         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2322         (re_string_wchar_at): Likewise.
2323         (bitset_not, bitset_merge, bitset_mask): Likewise.
2324         [!(__GNUC__ > 3)] (inline): Remove macro.
2325         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2326         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2327         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2328         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2329         * string/memcmp.c (memcmp_bytes): Likewise.
2330         * locale/programs/locarchive.c (compute_hashval): Likewise.
2331         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2332         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2333         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2334         * nss/getent.c (print_rpc, print_protocols): Likewise.
2335         (print_passwd, print_group, print_aliases): Likewise.
2336         * nis/nss-nisplus.h (niserr2nss): Likewise.
2337         * nscd/connections.c (restart_p): Likewise.
2338         Change return type to bool.
2340 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2342         * Makeconfig (all-Depend-files): Add existing
2343         $(sorted-subdirs:=/Depend) files.
2344         (all-subdirs): Remove nss.
2345         * sysdeps/unix/inet/Subdirs: Add it here instead.
2346         * hesiod/Depend: New file.
2348         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2349         instead of calling alloca.
2351         * io/lseek.c (__lseek): Rename to __libc_lseek.
2352         Define __lseek as an alias.
2354         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2356 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2358         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2359         else clause and remove check for non-standard endianness.
2361 2013-02-04  David S. Miller  <davem@davemloft.net>
2363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2365 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2367         [BZ #13550]
2368         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2369         (__ubp_memchr): Remove prototype.
2370         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2371         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2372         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2373         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2374         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2375         Remove alias.
2376         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2377         (__ubp_memchr): Likewise.
2378         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2379         (__ubp_memchr): Likewise.
2380         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2381         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2382         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2383         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2384         CHECK_STRING.
2385         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2386         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2387         (__getcwd): Do not use CHECK_STRING.
2388         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2389         <bp-checks.h>.
2390         (__real_chown): Do not use CHECK_STRING.
2391         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2392         <bp-checks.h>.
2393         (fchownat): Do not use CHECK_STRING.
2394         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2395         CHECK_STRING.
2396         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2397         <bp-checks.h>.
2398         (__lchown): Do not use CHECK_STRING.
2399         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2400         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2401         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2402         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2404         include <bp-checks.h>.
2405         (truncate64): Do not use CHECK_STRING.
2406         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2407         <bp-checks.h>.
2408         (__real_chown): Do not use CHECK_STRING.
2409         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2410         <bp-checks.h>.
2411         (__lchown): Do not use CHECK_STRING.
2412         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2413         <bp-checks.h>.
2414         (__chown): Do not use CHECK_STRING.
2415         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2416         <bp-checks.h>.
2417         (truncate64): Do not use CHECK_STRING.
2418         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2419         Likewise.
2420         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2421         (__xmknod): Do not use CHECK_STRING.
2422         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2423         <bp-checks.h>.
2424         (__xmknodat): Do not use CHECK_STRING.
2425         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2426         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2428 2013-02-04  Andreas Schwab  <schwab@suse.de>
2430         [BZ #14142]
2431         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2432         * include/netdb.h: Likewise for h_errno.
2433         * elf/tst-stackguard1.c: Include <tls.h>.
2435 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2437         * elf/link.h (struct link_map): Extend the l_addr comment.
2438         * include/link.h (struct link_map): Likewise.
2440 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2442         [BZ #13550]
2443         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2444         (BOUNDED_1): Remove macro.
2445         * debug/backtrace.c: Don't include <bp-checks.h>.
2446         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2447         (__backtrace): Likewise.
2448         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2449         <bp-checks.h>.
2450         (__backtrace): Don't use BOUNDED_1.
2451         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2452         <bp-checks.h>.
2453         (__backtrace): Don't use BOUNDED_1.
2454         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2455         (__backtrace): Don't use BOUNDED_1.
2456         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2457         (shmat): Don't use BOUNDED_N.
2459 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2461         [BZ #13550]
2462         * sysdeps/generic/bp-start.h: Remove file.
2463         * csu/libc-start.c: Don't include <bp-start.h>.
2464         (LIBC_START_MAIN): Set up __environ directly instead of using
2465         INIT_ARGV_and_ENVIRON.
2466         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2467         <bp-start.h>.
2469         [BZ #13550]
2470         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2471         definitions.
2472         (CHECK_FCNTL): Likewise.
2473         (CHECK_N_PAGES): Likewise.
2475         [BZ #13550]
2476         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2477         definitions.
2478         (CHECK_SIGSET_NULL_OK): Likewise.
2479         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2480         <bp-checks.h>.
2481         (sigpending): Don't use CHECK_SIGSET.
2482         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2483         <bp-checks.h>.
2484         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2485         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2486         <bp-checks.h>.
2487         (do_sigsuspend): Don't use CHECK_SIGSET.
2488         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2489         use CHECK_SIGSET.
2490         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2491         (do_sigwait): Don't use CHECK_SIGSET.
2492         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2493         use CHECK_SIGSET.
2494         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2495         include <bp-checks.h>.
2496         (sigpending): Don't use CHECK_SIGSET.
2497         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2498         include <bp-checks.h>.
2499         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2500         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2501         <bp-checks.h>.
2502         (sigpending): Don't use CHECK_SIGSET.
2503         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2504         <bp-checks.h>.
2505         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2507         [BZ #13550]
2508         * sysdeps/generic/bp-semctl.h: Remove file.
2509         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2510         <bp-checks.h> and <bp-semctl.h>.
2511         (__old_semctl): Don't use CHECK_SEMCTL.
2512         (__new_semctl): Likewise.
2513         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2514         and <bp-semctl.h>.
2515         (__old_semctl): Don't use CHECK_SEMCTL.
2516         (__new_semctl): Likewise.
2517         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2518         <bp-checks.h> and <bp-semctl.h>.
2519         (__old_semctl): Don't use CHECK_SEMCTL.
2520         (__new_semctl): Likewise.
2521         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2522         <bp-checks.h> and <bp-semctl.h>.
2523         (semctl): Don't use CHECK_SEMCTL.
2525         [BZ #13550]
2526         * Makerules (elide-bp-thunks): Remove variable.
2527         (elide-routines.oS): Don't use $(elide-bp-thunks).
2528         (elide-routines.os): Likewise.
2529         (elide-routines.o): Likewise.
2530         (elide-routines.op): Likewise.
2531         (elide-routines.og): Likewise.
2532         (objects): Don't use $(bp-thunks).
2533         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2534         include.
2535         (common-generated): Do not add s-proto-bp.d.
2536         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2537         (int): Likewise.
2538         (typ): Likewise.
2539         Do not generate makefile rules for bounded-pointer thunks.
2540         * sysdeps/generic/bp-thunks.h: Remove file.
2541         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2542         * sysdeps/unix/s-proto-bp.S: Likewise.
2544         [BZ #15062]
2545         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2546         parts of result separately when argument is not close to line from
2547         -i to i and one part of argument is small.
2548         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2549         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2550         * math/libm-test.inc (cacos_test): Add more tests.
2551         (casin_test): Likewise.
2552         (casinh_test): Likewise.
2553         * sysdeps/i386/fpu/libm-test-ulps: Update.
2554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2556 2013-01-31  David S. Miller  <davem@davemloft.net>
2558         * po/de.po: Update from translation team.
2560 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2562         * time/tzfile.c: Include stdint.h for SIZE_MAX.
2564 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
2566         * configure.in (_AC_PROG_CC_C89): New definition.
2567         * configure: Regenerate.
2569         * configure.in (AC_PROG_CPP): New definition.
2570         * configure: Regenerate.
2572 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2574         * debug/tst-backtrace.h: New file.
2575         * debug/tst-backtrace2.c: Include tst-backtrace.h.
2576         (ret): Remove variable.
2577         (x): Likewise.
2578         (FAIL): Remove macro.
2579         (NO_INLINE): Likewise.
2580         (fn1): Use match function instead of strstr.
2581         * debug/tst-backtrace3.c: Include tst-backtrace.h.
2582         (ret): Remove variable.
2583         (x): Likewise.
2584         (FAIL): Remove macro.
2585         (NO_INLINE): Likewise.
2586         (fn): Use match function instead of strstr.
2587         * debug/tst-backtrace4.c: Include tst-backtrace.h.
2588         (ret): Remove variable.
2589         (x): Likewise.
2590         (FAIL): Remove macro.
2591         (NO_INLINE): Likewise.
2592         (handle_signal): Use match function instead of strstr.
2593         * debug/tst-backtrace5.c: Include tst-backtrace.h.
2594         (ret): Remove variable.
2595         (x): Likewise.
2596         (FAIL): Remove macro.
2597         (NO_INLINE): Likewise.
2598         (handle_signal): Use match function instead of strstr.
2600 2013-01-23  Roland McGrath  <roland@hack.frob.com>
2602         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2604 2013-01-23  David S. Miller  <davem@davemloft.net>
2606         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2607         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2608         argument of CAS if possible.
2609         * sysdeps/sparc/sparc64/bits/atomic.h
2610         (__arch_compare_and_exchange_val_32_acq): Likewise.
2611         (__arch_compare_and_exchange_val_64_acq): Likewise.
2613 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
2615         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2616         * sysdeps/posix/ulimit.c: ... this.
2617         Include <limits.h>.
2618         * sysdeps/unix/bsd/ulimit.c: Remove file.
2620 2013-01-23  Adam Conrad  <adconrad@0c3.net>
2622         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2623         (LDFLAGS-tst-array5): Likewise.
2625 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2627         [BZ #15036]
2628         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2629         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2630         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2631         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2633 2013-01-21  David S. Miller  <davem@davemloft.net>
2635         * sysdeps/sparc/backtrace.c: New file.
2636         * sysdeps/sparc/sparc32/backtrace.h: New file.
2637         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2638         * sysdeps/sparc/sparc64/backtrace.h: New file.
2639         * sysdeps/sparc/sparc64/backtrace.c: Delete.
2640         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2641         -funwind-tables.
2643 2013-01-21  Andreas Schwab  <schwab@suse.de>
2645         [BZ #15020]
2646         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2647         closed its stdout.
2649 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
2651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2652         "mpa2.h".
2653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2655 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
2656             Mark Mitchell  <mark@codesourcery.com>
2657             Tom de Vries  <tom@codesourcery.com>
2658             Paul Pluzhnikov  <ppluzhnikov@google.com>
2660         * debug/tst-backtrace2.c: New file.
2661         * debug/tst-backtrace3.c: Likewise.
2662         * debug/tst-backtrace4.c: Likewise.
2663         * debug/tst-backtrace5.c: Likewise.
2664         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2665         (CFLAGS-tst-backtrace3.c): Likewise.
2666         (CFLAGS-tst-backtrace4.c): Likewise.
2667         (CFLAGS-tst-backtrace5.c): Likewise.
2668         (LDFLAGS-tst-backtrace2): Likewise.
2669         (LDFLAGS-tst-backtrace3): Likewise.
2670         (LDFLAGS-tst-backtrace4): Likewise.
2671         (LDFLAGS-tst-backtrace5): Likewise.
2672         (tests): Add new tests tst-backtrace2, tst-backtrace3,
2673         tst-backtrace4 and tst-backtrace5.
2675 2013-01-18  Anton Blanchard  <anton@samba.org>
2676             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2678         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2679         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2680         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2681         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2683         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2684         "+r" and remove output regs list as redundant.  Add explicit inline
2685         asm to specify register of return val to work around compiler codegen
2686         bug.  Remove (int) cast on return value.  Add return type parameter to
2687         use in macro so that this macro does not truncate return value for
2688         64-bit values.
2689         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2690         pass to INTERNAL_VSYSCALL_NCS.
2691         (INLINE_VSYSCALL): Add 'long int' as return type to
2692         INTERNAL_VSYSCALL_NCS macro invocation.
2693         (INTERNAL_VSYSCALL): Add 'long int' as return type to
2694         INTERNAL_VSYSCALL_NCS macro invocation.
2695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2697 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2699         [BZ #14496]
2700         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2701         Fix application of SIMD FP exception mask.
2703         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2704         mp_no from a power of two.
2705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2706         __mpexp_twomm1.  Use __pow_mp.
2708         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2709         multiplication.
2711 2013-01-17  David S. Miller  <davem@davemloft.net>
2713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2715 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2717         [BZ #15023]
2718         * include/complex.h: Condition contents on [!_COMPLEX_H].
2719         (__kernel_casinhf): New prototype.
2720         (__kernel_casinh): Likewise.
2721         (__kernel_casinhl): Likewise.
2722         * math/Makefile (libm_calls): Add k_casinh.
2723         * math/k_casinh.c: New file.
2724         * math/k_casinhf.c: Likewise.
2725         * math/k_casinhl.c: Likewise.
2726         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2727         finite nonzero arguments.
2728         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2729         finite nonzero arguments.
2730         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2731         finite nonzero arguments.
2732         * math/s_casinh.c: Do not include <float.h>.
2733         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2734         * math/s_casinhf.c: Do not include <float.h>.
2735         (__casinhf): Move code for finite nonzero arguments to
2736         k_casinhf.c.
2737         * math/s_casinhl.c: Do not include <float.h>.
2738         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2739         redefine.
2740         (__casinhl): Move code for finite nonzero arguments to
2741         k_casinhl.c.
2742         * math/libm-test.inc (cacos_test): Add more tests.
2743         * sysdeps/i386/fpu/libm-test-ulps: Update.
2744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2746 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
2748         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2749         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2750         [!HAVE_MREMAP]: Remove [defined linux] case.
2751         * malloc/arena.c: Do not include <malloc-sysdep.h>.
2753 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2755         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2757 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
2759         * elf/elf.h (R_386_SIZE32): New relocation.
2760         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2761         R_386_SIZE32.
2762         (elf_machine_rela): Likewise.
2763         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2764         R_X86_64_SIZE64 and R_X86_64_SIZE32.
2766 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2768         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2769         (FP_FAST_FMA): Do not define.
2770         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2771         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2772         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2773         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2774         !_SOFT_FLOAT]: Likewise.
2775         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2776         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2777         value.
2778         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2779         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2780         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2781         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2782         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2783         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2784         file.
2786 2013-01-16  Andreas Schwab  <schwab@suse.de>
2788         [BZ #14327]
2789         * include/stdlib.h (__mktemp): Add declaration.
2790         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2791         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2793 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2795         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2796         definitions.
2797         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2798         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2799         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2800         definitions here.
2801         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2802         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2803         definitions.
2804         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2805         and ONE.
2806         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2807         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2808         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2809         definitions.
2810         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2811         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2812         definitions.
2813         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2815         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2817 2013-01-15  David S. Miller  <davem@davemloft.net>
2819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2820         trunc{,f} to libm-sysdep_routes.
2821         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2823         file.
2824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2826         file.
2827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2828         file.
2829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2831         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2832         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2833         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2834         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2835         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2836         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2839         nearbyint{,f} to libm-sysdep_routes.
2840         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2842         New file.
2843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2844         file.
2845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2846         New file.
2847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2848         file.
2849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2851         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2852         file.
2853         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2854         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2855         file.
2856         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2857         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2858         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2860         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2861         libc_feholdexcept and libc_fesetenv.
2863 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
2865         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2867 2013-01-14  David S. Miller  <davem@davemloft.net>
2869         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2870         (SPARC_ASM_VIS2_IFUNC): Likewise.
2871         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2873         use of 'siam' instruction.
2874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2875         Likewise.
2876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2877         Likewise.
2878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2879         Likewise.
2880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2885         file.
2886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2887         file.
2888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2889         file.
2890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2891         file.
2892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2897         new VIS2 routines.
2898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2901         Likewise.
2902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2905         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2907         routines to libm-sysdep_routines.
2908         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2911         fdim/fdimf to libm-sysdep_routines.
2912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2913         file.
2914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2916         file.
2917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2920         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2921         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2922         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2923         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2925 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2927         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2928         to optimize copies.
2930         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2935         local variable MPTWO.
2936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2937         Likewise.
2939 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2941         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2942         GLOB_NOESCAPE.
2944 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2946         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2948 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2950         * manual/pattern.texi (glob_t): Document gl_flags.
2951         (glob64_t): Likewise.
2953 2013-01-11  David S. Miller  <davem@davemloft.net>
2955         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2956         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2957         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
2958         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2959         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2960         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2961         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2962         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2963         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2964         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2965         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2966         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2967         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2969         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2970         sparc V9 rather than using V8 code.
2971         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2972         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2974         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2975         Move to...
2976         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2977         Here.
2979 2013-01-11  Roland McGrath  <roland@hack.frob.com>
2981         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2982         not in the main loop.
2983         * configure: Regenerated.
2985 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
2987         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2988         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2989         to just #else.
2990         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
2991         [!__GLIBC_HAVE_LONG_LONG] case.
2992         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2993         condition to just #else.
2994         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2995         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2996         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2997         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2998         unconditional.
2999         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3000         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3001         #elif condition to just #else.
3002         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3003         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3004         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3005         #elif condition to just #else.
3007 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3009         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3010         (EF_MIPS_ARCH_64): Fix value.
3011         (EF_MIPS_ARCH_32R2): New.
3012         (EF_MIPS_ARCH_64R2): New.
3014 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3016         * Makeconfig (+link-pie-before-libc): New.
3017         (+link-pie-after-libc): Likewise.
3018         (+link-pie-tests): Likewise.
3019         (+link-pie): Rewritten.
3020         (link-before-libc): Remove $(config-LDFLAGS).
3021         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3022         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3023         (config-LDFLAGS): Renamed to ...
3024         (rtld-LDFLAGS): This.
3025         (rtld-tests-LDFLAGS): New macro.
3026         (link-libc-rpath-link): Likewise.
3027         (link-libc-tests-rpath-link): Likewise.
3028         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3029         (link-libc): Prepand $(link-libc-rpath-link).
3030         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3031         (test-program-prefix): New macro.
3032         (test-via-rtld-prefix): Likewise.
3033         (test-program-cmd): Likewise.
3034         (host-test-program-cmd): Likewise.
3035         * Makefile ($(common-objpfx)testrun.sh): Replace
3036         $(run-program-prefix) with $(test-program-prefix).
3037         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3038         $(rtld-LDFLAGS).
3039         ($(common-objpfx)shlib.lds): Likewise.
3040         (build-module-helper): Likewise.
3041         ($(common-objpfx)format.lds): Likewise.
3042         * Rules (binaries-pie-tests): New.
3043         (binaries-pie-notests): Likewise.
3044         (binaries-pie): Rewritten.
3045         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3046         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3047         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3048         (make-test-out): Replace $(host-built-program-cmd) with
3049         $(host-test-program-cmd).
3050         * config.make.in (build-hardcoded-path-in-tests): New variable.
3051         * configure.in (--enable-hardcoded-path-in-tests): New configure
3052         option.
3053         (hardcoded_path_in_tests): New AC_SUBST.
3054         * configure: Regenerated.
3055         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3056         $(built-program-cmd) with $(test-program-cmd).
3057         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3058         (test_program_cmd): This.
3059         * elf/Makefile ($(objpfx)order.out): Run test with
3060         $(test-program-prefix).
3061         ($(objpfx)order2.out): Likewise.
3062         ($(objpfx)tst-initorder.out): Likewise.
3063         ($(objpfx)tst-initorder2.out): Likewise.
3064         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3065         $(test-program-cmd).
3066         ($(objpfx)tst-array1-static.out): Likewise.
3067         ($(objpfx)tst-array2.out): Likewise.
3068         ($(objpfx)tst-array3.out): Likewise.
3069         ($(objpfx)tst-array4.out): Likewise.
3070         ($(objpfx)tst-array5.out): Likewise.
3071         ($(objpfx)tst-array5-static.out): Likewise.
3072         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3073         $(test-program-cmd).
3074         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3075         $(run-program-prefix) with $(test-program-prefix).
3076         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3077         (test_program_prefix): This.
3078         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3079         $(run-program-prefix) with $(test-program-prefix).
3080         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3081         (test_program_prefix): This.
3082         * iconvdata/tst-tables.sh: Likewise.
3083         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3084         $(run-program-prefix) with $(test-program-prefix).
3085         ($(objpfx)tst-translit.out): Likewise.
3086         ($(objpfx)tst-gettext2.out): Likewise.
3087         ($(objpfx)tst-gettext4.out): Likewise.
3088         ($(objpfx)tst-gettext6.out): Likewise.
3089         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3090         (test_program_prefix): This.
3091         * intl/tst-gettext2.sh: Likewise.
3092         * intl/tst-gettext4.sh  Likewise.
3093         * intl/tst-gettext6.sh: Likewise.
3094         * intl/tst-translit.sh: Likewise.
3095         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3096         with $(test-program-cmd).
3097         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3098         $(run-program-prefix) with $(test-program-prefix).
3099         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3100         (test_program_prefix): This.
3101         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3102         $(run-program-prefix) with $(test-program-prefix).
3103         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3104         (test_program_prefix): This.
3105         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3106         * posix/Makefile ($(objpfx)globtest.out): Replace
3107         $(run-via-rtld-prefix) and $(test-wrapper) with
3108         $(test-program-prefix) and $(test-via-rtld-prefix).
3109         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3110         $(test-program-prefix).
3111         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3112         $(host-test-program-cmd).
3113         (tst-spawn-ARGS): Likewise.
3114         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3115         $(test-program-prefix).
3116         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3117         (test_via_rtld_prefix): This.
3118         (test_wrapper): Renamed to ...
3119         (test_program_prefix): This.
3120         (run_program_prefix): Replaced by test_program_prefix.
3121         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3122         (test_program_prefix): This.
3123         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3124         with $(host-test-program-cmd).
3125         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3126         $(run-program-prefix) with $(test-program-prefix).
3127         ($(objpfx)tst-printf.out): Likewise.
3128         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3129         $(test-program-cmd).
3130         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3131         (test_program_prefix): This.
3132         * stdio-common/tst-unbputc.sh: Likewise.
3133         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3134         $(run-program-prefix) with $(test-program-prefix).
3135         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3136         (test_program_prefix): This.
3137         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3138         $(built-program-cmd) with $(test-program-cmd).
3140 2013-01-11  Andreas Jaeger  <aj@suse.de>
3142         [BZ #15003]
3143         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3144         value. Sync with Linux 3.7.
3146 2013-01-10  David S. Miller  <davem@davemloft.net>
3148         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3149         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3150         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3152 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3154         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3155         never set.
3156         * configure: Regenerated.
3158 2013-01-10  David S. Miller  <davem@davemloft.net>
3160         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3161         sparc V9 rather than using V8 code.
3162         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3163         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3165 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3167         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3168         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3169         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3170         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3171         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3172         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3173         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3174         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3175         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3176         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3177         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3178         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3179         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3180         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3181         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3182         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3183         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3184         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3185         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3186         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3187         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3188         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3189         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3190         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3191         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3192         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3193         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3195 2013-01-10  David S. Miller  <davem@davemloft.net>
3197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3199 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3201         * posix/Makefile (tests-static): New variable.
3202         (tests): Add $(tests-static).
3203         (tst-exec-static-ARGS): New variable.
3204         (tst-spawn-static-ARGS): Likewise.
3205         * posix/tst-exec-static.c: New file.
3206         * posix/tst-spawn-static.c: Likewise.
3207         * posix/tst-exec.c: Support run directly.
3208         * posix/tst-spawn.c: Likewise.
3210 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3212         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3213         long.
3214         * math/bits/mathcalls.h (llrint): Likewise.
3215         (llround): Likewise.
3216         * stdlib/stdlib.h (struct drand48_data): Likewise.
3217         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3218         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3219         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3220         Likewise.
3221         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3222         Likewise.
3223         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3224         (elf_greg_t): Likewise.
3225         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3226         (__jmp_buf): Likewise.
3227         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3228         definitions.
3229         (llrint): Likewise, for all definitions.
3230         (llrintl): Likewise.
3232         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3233         Remove [__GNUC__] condition.
3234         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3235         condition to just [__USE_ISOC99].
3236         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3238 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3240         [BZ #14200]
3241         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3242         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3243         defined.
3244         (_POSIX_V6_ILP32_OFF32): Likewise.
3245         (_XBS5_ILP32_OFF32): Likewise.
3246         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3247         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3249 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3251         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3253         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3254         doubles __mpexp_twomm1.  Adjust usage.
3255         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3256         Remove.
3258 2013-01-10  Andreas Schwab  <schwab@suse.de>
3260         [BZ #14964]
3261         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3262         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3264 2013-01-09  David S. Miller  <davem@davemloft.net>
3266         [BZ #15003]
3267         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3268         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3269         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3270         TCP_FASTOPEN): Define.
3271         (tcp_repair_opt): New structure.
3272         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3273         enum values.
3274         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3275         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3276         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3277         (tcp_cookie_transactions): New structure.
3279 2013-01-09  Anton Blanchard  <anton@samba.org>
3281         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3282         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3283         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3284         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3286 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3288         * include/features.h (__USE_ANSI): Remove.
3290 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3292         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3294         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3296 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3298         * sysdeps/s390/fpu/libm-test-ulps: Update.
3300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3302         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3303         (__acr): Likewise.
3304         (__cpy): Likewise.
3305         (norm): Likewise.
3306         (denorm): Likewise.
3307         (__mp_dbl): Likewise.
3308         (__dbl_mp): Likewise.
3309         (add_magnitudes): Likewise.
3310         (sub_magnitudes): Likewise.
3311         (__add): Likewise.
3312         (__sub): Likewise.
3313         (__mul): Likewise.
3314         (__inv): Likewise.
3315         (__dvd): Likewise.
3316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3317         (__acr): Likewise.
3318         (__cpy): Likewise.
3319         (norm): Likewise.
3320         (denorm): Likewise.
3321         (__mp_dbl): Likewise.
3322         (__dbl_mp): Likewise.
3323         (add_magnitudes): Likewise.
3324         (sub_magnitudes): Likewise.
3325         (__add): Likewise.
3326         (__sub): Likewise.
3327         (__mul): Likewise.
3328         (__inv): Likewise.
3329         (__dvd): Likewise.
3330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3331         (__acr): Likewise.
3332         (__cpy): Likewise.
3333         (norm): Likewise.
3334         (denorm): Likewise.
3335         (__mp_dbl): Likewise.
3336         (__dbl_mp): Likewise.
3337         (add_magnitudes): Likewise.
3338         (sub_magnitudes): Likewise.
3339         (__add): Likewise.
3340         (__sub): Likewise.
3341         (__mul): Likewise.
3342         (__inv): Likewise.
3343         (__dvd): Likewise.
3345 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3347         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3348         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3349         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3350         2 && __USE_EXTERN_INLINES]: Likewise.
3352 2013-01-08  Andreas Jaeger  <aj@suse.de>
3354         [BZ# 14985]
3355         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3356         Remove.
3357         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3358         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3360 2013-01-07  Anton Blanchard  <anton@samba.org>
3362         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3363         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3364         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3365         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3366         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3367         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3368         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3369         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3371         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3372         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3373         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3374         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3375         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3376         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3377         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3378         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3379         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3380         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3381         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3382         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3383         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3385         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3386         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3387         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3388         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3389         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3390         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3391         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3392         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3394         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3395         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3396         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3397         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3399         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3400         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3401         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3402         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3403         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3404         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3406 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3408         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3409         (__MALLOC_PMT): Likewise.
3410         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3411         [__GNUC__], only on [_LIBC].
3412         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3413         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3414         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3415         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3416         forward declaration.
3417         (realloc_hook_ini): Likewise.
3418         (memalign_hook_ini): Likewise.
3419         (__libc_memalign): Do not use __MALLOC_PMT in variable
3420         declaration.
3421         (__libc_valloc): Likewise.
3422         (__libc_pvalloc): Likewise.
3423         (__libc_calloc): Likewise.
3424         (__posix_memalign): Likewise.
3426         [BZ #14996]
3427         * math/s_casinh.c: Include <float.h>.
3428         (__casinh): Do not do computation with squaring and square root
3429         for large arguments.
3430         * math/s_casinhf.c: Include <float.h>.
3431         (__casinhf): Do not do computation with squaring and square root
3432         for large arguments.
3433         * math/s_casinhl.c: Include <float.h>.
3434         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3435         (__casinhl): Do not do computation with squaring and square root
3436         for large arguments.
3437         * math/libm-test.inc (casin_test): Add more tests.
3438         (casinh_test): Likewise.
3439         * sysdeps/i386/fpu/libm-test-ulps: Update.
3440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3444         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3445         (__x86_64_raw_data_cache_size): Likewise.
3446         (__x86_64_data_cache_size_half): Likewise.
3447         (__x86_64_raw_data_cache_size_half): Likewise.
3448         (__x86_64_shared_cache_size): Likewise.
3449         (__x86_64_raw_shared_cache_size): Likewise.
3450         (__x86_64_shared_cache_size_half): Likewise.
3451         (__x86_64_raw_shared_cache_size_half): Likewise.
3452         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3453         to ...
3454         (__x86_data_cache_size): This.
3455         (__x86_64_raw_data_cache_size): Renamed to ...
3456         (__x86_raw_data_cache_size): This.
3457         (__x86_64_data_cache_size_half): Renamed to ...
3458         (__x86_data_cache_size_half): This.
3459         (__x86_64_raw_data_cache_size_half): Renamed to ...
3460         (__x86_raw_data_cache_size_half): This.
3461         (__x86_64_shared_cache_size): Renamed to ...
3462         (__x86_shared_cache_size): This.
3463         (__x86_64_raw_shared_cache_size): Renamed to ...
3464         (__x86_raw_shared_cache_size): This.
3465         (__x86_64_shared_cache_size_half): Renamed to ...
3466         (__x86_shared_cache_size_half): This.
3467         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3468         (__x86_raw_shared_cache_size_half): This.
3469         * sysdeps/x86_64/memcpy.S: Updated.
3470         * sysdeps/x86_64/memset.S: Likewise.
3471         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3472         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3473         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3475 2013-01-04  David S. Miller  <davem@davemloft.net>
3477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3479 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3481         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3482         1 to avoid redefinition warning.
3483         (__USE_GNU): Don't define.
3484         (init_signaling_nan): Protoize.
3486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3488 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3490         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3492         (__cpymn): Likewise.
3493         (norm): Remove commented code.
3494         (denorm): Likewise.
3495         (__mp_dbl): Likewise.
3496         (__inv): Likewise.
3497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3498         (__cpymn): Likewise.
3499         (norm): Remove commented code.
3500         (denorm): Likewise.
3501         (__mp_dbl): Likewise.
3502         (__inv): Likewise.
3504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3505         mp_no value for 1.0 and 2.0.
3506         (norm): Use RADIXI instead of radixi.d.
3507         (denorm): Likewise.
3508         (__mul): Use 0.0 instead of zero.d.
3509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3510         mp_no value for 1.0 and 2.0.
3511         (norm): Use RADIXI instead of radixi.d.
3512         (denorm): Likewise.
3513         (__mul): Use 0.0 instead of zero.d.
3515 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3517         [BZ #14994]
3518         * math/s_casinh.c (__casinh): Reduce finite argument to first
3519         quadrant then set signs of results at the end.
3520         * math/s_casinhf.c (__casinhf): Likewise.
3521         * math/s_casinhl.c (__casinhl): Likewise.
3522         * math/libm-test.inc (casin_test): Add more tests.
3523         (casinh_test): Likewise.
3524         * sysdeps/i386/fpu/libm-test-ulps: Update.
3525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3527 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3529         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3531         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3533         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3534         declarations.
3535         (denorm): Likewise.
3536         (__mp_dbl): Likewise.
3537         (__inv): Likewise.
3539         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3540         and adjust the header comment.
3542         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3543         variable name from declaration.
3545 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3548         Initialize COMMON_CPUID_INDEX_7 element.
3549         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3550         (CPUID_RTM): Likewise.
3551         (HAS_RTM): Likewise.
3552         (COMMON_CPUID_INDEX_7): New enum.
3554 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
3556         [BZ #14981]
3557         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3558         size is zero, record memory as freed.
3560 2013-01-03  Andreas Jaeger  <aj@suse.de>
3562         * po/ia.po: Add new Interlingua translation.
3564 2012-01-03  Allan McRae  <allan@archlinux.org>
3566         * locale/programs/localedef.c: Fix description of '--posix' flag.
3568 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
3570         * NEWS: Update dates in second copyright notice.
3571         * README: Update copyright dates in example.
3572         * manual/libc.texinfo: Update copyright dates.
3573         * scripts/test-installation.pl: Update copyright date in --version
3574         output.
3576         * hurd/ctty-input.c: Fix copyright notice formatting.
3577         * hurd/ctty-output.c: Likewise.
3578         * hurd/dtable.c: Likewise.
3579         * hurd/hurd-raise.c: Likewise.
3580         * hurd/hurdprio.c: Likewise.
3581         * hurd/msgportdemux.c: Likewise.
3582         * misc/sys/file.h: Likewise.
3583         * misc/sys/ioctl.h: Likewise.
3584         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3585         * sysdeps/mach/hurd/chdir.c: Likewise.
3586         * sysdeps/mach/hurd/fchdir.c: Likewise.
3587         * sysdeps/mach/hurd/rename.c: Likewise.
3588         * sysdeps/mach/hurd/rmdir.c: Likewise.
3589         * sysdeps/mach/hurd/seekdir.c: Likewise.
3590         * sysdeps/mach/hurd/setsid.c: Likewise.
3591         * sysdeps/posix/wait3.c: Likewise.
3593         * All files with FSF copyright notices: Update copyright dates
3594         using scripts/update-copyrights.
3595         * intl/plural.c: Regenerated.
3596         * locale/programs/charmap-kw.h: Likewise.
3597         * locale/programs/locfile-kw.h: Likewise.
3599 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3601         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3602         four values.
3604         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3605         calculation loop and add branch prediction.
3607         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3608         check access beyond bounds of m1np.
3610         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3611         MPTWO.
3612         (__inv): Remove local variable MPTWO to use the global
3613         constant.
3614         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3616         variable MPTWO.
3617         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3618         MP3HALFS static const.
3620 2013-01-01  David S. Miller  <davem@davemloft.net>
3622         * po/ca.po: Update from translation team.
3624 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
3626         * scripts/update-copyrights: New file.
3627         * Makeconfig: Reformat copyright notice.
3628         * ctype/ctype.h: Likewise.
3629         * debug/swprintf_chk.c: Likewise.
3630         * elf/dl-cache.c: Likewise.
3631         * elf/dl-debug.c: Likewise.
3632         * elf/dl-object.c: Likewise.
3633         * grp/initgroups.c: Likewise.
3634         * hurd/Makefile: Likewise.
3635         * hurd/hurd/signal.h: Likewise.
3636         * hurd/hurdfault.c: Likewise.
3637         * hurd/hurdioctl.c: Likewise.
3638         * hurd/hurdlookup.c: Likewise.
3639         * hurd/intr-msg.c: Likewise.
3640         * iconv/gconv_open.c: Likewise.
3641         * libio/swprintf.c: Likewise.
3642         * locale/lc-ctype.c: Likewise.
3643         * locale/nl_langinfo.c: Likewise.
3644         * mach/Machrules: Likewise.
3645         * mach/Makefile: Likewise.
3646         * malloc/obstack.h: Likewise.
3647         * manual/Makefile: Likewise.
3648         * manual/tsort.awk: Likewise.
3649         * misc/bits/stab.def: Likewise.
3650         * nis/nis_print_group_entry.c: Likewise.
3651         * nis/nis_table.c: Likewise.
3652         * nis/nss_compat/compat-pwd.c: Likewise.
3653         * nis/nss_compat/compat-spwd.c: Likewise.
3654         * po/Makefile: Likewise.
3655         * posix/fnmatch.c: Likewise.
3656         * posix/regex.h: Likewise.
3657         * resolv/Makefile: Likewise.
3658         * resolv/nss_dns/dns-network.c: Likewise.
3659         * resolv/res_hconf.c: Likewise.
3660         * scripts/gen-sorted.awk: Likewise.
3661         * soft-fp/soft-fp.h: Likewise.
3662         * stdio-common/printf.h: Likewise.
3663         * stdlib/monetary.h: Likewise.
3664         * stdlib/random.c: Likewise.
3665         * stdlib/random_r.c: Likewise.
3666         * sysdeps/generic/Makefile: Likewise.
3667         * sysdeps/gnu/Makefile: Likewise.
3668         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3670         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3671         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3672         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3674         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3675         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3676         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3677         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3678         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3679         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3680         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3681         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3682         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3683         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3684         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3686         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3687         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3688         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3689         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3690         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3691         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3692         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3693         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3694         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3695         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3696         * sysdeps/mach/hurd/errnos.awk: Likewise.
3697         * sysdeps/mach/hurd/fork.c: Likewise.
3698         * sysdeps/mach/hurd/getcwd.c: Likewise.
3699         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3700         * sysdeps/mach/hurd/mmap.c: Likewise.
3701         * sysdeps/mach/hurd/utimes.c: Likewise.
3702         * sysdeps/mach/hurd/xmknod.c: Likewise.
3703         * sysdeps/posix/profil.c: Likewise.
3704         * sysdeps/posix/readdir_r.c: Likewise.
3705         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3706         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3707         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3708         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3710         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3711         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3712         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3714         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3715         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3716         * sysdeps/pthread/lio_listio.c: Likewise.
3717         * sysdeps/sparc/dl-procinfo.h: Likewise.
3718         * sysdeps/unix/i386/sysdep.S: Likewise.
3719         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3720         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3721         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3722         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3724         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3725         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3726         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3727         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3728         * sysdeps/wordsize-32/divdi3.c: Likewise.
3729         * time/sys/time.h: Likewise.
3730         * wcsmbs/Makefile: Likewise.
3732 2013-01-01  David S. Miller  <davem@davemloft.net>
3734         * po/fr.po: Update from translation team.
3736         * catgets/gencat.c: Update copyright year.
3737         * csu/version.c: Likewise.
3738         * debug/catchsegv.sh: Likewise.
3739         * debug/pcprofiledump.c: Likewise.
3740         * debug/xtrace.sh: Likewise.
3741         * elf/ldconfig.c: Likewise.
3742         * elf/ldd.bash.in: Likewise.
3743         * elf/pldd.c: Likewise.
3744         * elf/sotruss.ksh: Likewise.
3745         * elf/sprof.c: Likewise.
3746         * iconv/iconv_prog.c: Likewise.
3747         * iconv/iconvconfig.c: Likewise.
3748         * locale/programs/locale.c: Likewise.
3749         * locale/programs/localedef.c: Likewise.
3750         * login/programs/pt_chown.c: Likewise.
3751         * malloc/memusage.sh: Likewise.
3752         * malloc/memusagestat.c: Likewise.
3753         * malloc/mtrace.pl: Likewise.
3754         * nscd/nscd.c: Likewise.
3755         * nss/getent.c: Likewise.
3756         * nss/makedb.c: Likewise.
3757         * posix/getconf.c: Likewise.
3759 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3761         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3762         numbers.
3764 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
3766         * math/bits/mathcalls.h (modf): Use __nonnull.
3768 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3771         (split): Use macro CN instead of the bare value.
3772         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3773         could be used.
3774         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3775         instead of the bare value.
3776         (power1): Likewise.
3778 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3780         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3781         __ATAN_TWOM.
3782         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3784         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3785         their values.
3786         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3787         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3788         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3789         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3791 2012-12-28  Andreas Jaeger  <aj@suse.de>
3793         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
3794         values are from Linux 3.7.
3796         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3797         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
3799 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3801         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3802         TRUE case.
3804         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3805         (norm): Likewise.
3806         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3807         variables with preprocessor constants.
3808         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3809         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3810         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3812 2012-12-27  Bruno Haible  <bruno@clisp.org>
3814         [BZ #14317]
3815         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3816         only if needed.
3818 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3821         and use variable directly.
3822         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3824         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3825         MPONE.
3826         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3827         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3828         variable MPONE.
3829         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3830         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3831         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3832         include directive.  Remove local variable MPONE.
3833         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3834         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3835         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3837 2012-12-25  David S. Miller  <davem@davemloft.net>
3839         * version.h (RELEASE): Set to "development".
3840         (VERSION): Set to "2.17.90".
3841         * NEWS: Add 2.18 section.
3843 2012-12-21  David S. Miller  <davem@davemloft.net>
3845         * po/hr.po: Update from translation team.
3847 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3849         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3851 2012-12-19  Steve Ellcey  <sellcey@mips.com>
3853         * NEWS:  Mention new memcpy for MIPS.
3855 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3857         * manual/contrib.texi (Contributors): Spelling correction.
3859 2012-12-15  David S. Miller  <davem@davemloft.net>
3861         * po/ru.po: Update from translation team.
3863 2012-12-13  David S. Miller  <davem@davemloft.net>
3865         * NEWS: Mention IFUNC testsuite enhancements.
3867         * po/pl.po: Update from translation team.
3868         * po/bg.po: Likewise.
3870         * manual/contrib.texi (Contributors): Update entries for Hongjiu
3871         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
3873 2012-12-11  David S. Miller  <davem@davemloft.net>
3875         * po/sv.po: Update from translation team.
3877         * po/vi.po: Update from translation team.
3879         * po/cs.po: Update from translation team.
3881         * po/de.po: Update from translation team.
3882         * po/eo.po: Likewise.
3883         * po/nl.po: Likewise.
3885 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3887         [BZ #14246]
3888         * manual/argp.texi (Argp Helper Functions): Move node to follow
3889         Argp Parsing State.
3891         [BZ #14872]
3892         * manual/conf.texi (Limits on File System Capacity): Mention if
3893         terminating null is included in the max size.
3895 2012-12-10  Andreas Jaeger  <aj@suse.de>
3897         * po/cs.po: Update from translation team.
3899 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3901         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3902         void pointer and cast to uintptr_t.
3903         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3904         path.
3905         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3906         * sysdeps/s390/s390-64/memset.S: Likewise.
3908 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
3910         [BZ #14833]
3911         * menual/message.texi (Message Translation): Fix typos.
3912         (Helper programs for gettext): Likewise.
3914 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
3916         [BZ #14898]
3917         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3918         Change to -1.
3920 2012-12-07  David S. Miller  <davem@davemloft.net>
3922         * po/libc.pot: Update.
3924 2012-12-07  Richard Henderson  <rth@redhat.com>
3926         [BZ #10114]
3927         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3928         normal/normal case to before the switch.
3929         (_FP_DIV): Likewise.
3931 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
3932             Mike Frysinger  <vapier@gentoo.org>
3934         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3935         check for __NR_fadvise64_64.
3937 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
3939         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3940         0, not just to plain "0" as a statement.
3941         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3942         with cw.
3944 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
3946         * NEWS: Use sourceware.org in Bugzilla URL.
3948 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3951         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3953         * stdio-common/tst-put-error.c (do_test): Add newline to the
3954         padded test to ensure flush.
3956 2012-12-05  Jeff Law  <law@redhat.com>
3958         * sunrpc/etc.rpc (fedfs_admin): Add entry.
3960 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
3962         * README: Don't refer to ports add-on as distributed separately.
3963         Mention AArch64 in list of systems supported in the ports add-on.
3965         * LICENSES: Add more non-FSF copyright and license notices.
3967         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3968         ((unused)).
3970         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3972         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3973         10000 as width of padded output.
3975 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3977         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3979         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3980         variable LX with __attribute__ ((unused)).
3981         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3982         Likewise.
3983         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3984         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3985         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3986         with __attribute__ ((unused)).
3988 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
3990         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3992 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3994         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3995         (CFLAGS-nldbl-acos.c): New variable.
3996         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3997         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3998         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3999         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4000         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4001         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4002         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4003         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4004         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4005         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4006         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4007         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4008         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4009         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4010         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4011         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4012         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4013         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4014         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4015         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4016         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4017         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4018         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4019         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4020         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4021         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4022         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4023         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4024         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4025         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4026         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4027         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4028         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4029         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4030         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4031         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4032         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4033         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4034         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4035         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4036         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4037         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4038         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4039         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4040         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4041         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4042         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4043         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4044         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4045         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4046         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4047         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4048         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4049         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4050         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4051         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4052         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4053         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4054         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4055         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4056         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4057         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4058         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4059         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4060         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4061         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4062         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4063         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4064         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4065         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4066         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4067         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4068         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4069         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4070         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4071         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4072         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4073         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4074         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4075         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4076         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4077         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4078         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4079         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4080         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4081         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4082         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4083         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4084         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4085         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4086         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4087         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4088         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4089         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4090         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4091         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4092         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4095         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4097         [BZ #14914]
4098         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4099         whole low double instead of just low 47 bits when splitting values
4100         into two parts.
4102 2012-12-03  Allan McRae  <allan@archlinux.org>
4104         * manual/stdio.texi (Predefined Printf Handlers): Remove
4105         @hsep and @vsep usage.
4107 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4109         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4110         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4112 2012-12-03  Jeff Law  <law@redhat.com>
4114         * time/sys/time.h (settimeofday): Do not mark TV argument
4115         as __nonnull.
4117 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4119         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4120         when currently writing and seek to current position when not.
4121         * libio/Makefile (tests): Remove bug-fclose1.
4122         * libio/bug-fclose1.c: Delete.
4124 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4126         * manual/arith.texi (feenableexcept): Fix typo.
4127         (fedisableexcept): Likewise.
4129 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4131         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4132         second, differently-typed declaration, rather than a cast.
4134 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4136         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4137         * include/rpc/svc.h: ... here.
4139 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4141         [BZ #13013]
4142         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4143         depending n and resplen2 to catch cases where answer
4144         equals answerp2.
4146 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4148         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4149         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4151 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4153         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4155 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4157         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4159 2012-11-28  Jeff Law  <law@redhat.com>
4161         [BZ #13761]
4162         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4163         dataset_temporary.  Track alloca usage into alloca_used.
4164         If dataset is large allocate and release it via malloc/free.
4166 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4168         [BZ #14197]
4169         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4171 2012-11-28  David S. Miller  <davem@davemloft.net>
4173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4175 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4177         [BZ #14803]
4178         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4179         of pi/2 rounded to nearest to 64 bits.
4180         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4181         nearest to 64 bits.
4182         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4183         bits.
4185 2012-11-28  Jeff Law <law@redhat.com>
4186             Martin Osvald <mosvald@redhat.com>
4188         [BZ #14889]
4189         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4190         * sunrpc/svc.c: Include time.h.
4191         (__svc_accept_failed): New function.
4192         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4193         any reason other than EINTR, call __svc_accept_failed.
4194         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4195         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4197 2012-11-28  Andreas Schwab  <schwab@suse.de>
4199         * scripts/abilist.awk: Also handle indirect functions in .opd
4200         section.
4202 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4204         [BZ #13881]
4205         * sysdeps/x86/fpu/powl_helper.c: New file.
4206         * sysdeps/x86/fpu/Makefile: Likewise.
4207         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4208         (p3): New object.
4209         (__ieee754_powl): Use __powl_helper for finite arguments except
4210         integer exponents below 8.
4211         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4212         (p3): New object.
4213         (__ieee754_powl): Use __powl_helper for finite arguments except
4214         integer exponents below 8.
4215         * math/libm-test.inc (pow_test): Add more tests and enable some
4216         previously disabled tests.
4217         * sysdeps/i386/fpu/libm-test-ulps: Update.
4218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4221             Carlos O'Donell  <carlos_odonell@mentor.com>
4223         * nss/makedb.c (is_prime): Assert that input is odd and greater
4224         than 4.  Note that fact in a comment too.
4225         (next_prime): Add 4 to input.
4227 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4229         [BZ #11741]
4230         * libio/Makefile (tests): Add test case tst-fwrite-error.
4231         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4232         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4233         * libio/tst-fwrite-error.c: New test case.
4235 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4237         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4238         before casting to void *.
4239         * include/libc-internal.h (__pointer_type): New macro.
4240         (__integer_if_pointer_type_sub): Likewise.
4241         (__integer_if_pointer_type): Likewise.
4242         (cast_to_integer): Likewise.
4243         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4244         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4245         before casting to atomic64_t.
4246         (atomic_exchange_acq): Likewise.
4247         (__arch_exchange_and_add_body): Likewise.
4248         (__arch_add_body): Likewise.
4249         (atomic_add_negative): Likewise.
4250         (atomic_add_zero): Likewise.
4252 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4254         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4255         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4256         (add_fdes): Likewise.
4257         (linear_search_fdes): Likewise.
4258         (binary_search_unencoded_fdes): Likewise.
4260 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4262         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4264 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4266         * configure.in: Autodetect C++ header directories.
4267         * configure: Regenerated.
4269 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4271         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4273 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4277 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4279         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4280         LDBL_MANT_DIG == 106]: Disable some tests.
4281         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4282         Likewise.
4283         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4284         Likewise.
4286         [BZ #14871]
4287         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4288         input for small inputs.  Return +/- pi/2 for large inputs.
4289         * math/libm-test.inc (atan_test): Add more tests.
4291         * sysdeps/generic/unwind-dw2-fde-glibc.c
4292         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4293         __attribute__ ((unused)).
4295         [BZ #14645]
4296         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4297         x * y if x and y are nonzero and z is zero.
4299         [BZ #14811]
4300         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4301         nonzero exponents with absolute value below 0x1p-117 to +/-
4302         0x1p-117.
4304         [BZ #14869]
4305         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4306         up arguments below 2**-450, not just those below 2**-500.
4307         * math/libm-test.inc (hypot_test): Add another test.
4309         [BZ #14868]
4310         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4311         Return a+b for ratio over 2**120, not 2**60.
4312         * math/libm-test.inc (hypot_test): Add another test.
4314         * math/libm-test.inc (clog_test): Use
4315         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4316         (clog10_test): Likewise.
4318         [BZ #6778]
4319         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4321 2012-11-22  Andreas Schwab  <schwab@suse.de>
4323         * sysdeps/i386/fpu/libm-test-ulps: Update.
4325 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4327         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4328         printf output with newline.
4330 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4332         [BZ #14865]
4333         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4334         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4335         -z nodlopen, -z initfirst and -z execstack support.
4336         * configure: Regenerated.
4338         * elf/elf.h (DF_1_NODIRECT): New macro.
4339         (DF_1_IGNMULDEF): Likewise.
4340         (DF_1_NOKSYMS): Likewise.
4341         (DF_1_NOHDR): Likewise.
4342         (DF_1_EDITED): Likewise.
4343         (DF_1_NORELOC): Likewise.
4344         (DF_1_SYMINTPOSE): Likewise.
4345         (DF_1_GLOBAUDIT): Likewise.
4346         (DF_1_SINGLETON): Likewise.
4347         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4348         DT_1_SUPPORTED_MASK bits.
4349         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4351 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4353         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4355 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4357         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4358         macro.
4360         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4361         (sendmmsg): Move declarations...
4362         * socket/sys/socket.h: ... here.
4363         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4364         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4365         include it from...
4366         * socket/recvmmsg.c: ... this new file.
4367         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4368         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4369         definition of __sendmmsg hidden.
4370         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4371         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4372         Move ENOSYS stub into and include it from...
4373         * socket/sendmmsg.c: ... this new file.
4374         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4375         (sysdep_routines): Move recvmmsg and sendmmsg...
4376         * socket/Makefile (routines): ... here.
4377         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4378         (GLIBC_PRIVATE): Add __sendmmsg.
4379         * include/sys/socket.h (__sendmmsg): Add declarations.
4380         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4381         sendmmsg.
4383 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4385         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4386         variable I1 with __attribute__ ((unused)).
4387         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4389 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4391         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4392         DUMMY variables with __attribute__ ((unused)).
4394         * bits/byteswap.h: Include <bits/types.h>.
4395         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4397 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4399         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4400         string_t.  Do not manually set errno.
4401         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4402         length with __strnlen.  Make sure to both set errno and return it on
4403         failure.
4405 2012-11-19  David S. Miller  <davem@davemloft.net>
4407         With help from Joseph Myers.
4408         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4409         very large arguments properly.
4410         * math/libm-test.inc (atan_test): New tests.
4411         (atan2_test): New tests.
4412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4415 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4417         [BZ #14856]
4418         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4419         Define to 3.
4421         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4422         [POSIX] (EADDRNOTAVAIL): Likewise.
4423         [POSIX] (EAFNOSUPPORT): Likewise.
4424         [POSIX] (EALREADY): Likewise.
4425         [POSIX] (ECONNABORTED): Likewise.
4426         [POSIX] (ECONNREFUSED): Likewise.
4427         [POSIX] (ECONNRESET): Likewise.
4428         [POSIX] (EDESTADDRREQ): Likewise.
4429         [POSIX] (EDQUOT): Likewise.
4430         [POSIX] (EHOSTUNREACH): Likewise.
4431         [POSIX] (EIDRM): Likewise.
4432         [POSIX] (EISCONN): Likewise.
4433         [POSIX] (ELOOP): Likewise.
4434         [POSIX] (EMULTIHOP): Likewise.
4435         [POSIX] (ENETDOWN): Likewise.
4436         [POSIX] (ENETUNREACH): Likewise.
4437         [POSIX] (ENOBUFS): Likewise.
4438         [POSIX] (ENODATA): Likewise.
4439         [POSIX] (ENOLINK): Likewise.
4440         [POSIX] (ENOMSG): Likewise.
4441         [POSIX] (ENOPROTOOPT): Likewise.
4442         [POSIX] (ENOSR): Likewise.
4443         [POSIX] (ENOSTR): Likewise.
4444         [POSIX] (ENOTCONN): Likewise.
4445         [POSIX] (ENOTSOCK): Likewise.
4446         [POSIX] (EOPNOTSUPP): Likewise.
4447         [POSIX] (EOVERFLOW): Likewise.
4448         [POSIX] (EPROTO): Likewise.
4449         [POSIX] (EPROTONOSUPPORT): Likewise.
4450         [POSIX] (EPROTOTYPE): Likewise.
4451         [POSIX] (ESTALE): Likewise.
4452         [POSIX] (ETIME): Likewise.
4453         [POSIX] (ETXTBSY): Likewise.
4454         [POSIX] (EWOULDBLOCK): Likewise.
4455         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4456         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4457         [POSIX] (SEEK_CUR): Likewise.
4458         [POSIX] (SEEK_END): Likewise.
4459         [POSIX || UNIX98] (mode_t): Do not require.
4460         [POSIX] (off_t): Likewise.
4461         [POSIX] (pid_t): Likewise.
4462         [POSIX] (sys/stat.h): Do not allow header.
4463         [POSIX] (unistd.h): Likewise.
4464         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4465         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4466         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4467         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4468         require.
4469         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4470         sigevent): Specify elements.
4471         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4472         entry.
4473         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4474         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4476         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4477         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4478         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4479         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4480         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4481         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4482         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4483         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4484         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4485         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4486         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4487         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4488         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4489         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4490         Likewise.
4491         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4492         Likewise.
4493         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4494         Likewise.
4495         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4496         Likewise.
4497         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4498         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4499         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4500         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4501         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4502         Specify lower bound on value.
4503         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4504         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4505         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4506         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4507         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4508         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4509         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4510         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4511         value.
4512         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4513         as optional.
4514         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4515         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4516         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4517         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4518         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4519         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4520         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4521         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4522         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4523         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4524         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4525         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4526         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4527         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4528         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4529         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4530         entry.
4531         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4532         optional.
4533         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4534         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4535         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4536         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4537         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4538         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4539         Likewise.
4540         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4541         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4542         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4543         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4544         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4545         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4546         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4547         as optional.
4548         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4549         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4550         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4551         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4552         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4553         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4554         specify as optional.
4555         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4556         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4557         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4558         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4559         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4560         [XPG3] (NL_LANGMAX): Likewise.
4561         [POSIX || XPG3] (NL_MSGMAX): Likewise.
4562         [POSIX || XPG3] (NL_NMAX): Likewise.
4563         [POSIX || XPG3] (NL_SETMAX): Likewise.
4564         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4565         [XPG3] (NZERO): Likewise.
4566         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4567         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4568         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4569         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4570         (REG_ERANGE): Expect.
4571         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4572         optional-constant.
4573         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4574         Use (void) in prototype.
4575         [POSIX] (*_t): Allow.
4576         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4577         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4578         (WRDE_BADVAL): Expect.
4580         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4581         expect.
4582         [XPG3 || XPG4] (O_RSYNC): Likewise.
4583         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4584         Likewise.
4585         [XPG3 || XPG4] (pthread_sigmask): Likewise.
4586         [XPG3 || XPG4] (sigqueue): Likewise.
4587         [XPG3 || XPG4] (sigtimedwait): Likewise.
4588         [XPG3 || XPG4] (sigwaitinfo): Likewise.
4589         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4590         [XPG3 || XPG4] (vsnprintf): Likewise.
4591         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4592         Likewise.
4593         [XPG3 || XPG4] (blksize_t): Likewise.
4594         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4595         Likewise.
4596         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4597         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4598         [XPG3 || XPG4] (struct itimerspec): Likewise.
4599         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4600         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4601         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4602         [XPG3 || XPG4] (clockid_t): Likewise.
4603         [XPG3 || XPG4] (timer_t): Likewise.
4604         [XPG3 || XPG4] (clock_getres): Likewise.
4605         [XPG3 || XPG4] (clock_gettime): Likewise.
4606         [XPG3 || XPG4] (clock_settime): Likewise.
4607         [XPG3 || XPG4] (nanosleep): Likewise.
4608         [XPG3 || XPG4] (timer_create): Likewise.
4609         [XPG3 || XPG4] (timer_delete): Likewise.
4610         [XPG3 || XPG4] (timer_gettime): Likewise.
4611         [XPG3 || XPG4] (timer_getoverrun): Likewise.
4612         [XPG3 || XPG4] (timer_settime): Likewise.
4613         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4614         [XPG3 || XPG4] (getlogin_r): Likewise.
4615         [XPG3 || XPG4] (pread): Likewise.
4616         [XPG3 || XPG4] (pthread_atfork): Likewise.
4617         [XPG3 || XPG4] (pwrite): Likewise.
4619         [BZ #14835]
4620         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4621         <bits/siginfo.h>.
4623 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4625         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4626         finalizing MALLSTREAM.
4628         * sysdeps/mach/hurd/syncfs.c: New file.
4630 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4632         [BZ #14719]
4633         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4634         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4635         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4636         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4637         (_nss_dns_gethostbyname4_r): Likewise.
4638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4639         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4641 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
4643         [BZ #13763]
4644         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4646 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
4648         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4649         * elf/cache.c (print_entry): Print ",AArch64" for
4650         FLAG_AARCH64_LIB64
4652         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4653         * elf/cache.c (print_entry): Print ",hard-float" for
4654         FLAG_ARM_LIBHF.
4656 2012-11-18  David S. Miller  <davem@davemloft.net>
4658         With help from Joseph Myers.
4659         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4660         cutoff to 2**-13.
4661         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4662         cutoff to 2**-25.
4663         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4664         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4665         small.
4666         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4667         * math/libm-test.inc (y0_test): New tests.
4668         (y1_test): New tests.
4669         * sysdeps/i386/fpu/libm-test-ulps: Update.
4670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4673 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
4675         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4676         64-bit targets.
4677         * configure: Regenerated.
4679 2012-11-17  David S. Miller  <davem@davemloft.net>
4681         [BZ #14811]
4682         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4683         nonzero exponents with absolute value below 0x1p-128 to +/-
4684         0x1p-128.
4686 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
4688         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4690         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4692         * posix/getconf-speclist.c: New file.
4693         * posix/posix-envs.def: Likewise.
4694         * posix/confstr.c (START_ENV_GROUP): New macro.
4695         (END_ENV_GROUP): Likewise.
4696         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4697         (KNOWN_PRESENT_ENV_STRING): Likewise.
4698         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4699         (UNKNOWN_ENVIRONMENT): Likewise.
4700         (confstr): Include posix-envs.def instead of handling
4701         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4702         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4703         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4704         (END_ENV_GROUP): Likewise.
4705         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4706         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4707         (UNKNOWN_ENVIRONMENT): Likewise.
4708         (__sysconf): Include posix-envs.def instead of handling associated
4709         cases directly here.
4710         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4711         preprocessing getconf-speclist.c rather than running getconf or
4712         generating empty file.
4714 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
4716         * scripts/check-local-headers.sh: Ignore 'mach' headers.
4718 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
4720         [BZ #14672]
4721         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4723 2012-11-16  David S. Miller  <davem@davemloft.net>
4725         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4726         smaller than LDBL_EPSILON/2.0L, just return xm1.
4728 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
4730         * elf/tst-array1.c (init): Set constructor priority to 1000.
4731         (fini): Set destructor priority to 1000.
4732         * elf/tst-array2dep.c: Likewise.
4734 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4736         [BZ #11741]
4737         * libio/fileops.c (_IO_new_file_write): Correctly return error.
4738         (_IO_new_file_xsputn): Also return EOF if none of the input
4739         data was written when overflow failed.
4740         * libio/iopadn.c (_IO_padn): Likewise.
4741         * libio/iowpadn.c (_IO_wpadn): Likewise.
4742         * stdio-common/tst-put-error.c: Add copyright notice.
4743         (do_test): Add case for printing padded string.
4744         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4745         _IO_padn returned error.
4746         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4747         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4748         return EOF.
4750 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4752         * libio/libioP.h: Add comment note that the references to C++
4753         bits are now obsolete.
4755 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4757         * math/libm-test.inc (check_complex): Use asprintf.
4759 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
4761         * debug/pcprofiledump.c (print_version): Update copyright year.
4762         * malloc/memusagestat.c (print_version): Likewise.
4764 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4766         [BZ #14831]
4767         * elf/Makefile (tests): Add tst-audit8.
4768         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4769         ($(objpfx)tst-audit8.out): New target.
4770         (tst-audit8-ENV): New variable.
4771         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4772         audit if l_reloc_result is NULL.
4773         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4774         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4775         * elf/tst-audit8.c: New file.
4777 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4779         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4780         * misc/Makefile (CFLAGS-select.c): Define.
4781         * posix/Makefile (CFLAGS-pause.c): Define.
4783 2012-11-13  David S. Miller  <davem@davemloft.net>
4785         * crypt/Makefile: Move test targets after toplevel Rules
4786         inclusion.  Grab any necessary sysdep routines when linking.
4787         * crypt/md5.c (md5_process_block): Remove define, we will always
4788         name it __md5_process_block.
4789         (md5_finish_ctx): Update md5_process_block call.
4790         (md5_stream): Likewise.
4791         (md5_process_bytes): Likewise.
4792         (md5_process_block): Rename to __md5_process_block and move to ...
4793         * crypt/md5-block.c: ... here.
4794         * crypt/sha256.c (sha256_process_block): Move to ...
4795         * crypt/sha256-block.c: ... here.
4796         * crypt/sha512.c (sha512_process_block): Move to ...
4797         * crypt/sha512-block.c: ... here.
4798         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4799         path.
4800         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4801         * sysdeps/sparc/sparc64/multiarch/Makefile
4802         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4803         crypt subdir.
4804         (localedef-aux): Add md5 crypto assembler when in locale subdir.
4805         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4806         multiarch changes.
4807         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4808         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4809         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4810         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4811         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4812         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4813         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4814         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4815         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4816         file.
4817         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4818         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4819         file.
4820         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4822 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
4824         * timezone/tzselect.ksh: Update from tzcode git revision
4825         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4826         * timezone/zdump.c: Likewise.
4827         * timezone/zic.c: Likewise.
4828         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4829         in TZVERSION setting, not $(PKGVERSION).
4830         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
4831         REPORT_BUGS_TO settings.
4833         [BZ #14838]
4834         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4835         macro.
4837 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4839         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4840         detection to immediately after _FP_ROUND().
4841         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4842         bits are 0.
4844 2012-11-11  David S. Miller  <davem@davemloft.net>
4846         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4847         inttypes.h
4848         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4849         __close rather than their public counterparts.
4851 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
4853         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4854         file.
4855         [UNIX98] (sem_timedwait): Do not expect.
4856         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4857         [XPG4 || UNIX98] (sockatmark): Do not expect.
4858         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4859         (clock_getcpuclockid): Do not expect.
4860         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4861         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4862         Do not expect.
4863         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4864         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4865         [UNIX98] (vwscanf): Likewise.
4866         [UNIX98] (vswscanf): Likewise.
4868 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
4870         * timezone/version.h: Remove file.
4871         * timezone/README: Do not refer to version.h.
4872         * timezone/Makefile ($(objpfx)zic.o): New dependency on
4873         $(objpfx)version.h.
4874         ($(objpfx)zdump.o): Likewise.
4875         ($(objpfx)version.h): New target.
4877         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4878         2012i.
4879         * timezone/README: Don't mention modification to tzselect.ksh.
4880         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4881         work on unmodified tzselect.ksh.  Substitute version numbers in
4882         tzselect.ksh.
4884         * Makefile (format-me): Remove.
4885         (INSTALL): Adjust indentation.  Use commands directly instead of
4886         using $(format-me).
4888         * aclocal.m4 (ACX_PKGVERSION): New macro.
4889         (ACX_BUGURL): Likewise.
4890         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4891         (PKGVERSION): New AC_DEFINE_UNQUOTED.
4892         (REPORT_BUGS_TO): Likewise.
4893         * configure: Regenerated.
4894         * config.h.in (PKGVERSION): New macro.
4895         (REPORT_BUGS_TO): Likewise.
4896         * config.make.in (PKGVERSION): New variable.
4897         (PKGVERSION_TEXI): Likewise.
4898         (REPORT_BUGS_TO): Likewise.
4899         (REPORT_BUGS_TEXI): Likewise.
4900         * Makefile (format-me): Use -I$(common-objpfx)manual.
4901         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4902         ($(common-objpfx)manual/%): New target.
4903         (manual/%): Remove target.
4904         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4905         (print_version): Use PKGVERSION.
4906         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4907         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4908         and REPORT_BUGS_TO.
4909         ($(objpfx)xtrace): Likewise.
4910         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4911         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4912         (print_version): Use PKGVERSION.
4913         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4914         (do_version): Use PKGVERSION.
4915         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4916         REPORT_BUGS_TO.
4917         (common-ldd-rewrite): Likewise.
4918         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4919         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4920         (print_version): Use PKGVERSION.
4921         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4922         * elf/pldd.c (argp_program_bug_address): Remove variable.
4923         (more_help): New function.
4924         (argp): Use more_help.
4925         (print_version): Use PKGVERSION.
4926         * elf/sln.c (main): Use PKGVERSION.
4927         (usage): Use REPORT_BUGS_TO.
4928         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4929         (top level): Use PKGVERSION.
4930         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4931         (print_version): Use PKGVERSION.
4932         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4933         (print_version): Use PKGVERSION.
4934         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4935         (print_version): Use PKGVERSION.
4936         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4937         (print_version): Use PKGVERSION.
4938         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4939         (print_version): Use PKGVERSION.
4940         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4941         (print_version): Use PKGVERSION.
4942         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4943         and BUGURL.
4944         ($(objpfx)memusage): Likewise.
4945         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4946         (do_version): Use PKGVERSION.
4947         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4948         (print_version): Use PKGVERSION.
4949         * malloc/mtrace.pl ($PACKAGE): Remove variable.
4950         ($PKGVERSION): New variable.
4951         ($REPORT_BUGS_TO): Likewise.
4952         (usage): Use $REPORT_BUGS_TO.
4953         (top level): Use $PKGVERSION.
4954         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4955         ($(objpfx)pkgvers.texi): New rule.
4956         ($(objpfx)stamp-pkgvers): Likewise.
4957         * manual/install.texi: Include pkgvers.texi.
4958         (--with-pkgversion): Document new configure option.
4959         (--with-bugurl): Likewise.
4960         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4961         than necessarily for this particular distribution.  Use
4962         REPORT_BUGS_TO for where to report bugs.
4963         * INSTALL: Regenerated.
4964         * manual/libc.texinfo: Include pkgvers.texi.
4965         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4966         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4967         (print_version): Use PKGVERSION.
4968         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4969         (print_version): Use PKGVERSION.
4970         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4971         (print_version): Use PKGVERSION.
4972         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4973         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4974         macro.
4975         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4976         (print_version): Use PKGVERSION.
4977         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4978         (print_version): Use PKGVERSION.
4979         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4980         and PKGVERSION.
4982         * timezone/checktab.awk: Update from tzcode 2012i.
4983         * timezone/ialloc.c: Likewise.
4984         * timezone/private.h: Likewise.
4985         * timezone/scheck.c: Likewise.
4986         * timezone/tzfile.h: Likewise.
4987         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4988         (TZVERSION): Hardcode tzcode version number.
4989         * timezone/zdump.c: Update from tzcode 2012i.
4990         * timezone/zic.c: Likewise.
4991         * timezone/version.h: New file.
4992         * timezone/README: Describe version.h.  Update upstream location.
4994         [BZ #14824]
4995         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4996         (mktemp): Enable declaration.
4997         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4999         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5001         Likewise.
5002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5003         Likewise.
5004         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5005         Likewise.
5006         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5007         Likewise.
5008         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5009         Likewise.
5010         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5011         Likewise.
5013         [BZ #14821]
5014         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5015         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5016         for copies of such integer values.
5017         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5018         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5020 2012-11-09  Andreas Jaeger  <aj@suse.de>
5022         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5023         definitions and declarations that are provided by
5024         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5026 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5028         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5029         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5030         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5031         definition.
5033 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5035         * elf/elf.h: Update comment before AArch64 relocations.
5037 2012-11-07  David S. Miller  <davem@davemloft.net>
5039         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5040         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5041         (__start_context): Declare.
5042         (__makecontext_ret): Delete.
5043         (__makecontext): Hook up __start_context instead of
5044         __makecontext_ret.
5045         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5046         (sysdep_routines): Add __start_context when in stdlib.
5048 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5050         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5051         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5052         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5053         hardcoded "nm".
5054         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5055         (READELF): New variable.  Use it instead of hardcoded "readelf".
5057 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5059         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5060         * sysdeps/x86/Makefile: Here.
5061         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5062         * sysdeps/x86/tst-xmmymm.sh: This.
5064 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5066         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5067         expectations.
5068         [UNIX98] (pthread_barrier_t): Do not expect.
5069         [UNIX98] (pthread_barrierattr_t): Likewise.
5070         [UNIX98] (pthread_spinlock_t): Likewise.
5071         [UNIX98] (pthread_barrier_destroy): Likewise.
5072         [UNIX98] (pthread_barrier_init): Likewise.
5073         [UNIX98] (pthread_barrier_wait): Likewise.
5074         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5075         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5076         [UNIX98] (pthread_barrierattr_init): Likewise.
5077         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5078         [UNIX98] (pthread_getcpuclockid): Likewise.
5079         [UNIX98] (pthread_mutex_timedlock): Likewise.
5080         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5081         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5082         [UNIX98] (pthread_sigmask): Likewise.
5083         [UNIX98] (pthread_spin_destroy): Likewise.
5084         [UNIX98] (pthread_spin_init): Likewise.
5085         [UNIX98] (pthread_spin_lock): Likewise.
5086         [UNIX98] (pthread_spin_trylock): Likewise.
5087         [UNIX98] (pthread_spin_unlock): Likewise.
5088         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5089         Do not expect.
5090         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5091         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5092         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5093         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5094         [XPG3 || XPG4] (pthread_key_t): Likewise.
5095         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5096         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5097         [XPG3 || XPG4] (pthread_once_t): Likewise.
5098         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5099         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5100         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5101         [XPG3 || XPG4] (pthread_t): Likewise.
5103         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5104         not expect.
5105         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5107         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5108         Change function return type to int.
5110         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5111         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5112         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5113         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5114         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5115         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5116         [!POSIX] (posix_madvise): Likewise.
5117         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5118         && !UNIX98].
5119         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5120         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5121         (mode_t): Likewise.
5122         (posix_mem_offset): Likewise.
5123         (posix_typed_mem_get_info): Likewise.
5124         (posix_typed_mem_open): Likewise.
5126         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5127         Change condition to [XOPEN2K8].
5129         * conform/conformtest.pl: Preprocess allow-header data with -x c
5130         instead of from stdin.
5131         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5132         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5133         [C99-based standards] (cerfc): Likewise.
5134         [C99-based standards] (cexp2): Likewise.
5135         [C99-based standards] (cexpm1): Likewise.
5136         [C99-based standards] (clog10): Likewise.
5137         [C99-based standards] (clog1p): Likewise.
5138         [C99-based standards] (clog2): Likewise.
5139         [C99-based standards] (clgamma): Likewise.
5140         [C99-based standards] (ctgamma): Likewise.
5141         [C99-based standards] (cerff): Likewise.
5142         [C99-based standards] (cerfcf): Likewise.
5143         [C99-based standards] (cexp2f): Likewise.
5144         [C99-based standards] (cexpm1f): Likewise.
5145         [C99-based standards] (clog10f): Likewise.
5146         [C99-based standards] (clog1pf): Likewise.
5147         [C99-based standards] (clog2f): Likewise.
5148         [C99-based standards] (clgammaf): Likewise.
5149         [C99-based standards] (ctgammaf): Likewise.
5150         [C99-based standards] (cerfl): Likewise.
5151         [C99-based standards] (cerfcl): Likewise.
5152         [C99-based standards] (cexp2l): Likewise.
5153         [C99-based standards] (cexpm1l): Likewise.
5154         [C99-based standards] (clog10l): Likewise.
5155         [C99-based standards] (clog1pl): Likewise.
5156         [C99-based standards] (clog2l): Likewise.
5157         [C99-based standards] (clgammal): Likewise.
5158         [C99-based standards] (ctgammal): Likewise.
5159         * conform/data/inttypes.h-data [C99-based standards]: Include
5160         stdint.h-data.  Remove all expectations for stdint.h contents.
5161         [C99-based standards] (PRI*): Do not allow.
5162         [C99-based standards] (SCN*): Likewise.
5163         [C99-based standards] (*_t): Likewise.
5164         [C99-based-standards] (PRId8): Expect macro.
5165         [C99-based-standards] (PRIi8): Likewise.
5166         [C99-based-standards] (PRIo8): Likewise.
5167         [C99-based-standards] (PRIu8): Likewise.
5168         [C99-based-standards] (PRIx8): Likewise.
5169         [C99-based-standards] (PRIX8): Likewise.
5170         [C99-based-standards] (SCNd8): Likewise.
5171         [C99-based-standards] (SCNi8): Likewise.
5172         [C99-based-standards] (SCNo8): Likewise.
5173         [C99-based-standards] (SCNu8): Likewise.
5174         [C99-based-standards] (SCNx8): Likewise.
5175         [C99-based-standards] (PRIdLEAST8): Likewise.
5176         [C99-based-standards] (PRIiLEAST8): Likewise.
5177         [C99-based-standards] (PRIoLEAST8): Likewise.
5178         [C99-based-standards] (PRIuLEAST8): Likewise.
5179         [C99-based-standards] (PRIxLEAST8): Likewise.
5180         [C99-based-standards] (PRIXLEAST8): Likewise.
5181         [C99-based-standards] (SCNdLEAST8): Likewise.
5182         [C99-based-standards] (SCNiLEAST8): Likewise.
5183         [C99-based-standards] (SCNoLEAST8): Likewise.
5184         [C99-based-standards] (SCNuLEAST8): Likewise.
5185         [C99-based-standards] (SCNxLEAST8): Likewise.
5186         [C99-based-standards] (PRIdFAST8): Likewise.
5187         [C99-based-standards] (PRIiFAST8): Likewise.
5188         [C99-based-standards] (PRIoFAST8): Likewise.
5189         [C99-based-standards] (PRIuFAST8): Likewise.
5190         [C99-based-standards] (PRIxFAST8): Likewise.
5191         [C99-based-standards] (PRIXFAST8): Likewise.
5192         [C99-based-standards] (SCNdFAST8): Likewise.
5193         [C99-based-standards] (SCNiFAST8): Likewise.
5194         [C99-based-standards] (SCNoFAST8): Likewise.
5195         [C99-based-standards] (SCNuFAST8): Likewise.
5196         [C99-based-standards] (SCNxFAST8): Likewise.
5197         [C99-based-standards] (PRId16): Likewise.
5198         [C99-based-standards] (PRIi16): Likewise.
5199         [C99-based-standards] (PRIo16): Likewise.
5200         [C99-based-standards] (PRIu16): Likewise.
5201         [C99-based-standards] (PRIx16): Likewise.
5202         [C99-based-standards] (PRIX16): Likewise.
5203         [C99-based-standards] (SCNd16): Likewise.
5204         [C99-based-standards] (SCNi16): Likewise.
5205         [C99-based-standards] (SCNo16): Likewise.
5206         [C99-based-standards] (SCNu16): Likewise.
5207         [C99-based-standards] (SCNx16): Likewise.
5208         [C99-based-standards] (PRIdLEAST16): Likewise.
5209         [C99-based-standards] (PRIiLEAST16): Likewise.
5210         [C99-based-standards] (PRIoLEAST16): Likewise.
5211         [C99-based-standards] (PRIuLEAST16): Likewise.
5212         [C99-based-standards] (PRIxLEAST16): Likewise.
5213         [C99-based-standards] (PRIXLEAST16): Likewise.
5214         [C99-based-standards] (SCNdLEAST16): Likewise.
5215         [C99-based-standards] (SCNiLEAST16): Likewise.
5216         [C99-based-standards] (SCNoLEAST16): Likewise.
5217         [C99-based-standards] (SCNuLEAST16): Likewise.
5218         [C99-based-standards] (SCNxLEAST16): Likewise.
5219         [C99-based-standards] (PRIdFAST16): Likewise.
5220         [C99-based-standards] (PRIiFAST16): Likewise.
5221         [C99-based-standards] (PRIoFAST16): Likewise.
5222         [C99-based-standards] (PRIuFAST16): Likewise.
5223         [C99-based-standards] (PRIxFAST16): Likewise.
5224         [C99-based-standards] (PRIXFAST16): Likewise.
5225         [C99-based-standards] (SCNdFAST16): Likewise.
5226         [C99-based-standards] (SCNiFAST16): Likewise.
5227         [C99-based-standards] (SCNoFAST16): Likewise.
5228         [C99-based-standards] (SCNuFAST16): Likewise.
5229         [C99-based-standards] (SCNxFAST16): Likewise.
5230         [C99-based-standards] (PRId32): Likewise.
5231         [C99-based-standards] (PRIi32): Likewise.
5232         [C99-based-standards] (PRIo32): Likewise.
5233         [C99-based-standards] (PRIu32): Likewise.
5234         [C99-based-standards] (PRIx32): Likewise.
5235         [C99-based-standards] (PRIX32): Likewise.
5236         [C99-based-standards] (SCNd32): Likewise.
5237         [C99-based-standards] (SCNi32): Likewise.
5238         [C99-based-standards] (SCNo32): Likewise.
5239         [C99-based-standards] (SCNu32): Likewise.
5240         [C99-based-standards] (SCNx32): Likewise.
5241         [C99-based-standards] (PRIdLEAST32): Likewise.
5242         [C99-based-standards] (PRIiLEAST32): Likewise.
5243         [C99-based-standards] (PRIoLEAST32): Likewise.
5244         [C99-based-standards] (PRIuLEAST32): Likewise.
5245         [C99-based-standards] (PRIxLEAST32): Likewise.
5246         [C99-based-standards] (PRIXLEAST32): Likewise.
5247         [C99-based-standards] (SCNdLEAST32): Likewise.
5248         [C99-based-standards] (SCNiLEAST32): Likewise.
5249         [C99-based-standards] (SCNoLEAST32): Likewise.
5250         [C99-based-standards] (SCNuLEAST32): Likewise.
5251         [C99-based-standards] (SCNxLEAST32): Likewise.
5252         [C99-based-standards] (PRIdFAST32): Likewise.
5253         [C99-based-standards] (PRIiFAST32): Likewise.
5254         [C99-based-standards] (PRIoFAST32): Likewise.
5255         [C99-based-standards] (PRIuFAST32): Likewise.
5256         [C99-based-standards] (PRIxFAST32): Likewise.
5257         [C99-based-standards] (PRIXFAST32): Likewise.
5258         [C99-based-standards] (SCNdFAST32): Likewise.
5259         [C99-based-standards] (SCNiFAST32): Likewise.
5260         [C99-based-standards] (SCNoFAST32): Likewise.
5261         [C99-based-standards] (SCNuFAST32): Likewise.
5262         [C99-based-standards] (SCNxFAST32): Likewise.
5263         [C99-based-standards] (PRId64): Likewise.
5264         [C99-based-standards] (PRIi64): Likewise.
5265         [C99-based-standards] (PRIo64): Likewise.
5266         [C99-based-standards] (PRIu64): Likewise.
5267         [C99-based-standards] (PRIx64): Likewise.
5268         [C99-based-standards] (PRIX64): Likewise.
5269         [C99-based-standards] (SCNd64): Likewise.
5270         [C99-based-standards] (SCNi64): Likewise.
5271         [C99-based-standards] (SCNo64): Likewise.
5272         [C99-based-standards] (SCNu64): Likewise.
5273         [C99-based-standards] (SCNx64): Likewise.
5274         [C99-based-standards] (PRIdLEAST64): Likewise.
5275         [C99-based-standards] (PRIiLEAST64): Likewise.
5276         [C99-based-standards] (PRIoLEAST64): Likewise.
5277         [C99-based-standards] (PRIuLEAST64): Likewise.
5278         [C99-based-standards] (PRIxLEAST64): Likewise.
5279         [C99-based-standards] (PRIXLEAST64): Likewise.
5280         [C99-based-standards] (SCNdLEAST64): Likewise.
5281         [C99-based-standards] (SCNiLEAST64): Likewise.
5282         [C99-based-standards] (SCNoLEAST64): Likewise.
5283         [C99-based-standards] (SCNuLEAST64): Likewise.
5284         [C99-based-standards] (SCNxLEAST64): Likewise.
5285         [C99-based-standards] (PRIdFAST64): Likewise.
5286         [C99-based-standards] (PRIiFAST64): Likewise.
5287         [C99-based-standards] (PRIoFAST64): Likewise.
5288         [C99-based-standards] (PRIuFAST64): Likewise.
5289         [C99-based-standards] (PRIxFAST64): Likewise.
5290         [C99-based-standards] (PRIXFAST64): Likewise.
5291         [C99-based-standards] (SCNdFAST64): Likewise.
5292         [C99-based-standards] (SCNiFAST64): Likewise.
5293         [C99-based-standards] (SCNoFAST64): Likewise.
5294         [C99-based-standards] (SCNuFAST64): Likewise.
5295         [C99-based-standards] (SCNxFAST64): Likewise.
5296         [C99-based-standards] (PRIdMAX): Likewise.
5297         [C99-based-standards] (PRIiMAX): Likewise.
5298         [C99-based-standards] (PRIoMAX): Likewise.
5299         [C99-based-standards] (PRIuMAX): Likewise.
5300         [C99-based-standards] (PRIxMAX): Likewise.
5301         [C99-based-standards] (PRIXMAX): Likewise.
5302         [C99-based-standards] (SCNdMAX): Likewise.
5303         [C99-based-standards] (SCNiMAX): Likewise.
5304         [C99-based-standards] (SCNoMAX): Likewise.
5305         [C99-based-standards] (SCNuMAX): Likewise.
5306         [C99-based-standards] (SCNxMAX): Likewise.
5307         [C99-based-standards] (PRIdPTR): Likewise.
5308         [C99-based-standards] (PRIiPTR): Likewise.
5309         [C99-based-standards] (PRIoPTR): Likewise.
5310         [C99-based-standards] (PRIuPTR): Likewise.
5311         [C99-based-standards] (PRIxPTR): Likewise.
5312         [C99-based-standards] (PRIXPTR): Likewise.
5313         [C99-based-standards] (SCNdPTR): Likewise.
5314         [C99-based-standards] (SCNiPTR): Likewise.
5315         [C99-based-standards] (SCNoPTR): Likewise.
5316         [C99-based-standards] (SCNuPTR): Likewise.
5317         [C99-based-standards] (SCNxPTR): Likewise.
5318         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5319         allow.
5320         * conform/data/stdint.h-data: Update comments to clarify
5321         requirements.
5322         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5323         type.
5324         [C99-based standards] (INT8_MAX): Likewise.
5325         [C99-based standards] (INT16_MIN): Likewise.
5326         [C99-based standards] (INT16_MAX): Likewise.
5327         [C99-based standards] (INT32_MIN): Likewise.
5328         [C99-based standards] (INT32_MAX): Likewise.
5329         [C99-based standards] (INT64_MIN): Likewise.
5330         [C99-based standards] (INT64_MAX): Likewise.
5331         [C99-based standards] (UINT8_MAX): Likewise.
5332         [C99-based standards] (UINT16_MAX): Likewise.
5333         [C99-based standards] (UINT32_MAX): Likewise.
5334         [C99-based standards] (UINT64_MAX): Likewise.
5335         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5336         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5337         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5338         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5339         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5340         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5341         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5342         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5343         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5344         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5345         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5346         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5347         [C99-based standards] (INT_FAST8_MIN): Likewise.
5348         [C99-based standards] (INT_FAST8_MAX): Likewise.
5349         [C99-based standards] (INT_FAST16_MIN): Likewise.
5350         [C99-based standards] (INT_FAST16_MAX): Likewise.
5351         [C99-based standards] (INT_FAST32_MIN): Likewise.
5352         [C99-based standards] (INT_FAST32_MAX): Likewise.
5353         [C99-based standards] (INT_FAST64_MIN): Likewise.
5354         [C99-based standards] (INT_FAST64_MAX): Likewise.
5355         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5356         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5357         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5358         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5359         [C99-based standards] (INTPTR_MIN): Likewise.
5360         [C99-based standards] (INTPTR_MAX): Likewise.
5361         [C99-based standards] (UINTPTR_MAX): Likewise.
5362         [C99-based standards] (INTMAX_MIN): Likewise.
5363         [C99-based standards] (INTMAX_MAX): Likewise.
5364         [C99-based standards] (UINTMAX_MAX): Likewise.
5365         [C99-based standards] (PTRDIFF_MIN): Likewise.
5366         [C99-based standards] (PTRDIFF_MAX): Likewise.
5367         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5368         [C99-based standards] (SIZE_MAX): Likewise.
5369         [C99-based standards] (WCHAR_MAX): Likewise.
5370         [C99-based standards] (WINT_MAX): Likewise.
5371         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5372         constraint on value.
5373         [C99-based standards] (WCHAR_MIN): Likewise.
5374         [C99-based standards] (WINT_MIN): Likewise.
5375         [C99-based standards] (*_t): Allow.
5376         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5377         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5378         Include math.h-data and complex.h-data.  Remove all expectations
5379         of math.h and complex.h contents.
5380         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5381         at end of line.
5382         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5383         (struct tm): Expect tag.
5384         [C99-based-standards] (wcstof): Expect function.
5385         [C99-based-standards] (wcstold): Likewise.
5386         [C99-based-standards] (wcstoll): Likewise.
5387         [C99-based-standards] (wcstoull): Likewise.
5388         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5389         macro-int-constant.  Specify type.
5390         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5391         constraint on value.
5392         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5393         Specify type.
5394         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5395         Specify value.
5396         [ISO C standards]: Do not allow headers.
5397         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5398         wcs[abcdefghijklmnopqrstuvwxyz]*.
5399         [ISO C standards] (*_t): Do not allow.
5400         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5401         Expect function.
5402         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5403         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5404         Specify type.
5405         [ISO C standards]: Do not allow headers.
5406         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5407         is[abcdefghijklmnopqrstuvwxyz]*.
5408         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5409         to[abcdefghijklmnopqrstuvwxyz]*.
5410         [ISO C standards] (*_t): Do not allow.
5411         * conform/data/stdalign.h-data: New file.
5412         * conform/data/stdbool.h-data: Likewise.
5413         * conform/data/stdnoreturn.h-data: Likewise.
5415 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5417         [BZ #14815]
5418         * manual/filesys.texi (Directory Entries): Typo fix.
5419         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5421 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5423         * elf/elf.h (EM_AARCH64): New macro.
5424         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5425         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5426         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5427         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5428         (R_AARCH64_TLSDESC): Likewise.
5429         (NT_ARM_TLS): Likewise.
5430         (NT_ARM_HW_BREAK): Likewise.
5431         (NT_ARM_HW_WATCH): Likewise.
5433 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5435         [BZ #14811]
5436         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5437         (__ieee754_powl): Saturate nonzero exponents with absolute value
5438         below 0x1p-79 to +/- 0x1p-79.
5439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5440         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5441         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5442         nonzero exponents with absolute value below 0x1p-32 to +/-
5443         0x1p-32.
5444         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5445         (__ieee754_powl): Saturate nonzero exponents with absolute value
5446         below 0x1p-79 to +/- 0x1p-79.
5447         * math/libm-test.inc (pow_test): Add more tests.
5449 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5451         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5452         _dl_s390_cap_flags with kernel. Increase string length.
5453         (_dl_s390_platforms): Add z196 and zEC12.
5455 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5457         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5458         Change XOPEN21K to XOPEN2K.
5460 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5462         * string/memmove.c: Use memcpy when possible.
5464 2012-11-06  Andreas Jaeger  <aj@suse.de>
5466         * po/eo.po: Update from translation team.
5468 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5470         [BZ #14793]
5471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5472         exponent and small x and y exponents, scale x or y up.  Increase
5473         by 2 the exponent used in scaling up.
5474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5476         * math/libm-test.inc (fma_test): Add more tests.
5477         (fma_test_towardzero): Likewise.
5478         (fma_test_downward): Likewise.
5479         (fma_test_upward): Likewise.
5481 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5483         [BZ #14805]
5484         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5485         fenv_t *.
5487         [BZ #14801]
5488         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5489         namespace for names of struct fields.
5490         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5491         fenv_t fields.
5492         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5493         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5495 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5497         [BZ #3665]
5498         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5500 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5502         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5503         PTR_DEMANGLE.
5505         [BZ #5246]
5506         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5507         PTR_DEMANGLE.
5509 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5511         [BZ #14797]
5512         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5513         definitely overflow as x * y not x * y + z.
5514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5516         * math/libm-test.inc (fma_test): Add more tests.
5517         (fma_test_towardzero): Likewise.
5518         (fma_test_downward): Likewise.
5519         (fma_test_upward): Likewise.
5521 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5523         [BZ #157]
5525         * include/stub-tag.h: Remove file.
5526         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5527         '#include' of it.
5528         * manual/maint.texi (Porting): Don't reference it.
5529         * Makerules ($(objpfx)stubs): Likewise.
5530         * dirent/closedir.c: Don't include <stub-tag.h>.
5531         * dirent/dirfd.c: Likewise.
5532         * dirent/fdopendir.c: Likewise.
5533         * dirent/getdents.c: Likewise.
5534         * dirent/getdents64.c: Likewise.
5535         * dirent/opendir.c: Likewise.
5536         * dirent/readdir.c: Likewise.
5537         * dirent/readdir64.c: Likewise.
5538         * dirent/readdir64_r.c: Likewise.
5539         * dirent/readdir_r.c: Likewise.
5540         * dirent/rewinddir.c: Likewise.
5541         * dirent/seekdir.c: Likewise.
5542         * dirent/telldir.c: Likewise.
5543         * gmon/profil.c: Likewise.
5544         * grp/setgroups.c: Likewise.
5545         * inet/if_index.c: Likewise.
5546         * io/access.c: Likewise.
5547         * io/chdir.c: Likewise.
5548         * io/chmod.c: Likewise.
5549         * io/chown.c: Likewise.
5550         * io/close.c: Likewise.
5551         * io/dup.c: Likewise.
5552         * io/dup2.c: Likewise.
5553         * io/dup3.c: Likewise.
5554         * io/euidaccess.c: Likewise.
5555         * io/faccessat.c: Likewise.
5556         * io/fchdir.c: Likewise.
5557         * io/fchmod.c: Likewise.
5558         * io/fchmodat.c: Likewise.
5559         * io/fchown.c: Likewise.
5560         * io/fchownat.c: Likewise.
5561         * io/fcntl.c: Likewise.
5562         * io/flock.c: Likewise.
5563         * io/fstatfs.c: Likewise.
5564         * io/fstatfs64.c: Likewise.
5565         * io/fstatvfs.c: Likewise.
5566         * io/fstatvfs64.c: Likewise.
5567         * io/futimens.c: Likewise.
5568         * io/fxstat.c: Likewise.
5569         * io/fxstat64.c: Likewise.
5570         * io/fxstatat.c: Likewise.
5571         * io/fxstatat64.c: Likewise.
5572         * io/getcwd.c: Likewise.
5573         * io/isatty.c: Likewise.
5574         * io/lchmod.c: Likewise.
5575         * io/lchown.c: Likewise.
5576         * io/link.c: Likewise.
5577         * io/linkat.c: Likewise.
5578         * io/lseek.c: Likewise.
5579         * io/lseek64.c: Likewise.
5580         * io/lxstat64.c: Likewise.
5581         * io/mkdir.c: Likewise.
5582         * io/mkdirat.c: Likewise.
5583         * io/mkfifo.c: Likewise.
5584         * io/mkfifoat.c: Likewise.
5585         * io/open.c: Likewise.
5586         * io/open64.c: Likewise.
5587         * io/openat.c: Likewise.
5588         * io/openat64.c: Likewise.
5589         * io/pipe.c: Likewise.
5590         * io/pipe2.c: Likewise.
5591         * io/poll.c: Likewise.
5592         * io/posix_fadvise.c: Likewise.
5593         * io/posix_fadvise64.c: Likewise.
5594         * io/posix_fallocate.c: Likewise.
5595         * io/posix_fallocate64.c: Likewise.
5596         * io/read.c: Likewise.
5597         * io/readlink.c: Likewise.
5598         * io/readlinkat.c: Likewise.
5599         * io/rmdir.c: Likewise.
5600         * io/sendfile.c: Likewise.
5601         * io/sendfile64.c: Likewise.
5602         * io/statfs.c: Likewise.
5603         * io/statfs64.c: Likewise.
5604         * io/statvfs.c: Likewise.
5605         * io/statvfs64.c: Likewise.
5606         * io/symlink.c: Likewise.
5607         * io/symlinkat.c: Likewise.
5608         * io/ttyname.c: Likewise.
5609         * io/ttyname_r.c: Likewise.
5610         * io/umask.c: Likewise.
5611         * io/unlink.c: Likewise.
5612         * io/unlinkat.c: Likewise.
5613         * io/utime.c: Likewise.
5614         * io/utimensat.c: Likewise.
5615         * io/write.c: Likewise.
5616         * io/xmknod.c: Likewise.
5617         * io/xmknodat.c: Likewise.
5618         * io/xstat.c: Likewise.
5619         * io/xstat64.c: Likewise.
5620         * login/getpt.c: Likewise.
5621         * login/grantpt.c: Likewise.
5622         * login/unlockpt.c: Likewise.
5623         * math/e_acoshl.c: Likewise.
5624         * math/e_acosl.c: Likewise.
5625         * math/e_asinl.c: Likewise.
5626         * math/e_atan2l.c: Likewise.
5627         * math/e_atanhl.c: Likewise.
5628         * math/e_coshl.c: Likewise.
5629         * math/e_expl.c: Likewise.
5630         * math/e_fmodl.c: Likewise.
5631         * math/e_gammal_r.c: Likewise.
5632         * math/e_hypotl.c: Likewise.
5633         * math/e_j0l.c: Likewise.
5634         * math/e_j1l.c: Likewise.
5635         * math/e_jnl.c: Likewise.
5636         * math/e_lgammal_r.c: Likewise.
5637         * math/e_log10l.c: Likewise.
5638         * math/e_log2l.c: Likewise.
5639         * math/e_logl.c: Likewise.
5640         * math/e_powl.c: Likewise.
5641         * math/e_rem_pio2l.c: Likewise.
5642         * math/e_sinhl.c: Likewise.
5643         * math/e_sqrtl.c: Likewise.
5644         * math/fclrexcpt.c: Likewise.
5645         * math/fedisblxcpt.c: Likewise.
5646         * math/feenablxcpt.c: Likewise.
5647         * math/fegetenv.c: Likewise.
5648         * math/fegetexcept.c: Likewise.
5649         * math/fegetround.c: Likewise.
5650         * math/feholdexcpt.c: Likewise.
5651         * math/fesetenv.c: Likewise.
5652         * math/fesetround.c: Likewise.
5653         * math/feupdateenv.c: Likewise.
5654         * math/fgetexcptflg.c: Likewise.
5655         * math/fraiseexcpt.c: Likewise.
5656         * math/fsetexcptflg.c: Likewise.
5657         * math/ftestexcept.c: Likewise.
5658         * math/k_cosl.c: Likewise.
5659         * math/k_rem_pio2l.c: Likewise.
5660         * math/k_sinl.c: Likewise.
5661         * math/k_tanl.c: Likewise.
5662         * math/s_asinhl.c: Likewise.
5663         * math/s_atanl.c: Likewise.
5664         * math/s_cbrtl.c: Likewise.
5665         * math/s_erfl.c: Likewise.
5666         * math/s_expm1l.c: Likewise.
5667         * math/s_log1pl.c: Likewise.
5668         * math/s_tanhl.c: Likewise.
5669         * misc/acct.c: Likewise.
5670         * misc/brk.c: Likewise.
5671         * misc/chflags.c: Likewise.
5672         * misc/chroot.c: Likewise.
5673         * misc/fchflags.c: Likewise.
5674         * misc/fgetxattr.c: Likewise.
5675         * misc/flistxattr.c: Likewise.
5676         * misc/fremovexattr.c: Likewise.
5677         * misc/fsetxattr.c: Likewise.
5678         * misc/fsync.c: Likewise.
5679         * misc/ftruncate.c: Likewise.
5680         * misc/futimes.c: Likewise.
5681         * misc/futimesat.c: Likewise.
5682         * misc/getdomain.c: Likewise.
5683         * misc/getdtsz.c: Likewise.
5684         * misc/gethostid.c: Likewise.
5685         * misc/gethostname.c: Likewise.
5686         * misc/getloadavg.c: Likewise.
5687         * misc/getpagesize.c: Likewise.
5688         * misc/getsysstats.c: Likewise.
5689         * misc/getxattr.c: Likewise.
5690         * misc/gtty.c: Likewise.
5691         * misc/ioctl.c: Likewise.
5692         * misc/lgetxattr.c: Likewise.
5693         * misc/listxattr.c: Likewise.
5694         * misc/llistxattr.c: Likewise.
5695         * misc/lremovexattr.c: Likewise.
5696         * misc/lsetxattr.c: Likewise.
5697         * misc/lutimes.c: Likewise.
5698         * misc/madvise.c: Likewise.
5699         * misc/mincore.c: Likewise.
5700         * misc/mlock.c: Likewise.
5701         * misc/mlockall.c: Likewise.
5702         * misc/mmap.c: Likewise.
5703         * misc/mprotect.c: Likewise.
5704         * misc/msync.c: Likewise.
5705         * misc/munlock.c: Likewise.
5706         * misc/munlockall.c: Likewise.
5707         * misc/munmap.c: Likewise.
5708         * misc/preadv.c: Likewise.
5709         * misc/preadv64.c: Likewise.
5710         * misc/ptrace.c: Likewise.
5711         * misc/pwritev.c: Likewise.
5712         * misc/pwritev64.c: Likewise.
5713         * misc/readv.c: Likewise.
5714         * misc/reboot.c: Likewise.
5715         * misc/remap_file_pages.c: Likewise.
5716         * misc/removexattr.c: Likewise.
5717         * misc/revoke.c: Likewise.
5718         * misc/select.c: Likewise.
5719         * misc/setdomain.c: Likewise.
5720         * misc/setegid.c: Likewise.
5721         * misc/seteuid.c: Likewise.
5722         * misc/sethostid.c: Likewise.
5723         * misc/sethostname.c: Likewise.
5724         * misc/setregid.c: Likewise.
5725         * misc/setreuid.c: Likewise.
5726         * misc/setxattr.c: Likewise.
5727         * misc/sstk.c: Likewise.
5728         * misc/stty.c: Likewise.
5729         * misc/swapoff.c: Likewise.
5730         * misc/swapon.c: Likewise.
5731         * misc/sync.c: Likewise.
5732         * misc/syncfs.c: Likewise.
5733         * misc/syscall.c: Likewise.
5734         * misc/truncate.c: Likewise.
5735         * misc/ualarm.c: Likewise.
5736         * misc/usleep.c: Likewise.
5737         * misc/ustat.c: Likewise.
5738         * misc/utimes.c: Likewise.
5739         * misc/vhangup.c: Likewise.
5740         * misc/writev.c: Likewise.
5741         * posix/_exit.c: Likewise.
5742         * posix/alarm.c: Likewise.
5743         * posix/execve.c: Likewise.
5744         * posix/fexecve.c: Likewise.
5745         * posix/fork.c: Likewise.
5746         * posix/fpathconf.c: Likewise.
5747         * posix/getaddrinfo.c: Likewise.
5748         * posix/getegid.c: Likewise.
5749         * posix/geteuid.c: Likewise.
5750         * posix/getgid.c: Likewise.
5751         * posix/getgroups.c: Likewise.
5752         * posix/getlogin.c: Likewise.
5753         * posix/getlogin_r.c: Likewise.
5754         * posix/getpgid.c: Likewise.
5755         * posix/getpid.c: Likewise.
5756         * posix/getppid.c: Likewise.
5757         * posix/getresgid.c: Likewise.
5758         * posix/getresuid.c: Likewise.
5759         * posix/getsid.c: Likewise.
5760         * posix/getuid.c: Likewise.
5761         * posix/glob64.c: Likewise.
5762         * posix/nanosleep.c: Likewise.
5763         * posix/pathconf.c: Likewise.
5764         * posix/pause.c: Likewise.
5765         * posix/posix_madvise.c: Likewise.
5766         * posix/pread.c: Likewise.
5767         * posix/pread64.c: Likewise.
5768         * posix/pwrite.c: Likewise.
5769         * posix/pwrite64.c: Likewise.
5770         * posix/sched_getaffinity.c: Likewise.
5771         * posix/sched_getp.c: Likewise.
5772         * posix/sched_gets.c: Likewise.
5773         * posix/sched_primax.c: Likewise.
5774         * posix/sched_primin.c: Likewise.
5775         * posix/sched_rr_gi.c: Likewise.
5776         * posix/sched_setaffinity.c: Likewise.
5777         * posix/sched_setp.c: Likewise.
5778         * posix/sched_sets.c: Likewise.
5779         * posix/sched_yield.c: Likewise.
5780         * posix/setgid.c: Likewise.
5781         * posix/setlogin.c: Likewise.
5782         * posix/setpgid.c: Likewise.
5783         * posix/setresgid.c: Likewise.
5784         * posix/setresuid.c: Likewise.
5785         * posix/setsid.c: Likewise.
5786         * posix/setuid.c: Likewise.
5787         * posix/sleep.c: Likewise.
5788         * posix/spawni.c: Likewise.
5789         * posix/sysconf.c: Likewise.
5790         * posix/times.c: Likewise.
5791         * posix/wait.c: Likewise.
5792         * posix/wait3.c: Likewise.
5793         * posix/wait4.c: Likewise.
5794         * posix/waitpid.c: Likewise.
5795         * resolv/gai_sigqueue.c: Likewise.
5796         * resource/getpriority.c: Likewise.
5797         * resource/getrlimit.c: Likewise.
5798         * resource/getrusage.c: Likewise.
5799         * resource/nice.c: Likewise.
5800         * resource/setpriority.c: Likewise.
5801         * resource/setrlimit.c: Likewise.
5802         * resource/ulimit.c: Likewise.
5803         * rt/aio_cancel.c: Likewise.
5804         * rt/aio_fsync.c: Likewise.
5805         * rt/aio_read.c: Likewise.
5806         * rt/aio_sigqueue.c: Likewise.
5807         * rt/aio_suspend.c: Likewise.
5808         * rt/aio_write.c: Likewise.
5809         * rt/clock_getres.c: Likewise.
5810         * rt/clock_gettime.c: Likewise.
5811         * rt/clock_nanosleep.c: Likewise.
5812         * rt/clock_settime.c: Likewise.
5813         * rt/lio_listio.c: Likewise.
5814         * rt/mq_close.c: Likewise.
5815         * rt/mq_getattr.c: Likewise.
5816         * rt/mq_notify.c: Likewise.
5817         * rt/mq_open.c: Likewise.
5818         * rt/mq_receive.c: Likewise.
5819         * rt/mq_send.c: Likewise.
5820         * rt/mq_setattr.c: Likewise.
5821         * rt/mq_timedreceive.c: Likewise.
5822         * rt/mq_timedsend.c: Likewise.
5823         * rt/mq_unlink.c: Likewise.
5824         * rt/shm_open.c: Likewise.
5825         * rt/shm_unlink.c: Likewise.
5826         * rt/timer_create.c: Likewise.
5827         * rt/timer_delete.c: Likewise.
5828         * rt/timer_getoverr.c: Likewise.
5829         * rt/timer_gettime.c: Likewise.
5830         * rt/timer_settime.c: Likewise.
5831         * setjmp/__longjmp.c: Likewise.
5832         * setjmp/setjmp.c: Likewise.
5833         * signal/kill.c: Likewise.
5834         * signal/killpg.c: Likewise.
5835         * signal/raise.c: Likewise.
5836         * signal/sigaction.c: Likewise.
5837         * signal/sigaltstack.c: Likewise.
5838         * signal/sigblock.c: Likewise.
5839         * signal/sigignore.c: Likewise.
5840         * signal/sigintr.c: Likewise.
5841         * signal/signal.c: Likewise.
5842         * signal/sigpause.c: Likewise.
5843         * signal/sigpending.c: Likewise.
5844         * signal/sigqueue.c: Likewise.
5845         * signal/sigreturn.c: Likewise.
5846         * signal/sigset.c: Likewise.
5847         * signal/sigsetmask.c: Likewise.
5848         * signal/sigstack.c: Likewise.
5849         * signal/sigsuspend.c: Likewise.
5850         * signal/sigtimedwait.c: Likewise.
5851         * signal/sigvec.c: Likewise.
5852         * signal/sigwait.c: Likewise.
5853         * signal/sigwaitinfo.c: Likewise.
5854         * signal/sysv_signal.c: Likewise.
5855         * socket/accept.c: Likewise.
5856         * socket/accept4.c: Likewise.
5857         * socket/bind.c: Likewise.
5858         * socket/connect.c: Likewise.
5859         * socket/getpeername.c: Likewise.
5860         * socket/getsockname.c: Likewise.
5861         * socket/getsockopt.c: Likewise.
5862         * socket/isfdtype.c: Likewise.
5863         * socket/listen.c: Likewise.
5864         * socket/recv.c: Likewise.
5865         * socket/recvfrom.c: Likewise.
5866         * socket/recvmsg.c: Likewise.
5867         * socket/send.c: Likewise.
5868         * socket/sendmsg.c: Likewise.
5869         * socket/sendto.c: Likewise.
5870         * socket/setsockopt.c: Likewise.
5871         * socket/shutdown.c: Likewise.
5872         * socket/sockatmark.c: Likewise.
5873         * socket/socket.c: Likewise.
5874         * socket/socketpair.c: Likewise.
5875         * stdio-common/ctermid.c: Likewise.
5876         * stdio-common/cuserid.c: Likewise.
5877         * stdio-common/remove.c: Likewise.
5878         * stdio-common/rename.c: Likewise.
5879         * stdio-common/renameat.c: Likewise.
5880         * stdio-common/tempname.c: Likewise.
5881         * stdlib/getcontext.c: Likewise.
5882         * stdlib/makecontext.c: Likewise.
5883         * stdlib/setcontext.c: Likewise.
5884         * stdlib/swapcontext.c: Likewise.
5885         * stdlib/system.c: Likewise.
5886         * streams/fattach.c: Likewise.
5887         * streams/fdetach.c: Likewise.
5888         * streams/getmsg.c: Likewise.
5889         * streams/getpmsg.c: Likewise.
5890         * streams/putmsg.c: Likewise.
5891         * streams/putpmsg.c: Likewise.
5892         * sysdeps/unix/bsd/getpt.c: Likewise.
5893         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5894         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5895         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5897         Likewise.
5898         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5899         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5900         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5901         * sysvipc/msgctl.c: Likewise.
5902         * sysvipc/msgget.c: Likewise.
5903         * sysvipc/msgrcv.c: Likewise.
5904         * sysvipc/msgsnd.c: Likewise.
5905         * sysvipc/semctl.c: Likewise.
5906         * sysvipc/semget.c: Likewise.
5907         * sysvipc/semop.c: Likewise.
5908         * sysvipc/semtimedop.c: Likewise.
5909         * sysvipc/shmat.c: Likewise.
5910         * sysvipc/shmctl.c: Likewise.
5911         * sysvipc/shmdt.c: Likewise.
5912         * sysvipc/shmget.c: Likewise.
5913         * termios/tcdrain.c: Likewise.
5914         * termios/tcflow.c: Likewise.
5915         * termios/tcflush.c: Likewise.
5916         * termios/tcgetattr.c: Likewise.
5917         * termios/tcgetpgrp.c: Likewise.
5918         * termios/tcsendbrk.c: Likewise.
5919         * termios/tcsetattr.c: Likewise.
5920         * termios/tcsetpgrp.c: Likewise.
5921         * time/adjtime.c: Likewise.
5922         * time/clock.c: Likewise.
5923         * time/getitimer.c: Likewise.
5924         * time/gettimeofday.c: Likewise.
5925         * time/setitimer.c: Likewise.
5926         * time/settimeofday.c: Likewise.
5927         * time/stime.c: Likewise.
5928         * time/time.c: Likewise.
5930 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
5932         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5933         /usr/old/bin.
5935         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5936         instead of spaces.
5937         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5939 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
5941         [BZ #14796]
5942         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5943         FE_TONEAREST before applying Dekker multiplication and Knuth
5944         addition.  Clear inexact exceptions and check for exact zero
5945         results afterwards.
5946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5947         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5949         * math/libm-test.inc (fma_test): Add more tests.
5950         (fma_test_towardzero): Likewise.
5951         (fma_test_downward): Likewise.
5952         (fma_test_upward): Likewise.
5953         * sysdeps/generic/math_private.h (default_libc_fesetround): New
5954         function.
5955         (libc_fesetround): New macro.
5956         (libc_fesetroundf): Likewise.
5957         (libc_fesetroundl): Likewise.
5958         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5959         function.
5960         (libc_fesetround_387): Likewise.
5961         (libc_fesetroundf): New macro.
5962         (libc_fesetround): Likewise.
5963         (libc_fesetroundl): Likewise.
5964         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5965         function.
5966         (libc_fesetroundf): New macro.
5967         (libc_fesetround): Likewise.
5968         (libc_fesetroundl): Likewise.
5969         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5970         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5971         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5972         libm_hidden_ver.
5973         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5974         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5975         libm_hidden_def.
5976         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5977         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5978         libm_hidden_ver.
5979         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5980         libm_hidden_def.
5982         [BZ #3439]
5983         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5984         integer constant usable in #if and use that to give value to enum
5985         constant.
5986         (FE_DIVBYZERO): Likewise.
5987         (FE_UNDERFLOW): Likewise.
5988         (FE_OVERFLOW): Likewise.
5989         (FE_INVALID): Likewise.
5990         (FE_INVALID_SNAN): Likewise.
5991         (FE_INVALID_ISI): Likewise.
5992         (FE_INVALID_IDI): Likewise.
5993         (FE_INVALID_ZDZ): Likewise.
5994         (FE_INVALID_IMZ): Likewise.
5995         (FE_INVALID_COMPARE): Likewise.
5996         (FE_INVALID_SOFTWARE): Likewise.
5997         (FE_INVALID_SQRT): Likewise.
5998         (FE_INVALID_INTEGER_CONVERSION): Likewise.
5999         (FE_TONEAREST): Likewise.
6000         (FE_TOWARDZERO): Likewise.
6001         (FE_UPWARD): Likewise.
6002         (FE_DOWNWARD): Likewise.
6003         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6004         (FE_DIVBYZERO): Likewise.
6005         (FE_OVERFLOW): Likewise.
6006         (FE_UNDERFLOW): Likewise.
6007         (FE_INEXACT): Likewise.
6008         (FE_TONEAREST): Likewise.
6009         (FE_DOWNWARD): Likewise.
6010         (FE_UPWARD): Likewise.
6011         (FE_TOWARDZERO): Likewise.
6012         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6013         (FE_UNDERFLOW): Likewise.
6014         (FE_OVERFLOW): Likewise.
6015         (FE_DIVBYZERO): Likewise.
6016         (FE_INVALID): Likewise.
6017         (FE_TONEAREST): Likewise.
6018         (FE_TOWARDZERO): Likewise.
6019         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6020         (FE_OVERFLOW): Likewise.
6021         (FE_UNDERFLOW): Likewise.
6022         (FE_DIVBYZERO): Likewise.
6023         (FE_INEXACT): Likewise.
6024         (FE_TONEAREST): Likewise.
6025         (FE_TOWARDZERO): Likewise.
6026         (FE_UPWARD): Likewise.
6027         (FE_DOWNWARD): Likewise.
6028         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6029         (FE_DIVBYZERO): Likewise.
6030         (FE_OVERFLOW): Likewise.
6031         (FE_UNDERFLOW): Likewise.
6032         (FE_INEXACT): Likewise.
6033         (FE_TONEAREST): Likewise.
6034         (FE_DOWNWARD): Likewise.
6035         (FE_UPWARD): Likewise.
6036         (FE_TOWARDZERO): Likewise.
6038 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6040         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6042 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6044         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6045         commands.  Quote $PWD.
6046         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6047         -x" by "export".
6048         (remove_newlines): Remove.
6050 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6052         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6053         * stdlib/stdlib.h (atof): Moved to ...
6054         * include/bits/stdlib-float.h: Here.  New file.
6055         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6056         * stdlib/bits/stdlib-float.h: New file.
6057         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6058         -mno-sse -mno-mmx.
6059         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6060         <xmmintrin.h>.
6062 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6064         * conform/conformtest.pl (@headers): Add fenv.h.
6065         * conform/data/fenv.h-data: New file.
6066         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6067         include of <math/fenv.h>.
6069         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6070         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6071         && !UNIX98].  Enables tests for XOPEN2K8.
6072         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6073         POSIX2008]: Likewise.
6075         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6076         (struct rusage): Do not expect type or its members.
6078         [BZ #3439]
6079         * math/math.h (FP_NAN): Define macro to integer constant usable in
6080         #if and use that to give value to enum constant.
6081         (FP_INFINITE): Likewise.
6082         (FP_ZERO): Likewise.
6083         (FP_SUBNORMAL): Likewise.
6084         (FP_NORMAL): Likewise.
6086 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6088         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6089         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6090         arguments.
6092 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6094         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6095         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6096         autoconf-time if not.
6097         * configure.in: Remove AC_PREREQ.
6099 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6101         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6102         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6103         of the internal implementation.
6105 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6107         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6108         except include of <misc/sys/syslog.h>.
6110 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6113         function returns with a NULL context exit with zero.
6115 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6117         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6119 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6121         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6122         (run_program_cmd): This.
6123         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6124         (tst_langinfo): New variable.  Use it.
6126 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6128         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6129         floating point opcodes.
6131 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6133         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6134         variable.
6136         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6138         * sysdeps/mach/hurd/powerpc: Remove directory.
6139         * sysdeps/mach/powerpc: Likewise.
6141 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6143         * scripts/check-local-headers.sh: Ignore c++ headers.
6145 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6147         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6148         __libc_cleanup_region_start argument.
6150 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6152         [BZ #14784]
6153         [BZ #14785]
6154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6155         x * y using scaling, not as x * y + z.
6156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6157         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6158         * math/libm-test.inc (fma_test): Add more tests.
6159         (fma_test_towardzero): Likewise.
6160         (fma_test_downward): Likewise.
6161         (fma_test_upward): Likewise.
6163 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6165         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6167 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6169         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6170         New variable.
6172 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6174         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6176 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6179         Fix sort order.
6180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6181         Likewise.
6183 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6186         Fix the order of the list for glibc 2.17.
6187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6188         Likewise.
6190 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6194 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6196         [BZ #14610]
6197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6198         for low part of x being zero before using __atanl (y).
6199         * math/libm-test.inc (atan2_test): Add another test.
6201         * manual/install.texi (Configuring and compiling): Document
6202         general use of test-wrapper and test-wrapper-env.
6203         * INSTALL: Regenerated.
6205         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6206         (__fma): Do not extract and scale down low bits on after-rounding
6207         systems when result rounded to normal precision would have normal
6208         exponent.
6209         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6210         (__fmal): Do not extract and scale down low bits on after-rounding
6211         systems when result rounded to normal precision would have normal
6212         exponent.
6213         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6214         (__fmal): Do not extract and scale down low bits on after-rounding
6215         systems when result rounded to normal precision would have normal
6216         exponent.
6217         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6218         macro.
6219         (fma_test): Add more tests.
6220         (fma_test_towardzero): Likewise.
6221         (fma_test_downward): Likewise.
6222         (fma_test_upward): Likewise.
6224 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6226         * sysdeps/i386/tininess.h: Renamed to ...
6227         * sysdeps/x86/tininess.h: This.
6228         * sysdeps/x86_64/tininess.h: Removed.
6230 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6232         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6233         input.  Use $(build-program-cmd).
6234         ($(objpfx)tst-array1-static.out): Likewise.
6235         ($(objpfx)tst-array2.out): Likewise.
6236         ($(objpfx)tst-array3.out): Likewise.
6237         ($(objpfx)tst-array4.out): Likewise.
6238         ($(objpfx)tst-array5.out): Likewise.
6239         ($(objpfx)tst-array5-static.out): Likewise.
6241 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6243         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6244         if defined.
6246         * nss/nsswitch.h (nss_interface_function): Provide new
6247         macro for use with NSS functions.
6248         * grp/initgroups.c: Use new macro.
6249         * nss/getXXbyYY.c: Likewise.
6250         * nss/getXXbyYY_r.c: Likewise.
6251         * nss/getXXent.c: Likewise.
6252         * nss/getXXent_r.c: Likewise.
6253         * sysdeps/posix/getaddrinfo.c: Likewise.
6255 2012-10-30  Andreas Jaeger  <aj@suse.de>
6257         * po/ru.po: Update Russion translation from translation project.
6259 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6261         [BZ #14152]
6262         [BZ #14783]
6263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6264         result and shift together with sticky bit instead of replicating
6265         round-to-nearest rounding.
6266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6268         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6269         missing underflow exceptions.
6270         (fma_test_towardzero): Add more tests.
6271         (fma_test_downward): Likewise.
6272         (fma_test_upward): Likewise.
6274         [BZ #14047]
6275         * sysdeps/generic/tininess.h: New file.
6276         * sysdeps/i386/tininess.h: Likewise.
6277         * sysdeps/sh/tininess.h: Likewise.
6278         * sysdeps/x86_64/tininess.h: Likewise.
6279         * stdlib/tst-strtod-underflow.c: Likewise.
6280         * stdlib/tst-tininess.c: Likewise.
6281         * stdlib/strtod_l.c: Include <tininess.h>.
6282         (round_and_return): Do not set errno for exact underflow cases.
6283         Force an underflow exception when setting errno for underflow.
6284         Determine underflow based on rounding to normal precision if
6285         TININESS_AFTER_ROUNDING.
6286         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6287         ERANGE for exact underflow cases.
6288         * stdlib/Makefile (tests): Add tst-tininess and
6289         tst-strtod-underflow.
6290         ($(objpfx)tst-tininess): Use $(link-libm).
6291         ($(objpfx)tst-strtod-underflow): Likewise.
6293 2012-10-30  Andreas Jaeger  <aj@suse.de>
6295         [BZ#14767]
6296         * elf/Makefile (tests): Remove conditional for have-initfini-array
6297         since this is now always required and the variable does not exist
6298         anymore.
6299         (tests-static): Likewise.
6300         (modules-names): Likewise.
6302         * po/eo.po: Add Esperanto translation from translation project.
6304         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6305         merged with constructor/destructor.
6306         (init_array): Likewise.
6307         * elf/tst-array2dep.c (fini_array): Likewise.
6308         (init_array): Likewise.
6310 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6312         * manual/message.texi: Delete @cartouche tags.
6314 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6316         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6317         EOPNOTSUPP.
6318         * sysdeps/mach/hurd/fsync.c: Likewise.
6320         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6321         [_POSIX_REALTIME_SIGNALS]: Change condition to
6322         [_POSIX_REALTIME_SIGNALS > 0].
6324 2012-10-27  Andreas Jaeger  <aj@suse.de>
6326         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6327         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6329         [__WORDSIZE != 64]: Likewise.
6331 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6333         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6334         *  iconvdata/tst-tables.sh: Likewise.
6336 2012-10-25  David S. Miller  <davem@davemloft.net>
6338         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6339         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6340         of strtoull.
6342         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6343         ifunc-impl-list.c
6344         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6345         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6346         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6347         file.
6349 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6351         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6352         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6353         __getdirentries.
6355 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6356             Jim Blandy  <jimb@codesourcery.com>
6358         * scripts/cross-test-ssh.sh: New file.
6359         * manual/install.texi (Configuring and compiling): Document use of
6360         cross-test-ssh.sh.
6361         * INSTALL: Regenerated.
6363 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6365         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6366         EOPNOTSUPP.
6368 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6370         * Makeconfig (run-program-prefix): Fix comment.
6372 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6373             Jim Blandy  <jimb@codesourcery.com>
6375         * Makeconfig (test-wrapper): New variable,
6376         (test-wrapper-env): Likewise.
6377         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6378         (run-built-tests): Define to yes.
6379         (run-program-prefix): Use $(test-wrapper).
6380         (built-program-cmd): Likewise.
6381         * Rules (make-test-out): Use $(test-wrapper-env) and
6382         $(host-built-program-cmd).
6383         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6384         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6385         tst-pathopt.sh.
6386         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6387         $(test-wrapper-env) to tst-rtld-load-self.sh.
6388         ($(objpfx)order2.out): Use $(test-wrapper).
6389         ($(objpfx)tst-initorder.out): Likewise.
6390         ($(objpfx)tst-initorder2.out): Likewise.
6391         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6392         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6393         (test_wrapper_env): New variable.  Use it to run ld.so.
6394         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6395         Use it to run ld.so.
6396         (test_wrapper_env): Likewise.
6397         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6398         $(test-wrapper) to run-iconv-test.sh.
6399         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6400         (ICONV): Use $test_wrapper.
6401         * posix/Makefile ($(objpfx)globtest.out): Pass
6402         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6403         globtest.sh, not $(run-program-prefix).
6404         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6405         (test_wrapper): Likewise.
6406         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6407         set together with run_via_rtld_prefix.
6408         (run_program_prefix): Define in terms of test_wrapper and
6409         run_via_rtld_prefix.
6411 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6413         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6414         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6415         Targets removed.
6417         [BZ #14743]
6418         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6419         Declare __clock_getres, __clock_gettime, __clock_settime,
6420         __clock_nanosleep, and __clock_getcpuclockid.
6421         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6422         Remove librt_hidden_def (clock_gettime).
6423         * sysdeps/unix/clock_gettime.c: Likewise.
6424         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6425         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6426         * rt/clock_getres.c: Define __clock_getres as an alias.
6427         * sysdeps/posix/clock_getres.c: Likewise.
6428         * rt/clock_settime.c: Define __clock_settime as an alias.
6429         * sysdeps/unix/clock_settime.c: Likewise.
6430         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6431         * sysdeps/unix/clock_nanosleep.c: Likewise.
6432         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6433         * rt/clock-compat.c: New file.
6434         * rt/Makefile (librt-routines): Add clock-compat and move
6435         $(clock-routines) to ...
6436         (routines): ... here, new variable.
6437         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6438         Don't add get_clockfreq here.
6439         * rt/Versions (libc: GLIBC_2.17): New version set.
6440         Add clock_* symbols here.
6441         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6442         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6443         (GLIBC_2.17): Add clock_* symbols.
6444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6448         Likewise.
6449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6455         * NEWS: Mention the move.
6457         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6458         Use __open, __read, __close rather than their public counterparts.
6459         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6460         (__get_clockfreq_via_cpuinfo): Likewise.
6461         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6462         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6464         * config.h.in (HAVE_IFUNC): New #undef.
6465         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6466         was successful.
6467         * configure: Regenerated.
6469 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6471         * configure.in: Move READELF check to start of file.
6472         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6473         libc_cv_asm_gnu_indirect_function in the process.
6474         * configure: Regenerated.
6476 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6478         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6479         send the output to /dev/null.
6480         (libc_cv_cc_with_libunwind): Likewise.
6481         (libc_cv_as_noexecstack): Likewise.
6482         * configure: Regenerate.
6484 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6486         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6488         * posix/globtest.sh (TMPDIR): Do not set.
6489         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6490         (testout): Likewise.
6492 2012-10-24  Andreas Jaeger  <aj@suse.de>
6494         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6495         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6496         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6497         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6498         posix_fadvise64, posix_fallocate64.
6500         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6501         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6502         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6503         Likewise.
6504         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6505         Likewise.
6506         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6509         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6510         <bits/fcntl-linux.h>.
6511         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6514         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6515         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6516         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6517         [__WORDSIZE != 64]: Likewise.
6519 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6521         * Makeconfig (run-built-tests): New variable.
6522         * Rules [$(cross-compiling) = yes]: Change condition to
6523         [$(run-built-tests) = no].
6524         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6525         to [$(run-built-tests) = yes].
6526         * elf/Makefile [$(cross-compiling) = no]: Likewise
6527         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6528         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6529         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6530         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6531         * io/Makefile [$(cross-compiling) = no]: Likewise.
6532         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6533         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6534         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6535         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6536         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6537         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6538         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6539         * string/Makefile [$(cross-compiling) = no]: Likewise.
6541         * posix/Makefile ($(objpfx)globtest.out): Pass
6542         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6543         $(rtld-installed-name).
6544         * posix/globtest.sh (elf_objpfx): Remove variable.
6545         (rtld_installed_name): Likewise.
6546         (library_path): Likewise.
6547         (run_program_prefix): New variable.  Use for running globtest
6548         binary.
6550 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6551             Joseph Myers  <joseph@codesourcery.com>
6553         * Makeconfig (host-built-program-cmd): New variable.
6554         * elf/Makefile (tst-stackguard1-ARGS): Use
6555         $(host-built-program-cmd).
6556         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6557         (tst-spawn-ARGS): Likewise.
6558         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6560 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6561             Jim Blandy  <jimb@codesourcery.com>
6563         * Makeconfig (run-via-rtld-prefix): New variable.
6564         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6565         (built-program-cmd): Likewise.
6567 2012-10-22  Andreas Jaeger  <aj@suse.de>
6569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6570         __O_RSYNC if it exists, otherwise to O_SYNC.
6572 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
6573             Joseph Myers  <joseph@codesourcery.com>
6575         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6576         /dev/null.
6577         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6578         from /dev/null
6579         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6580         /dev/null.
6582 2012-10-22  Andreas Jaeger  <aj@suse.de>
6584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6585         Define always.
6586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6589         bits/fcntl-linux.h.
6591         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6592         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6595         to __O_LARGEFILE.
6596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6597         to __O_LARGEFILE.
6599 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
6600             Joseph Myers  <joseph@codesourcery.com>
6602         * config.make.in (NM): New variable.
6604 2012-10-21  Andreas Jaeger  <aj@suse.de>
6606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6607         definitions and declarations that are provided by
6608         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6610 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6612         [BZ #14683]
6613         * elf/Makefile (tests-static): Add tst-leaks1-static.
6614         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6615         ($(objpfx)tst-leaks1-static): New rule.
6616         ($(objpfx)tst-leaks1-static-mem): Likewise.
6617         (tst-leaks1-static-ENV): New macro.
6618         * elf/dl-open.c (dl_open_worker): Check the main application
6619         only if SHARED is defined.
6620         * elf/tst-leaks1-static.c: New file.
6622 2012-10-20  Andreas Jaeger  <aj@suse.de>
6624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6625         generic values for Linux.
6626         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6627         and declarations that are provided by <bits/fcntl-linux.h> and
6628         include <bits/fcntl-linux.h>.
6629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6630         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6632 2012-10-20  Roland McGrath  <roland@hack.frob.com>
6634         * io/fcntl.h: Move include of <bits/types.h> to the top and
6635         include it unconditionally.
6637 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6639         * wcsmbs/Makefile (tests-ifunc): New variable.
6640         (tests): Add $(tests-ifunc).
6641         * wcsmbs/test-wcschr-ifunc.c: New file.
6642         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6643         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6644         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6645         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6646         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6648         * string/Makefile (tests-ifunc): New variable.
6649         (tests): Add $(tests-ifunc).
6650         * string/test-memccpy.c (TEST_NAME): New macro.
6651         * string/test-memchr.c (TEST_NAME): Likewise.
6652         * string/test-memcmp.c (TEST_NAME): Likewise.
6653         * string/test-memcpy.c (TEST_NAME): Likewise.
6654         * string/test-memmem.c (TEST_NAME): Likewise.
6655         * string/test-memmove.c (TEST_NAME): Likewise.
6656         * string/test-memset.c (TEST_NAME): Likewise.
6657         * string/test-rawmemchr.c (TEST_NAME): Likewise.
6658         * string/test-stpcpy.c (TEST_NAME): Likewise.
6659         * string/test-stpncpy.c (TEST_NAME): Likewise.
6660         * string/test-strcasecmp.c (TEST_NAME): Likewise.
6661         * string/test-strcasestr.c (TEST_NAME): Likewise.
6662         * string/test-strcat.c (TEST_NAME): Likewise.
6663         * string/test-strchr.c (TEST_NAME): Likewise.
6664         * string/test-strcmp.c(TEST_NAME): Likewise.
6665         * string/test-strcpy.c (TEST_NAME): Likewise.
6666         * string/test-strcspn.c (TEST_NAME): Likewise.
6667         * string/test-strlen.c (TEST_NAME): Likewise.
6668         * string/test-strncasecmp.c (TEST_NAME): Likewise.
6669         * string/test-strncmp.c (TEST_NAME): Likewise.
6670         * string/test-strncpy.c (TEST_NAME): Likewise.
6671         * string/test-strnlen.c (TEST_NAME): Likewise.
6672         * string/test-strpbrk.c (TEST_NAME): Likewise.
6673         * string/test-strrchr.c (TEST_NAME): Likewise.
6674         * string/test-strspn.c (TEST_NAME): Likewise.
6675         * string/test-strstr.c (TEST_NAME): Likewise.
6676         * string/test-bcopy-ifunc.c: New file.
6677         * string/test-bzero-ifunc.c: Likewise.
6678         * string/test-memccpy-ifunc.c: Likewise.
6679         * string/test-memchr-ifunc.c: Likewise.
6680         * string/test-memcmp-ifunc.c: Likewise.
6681         * string/test-memcpy-ifunc.c: Likewise.
6682         * string/test-memmem-ifunc.c: Likewise.
6683         * string/test-memmove-ifunc.c: Likewise.
6684         * string/test-mempcpy-ifunc.c: Likewise.
6685         * string/test-memset-ifunc.c: Likewise.
6686         * string/test-rawmemchr-ifunc.c: Likewise.
6687         * string/test-stpcpy-ifunc.c: Likewise.
6688         * string/test-stpncpy-ifunc.c: Likewise.
6689         * string/test-strcasecmp-ifunc.c: Likewise.
6690         * string/test-strcasestr-ifunc.c: Likewise.
6691         * string/test-strcat-ifunc.c: Likewise.
6692         * string/test-strchr-ifunc.c: Likewise.
6693         * string/test-strchrnul-ifunc.c: Likewise.
6694         * string/test-strcmp-ifunc.c: Likewise.
6695         * string/test-strcpy-ifunc.c: Likewise.
6696         * string/test-strcspn-ifunc.c: Likewise.
6697         * string/test-strlen-ifunc.c: Likewise.
6698         * string/test-strncasecmp-ifunc.c: Likewise.
6699         * string/test-strncat-ifunc.c: Likewise.
6700         * string/test-strncmp-ifunc.c: Likewise.
6701         * string/test-strncpy-ifunc.c: Likewise.
6702         * string/test-strnlen-ifunc.c: Likewise.
6703         * string/test-strpbrk-ifunc.c: Likewise.
6704         * string/test-strrchr-ifunc.c: Likewise.
6705         * string/test-strspn-ifunc.c: Likewise.
6706         * string/test-strstr-ifunc.c: Likewise.
6708         * debug/Makefile (tests-ifunc): New variable.
6709         (tests): Add $(tests-ifunc).
6710         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6711         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6712         * debug/test-stpcpy_chk-ifunc.c: New file.
6713         * debug/test-strcpy_chk-ifunc.c: Likewise.
6715 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6717         [BZ #13601]
6718         * elf/dl-load.c (open_verify): Retry read if the entire ELF
6719         header is not read in.
6721 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
6723         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
6724         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
6725         directly.  Pass built executable to script as
6726         $(built-program-cmd).
6727         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
6728         $testprogram without using LD_LIBRARY_PATH and $ldso.
6730         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6731         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6732         $(rtld-installed-name).
6733         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6734         (rtld_installed_name): Likewise.
6735         (library_path): Likewise.
6736         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
6737         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6738         $(run-program-prefix) to tst-tables.sh.
6739         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
6740         it to run tst-table-from and tst-table-to.
6741         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6742         Pass it to tst-table.sh.
6743         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6744         $(run-program-prefix) to tst-gettext.sh.
6745         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6746         tst-translit.sh.
6747         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6748         tst-gettext2.sh.
6749         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
6750         to run tst-gettext.
6751         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
6752         to run tst-gettext2.
6753         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
6754         to run tst-translit.
6755         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6756         $(run-program-prefix) to tst-mtrace.sh.
6757         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
6758         to run tst-mtrace.
6759         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6760         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6761         $(rtld-installed-name).
6762         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6763         (rtld_installed_name): Likewise.
6764         (run_program_prefix): New variable.  Use it to run wordexp-test.
6766         * Makeconfig (ARCH): Remove all definitions.
6767         (machine): Likewise.
6768         [ARCH]: Remove conditional code.
6769         [!objdir]: Give error.
6770         [!objdir] (objpfx): Remove.
6771         [!objdir] (common-objpfx): Likewise.
6772         [!objdir] (common-objdir): Likewise.
6773         * configure.in (config_makefile): Remove.  Hardcode Makefile in
6774         AC_CONFIG_FILES call.
6775         * configure: Regenerated.
6777         [BZ #13888]
6778         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6779         or TMPDIR.
6780         (testout): Likewise.
6782         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6783         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6784         $(rtld-installed-name).
6785         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6786         (rtld_installed_name): Likwise.
6787         (runit): Remove function.
6788         (run_getconf): New variable,  Use it for running getconf binary.
6790 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
6792         [BZ #14716]
6793         * string/test-memmem.c (check_result): New function.
6794         (do_one_test): Use it.
6795         (check1): New function.
6796         (test_main): Use it.
6798 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
6800         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6802 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
6804         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6805         (_G_LSEEK64): Likewise.
6806         (_G_MMAP64): Likewise.
6807         (_G_FSTAT64): Likewise.
6808         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6809         (_G_LSEEK64): Likewise.
6810         (_G_MMAP64): Likewise.
6811         (_G_FSTAT64): Likewise.
6812         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6813         unconditional.  Call __mmap64 directly.
6814         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6815         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
6816         __lseek64 directly.
6817         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6818         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
6819         __mmap64 directly.
6820         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6821         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6822         __lseek64 directly.
6823         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6824         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6825         __lseek64 directly.
6826         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6827         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
6828         __lseek64 directly.
6829         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6830         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
6831         __fxstat64 directly.
6832         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6833         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6834         unconditional.
6835         (freopen64) [!_G_OPEN64]: Remove conditional code.
6836         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6837         unconditional.
6838         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6839         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6840         unconditional.
6841         (ftello64) [!_G_LSEEK64]: Remove conditional code.
6842         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6843         unconditional.
6844         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6845         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6846         unconditional.
6847         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6848         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6849         unconditional.
6850         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6851         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6852         unconditional.
6853         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6854         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6855         unconditional.
6856         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6858 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6860         [BZ #12140]
6861         * manual/memory.texi (Malloc Tunable Parameters): Add note
6862         about free list pointers overwriting some perturb bytes.
6863         Wording suggested by Roland McGrath.
6865 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
6867         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6868         (lgamma_test): Likewise.
6869         (tgamma_test): Likewise.
6871 2012-10-16  Florian Weimer  <fweimer@redhat.com>
6873         [BZ #14700]
6874         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6875         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6877 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
6879         * NEWS: Mention BZ #14716.
6880         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6881         when removing AVAILABLE1_USES_J macro.
6883 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6885         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6886         (__bswap_64): __uint64_t for unsigned 64-bit int.
6888 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
6890         * include/string.h (memmem): Declare libc hidden alias.
6891         * string/memmem.c (memmem): Define libc hidden alias.
6892         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6893         __read, __close instead of open, read, close.
6895 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
6897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6898         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6899         global and hidden.
6900         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6901         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6902         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6903         Likewise.
6904         (__rawmemchr_sse2): Likewise.
6905         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6906         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6907         (__strchr_sse2): Likewise.
6908         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6909         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6910         (__strcasecmp_sse2): Likewise.
6911         (__strncasecmp_sse2): Likewise.
6912         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6913         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6914         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6915         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6916         (__strrchr_sse2): Likewise.
6917         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6918         ifunc-impl-list.c.
6919         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6920         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6921         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6922         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6923         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6924         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6925         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6926         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6927         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6928         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6929         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6930         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6931         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6932         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6933         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6934         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6935         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6936         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6937         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6938         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6939         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6940         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6941         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6942         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6943         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6944         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6945         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6946         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6947         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6948         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6950         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6951         global and hidden.
6952         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6953         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6954         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6955         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6956         Likewise.
6957         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6958         Likewise.
6959         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6960         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6961         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6962         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6963         ifunc-impl-list.c.
6964         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6965         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6966         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6967         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6968         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6969         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6970         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6971         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6972         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6973         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6974         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6975         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6976         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6977         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6978         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6979         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6980         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6981         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6982         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6983         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6984         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6985         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6986         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6987         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6988         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6989         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6990         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6991         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6992         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6993         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6994         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6995         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6996         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6997         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6998         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6999         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7000         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7001         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7002         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7003         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7004         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7006         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7007         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7008         * include/ifunc-impl-list.h: New file.
7009         * misc/ifunc-impl-list.c: Likewise.
7010         * misc/Makefile (routines): Add ifunc-impl-list.
7011         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7012         * string/test-string.h: Include <ifunc-impl-list.h>.
7013         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7014         impl_array): New variables.
7015         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7016         are defined.
7017         (test_init): Call __libc_ifunc_impl_list to initialize
7018         func_list if TEST_IFUNC and TEST_NAME are defined.
7020         * string/Makefile (strop-tests): Add bcopy and bzero.
7021         * string/test-bcopy.c: New file.
7022         * string/test-bzero.c: Likewise.
7023         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7024         defined.
7025         * string/test-memset.c: Support bzero test if TEST_BZERO is
7026         defined.
7027         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7028         __libc_memmove.
7029         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7030         __libc_memset.
7031         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7032         of memset.
7034 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7036         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7037         * configure: Regenerated.
7039         * Makeconfig (+link-static-before-libc): Don't include
7040         $(link-static-libc).
7042         * libio/libio.h (_IO_pos_t): Remove.
7044 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7046         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7047         McGrath.
7049 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7051         * crypt/crypt-entry.c: Include fips-private.h.
7052         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7053         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7054         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7055         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7057 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7059         * crypt/crypt-private.h: Include stdbool.h.
7060         (_ufc_setup_salt_r): Return bool.
7061         * crypt/crypt-entry.c: Include errno.h.
7062         (__crypt_r): Return NULL with EINVAL for bad salt.
7063         * crypt/crypt_util.c (bad_for_salt): New.
7064         (_ufc_setup_salt_r): Check that salt is long enough and within
7065         the specified alphabet.
7066         * crypt/badsalttest.c: New file.
7067         * crypt/Makefile (tests): Add it.
7068         ($(objpfx)badsalttest): New.
7070 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7072         * NEWS: Add entry for BZ #14602.
7074 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7076         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7077         type-generic.
7078         * math/libm-test.inc: Update comment listing what functions and
7079         macros are tested.
7080         (isgreater_test): New function.
7081         (isgreaterequal_test): Likewise.
7082         (isless_test): Likewise.
7083         (islessequal_test): Likewise.
7084         (islessgreater_test): Likewise.
7085         (isunordered_test): Likewise.
7086         (main): Call the new functions.
7088 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7090         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7091         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7092         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7093         * sysdeps/i386/configure: Regenerated.
7094         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7095         * sysdeps/mach/configure: Regenerated.
7096         * sysdeps/mach/hurd/configure: Regenerated.
7097         * sysdeps/powerpc/configure: Regenerated.
7098         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7099         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7100         * sysdeps/s390/s390-32/configure: Regenerated.
7101         * sysdeps/s390/s390-64/configure: Regenerated.
7102         * sysdeps/sh/configure: Regenerated.
7103         * sysdeps/sparc/configure: Regenerated.
7104         * sysdeps/unix/sysv/linux/configure: Regenerated.
7105         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7106         * sysdeps/x86_64/configure: Regenerated.
7108         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7109         defined.  Don't check if MAP is NULL.
7111 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7113         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7114         (_G_stat64): Likewise.
7115         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7116         (_G_stat64): Likewise.
7117         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7118         instead of struct _G_stat64.
7119         * libio/fileops.c (mmap_remap_check): Likewise.
7120         (decide_maybe_mmap): Likewise.
7121         (_IO_new_file_seekoff): Likewise.
7122         (_IO_file_stat): Likewise.
7123         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7124         _G_off64_t.
7125         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7126         instead of struct _G_stat64.
7127         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7129 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7131         [BZ #14602]
7132         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7133         Replace with ...
7134         (CHECK_EOL): New macro.
7135         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7136         CHECK_EOL.
7137         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7138         Replace with CHECK_EOL.
7139         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7140         Replace with CHECK_EOL.
7142 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7144         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7145         type-generic.
7146         * math/libm-test.inc: Update comment listing what functions and
7147         macros are tested.
7148         (finite_test): New function.
7149         (isinf_test): Likewise.
7150         (isnan_test): Likewise.
7151         (fpclassify_test): Test subnormal input.
7152         (isfinite_test): Likewise.
7153         (isnormal_test): Likewise.
7154         (main): Call the new functions.
7156 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7158         [BZ #14660]
7159         * Makerules (%.dynsym): Force C locale when running
7160         $(OBJDUMP) --dynamic-syms.
7162 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7164         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7165         <stdint.h>.
7167 2012-10-06  David S. Miller  <davem@davemloft.net>
7169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7170         upper 32-bits of the length value in %o2 since we use branch-on-register
7171         tests which consider the entire 64-bit register.
7173 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7175         * string/test-strstr.c (check2): Add a test for page boundary.
7177 2012-10-05  David S. Miller  <davem@davemloft.net>
7179         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7180         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7181         file.
7182         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7183         sysdep_routines.
7184         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7185         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7186         and bzero when HWCAP_SPARC_CRYPTO is present.
7188 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7190         [BZ #14602]
7191         * string/test-strstr.c (check2): New function.
7192         (test_main): Call check2.
7194         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7195         and bug-strchr1.
7196         * string/bug-strcasestr1.c (do_test): Moved to ...
7197         * string/test-strcasestr.c (check1): Here.  New function.
7198         (do_one_test): Break out result checking code into ...
7199         (check_result): This.  New function.
7200         (do_one_test): Call check_result.
7201         (test_main): Call check1.
7202         * string/bug-strchr1.c (do_test): Moved to ...
7203         * string/test-strchr.c (check1): Here.  New function.
7204         (do_one_test): Break out result checking code into ...
7205         (check_result): This.  New function.
7206         (do_one_test): Call check_result.
7207         (test_main): Call check1.
7208         * string/bug-strstr1.c (main): Moved to ...
7209         * string/test-strstr.c (check1): Here.  New function.
7210         (do_one_test): Break out result checking code into ...
7211         (check_result): This.  New function.
7212         (do_one_test): Call check_result.
7213         (test_main): Call check1.
7214         * string/bug-strcasestr1.c: Removed.
7215         * string/bug-strchr1.c: Likewise.
7216         * string/bug-strstr1.c: Likewise.
7218         * elf/Makefile (dl-routines): Add hwcaps.
7219         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7220         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7221         (_dl_important_hwcaps): Moved to ...
7222         * elf/dl-hwcaps.c: Here.  New file.
7223         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7225         [BZ #14557]
7226         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7227         if IS_IN_rtld isn't defined.
7229         * elf/dl-support.c (_dl_sysinfo_map): New.
7230         Include "get-dynamic-info.h" and "setup-vdso.h".
7231         (_dl_non_dynamic_init): Call setup_vdso.
7232         * elf/dynamic-link.h: Don't include <assert.h>.
7233         (elf_get_dynamic_info): Moved to ...
7234         * elf/get-dynamic-info.h: Here.  New file.
7235         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7236         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7237         * elf/setup-vdso.h: Here.  New file.
7238         * elf/rtld.c: Include "setup-vdso.h".
7239         (dl_main): Call setup_vdso.
7241 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7243         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7244         creal in comment listing functions tested.  List finite, isinf,
7245         isnan, isless, islessequal, isgreater, isgreaterequal,
7246         islessgreater, isunordered, lgamma_r and pow10 as functions and
7247         macros not tested.  Mention which functions not tested are aliases
7248         for other functions.  Fix typo.  Note that signs of NaNs are not
7249         tested.
7251         * scripts/config.guess: Update from config.git.
7252         * scripts/config.sub: Likewise.
7254 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7256         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7257         * misc/madvise.c (madvise): Renamed to __madvise.
7258         Make madvise a weak alias.
7259         * include/sys/mman.h: Declare __madvise.
7260         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7261         * sysdeps/unix/syscalls.list
7262         (madvise): Make __madvise the strong name, and madvise a weak alias.
7263         * sysdeps/unix/sysv/linux/syscalls.list
7264         (madvise, mmap): Remove redundant entries.
7265         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7266         * malloc/malloc.c (mtrim): Likewise.
7267         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7269 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7271         * sysdeps/mach/hurd/dl-cache.c: File removed.
7272         * config.h.in (USE_LDCONFIG): New #undef.
7273         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7274         * configure: Regenerated.
7275         * elf/Makefile (dl-routines): Add dl-cache only under
7276         [$(use-ldconfig) = yes].
7277         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7278         cache on [USE_LDCONFIG].
7279         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7280         [USE_LDCONFIG].
7281         * elf/rtld.c (dl_main): Likewise.
7283 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7285         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7286         _SC_LEVEL4_CACHE_LINESIZE.
7288 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7290         * sysdeps/unix/bsd/confstr.h: File removed.
7292 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7294         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7295         sys/sdt-config.h.
7297 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7299         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7300         Make 'mapoff' field ElfW(Off) rather than off_t.
7302 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7304         * nscd/Makefile: Remove nscd-cflags and all its users.
7305         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7306         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7308         [BZ #10631]
7309         * malloc.c (malloc_printerr): Clarify error message.
7311 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7313         [BZ #14648]
7314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7315         Set bit_FMA_Usable if FMA is supported.
7316         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7317         macro.
7318         (bit_FMA4_Usable): Updated.
7319         (index_FMA_Usable): New macro.
7320         (CPUID_FMA): Likewise
7321         (HAS_FMA): Defined with bit_FMA_Usable.
7323 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7325         * bits/types.h (__swblk_t): Type removed.
7326         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7327         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7329         (__SWBLK_T_TYPE): Likewise.
7330         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7331         (__SWBLK_T_TYPE): Likewise.
7332         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7333         (__SWBLK_T_TYPE): Likewise.
7334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7335         (__SWBLK_T_TYPE): Likewise.
7337 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7338             Honza Horak <hhorak@redhat.com>
7340         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7341         (xdr_mapname): Use YPMAXMAP as maxsize.
7342         (xdr_peername): Use YPMAXPEER as maxsize.
7343         (xdr_keydat): Use YPAXRECORD as maxsize.
7344         (xdr_valdat): Use YPMAXRECORD as maxsize.
7346 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7348         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7350         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7351         * csu/init-first.c: ... here.
7352         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7353         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7354         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7355         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7356         * sysdeps/i386/init-first.c: File removed.
7357         * sysdeps/sh/init-first.c: File removed.
7359 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7361         [BZ #14645]
7362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7363         if x * y might underflow to zero and z is zero.
7364         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7365         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7366         * math/libm-test.inc (min_subnorm_value): New variable.
7367         (fma_test): Add more tests.
7368         (fma_test_towardzero): Likewise.
7369         (fma_test_downward): Likewise
7370         (fma_test_upward): Likewise.
7371         (initialize): Set min_subnorm_value.
7373 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7375         [BZ #14638]
7376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7377         0 + 0.
7378         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7379         mode for addition resulting in exact zero.
7380         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7382         exact 0 + 0.
7383         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7384         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7385         * math/libm-test.inc (fma_test): Add more tests.
7386         (fma_test_towardzero): New function.
7387         (fma_test_downward): Likewise.
7388         (fma_test_upward): Likewise.
7389         (main): Call the new functions.
7391 2012-09-28  David S. Miller  <davem@davemloft.net>
7393         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7395 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7397         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7398         instead of SIGALRM.
7400         * sysdeps/gnu/_G_config.h: Moved to ...
7401         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7402         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7403         * sysdeps/generic/_G_config.h: ... here.
7405         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7407         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7409         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7410         Conditionalize target on [libnss_test1.so-version].
7412         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7414         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7415         (elfobjdir): Move out of conditionals.
7417         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7418         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7419         (__nss_lookup_function): Conditionalize label remove_from_tree on
7420         [!DO_STATIC_NSS || SHARED], matching its only use.
7422 2012-09-28  David S. Miller  <davem@davemloft.net>
7424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7425         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7426         file.
7427         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7428         sysdep_routines.
7429         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7431         when HWCAP_SPARC_CRYPTO is present.
7433 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7435         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7437 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7439         [BZ #6530]
7440         * stdio-common/vfprintf.c (process_string_arg): Revert
7441         2000-07-22 change.
7443 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7445         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7446         for testcase.
7447         * stdio-common/tst-sprintf.c: Include <locale.h>
7448         (main): Test sprintf's handling of incomplete multibyte
7449         characters.
7451 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7453         * elf/dl-runtime.c (VERSYMIDX): Removed.
7454         * elf/dl-version.c (VERSYMIDX): Likewise.
7455         * elf/do-rel.h (VERSYMIDX): Likewise.
7456         (VALIDX): Likewise.
7457         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7458         * elf/rtld.c (VALIDX): Likewise.
7459         (ADDRIDX): Likewise.
7460         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7461         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7462         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7463         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7464         (VALIDX): Likewise.
7465         (ADDRIDX): Likewise.
7467 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7469         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7471 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7473         [BZ #11438]
7474         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7475         to global scope.
7476         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7477         addresses are in the same scope as 192.0.2/24.
7478         * posix/gai.conf: Document new scope table defaults.
7480 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7482         [BZ #5298]
7483         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7484         for ftell.  Compute offsets from write pointers instead.
7485         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7487 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7489         [BZ #14543]
7490         * libio/Makefile (tests): New test case tst-fseek.
7491         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7492         combination works in wide mode.
7493         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7494         state when the external buffer state changes.
7496 2012-09-27  David S. Miller  <davem@davemloft.net>
7498         [BZ #14376]
7499         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7500         pass reloc->r_addend in as the 'high' argument to
7501         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7505 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7507         * rt/tst-aio2.c: Include <pthread.h>.
7508         * rt/tst-aio3.c: Likewise.
7510 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7512         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7514 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7516         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7517         contents on [SHARED].
7519 2012-09-26  Marek Polacek  <polacek@redhat.com>
7521         [BZ #14530]
7522         [BZ #13741]
7523         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7524         for C++ and GCC <4.3 as well as for non GCC compilers.
7526 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7530 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7532         * Makefile.in (all, install): Declare with .PHONY.
7533         Reported by Michael Hope <michael.hope@linaro.org>.
7535 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7537         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7538         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7539         system header.
7540         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7541         Likewise.
7542         (sydep_routines): Add the new and the internal functions.
7543         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7544         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7546         (GLIBC_2.17): Add the new function.
7547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7548         (GLIBC_2.17): Likewise.
7549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7550         (GLIBC_2.17): Likewise.
7551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7552         (GLIBC_2.17): Likewise.
7553         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7555 2012-09-25  Alan Modra  <amodra@gmail.com>
7557         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7558         Add release barrier before setting once_control to say
7559         initialisation is done.  Add hints on lwarx.  Use macro in
7560         place of isync.
7561         (clear_once_control): Add release barrier.
7563 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7565         [BZ #13629]
7566         * math/s_clog.c (__clog): Handle more values close to |z| = 1
7567         specially.
7568         * math/s_clog10.c (__clog10): Likewise.
7569         * math/s_clog10f.c (__clog10f): Likewise.
7570         * math/s_clog10l.c (__clog10l): Likewise.
7571         * math/s_clogf.c (__clogf): Likewise.
7572         * math/s_clogl.c (__clogl): Likewise.
7573         * math/Makefile (libm-calls): Add x2y2m1.
7574         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7575         (__x2y2m1): Likewise.
7576         (__x2y2m1l): Likewise.
7577         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7578         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7579         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7580         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7581         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7582         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7583         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7584         * sysdeps/i386/fpu/libm-test-ulps: Update.
7585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7587         [BZ #14621]
7588         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7589         int as type of variable DEPTH.
7590         (glob): Use size_t instead of int as type of variables NEWCOUNT
7591         and OLD_PATHC.
7593 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7595         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7596         Add s_sincosf-sse2.
7597         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7598         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7599         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7600         macros for using routine as __sincosf_ia32.
7601         Use macro for function declaration and weak_alias.
7602         * sysdeps/i386/fpu/libm-test-ulps: Update.
7604         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7607         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7608         subnormal argument.
7609         * math/s_cexpf.c (__cexpf): Likewise.
7610         * math/s_csinf.c (__csinf): Likewise.
7611         * math/s_csinhf.c (__csinhf): Likewise.
7612         * math/s_ctanf.c (__ctanf): Likewise.
7613         * math/s_ctanhf.c (__ctanhf): Likewise.
7614         * math/s_ccosh.c (__ccoshf): Likewise.
7615         * math/s_cexp.c (__cexpl): Likewise.
7616         * math/s_csin.c (__csin): Likewise.
7617         * math/s_csinh.c (__csinh): Likewise.
7618         * math/s_ctan.c (__ctan): Likewise.
7619         * math/s_ctanh.c (ctanh): Likewise.
7620         * math/s_ccoshl.c (__ccoshl): Likewise.
7621         * math/s_cexpl.c (__cexpl): Likewise.
7622         * math/s_csinl.c (__csinl): Likewise.
7623         * math/s_csinhl.c (__csinhl): Likewise.
7624         * math/s_ctanl.c (__ctanl): Likewise.
7625         * math/s_ctanhl.c (__ctanhl): Likewise.
7627 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7629         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7630         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7631         (_IO_off_t): Define to __off_t, not _G_off_t.
7632         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7633         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7634         (_IO_wint_t): Define to wint_t, not _G_wint_t.
7635         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7636         type of __dummy and __dummy2 fields.
7637         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7638         (_G_ssize_t): Likewise.
7639         (_G_off_t): Likewise.
7640         (_G_pid_t): Likewise.
7641         (_G_uid_t): Likewise.
7642         (_G_wchar_t): Likewise.
7643         (_G_wint_t): Likewise.
7644         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7645         (_G_ssize_t): Likewise.
7646         (_G_off_t): Likewise.
7647         (_G_pid_t): Likewise.
7648         (_G_uid_t): Likewise.
7649         (_G_wchar_t): Likewise.
7650         (_G_wint_t): Likewise.
7651         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7652         (_G_ssize_t): Likewise.
7653         (_G_off_t): Likewise.
7654         (_G_pid_t): Likewise.
7655         (_G_uid_t): Likewise.
7656         (_G_wchar_t): Likewise.
7657         (_G_wint_t): Likewise.
7659 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7661         * malloc/arena.c: Include malloc-sysdep.h.
7662         (shrink_heap): Use check_may_shrink_heap to decide if madvise
7663         is sufficient to shrink the heap or an unmap is needed.
7664         * sysdeps/generic/malloc-sysdep.h: New file.  Define
7665         new function check_may_shrink_heap.
7666         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
7667         new function check_may_shrink_heap.
7669 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7671         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7672         comments.
7674 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
7676         * catgets/test-gencat.sh: Add "set -e".
7677         * elf/tst-pathopt.sh: Likewise.
7678         * grp/tst_fgetgrent.sh: Likewise.
7679         * iconvdata/run-iconv-test.sh: Likewise.
7680         * intl/tst-gettext.sh: Likewise.
7681         * intl/tst-gettext2.sh: Likewise.
7682         * intl/tst-gettext4.sh: Likewise.
7683         * intl/tst-gettext6.sh: Likewise.
7684         * intl/tst-translit.sh: Likewise.
7685         * io/ftwtest-sh: Likewise.
7686         * libio/test-freopen.sh: Likewise.
7687         * malloc/tst-mtrace.sh: Likewise.
7688         * posix/globtest.sh: Likewise.
7689         * posix/tst-getconf.sh: Likewise.
7690         * posix/wordexp-tst.sh: Likewise.
7691         * stdio-common/tst-printf.sh: Likewise.
7692         * stdio-common/tst-unbputc.sh: Likewise.
7693         * stdlib/tst-fmtmsg.sh: Likewise.
7694         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7695         * catgets/Makefile: Do not specify -e option when running
7696         testsuite shell scripts.
7697         * elf/Makefile: Likewise.
7698         * grp/Makefile: Likewise.
7699         * iconvdata/Makefile: Likewise.
7700         * intl/Makefile: Likewise.
7701         * io/Makefile: Likewise.
7702         * libio/Makefile: Likewise.
7703         * malloc/Makefile: Likewise.
7704         * posix/Makefile: Likewise.
7705         * stdio-common/Makefile: Likewise.
7706         * stdlib/Makefile: Likewise.
7707         * sysdeps/x86_64/Makefile: Likewise.
7709         * io/ftwtest-sh: Add copyright header.
7710         * posix/globtest.sh: Likewise.
7711         * posix/tst-getconf.sh: Likewise.
7712         * posix/wordexp-tst.sh: Likewise.
7713         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7715 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
7717         [BZ #13679]
7718         * Makeconfig (+link): Defined as $(+link-static) if
7719         $(build-shared) isn't yes.
7720         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7721         isn't yes.
7722         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7724         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7726         [BZ #14562]
7727         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7728         new chunk size with MALLOC_ALIGN_MASK.
7730 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
7732         [BZ #5044]
7733         * stdio-common/printf_fphex.c: Include <stdbool.h> and
7734         <rounding-mode.h>.
7735         (__printf_fphex): Determine rounding using get_rounding_mode and
7736         round_away.
7737         * stdio-common/tst-printf-round.c (struct hex_test): New
7738         structure.
7739         (hex_tests): New variable.
7740         (test_hex_in_one_mode): New function.
7741         (do_test): Also run tests for hex float output.
7743 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
7745         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7746         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7747         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7748         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7749         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7750         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7751         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7752         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7754 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
7756         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7757         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7758         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7759         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7761 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
7763         [BZ #14579]
7764         * elf/rtld.c (dl_main): Limit the check for self loading to normal
7765         mode only.
7766         * elf/tst-rtld-load-self.sh: New test.
7767         * elf/Makefile: Run it.
7769 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
7771         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7772         (tst-writev-ENV): Remove.
7773         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7775 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
7777         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7779 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
7781         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7782         unconditional.
7783         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7784         Likewise.
7785         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7786         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7787         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7788         Likewise.
7790 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7792         [BZ #14587]
7793         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7794         * config.make.in (have-cpp-asm-debuginfo): Removed.
7795         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7796         * configure: Regenerated.
7798 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
7800         [BZ #5044]
7801         * stdio-common/printf_fp.c: Include <stdbool.h> and
7802         <rounding-mode.h>.
7803         (___printf_fp): Determine rounding using get_rounding_mode and
7804         round_away.
7805         * stdio-common/tst-printf-round.c: New file.
7806         * stdio-common/Makefile (tests): Add tst-printf-round.
7807         (link-libm): New variable.
7808         ($(objpfx)tst-printf-round): Depend in $(link-libm).
7810 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
7812         [BZ #14576]
7813         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7814         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7815         Likewise.
7816         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7817         Likewise.
7819 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
7821         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7822         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7823         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7824         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7826 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
7828         [BZ #14518]
7829         * include/rounding-mode.h: New file.
7830         * sysdeps/generic/get-rounding-mode.h: Likewise.
7831         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7832         * stdlib/strtod_l.c: Include <rounding-mode.h>.
7833         (MAX_VALUE): New macro.
7834         (MIN_VALUE): Likewise.
7835         (overflow_value): New function.
7836         (underflow_value): Likewise.
7837         (round_and_return): Use overflow_value and underflow_value to
7838         determine return values in overflow and underflow cases.  Use
7839         round_away to determine rounding depending on rounding mode.
7840         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7841         determine return values in overflow and underflow cases.
7842         * stdlib/tst-strtod-round.c: Include <fenv.h>.
7843         (struct test_results): New structure.
7844         (struct test): Use struct test_results to store expected results
7845         for all rounding modes.
7846         (TEST): Include expected results for all rounding modes.
7847         (test_in_one_mode): New function.
7848         (do_test): Use test_in_one_mode to compute and check results.
7849         Check results for all rounding modes.
7850         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7851         $(link-libm).
7853 2012-12-09  Allan McRae  <allan@archlinux.org>
7855         * sysdeps/i386/fpu/libm-test-ulps: Update
7857 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
7859         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7860         (_G_int32_t): Likewise.
7861         (_G_uint16_t): Likewise.
7862         (_G_uint32_t): Likewise.
7863         (_G_HAVE_BOOL): Likewise.
7864         (_G_HAVE_ATEXIT): Likewise.
7865         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7866         (_G_HAVE_IO_FILE_OPEN): Likewise.
7867         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7868         (_G_int32_t): Likewise.
7869         (_G_uint16_t): Likewise.
7870         (_G_uint32_t): Likewise.
7871         (_G_HAVE_BOOL): Likewise.
7872         (_G_HAVE_ATEXIT): Likewise.
7873         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7874         (_G_HAVE_IO_FILE_OPEN): Likewise.
7875         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7876         (_G_int32_t): Likewise.
7877         (_G_uint16_t): Likewise.
7878         (_G_uint32_t): Likewise.
7879         (_G_HAVE_BOOL): Likewise.
7880         (_G_HAVE_ATEXIT): Likewise.
7881         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7882         (_G_HAVE_IO_FILE_OPEN): Likewise.
7884 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
7886         * csu/libc-tls.c: Update copyright years.
7888 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
7890         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7891         [!_G_USING_THUNKS]: Remove conditional code.
7892         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7893         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7895         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7896         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7897         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7898         (_G_VTABLE_LABEL_PREFIX): Likewise.
7899         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7900         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7901         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7902         (_G_VTABLE_LABEL_PREFIX): Likewise.
7903         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7904         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7905         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7906         (_G_VTABLE_LABEL_PREFIX): Likewise.
7907         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7909 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
7911         * libio/Makefile: Include ../Makeconfig before tests.
7912         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7913         only if $(build-shared) is yes.
7915         * iconv/gconv_db.c: Update copyright years.
7917 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7919         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7920         unwind info if defined PIC. Fix special cases description.
7921         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7923         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7924         DP_HI_MASK entry.
7925         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7927 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
7929         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7931         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7932         is NULL.
7934         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7935         (LDLIBS-tst-chk4): This.
7936         (LDFLAGS-tst-chk5): Renamed to ...
7937         (LDLIBS-tst-chk5): This.
7938         (LDFLAGS-tst-chk6): Renamed to ...
7939         (LDLIBS-tst-chk6): This.
7940         (LDFLAGS-tst-lfschk4): Renamed to ...
7941         (LDLIBS-tst-lfschk4): This.
7942         (LDFLAGS-tst-lfschk5): Renamed to ...
7943         (LDLIBS-tst-lfschk5): This.
7944         (LDFLAGS-tst-lfschk6): Renamed to ...
7945         (LDLIBS-tst-lfschk6): This.
7947         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7948         on $(common-objpfx)soversions.mk.
7950 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
7952         [BZ #10014]
7953         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7954         example host name.
7956 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7958         * malloc/arena.c (arena_get_retry): New function that gets
7959         another arena for the caller to try its request on.
7960         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7961         current arena cannot fulfill the request.
7962         (__libc_memalign): Likewise.
7963         (__libc_memalign): Likewise.
7964         (__libc_pvalloc): Likewise.
7965         (__libc_calloc): Likewise.
7967 2012-09-05  John Tobey  <john.tobey@gmail.com>
7969         [BZ #13542]
7970         * manual/arith.texi (Operations on Complex): Fix description
7971         of carg branch cut.
7973 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7975         [BZ #10014]
7976         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7977         host name.
7979         [BZ #10038]
7980         * manual/memory.texi (Memory): Make order of menu items match
7981         order of sections.
7983 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7985         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7986         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
7987         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7989 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7991         * csu/libc-tls.c (static_dtv): Renamed to ...
7992         (_dl_static_dtv): This.  Make it global.
7993         (_dl_initial_dtv): Removed.
7994         (__libc_setup_tls): Updated.
7995         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7996         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7997         DL_INITIAL_DTV.
7999 2012-09-06  Petr Machata  <pmachata@redhat.com>
8001         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8002         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8003         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8004         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8006 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8008         [BZ #14545]
8009         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8010         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8011         freeing dtv[-1].
8013 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8015         [BZ #14544]
8016         * Makeconfig (link-static-before-libc): Replace $(+prector)
8017         with $(+prectorT).
8018         (link-static-after-libc): Replace $(+postctor) with
8019         $(+postctorT).
8020         (link-bounded): Replace $(+prector)/$(+postctor) with
8021         $(+prectorT)/$(+postctorT).
8022         (+prectorT): New macro.
8023         (+postctorT): Likewise.
8025 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8027         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8028         (round_str): Handle values above the maximum for IBM long double
8029         as inexact.
8030         * stdlib/tst-strtod-round.c (tests): Regenerated.
8032 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8034         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8035         assembler flag.
8036         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8037         zarch_nohighgprs around the zarch optimized routines.
8038         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8039         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8040         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8041         for zarch.
8043 2012-09-05  David S. Miller  <davem@davemloft.net>
8045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8047         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8048         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8049         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8050         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8051         entries.
8053 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8055         * malloc/arena.c: Fold copyright years.
8056         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8058 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8060         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8062 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8064         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8066 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8068         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8069         change internal state upon failure.
8071 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8073         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8074         * malloc/memusage.c (mmap): Likewise.
8075         (mmap64, mremap): Likewise.  Adjust name in comment.
8077 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8079         * libio/fileops.c: Fix typos in comments.
8080         * libio/oldfileops.c: Likewise.
8081         * libio/wfileops.c: Likewise.
8083 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8085         [BZ #1349]
8086         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8087         (tst-malloc-usable-ENV): Set environment for test case.
8088         * malloc/hooks.c (malloc_check_get_size): New function to get
8089         requested size.
8090         * malloc/malloc.c (musable): Use malloc_check_get_size.
8091         * malloc/tst-malloc-usable.c: New test case.
8093 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8095         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8097 2012-09-05  Allan McRae  <allan@archlinux.org>
8099         [BZ #13966]
8100         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8101         determine header location.
8102         * configure: Regenerated.
8104 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8106         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8107         float format.
8108         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8109         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8110         format.
8111         (test): Regenerate.
8113 2012-09-04  David S. Miller  <davem@davemloft.net>
8115         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8116         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8117         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8119 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8121         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8122         failures.
8124         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8126 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8128         [BZ #9914]
8129         * libio/iogetdelim.c: Include <limits.h>.
8130         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8131         + len + 1 would overflow.
8133 2012-09-03  Andreas Jaeger  <aj@suse.de>
8135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8136         * sysdeps/i386/fpu/libm-test-ulps: Update.
8138 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8140         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8141         Add s_sinf-sse2, s_conf-sse2.
8143         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8144         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8145         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8146         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8148         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8149         for using routine as __sinf_ia32.
8150         Use macro for function declaration and weak_alias.
8151         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8152         for using routine as __cosf_ia32.
8153         Use macro for function declaration and weak_alias.
8155         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8156         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8158         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8159         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8162         * math/libm-test.inc (cos_test): Add more test cases.
8163         (sin_test): Likewise.
8164         (sincos_test): Likewise.
8166 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8168         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8169         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8170         hidden.
8171         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8173 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8175         [BZ #14538]
8176         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8177         first element of the GOT.
8178         (elf_machine_load_address): Return the difference between
8179         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8181 2012-09-01  Allan McRae  <allan@archlinux.org>
8183         [BZ #13412]
8184         * configure.in (AWK): Require gawk version 3.0 or later.
8185         * configure: Regenerated.
8187 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8189         * sysdeps/unix/sysv/linux/kernel-features.h
8190         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8191         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8192         [__NR_clock_getres]: Make code unconditional.
8193         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8194         (clock_getcpuclockid): Remove code left unreachable by removal of
8195         conditionals.
8196         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8197         code unconditional.
8198         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8199         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8200         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8201         Make code unconditional.
8202         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8203         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8204         * sysdeps/unix/sysv/linux/clock_settime.c
8205         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8206         conditional code.
8207         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8208         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8210 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8212         [BZ #14476]
8213         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8214         scripts/test-installation.pl.
8216         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8217         and $ld_so_version if it is set.
8219 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8221         [BZ #14516]
8222         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8223         failure if reading from procfs failed.
8224         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8226 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8228         * sysdeps/unix/sysv/linux/kernel-features.h
8229         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8230         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8231         Remove conditional code.
8232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8233         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8234         Remove conditional code.
8235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8236         * sysdeps/unix/sysv/linux/i386/fxstat.c
8237         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8239         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8240         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8242         * sysdeps/unix/sysv/linux/i386/lxstat.c
8243         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8245         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8246         Remove conditional code.
8247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8248         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8249         Remove conditional code.
8250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8251         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8252         <kernel-features.h>.
8253         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8254         Remove.
8255         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8256         Remove conditional code.
8257         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8258         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8259         Remove conditional.
8261 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8263         [BZ #5400]
8264         * NEWS: Add fixed bug number.
8266 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8268         [BZ #14519]
8269         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8270         underflowing exponent in case of negative sign.
8271         * stdlib/tst-strtod-round-data: Add more tests.
8272         * stdlib/tst-strtod-round.c (tests): Regenerated.
8274         [BZ #3479]
8275         * stdlib/strtod_l.c (NDIG): Remove.
8276         (HEXNDIG): Likewise.
8277         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8278         smallest representable value.
8279         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8280         lie within an exact representation of 1/2 ulp of the result.
8281         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8282         unconditionally.
8283         (TENS_P9_IDX): Define unconditionally.
8284         (TENS_P9_SIZE): Likewise.
8285         (TENS_P10_IDX): Likewise.
8286         (TENS_P10_SIZE): Likewise.
8287         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8288         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8289         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8290         entries for 10^2^13 and 10^2^14.
8291         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8292         (TENS_P13_IDX): Define.
8293         (TENS_P13_SIZE): Likewise.
8294         (TENS_P14_IDX): Likewise.
8295         (TENS_P14_SIZE): Likewise.
8296         (_fpioconst_pow10): Change array size to
8297         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8298         unconditional.
8299         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8300         1024]: Add entries for 10^2^13 and 10^2^14.
8301         [LAST_POW10 > _LAST_POW10]: Remove #error.
8302         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8303         (_fpioconst_pow10): Change array size to
8304         FPIOCONST_POW10_ARRAY_SIZE.
8305         * stdlib/gen-fpioconst.c: New file.
8306         * stdlib/gen-tst-strtod-round.c: Likewise.
8307         * stdlib/tst-strtod-round-data: Likewise.
8308         * stdlib/tst-strtod-round.c: Likewise.
8309         * stdlib/Makefile (tests): Add tst-strtod-round.
8311         [BZ #14459]
8312         * stdlib/strtod_l.c: Include <stdint.h>.
8313         (NDEBUG): Do not define.
8314         (round_and_return): Change EXPONENT parameter to type intmax_t.
8315         Rearrange calculations to avoid internal overflow possibilities.
8316         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8317         Rearrange calculations to avoid internal overflow possibilities.
8318         Assert that number fits inside MPNSIZE limbs.
8319         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8320         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8321         calculations and add assertions to avoid internal overflow
8322         possibilities.  Add casts to avoid signed/unsigned operations.
8323         * stdlib/tst-strtod-overflow.c: New file.
8324         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8326 2012-08-25  Marek Polacek  <polacek@redhat.com>
8328         * time/time.h: Fix some typos in comments.
8330 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8332         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8333         * posix/tst-rfc3484-2.c: Likewise.
8334         * posix/tst-rfc3484-3.c: Likewise.
8336 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8338         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8339         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8341 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8343         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8344         #include of fxstatat64.c.
8346 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8348         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8349         * shadow/getspent_r.c: Likewise.
8350         * shadow/getspnam.c: Likewise.
8351         * shadow/getspnam_r.c: Likewise.
8352         * gshadow/getsgent.c: Likewise.
8353         * gshadow/getsgent_r.c: Likewise.
8354         * gshadow/getsgnam.c: Likewise.
8355         * gshadow/getsgnam_r.c: Likewise.
8356         * inet/getnetbyad.c: Likewise.
8357         * inet/getnetbyad_r.c: Likewise.
8358         * inet/getnetbynm.c: Likewise.
8359         * inet/getnetbynm_r.c: Likewise.
8360         * inet/getnetent.c: Likewise.
8361         * inet/getnetent_r.c: Likewise.
8362         * inet/getproto.c: Likewise.
8363         * inet/getproto_r.c: Likewise.
8364         * inet/getprtent.c: Likewise.
8365         * inet/getprtent_r.c: Likewise.
8366         * inet/getprtname.c: Likewise.
8367         * inet/getprtname_r.c: Likewise.
8368         * inet/getrpcbyname.c: Likewise.
8369         * inet/getrpcbyname_r.c: Likewise.
8370         * inet/getrpcbynumber.c: Likewise.
8371         * inet/getrpcbynumber_r.c: Likewise.
8372         * inet/getrpcent.c: Likewise.
8373         * inet/getrpcent_r.c: Likewise.
8374         * inet/getaliasent.c: Likewise.
8375         * inet/getaliasent_r.c: Likewise.
8376         * inet/getaliasname.c: Likewise.
8377         * inet/getaliasname_r.c: Likewise.
8378         * nscd/getgrgid_r.c: Likewise.
8379         * nscd/getgrnam_r.c: Likewise.
8380         * nscd/gethstbyad_r.c: Likewise.
8381         * nscd/gethstbynm3_r.c: Likewise.
8382         * nscd/getpwnam_r.c: Likewise.
8383         * nscd/getpwuid_r.c: Likewise.
8384         * nscd/getsrvbynm_r.c: Likewise.
8385         * nscd/getsrvbypt_r.c: Likewise.
8386         * nscd/gai.c: Likewise.
8388         * configure.in (build_nscd): New substituted variable, set
8389         by --disable-build-nscd and defaults to $use_nscd.
8390         * configure: Regenerated.
8391         * config.make.in (build-nscd): New substituted variable.
8392         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8393         Change conditional to require [$(build-nscd) = yes] as well.
8394         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8396         [BZ# 13696]
8397         * configure.in (use_nscd): New substituted variable, set by
8398         --disable-nscd.  If enabled, define USE_NSCD.
8399         * configure: Regenerated.
8400         * config.h.in: Add USE_NSCD.
8401         * config.make.in (use-nscd): New substituted variable.
8402         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8403         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8404         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8405         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8406         (CFLAGS-getgrnam_r.c): Likewise.
8407         (CFLAGS-initgroups.c): Likewise.
8408         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8409         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8410         Variables removed.
8411         * inet/getnetgrent_r.c
8412         (nscd_setnetgrent): New function, broken out of ...
8413         (setnetgrent): ... here.  Call it.
8414         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8415         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8416         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8417         * nscd/Makefile (routines, aux): Move definitions after include of
8418         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8419         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8420         Conditionalize on [USE_NSCD].
8421         (is_nscd, nscd_init_cb): Likewise.
8422         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8423         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8424         * nss/nss_db/db-init.c: Likewise.
8425         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8426         [USE_NSCD].
8427         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8428         (make_request): Use it.
8429         (cache_valid_p): New function.
8430         (__check_pf): Use it.
8431         * NEWS: Add item for --disable-nscd.
8433 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8435         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8436         to support sed >= 4.2.1-20-ga9bf076.
8437         * configure: Regenerated.
8439 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8441         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8442         Conditionalize whole body on [IREL].
8444 2012-08-22  Jeff Law <law@redhat.com>
8446         [BZ #14505]
8447         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8448         if the family is PF_UNSPEC.
8450 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8452         * Makerules (lib-version): Rename from V.
8453         (install-lib-nosubdir): Change V to lib-version.
8455 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8457         [BZ #14252]
8458         * powerpc32/power6/wcschr.c: New file.
8459         * powerpc32/power6/wcscpy.c: New file.
8460         * powerpc32/power6/wcsrchr.c: New file.
8461         * powerpc64/power6/wcschr.c: New file.
8462         * powerpc64/power6/wcscpy.c: New file.
8463         * powerpc64/power6/wcsrchr.c: New file.
8465 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8467         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8468         (two_way_short_needle): Use it.
8469         * string/strstr.c (AVAILABLE1_USES_J): Define.
8470         * string/strcasestr.c: Likewise.
8472         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8473         array references.
8474         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8476         [BZ #11607]
8477         * NEWS: Add an entry.
8478         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8479         define their defaults.
8480         (two_way_short_needle): Detect end-of-string on-the-fly.
8481         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8482         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8483         * string/bug-strcasestr1.c: New test.
8484         * string/Makefile: Run it.
8486 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8488         [BZ #11607]
8489         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8490         the first character.
8492 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8494         * csu/elf-init.c (__libc_csu_irel): Function removed.
8495         * csu/libc-start.c (apply_irel): New function.
8496         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8498 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8500         * sysdeps/unix/sysv/linux/kernel-features.h
8501         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8502         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8503         <kernel-features.h>.
8504         [__NR_fadvise64_64]: Make code unconditional.
8505         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8506         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8507         !__NR_fadvise64_64)]: Likewise.
8508         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8509         !__NR_fadvise64_64))]: Likewise.
8510         [__NR_fadvise64]: Make code unconditional.
8511         [!__NR_fadvise64]: Remove conditional code.
8512         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8513         <kernel-features.h>.
8514         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8515         unconditional.
8516         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8517         conditional code.
8518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8519         not include <kernel-features.h>.
8520         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8521         unconditional.
8522         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8523         conditional code.
8524         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8525         include <kernel-features.h>.
8526         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8527         unconditional.
8528         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8529         conditional code.
8531 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8533         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8534         slight instruction rearrangements per scrollpipe analysis.
8535         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8537 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8539         * manual/syslog.texi (syslog; vsyslog, closelog):
8540         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8541         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8543         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8544         DSOCAPS to match condition on defining it.
8546 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8548         * sysdeps/unix/sysv/linux/kernel-features.h
8549         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8551         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8552         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8554         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8555         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8557         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8558         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8560         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8561         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8563         * sysdeps/unix/sysv/linux/kernel-features.h
8564         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8565         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8566         unconditional.
8567         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8568         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8569         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8570         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8571         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8572         Make code unconditional.
8573         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8574         (__mmap64) [!__NR_mmap2]: Likewise.
8575         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8576         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8577         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8578         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8579         [__NR_mmap2]: Make code unconditional.
8580         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8581         (__mmap64) [!__NR_mmap2]: Likewise.
8583 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8585         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8587 2012-08-18  Andreas Jaeger  <aj@suse.de>
8589         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8591 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8593         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8594         * include/unistd.h (__have_sock_cloexec): Likewise.
8595         (__have_pipe2): Likewise.
8596         (__have_dup3): Likewise.
8598 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8600         [BZ #9685]
8601         * include/unistd.h (__have_pipe2): Change define into an extern int.
8602         (__have_dup3): Likewise.
8603         * socket/have_sock_cloexec.c: Include fcntl.h.
8604         (__have_pipe2): New variable.
8605         (__have_dup3): Likewise.
8607 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
8609         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8611 2012-08-17  Marek Polacek  <polacek@redhat.com>
8613         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8614         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8616 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8618         * configure.in: Add AC_SUBST for sysheaders.
8619         * configure: Regenerated.
8620         * config.make.in (sysheaders): New substituted variable.
8622         * sysdeps/unix/mkfifo.c: Moved ...
8623         * sysdeps/posix/mkfifo.c: ... here.
8624         * sysdeps/unix/mkfifoat.c: Moved ...
8625         * sysdeps/posix/mkfifoat.c: ... here.
8627         * sysdeps/unix/utime.c: Moved ...
8628         * sysdeps/posix/utime.c: ... here.
8630         * sysdeps/unix/time.c: Moved ...
8631         * sysdeps/posix/time.c: ... here.
8632         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8633         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8635         * sysdeps/unix/nice.c: Moved ...
8636         * sysdeps/posix/nice.c: ... here.
8638         * sysdeps/unix/alarm.c: Moved ...
8639         * sysdeps/posix/alarm.c: ... here.
8641         * intl/Makefile ($(codeset_mo)): Depend on the input file.
8643 2012-08-17  Jeff Law <law@redhat.com>
8645         * intl/Makefile (codeset_mo): New variable.
8646         ($(codeset_mo)): New target.
8647         (tst-codeset.out): Depend on that.  Remove explicit rule.
8648         (tst-gettext3.out, tst-gettext5.out): Likewise.
8649         (LOCPATH-ENV, tst-codeset-ENV): New variables.
8650         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8651         * intl/tst-codeset.sh: Remove.
8652         * intl/tst-gettext3.sh: Likewise.
8653         * intl/tst-gettext5.sh: Likewise.
8655 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8657         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
8658         * sysdeps/unix/syscalls.list: ... here.
8660         * sysdeps/posix/getaddrinfo.c
8661         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8662         (gaiconf_init, gaiconf_reload): Use them.
8663         [!_STATBUF_ST_NSEC]
8664         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8665         Define using time_t rather than struct timespec.
8667         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8668         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8669         Macros removed.
8670         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8671         [!NO_THREADS].
8672         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8673         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8674         Likewise.
8676         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8677         __libc_cleanup_push argument.
8679         * bits/param.h: New file.
8680         * misc/sys/param.h: New file.
8681         * include/sys/param.h: New file.
8682         * misc/Makefile (headers): Add bits/param.h.
8683         * sysdeps/generic/sys/param.h: File removed.
8684         * sysdeps/unix/sysv/linux/bits/param.h: New file.
8685         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8686         * sysdeps/mach/hurd/bits/param.h: New file.
8687         * sysdeps/mach/hurd/sys/param.h: File removed.
8689         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8690         last change.
8692         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8693         [_IO_MTSAFE_IO].
8694         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8695         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8696         New macros.
8698         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8699         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8700         rather than -D_IO_MTSAFE_IO conditionally.
8701         * stdio-common/Makefile (CPPFLAGS): Likewise.
8702         * wcsmbs/Makefile (CPPFLAGS): Likewise.
8703         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8704         Use $(libio-mtsafe).
8705         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8706         of -D_IO_MTSAFE_IO.
8707         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8708         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8709         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8710         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8711         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8712         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8713         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8714         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8715         (CFLAGS-fread_u_chk.c): Likewise.
8716         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8717         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8718         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8719         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8720         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8721         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8722         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8723         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8724         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8726         * libio/Makefile: Test [$(libc-reentrant) = yes]
8727         instead of [$(filter %REENTRANT, $(defines)) nonempty].
8729         * Makeconfig
8730         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8731         * sysdeps/pthread/configure: File removed.
8732         * sysdeps/pthread/Makeconfig: New file.
8733         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8734         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8736 2012-08-16  Gary Benson  <gbenson@redhat.com>
8738         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8739         unmapping the first object in a namespace.
8741 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8743         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8744         (__internal_setnetgrent): ... this.  Add internal_function to
8745         definition.  Add libc_hidden_def.
8746         (setnetgrent): Update caller.
8747         (internal_endnetgrent): Renamed to ...
8748         (__internal_endnetgrent): ... this.  Add internal_function to
8749         definition.  Add libc_hidden_def.
8750         (endnetgrent): Update caller.
8751         (internal_getnetgrent_r): Renamed to ...
8752         (__internal_getnetgrent_r): ... this.  Add internal_function to
8753         definition.  Add libc_hidden_def.
8754         (__getnetgrent_r): Update caller.
8755         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
8757 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8759         * stdlib/longlong.h: Update from GCC.
8761 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8763         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8764         on _QL, which is set by umul_ppmm but never used.
8765         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8766         variables, which are set by GMP macros but never used.
8767         * stdio-common/_itowa.c (_itowa): Likewise.
8768         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8769         * stdlib/mod_1.c (mpn_mod_1): Likewise.
8771 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
8773         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8774         struct La_sh_regs is not constant.
8775         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8776         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8777         and struct La_sparc64_regs are not constant.
8779 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8781         * sysdeps/unix/sysv/linux/kernel-features.h
8782         (__ASSUME_POSIX_TIMERS): Remove.
8783         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8784         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8785         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8786         Make code unconditional.
8787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8788         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8789         Make code unconditional.
8790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8791         * sysdeps/unix/sysv/linux/clock_nanosleep.c
8792         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8794         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8795         Make code unconditional.
8796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8797         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8798         (__libc_missing_posix_timers): Remove.
8800 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8802         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8803         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8805         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8807         * elf/dl-sym.c: Include <stdlib.h>.
8809         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8810         constants, which avoids warnings in 32-bit builds.
8812         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8813         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8815         * misc/lseek.c: File moved to ...
8816         * io/lseek.c: ... here.
8818         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8820         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8821         shifting LEN more than 31 bits at once.
8823 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8825         [BZ #14195]
8826         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8827         segmentation fault for a case of two empty input strings.
8828         * string/test-strncasecmp.c (check1): Renamed to...
8829         (bz12205): ...this.
8830         (bz14195): Add new testcase for two empty input strings and N > 0.
8831         (test_main): Call new testcase, adapt for renamed function.
8833 2012-08-15  Andreas Jaeger  <aj@suse.de>
8835         [BZ #14090]
8836         * crypt/md5test2.c: New test, based on test supplied by Serge
8837         Belyshev <belyshev@depni.sinp.msu.ru>.
8838         * crypt/Makefile (xtests): Add md5test-giant..
8839         * crypt/Makefile ($(objpfx)md5test-giant): Add.
8841 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
8843         [BZ #14090]
8844         * crypt/md5.c (md5_process_block): Don't assume the buffer
8845         length is less than 2**32.
8846         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8847         length is less than 2**64.
8849 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8851         * string/str-two-way.h: Include <sys/param.h>.
8852         (MAX): Macro removed.
8854         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8855         Move #define and #undef of memmove to just before and after
8856         including <string.h>.
8858         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8859         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8860         and after including <string.h>.  Move declarations of
8861         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8862         to before #include "string/memmove.c".
8864         * include/dirent.h: Declare __getdirentries.
8866         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8867         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8869 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
8871         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8872         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8873         * sysdeps/i386/configure: Regenerated.
8874         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8875         STABS_CURRENT_FILE, and STABS_FUN.
8876         (END): Remove call to STABS_FUN_END.
8877         (STABS_CURRENT_FILE1): Delete.
8878         (STABS_CURRENT_FILE): Likewise.
8879         (STABS_FUN): Likewise.
8880         (STABS_FUN_END): Likewise.
8881         (STABS_FUN2): Likewise.
8882         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8883         * sysdeps/x86_64/configure: Regenerated.
8885 2012-08-14  Roland McGrath  <roland@hack.frob.com>
8887         * elf/dl-open.c: Include <atomic.h>.
8888         * elf/dl-lookup.c: Likewise.
8890 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
8892         * sysdeps/unix/sysv/linux/kernel-features.h
8893         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8894         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8895         unconditionally.
8896         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8897         unconditionally.
8898         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8899         condition on __ASSUME_CLONE_THREAD_FLAGS.
8901 2012-08-14  Andreas Jaeger  <aj@suse.de>
8903         * sysdeps/i386/fpu/libm-test-ulps: Update.
8905 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
8907         * include/atomic.h (atomic_exchange_and_add): Split into ...
8908         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8909         New atomic macros.
8911 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
8913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8915 2012-08-13  Jeff Law <law@redhat.com>
8917         * manual/stdio.texi (snprintf): Clarify handling of the trailing
8918         null byte in the output string.
8920 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
8922         * sysdeps/unix/sysv/linux/kernel-features.h
8923         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8924         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8925         (__ASSUME_ARG_MAX_STACK_BASED): Define.
8926         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8927         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8928         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
8929         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8931 2012-08-09  Jeff Law <law@redhat.com>
8933         [BZ #13939]
8934         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8935         When avoid_arena is set, don't retry in the that arena.  Pick the
8936         next one, whatever it might be.
8937         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8938         (arena_lock): Pass in new parameter to arena_get2.
8939         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8940         arena_get2.
8941         (__libc_malloc): Unify retrying after main arena failure with
8942         __libc_memalign version.
8943         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8945 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8947         [BZ #14166]
8948         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8949         to __redirect_strstr.
8950         (__strstr_sse42): Use typeof __redirect_strstr.
8951         (__strstr_ia32): Likewise.
8952         (__libc_strstr): New prototype.
8953         (strstr): Renamed to ...
8954         (__libc_strstr): This.
8955         (strstr): New strong alias of __libc_strstr.
8956         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8957         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8958         __redirect_time.
8959         Include <time.h>.
8960         (__libc_time): New prototype.
8961         (time_ifunc): Replace time with __libc_time.
8962         (time): New strong alias and hidden definition of __libc_time.
8963         (__GI_time): Remove strong alias.
8964         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8965         Include <stddef.h>.
8966         (memmove): Redefined to __redirect_memmove.
8967         (__memmove_sse2): Use typeof __redirect_memmove.
8968         (__memmove_ssse3): Likewise.
8969         (__memmove_ssse3_back): Likewise.
8970         (__libc_memmove): New prototype.
8971         (memmove): Renamed to ...
8972         (__libc_memmove): This.
8973         (memmove): New strong alias of __libc_memmove.
8975 2012-08-08  Mark Salter  <msalter@redhat.com>
8977         * elf/elf.h
8978         (R_MN10300_TLS_GD): Define.
8979         (R_MN10300_TLS_LD): Likewise.
8980         (R_MN10300_TLS_LDO): Likewise.
8981         (R_MN10300_TLS_GOTIE): Likewise.
8982         (R_MN10300_TLS_IE): Likewise.
8983         (R_MN10300_TLS_LE): Likewise.
8984         (R_MN10300_TLS_DTPMOD): Likewise.
8985         (R_MN10300_TLS_DTPOFF): Likewise.
8986         (R_MN10300_TLS_TPOFF): Likewise.
8987         (R_MN10300_SYM_DIFF): Likewise.
8988         (R_MN10300_ALIGN): Likewise.
8989         (R_MN10300_NUM): Update.
8991 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
8993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8994         Remove.
8996 2012-08-08  Roland McGrath  <roland@hack.frob.com>
8998         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9000         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9001         sysdeps/unix -> sysdeps/posix move.
9002         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9004 2012-08-07      Allan McRae     <allan@archlinux.org>
9006         [BZ #14303]
9007         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9008         (SUNOS_CPP): Likewise.
9009         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9010         not found.
9011         (open_input): Call CPP using execvp.
9013 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9015         * sysdeps/unix/sysv/linux/kernel-features.h
9016         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9017         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9018         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9019         (__ASSUME_WAITID_SYSCALL): Likewise.
9020         * sysdeps/unix/sysv/linux/dl-execstack.c
9021         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9022         code unconditional.
9023         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9024         conditional code.
9025         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9026         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9027         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9028         code.
9029         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9030         unconditional.
9031         [__ASSUME_WAITID_SYSCALL]: Likewise.
9032         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9034 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9036         * sysdeps/unix/closedir.c: Renamed to ...
9037         * sysdeps/posix/closedir.c: ... here.
9038         * sysdeps/unix/dirfd.c: Renamed to ...
9039         * sysdeps/posix/dirfd.c: ... here.
9040         * sysdeps/unix/dirstream.h: Renamed to ...
9041         * sysdeps/posix/dirstream.h: ... here.
9042         * sysdeps/unix/fdopendir.c: Renamed to ...
9043         * sysdeps/posix/fdopendir.c: ... here.
9044         * sysdeps/unix/opendir.c: Renamed to ...
9045         * sysdeps/posix/opendir.c: ... here.
9046         * sysdeps/unix/readdir.c: Renamed to ...
9047         * sysdeps/posix/readdir.c: ... here.
9048         * sysdeps/unix/readdir_r.c: Renamed to ...
9049         * sysdeps/posix/readdir_r.c: ... here.
9050         * sysdeps/unix/rewinddir.c: Renamed to ...
9051         * sysdeps/posix/rewinddir.c: ... here.
9052         * sysdeps/unix/seekdir.c: Renamed to ...
9053         * sysdeps/posix/seekdir.c: ... here.
9054         * sysdeps/unix/telldir.c: Renamed to ...
9055         * sysdeps/posix/telldir.c: ... here.
9056         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9057         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9058         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9059         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9061         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9062         * bits/fcntl.h: ... here.
9064         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9065         not 0.
9066         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9067         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9068         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9069         (struct flock): Move l_start, l_len to the beginning.
9070         Use __pid_t for l_pid.
9071         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9072         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9073         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9074         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9075         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9076         [__USE_LARGEFILE64] (struct flock64): New type.
9077         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9079         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9080         * bits/dirent.h: ... here.
9082         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9083         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9085 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9087         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9088         Change from 2.6.0 to 2.6.16.
9089         * sysdeps/unix/sysv/linux/configure: Regenerated.
9090         * sysdeps/unix/sysv/linux/kernel-features.h
9091         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9092         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9093         version.
9094         (__ASSUME_UTIMES): Likewise.
9095         (__ASSUME_CLONE_STOPPED): Remove.
9096         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9097         architectures, not kernel version.
9098         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9099         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9100         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9101         (__ASSUME_WAITID_SYSCALL): Likewise.
9102         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9103         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9104         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9105         refer to older versions.
9107 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9109         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9110         Define alphasort64 as an alias.
9111         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9112         Define versionsort64 as an alias.
9113         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9114         Define scandir64 as an alias.
9115         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9116         Define scandirat64 as an alias.
9117         * dirent/alphasort64.c (alphasort64):
9118         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9119         * dirent/versionsort64.c: Likewise.
9120         * dirent/scandir64.c: Likewise.
9121         * dirent/scandirat64.c: Likewise.
9122         * sysdeps/wordsize-64/alphasort.c: File removed.
9123         * sysdeps/wordsize-64/alphasort64.c: File removed.
9124         * sysdeps/wordsize-64/scandir.c: File removed.
9125         * sysdeps/wordsize-64/scandir64.c: File removed.
9126         * sysdeps/wordsize-64/scandirat.c: File removed.
9127         * sysdeps/wordsize-64/scandirat64.c: File removed.
9128         * sysdeps/wordsize-64/versionsort.c: File removed.
9129         * sysdeps/wordsize-64/versionsort64.c: File removed.
9130         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9131         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9132         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9133         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9134         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9135         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9136         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9137         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9139         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9140         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9141         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9142         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9143         [defined __arch64__ || defined __sparcv9]
9144         (__INO_T_MATCHES_INO64_T): New macro.
9145         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9146         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9147         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9148         * sysdeps/unix/sysv/linux/bits/dirent.h
9149         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9150         (_DIRENT_MATCHES_DIRENT64): New macro.
9152         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9153         Define lockf64 as an alias.
9154         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9155         Define fseeko64 as an alias.
9156         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9157         Define ftello64 as an alias.
9158         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9159         Define _IO_fgetpos64 and fgetpos64 as aliases.
9160         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9161         Define _IO_fsetpos64 and fsetpos64 as aliases.
9162         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9163         Conditionalize body on this.
9164         * libio/fseeko64.c: Likewise.
9165         * libio/ftello64.c: Likewise.
9166         * libio/iofgetpos64.c: Likewise.
9167         * libio/iofsetpos64.c: Likewise.
9168         * sysdeps/wordsize-64/lockf.c: File removed.
9169         * sysdeps/wordsize-64/lockf64.c: File removed.
9170         * sysdeps/wordsize-64/fseeko.c: File removed.
9171         * sysdeps/wordsize-64/fseeko64.c: File removed.
9172         * sysdeps/wordsize-64/ftello.c: File removed.
9173         * sysdeps/wordsize-64/ftello64.c: File removed.
9174         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9175         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9176         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9177         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9178         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9179         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9180         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9181         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9182         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9183         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9184         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9185         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9186         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9187         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9189         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9190         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9191         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9193         [defined __arch64__ || defined __sparcv9]
9194         (__OFF_T_MATCHES_OFF64_T): New macro.
9195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9196         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9198         (__OFF_T_MATCHES_OFF64_T): New macro.
9200 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9202         * stdlib/secure-getenv.c (__secure_getenv): Replace
9203         GLIBC_2_16 with GLIBC_2_17.
9205 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9207         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9208         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9210 2012-08-03  David S. Miller  <davem@davemloft.net>
9212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9214 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9216         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9217         Remove.
9218         (__ASSUME_CORRECT_SI_PID): Likewise.
9219         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9220         (__ASSUME_TMPFS_NAME): Likewise.
9221         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9222         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9223         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9224         (HAVE_AUX_SECURE): Make definition unconditional.
9225         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9226         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9228 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9230         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9231         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9232         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9233         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9234         __eloop_threshold instead of SYMLOOP_MAX.
9236         * sysdeps/generic/eloop-threshold.h: New file.
9237         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9238         of MAXSYMLINKS.
9239         * elf/chroot_canon.c (chroot_canon): Likewise.
9241 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9243         [BZ #13717]
9244         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9245         Change to 2.6.0 everywhere.
9246         * sysdeps/unix/sysv/linux/configure: Regenerated.
9247         * sysdeps/unix/sysv/linux/kernel-features.h
9248         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9249         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9250         kernel versions.
9251         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9252         (__ASSUME_FUTEX_REQUEUE): Remove.
9253         (__ASSUME_STATFS64): Define unconditionally.
9254         (__ASSUME_AT_SECURE): Likewise.
9255         (__ASSUME_CORRECT_SI_PID): Likewise.
9256         (__ASSUME_TGKILL): Define without depending on kernel version for
9257         i386.
9258         (__ASSUME_UTIMES): Likewise.
9259         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9260         kernel version.
9261         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9262         (__ASSUME_TMPFS_NAME): Likewise.
9263         * README: Update reference to Linux kernel versions.
9265 2012-08-02  Marek Polacek  <polacek@redhat.com>
9267         [BZ# 14150]
9268         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9269         libc_cv_asm_type_prefix with %.
9270         * configure: Regenerated.
9271         * include/libc-symbols.h: Remove comment about
9272         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9273         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9274         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9275         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9276         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9277         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9278         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9279         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9280         * elf/tst-unique2mod1.c: Likewise.
9281         * elf/tst-unique1mod2.c: Likewise.
9282         * elf/tst-unique1mod1.c: Likewise.
9283         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9284         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9285         Replace ASM_TYPE_DIRECTIVE with .type.
9286         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9287         * sysdeps/i386/sysdep.h: Likewise.
9288         * sysdeps/x86_64/sysdep.h: Likewise.
9289         * sysdeps/sh/sysdep.h: Likewise.
9290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9291         Do not define ASM_TYPE_DIRECTIVE.
9292         * sysdeps/powerpc/sysdep.h: Likewise.
9293         * sysdeps/powerpc/powerpc32/sysdep.h:
9294         Replace ASM_TYPE_DIRECTIVE with .type.
9295         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9296         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9297         * sysdeps/i386/fpu/e_powf.S: Likewise.
9298         * sysdeps/i386/fpu/e_expl.S: Likewise.
9299         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9300         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9301         * sysdeps/i386/fpu/e_pow.S: Likewise.
9302         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9303         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9304         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9305         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9306         * sysdeps/i386/fpu/e_log2.S: Likewise.
9307         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9308         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9309         * sysdeps/i386/fpu/e_powl.S: Likewise.
9310         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9311         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9312         * sysdeps/i386/fpu/e_logl.S: Likewise.
9313         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9314         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9315         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9316         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9317         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9318         * sysdeps/i386/fpu/e_log.S: Likewise.
9319         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9320         * sysdeps/i386/fpu/e_logf.S: Likewise.
9321         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9322         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9323         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9324         * sysdeps/i386/fpu/e_log10.S: Likewise.
9325         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9326         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9327         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9328         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9329         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9330         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9331         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9332         * sysdeps/i386/i686/strtok.S: Likewise.
9333         * sysdeps/i386/i386-mcount.S: Likewise.
9334         * sysdeps/i386/strtok.S: Likewise.
9335         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9336         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9337         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9338         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9339         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9340         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9341         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9342         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9343         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9344         * sysdeps/x86_64/_mcount.S: Likewise.
9345         * sysdeps/x86_64/strtok.S: Likewise.
9346         * sysdeps/sh/_mcount.S: Likewise.
9348 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9350         * libio/iofopen.c: Include <fcntl.h>.
9351         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9352         (_IO_fopen64, fopen64): Define as aliases.
9353         * libio/iofopen64.c: Include <fcntl.h>.
9354         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9355         Conditionalize body on this.
9356         * sysdeps/wordsize-64/iofopen.c: File removed.
9357         * sysdeps/wordsize-64/iofopen64.c: File removed.
9359 2012-08-01  Marek Polacek  <polacek@redhat.com>
9361         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9362         Use dlfcn directly instead of a variable.
9363         (binfmt-subdir): Do not define.
9364         (dlfcn): Likewise.
9366 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9368         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9369         Remove all definitions.
9370         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9371         <kernel-features.h>.
9372         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9373         (miss_F_GETOWN_EX): Remove all definitions.
9374         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9375         macro definition.
9376         [!__ASSUME_FCNTL64]: Remove conditional code.
9377         [__ASSUME_FCNTL64]: Make code unconditional.
9378         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9379         <kernel-features.h>.
9380         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9381         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9382         (lockf64) [__NR_fcntl64]: Make code unconditional.
9383         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9385         * sysdeps/unix/sysv/linux/kernel-features.h
9386         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9387         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9388         Make code unconditional.
9389         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9390         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9392         [__NR_vfork]: Make code unconditional.
9393         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9394         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9396         [__NR_vfork]: Make code unconditional.
9397         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9398         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9400 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9402         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9403         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9405         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9406         Define mkstemp64 as an alias.
9407         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9408         Define mkstemps64 as an alias.
9409         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9410         Define mkostemp64 as an alias.
9411         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9412         Define mkostemps64 as an alias.
9413         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9414         Conditionalize body on this.
9415         * misc/mkostemp64.c: Likewise.
9416         * misc/mkostemps64.c: Likewise.
9417         * misc/mkstemps64.c: Likewise.
9418         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9419         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9420         * sysdeps/wordsize-64/mkostemp.c: File removed.
9421         * sysdeps/wordsize-64/mkstemp.c: File removed.
9422         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9423         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9424         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9425         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9427         [BZ #14138]
9428         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9429         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9430         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9431         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9433         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9434         compat_symbol macros from <shlib-compat.h> rather than the underlying
9435         default_symbol_version and symbol_version macros, so that DEFAULT
9436         lines in shlib-versions are respected.
9437         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9439 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9441         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9442         Declare with warn_unused_result.
9443         (setgid, setregid, setegid, setresgid): Likewise.
9444         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9445         Likewise.
9446         * WUR-REPORT: Remove set*id functions.
9448 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9450         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9452 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9454         * include/sys/socket.h (__libc_accept, __libc_accept4):
9455         Add attribute_hidden.
9456         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9458         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9459         use of PTR_MANGLE.
9460         * inet/getnetgrent_r.c (setup): Likewise.
9462         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9464 2012-07-31  David S. Miller  <davem@davemloft.net>
9466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9468 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9470         [BZ #13629]
9471         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9472         value between 1.0 and 2.0 and smaller part has absolute value less
9473         than 1.0.
9474         * math/s_clog10.c (__clog10): Likewise.
9475         * math/s_clog10f.c (__clog10f): Likewise.
9476         * math/s_clog10l.c (__clog10l): Likewise.
9477         * math/s_clogf.c (__clogf): Likewise.
9478         * math/s_clogl.c (__clogl): Likewise.
9479         * math/libm-test.inc (clog_test): Add more tests.
9480         (clog10_test): Likewise.
9481         * sysdeps/i386/fpu/libm-test-ulps: Update.
9482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9484 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9486         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9487         Exit with zero in case no suitable GID is found, and write a
9488         message to standard error.
9490 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9492         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9493         rather than to 1.
9494         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9495         (MAXPATHLEN): Removed.
9496         (NOGROUP, NODEV): New macros.
9497         (setbit, clrbit, isset, isclr): New macros.
9498         (howmany, roundup, powerof2): New macros.
9499         (DEV_BSIZE): New macro.
9501         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9502         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9504         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9505         definition on [!__NO_LONG_DOUBLE_MATH].
9507         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9508         PTR_MANGLE and PTR_DEMANGLE.
9510         * socket/accept4.c (accept4): Rename to __libc_accept4.
9511         Define accept4 as a weak alias.
9513         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9514         on [_DIRENT_HAVE_D_TYPE].
9515         * io/ftw.c (ftw_dir): Likewise.
9517         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9519         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9521         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9522         Use the BSD numbers rather than the arbitrary ones we had.
9523         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9524         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9525         (SIGXCPU, SIGXFSZ): New macros.
9526         (_NSIG): Now 32.
9528         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9529         initializer on [_LIBC_REENTRANT].
9531         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9532         definitions inside [_POSIX_MAPPED_FILES].
9534         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9536         * dirent/opendir.c: Include <fcntl.h>.
9538         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9539         (__libc_getspecific): Likewise.
9540         (__libc_key_create): Likewise.
9542         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9543         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9544         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9545         (tmpfile64): Define as alias.
9546         * sysdeps/wordsize-64/tmpfile.c: File removed.
9547         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9548         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9549         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9551         * stdio-common/vfscanf.c: Include <stdbool.h>.
9552         * nss/makedb.c: Likewise.
9553         * stdio-common/_i18n_number.h: Likewise.
9554         * argp/argp-help.c: Likewise.
9555         * posix/wordexp.c: Likewise.
9556         * sysdeps/posix/spawni.c: Likewise.
9557         * nss/nss_files/files-initgroups.c: Likewise.
9558         * stdio-common/reg-modifier.c: Include <stdlib.h>.
9559         * nss/nss_files/files-initgroups.c: Likewise.
9560         * nss/nss_db/db-netgrp.c: Likewise.
9561         * nss/nss_db/db-initgroups.c: Likewise.
9562         * io/fchmodat.c: Include <sys/stat.h>.
9564         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9565         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9567         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9568         [HAVE_MMAP].
9570         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9571         Add multiple inclusion protection.
9573 2012-07-27  David S. Miller  <davem@davemloft.net>
9575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9577 2012-07-27  Gary Benson  <gbenson@redhat.com>
9579         [BZ #14298]
9580         * elf/rtld.c: Include <stap-probe.h>.
9581         (dl_main): Added static probes "init_start" and "init_complete".
9582         * elf/dl-load.c: Include <stap-probe.h>.
9583         (lose): Take new parameter "nsid".
9584         Added static probe "map_failed".
9585         (_dl_map_object_from_fd): Pass namespace id to lose.
9586         Added static probe "map_start".
9587         (open_verify): Pass namespace id to lose.
9588         * elf/dl-open.c: Include <stap-probe.h>.
9589         (dl_open_worker) Added static probes "map_complete", "reloc_start"
9590         and "reloc_complete".
9591         * elf/dl-close.c: Include <stap-probe.h>.
9592         (_dl_close_worker): Added static probes "unmap_start" and
9593         "unmap_complete".
9594         * elf/rtld-debugger-interface.txt: New file documenting the above.
9596 2012-07-26  Roland McGrath  <roland@hack.frob.com>
9598         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9599         rather than a string variable.
9600         * sunrpc/rpc_main.c (h_output): Likewise.
9601         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9603 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
9605         * inet/check_native.c: New file.
9607 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
9609         [BZ #13629]
9610         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9611         if larger part has absolute value 1.0.
9612         * math/s_clog10.c (__clog10): Likewise.
9613         * math/s_clog10f.c (__clog10f): Likewise.
9614         * math/s_clog10l.c (__clog10l): Likewise.
9615         * math/s_clogf.c (__clogf): Likewise.
9616         * math/s_clogl.c (__clogl): Likewise.
9617         * math/libm-test.inc (clog_test): Add more tests.
9618         (clog10_test): Likewise.
9619         * sysdeps/i386/fpu/libm-test-ulps: Update.
9620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9622         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9623         (pltexit): Likewise.
9624         (La_regs): Likewise.
9625         (La_retval): Likewise.
9626         (int_retval): Likewise.
9627         Update #error for removed macros to refer only to definitions in
9628         tst-audit.h.
9629         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9630         macro.
9631         (pltexit): Likewise.
9632         (La_regs): Likewise.
9633         (La_retval): Likewise.
9634         (int_retval): Likewise.
9635         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9636         macro.
9637         (pltexit): Likewise.
9638         (La_regs): Likewise.
9639         (La_retval): Likewise.
9640         (int_retval): Likewise.
9641         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9642         macro.
9643         (pltexit): Likewise.
9644         (La_regs): Likewise.
9645         (La_retval): Likewise.
9646         (int_retval): Likewise.
9647         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9648         macro.
9649         (pltexit): Likewise.
9650         (La_regs): Likewise.
9651         (La_retval): Likewise.
9652         (int_retval): Likewise.
9653         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9654         macro.
9655         (pltexit): Likewise.
9656         (La_regs): Likewise.
9657         (La_retval): Likewise.
9658         (int_retval): Likewise.
9659         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9660         macro.
9661         (pltexit): Likewise.
9662         (La_regs): Likewise.
9663         (La_retval): Likewise.
9664         (int_retval): Likewise.
9665         * sysdeps/generic/tst-audit.h: Update comment to refer only to
9666         macro definitions in tst-audit.h.
9667         * sysdeps/i386/tst-audit.h: New file.
9668         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9669         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9670         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9671         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9672         * sysdeps/sh/tst-audit.h: Likewise.
9673         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9674         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9675         * sysdeps/x86_64/tst-audit.h: Likewise.
9677 2012-07-26  Andreas Jaeger  <aj@suse.de>
9679         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9680         ptrace.
9682         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9683         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9684         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9685         PTRACE_O_MASK.
9686         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9687         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9688         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9690         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9691         value.
9693         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9694         _sigsys.
9695         (si_call_addr, si_syscall, si_arch): Define new macro.
9696         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9697         _sigsys.
9698         (si_call_addr, si_syscall, si_arch): Define new marcro.
9699         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9700         _sigsys.
9701         (si_call_addr, si_syscall, si_arch): Define new macro.
9702         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9703         _sigsys.
9704         (si_call_addr, si_syscall, si_arch): Define new macro.
9706 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9708         [BZ #13717]
9709         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9710         Change to 2.4.21 where previously 2.4.1.
9711         * sysdeps/unix/sysv/linux/configure: Regenerated.
9712         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9713         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9714         Linux kernel version.
9715         (__ASSUME_STD_AUXV): Remove.
9716         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9717         kernel version.
9718         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9719         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9720         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9721         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9722         (__ASSUME_NETLINK_SUPPORT): Likewise.
9723         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9724         (__no_netlink_support): Remove conditional definition.
9725         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9726         Remove.
9727         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9728         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9729         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9730         (if_nameindex_ioctl): Remove.
9731         (if_nameindex_netlink): Do not handle __no_netlink_support.
9732         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9733         code.
9734         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9735         Remove conditional code.
9736         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9737         code.
9738         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9739         unconditional.
9740         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9741         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9742         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9743         Remove.
9744         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9745         [!__ASSUME_STD_AUXV]: Remove conditional code.
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9747         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9748         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9750         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9751         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9752         code.
9753         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9755         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9756         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9757         conditional code.
9758         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9760         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9761         code.
9762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9763         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9764         conditional code.
9765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9766         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9767         code unconditional.
9768         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9769         conditional code.
9770         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9771         unconditional.
9772         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9773         conditional code.
9774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9775         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9776         unconditional.
9777         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9778         conditional code.
9779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9780         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9781         code unconditional.
9782         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9783         conditional code.
9784         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9785         unconditional.
9786         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9787         conditional code.
9788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9789         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9790         code unconditional.
9791         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9792         conditional code.
9793         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9794         unconditional.
9795         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9796         conditional code.
9798 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
9800         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9801         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9802         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9803         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9804         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9805         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9806         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9807         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9808         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9809         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9810         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9811         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9812         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9813         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9814         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9815         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9816         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9817         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9818         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9820         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9821         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9822         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9824 2012-07-25  Florian Weimer  <fweimer@redhat.com>
9826         * Versions.def: Add GLIBC_2.17.
9827         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9828         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9829         Introduce __libc_secure_getenv.
9830         * stdlib/Versions (2.17): Add secure_getenv
9831         (GLIBC_PRIVATE): Add __libc_secure_getenv.
9832         * stdlib/secure-getenv.c: Rename __secure_getenv to
9833         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
9834         symbol __secure_getenv for GLIBC_2.0.
9835         * stdlib/tst-secure-getenv.c: New.
9836         * stdlib/Makefile (tests): Add testcase.
9837         * manual/startup.texi (Environment Access): Document
9838         secure_getenv.
9839         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9840         __libc_secure_getenv.
9841         * inet/ruserpass.c (ruserpass): Likewise.
9842         * malloc/mtrace.c (mtrace): Likewise.
9843         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9844         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9845         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9846         * sysdeps/posix/tempname.c: Likewise.  Evaluate
9847         HAVE_SECURE_GETENV.
9848         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9849         __secure_getenv to __libc_secure_getenv.
9850         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9852         Likewise.
9853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9854         Likewise.
9855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9863 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9865         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9866         (struct La_i86_retval): Likewise.
9867         (struct La_x86_64_regs): Likewise.
9868         (struct La_x86_64_retval): Likewise.
9869         (struct La_x32_regs): Likewise.
9870         (struct La_x32_retval): Likewise.
9871         (struct La_ppc32_regs): Likewise.
9872         (struct La_ppc32_retval): Likewise.
9873         (struct La_ppc64_regs): Likewise.
9874         (struct La_ppc64_retval): Likewise.
9875         (struct La_sh_regs): Likewise.
9876         (struct La_sh_retval): Likewise.
9877         (struct La_s390_32_regs): Likewise.
9878         (struct La_s390_32_retval): Likewise.
9879         (struct La_s390_64_regs): Likewise.
9880         (struct La_s390_64_retval): Likewise.
9881         (struct La_sparc32_regs): Likewise.
9882         (struct La_sparc32_retval): Likewise.
9883         (struct La_sparc64_regs): Likewise.
9884         (struct La_sparc64_retval): Likewise.
9885         (struct audit_ifaces): Remove architecture-specific pltenter and
9886         pltexit members.
9887         * sysdeps/i386/ldsodefs.h: New file.
9888         * sysdeps/powerpc/ldsodefs.h: Likewise.
9889         * sysdeps/s390/ldsodefs.h: Likewise.
9890         * sysdeps/sh/ldsodefs.h: Likewise.
9891         * sysdeps/sparc/ldsodefs.h: Likewise.
9892         * sysdeps/x86_64/ldsodefs.h: Likewise.
9894 2012-07-25  Marek Polacek  <polacek@redhat.com>
9896         [BZ #6808]
9897         * math/libm-test.inc (yn_test): Add another test.
9898         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9899         to ERANGE when the result is +-Inf.
9900         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9901         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9902         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9903         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9905 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
9907         * conform/data/time.h-data (NULL): Use macro-constant.  Require
9908         equal to 0.
9909         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
9910         clock_t.
9911         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
9913 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
9915         * configure.in <sysdeps resolving>: Correct printing
9916         Implies_before.
9917         * configure: Regenerate.
9919 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
9921         * math/w_ilogb.c: Include <limits.h>.
9922         * math/w_ilogbl.c: Likewise.
9924 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9926         * manual/lang.texi (__va_copy): Document primarily as ISO C99
9927         va_copy.  Document allowing for unavailable va_copy only as
9928         pre-C99 compatibility.
9929         * manual/string.texi (Copying and Concatenation): Use va_copy
9930         instead of __va_copy in concat example.
9932 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
9934         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9935         (__sendto): Use create_address_port.  Initialize APORT and deallocate
9936         it if not null.
9938         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9939         with O_NOLINK passed to __file_name_lookup.
9941         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9942         with O_NOLINK passed to __file_name_lookup.
9944         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9945         negative N or less than NGIDS.
9947         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9948         type to string_t.  Set ERANGE as errno and return it if NAME is not big
9949         enough.  Use memcpy instead of strncpy.
9951 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9953         * elf/Makefile (check-data): Remove.
9954         (localplt.data): New vpath directive.
9955         ($(objpfx)check-localplt.out): Use localplt.data from vpath
9956         instead of $(check-data).
9957         * scripts/data/localplt-generic.data: Move to ...
9958         * sysdeps/generic/localplt.data: ... here.
9959         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9960         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9961         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9963         ... here.
9964         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9966         ... here.
9967         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9969         ... here.
9970         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9972         ... here.
9973         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9975         ... here.
9976         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9978         ... here.
9980 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9982         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9983         PPC32 and PPC64 files.
9984         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9985         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9987 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9989         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9990         __makecontext_ret to ...
9991         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9992         ... here and call exit if uc_link is NULL.  New file.
9993         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9994         __makecontext_ret.S.
9995         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9996         __makecontext_ret to ...
9997         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9998         ... here and call exit if uc_link is NULL.  New file.
9999         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10000         __makecontext_ret.S.
10002 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10004         * elf/elf.h (R_390_IRELATIVE): New definition.
10005         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10006         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10007         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10008         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10009         (elf_machine_lazy_rel): Likewise.
10010         * sysdeps/s390/dl-irel.h: New file.
10011         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10012         * sysdeps/s390/s390-64/memset.S: New asm code.
10013         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10014         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10015         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10016         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10017         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10018         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10019         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10020         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10021         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10022         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10023         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10024         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10025         * sysdeps/s390/s390-32/memset.S: New asm code.
10026         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10028 2012-07-17  Marek Polacek  <polacek@redhat.com>
10030         [BZ #14349]
10031         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10032         * sysdeps/s390/s390-64/configure.in: Likewise.
10033         * sysdeps/sparc/configure.in: Likewise.
10034         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10035         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10036         * sysdeps/i386/configure.in: Likewise.
10037         * sysdeps/x86_64/configure.in: Likewise.
10038         * sysdeps/sh/configure.in: Likewise.
10039         * sysdeps/s390/s390-32/configure: Regenerated.
10040         * sysdeps/s390/s390-64/configure: Likewise.
10041         * sysdeps/x86_64/configure: Likewise.
10042         * sysdeps/sh/configure: Likewise.
10043         * sysdeps/powerpc/powerpc64/configure: Likewise.
10044         * sysdeps/powerpc/powerpc32/configure: Likewise.
10045         * sysdeps/sparc/configure: Likwise.
10046         * sysdeps/i386/configure: Likewise.
10048         * elf/dl-open.c: Comment fixes.
10050 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10052         * Makefile [CXX] (check-data): Remove.
10053         [CXX] (c++-types.data): New vpath directive.
10054         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10055         vpath.  Do not allow for C++ type data being missing.
10056         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10057         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10058         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10059         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10060         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10061         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10062         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10064         ... here.
10065         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10067         ... here.
10068         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10070         ... here.
10071         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10073         ... here.
10074         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10076         ... here.
10077         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10079         ... here.
10080         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10082         ... here.
10083         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10086         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10087         definitions to architecture-specific files.
10088         (TLS_IE): Likewise.
10089         (TLS_LD): Likewise.
10090         (TLS_GD): Likewise.
10091         * sysdeps/i386/tls-macros.h: New file.
10092         * sysdeps/powerpc/tls-macros.h: Likewise.
10093         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10094         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10095         * sysdeps/sh/tls-macros.h: Likewise.
10096         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10097         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10098         * sysdeps/x86_64/tls-macros.h: Likewise.
10100 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10102         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10103         zero value for regular exit case.
10105         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10106         (__start_context): Preserve zero value for regular exit case.
10108 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10109             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10111         * manual/setjmp.texi (setcontext): Clarify normal process
10112         termination when uc_link is the null pointer.
10113         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10114         exit call.
10116 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10118         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10119         preprocessor.  Test for each exception mask separately.
10121 2012-07-16  Andreas Jaeger  <aj@suse.de>
10123         * po/ru.po: Update from translation team.
10125 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10127         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10128         equal to 0.
10129         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10130         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10131         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10132         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10133         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10135 2012-07-13  Andreas Jaeger  <aj@suse.de>
10137         * po/fr.po: Update from translation team.
10139 2012-07-12  Marek Polacek  <polacek@redhat.com>
10141         [BZ #14173]
10142         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10143         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10144         loop condition.
10146 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10148         [BZ #13717]
10149         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10150         Change to 2.4.1 where previously 2.4.0.
10151         * sysdeps/unix/sysv/linux/configure: Regenerated.
10152         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10153         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10154         version.
10155         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10156         (__ASSUME_AT_CLKTCK): Remove.
10157         (__ASSUME_AT_PAGESIZE): Likewise.
10158         (__ASSUME_AT_XID): Likewise.
10159         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10160         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10161         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10162         unconditionally.
10163         (HAVE_AUX_PAGESIZE): Likewise.
10164         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10165         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10166         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10168 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10170         [BZ #14307]
10171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10172         the temporary buffer used to invoke __gethostbyname2_r,
10173         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10174         host_data / struct gaih_addrtuple.
10175         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10176         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10177         header file nss/nsswitch.h.
10178         * nss/nsswitch.h (global scope): Add definition of implementation
10179         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10180         resolv/nss_dns/dns-host.c).
10182 2012-07-11  Andreas Jaeger  <aj@suse.de>
10184         * po/fr.po: Update from translation team.
10186         * po/sv.po: Update from translation team
10187         * po/fr.po: Another update from translation team.
10189 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10191         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10192         for subnormals or multiply small sinh result by itself.
10193         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10196 2012-07-11  David S. Miller  <davem@davemloft.net>
10198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10200 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10202         [BZ #14347]
10203         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10204         (INTERNAL_MARK): Shift it here.
10206 2012-07-10  Marek Polacek  <polacek@redhat.com>
10208         [BZ #14151]
10209         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10210         libc_cv_asm_global_directive with .globl.
10211         * configure: Regenerated.
10212         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10213         with .globl.
10214         * sysdeps/i386/configure: Regenerated.
10215         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10216         with .globl.
10217         * sysdeps/x86_64/configure: Regenerated.
10218         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10219         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10220         * elf/tst-unique2mod2.c: Likewise.
10221         * elf/tst-unique2mod1.c: Likewise.
10222         * elf/tst-unique1mod2.c: Likewise.
10223         * elf/tst-unique1mod1.c: Likewise.
10224         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10225         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10226         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10227         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10228         * sysdeps/mach/sysdep.h: Likewise.
10229         * sysdeps/i386/sysdep.h: Likewise.
10230         * sysdeps/i386/i386-mcount.S: Likewise.
10231         * sysdeps/x86_64/_mcount.S: Likewise.
10232         * sysdeps/x86_64/sysdep.h: Likewise.
10233         * sysdeps/sh/_mcount.S: Likewise.
10234         * sysdeps/sh/sysdep.h: Likewise.
10235         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10236         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10237         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10238         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10239         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10240         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10241         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10242         * locale/localeinfo.h: Likewise.
10243         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10244         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10246 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10248         [BZ #14336]
10249         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10250         system".
10251         * manual/message.texi (The Uniforum approach): Likewise.
10252         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10253         (glibc iconv Implementation): Likewise.
10255 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10257         [BZ #14337]
10258         * math/s_clog.c (__clog): Avoid scaling a value down where that
10259         could result in underflow.
10260         * math/s_clog10.c (__clog10): Likewise.
10261         * math/s_clog10f.c (__clog10f): Likewise.
10262         * math/s_clog10l.c (__clog10l): Likewise.
10263         * math/s_clogf.c (__clogf): Likewise.
10264         * math/s_clogl.c (__clogl): Likewise.
10265         * math/libm-test.inc (clog_test): Add more tests.
10266         (clog10_test): Likewise.
10267         * sysdeps/i386/fpu/libm-test-ulps: Update.
10268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10270 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10272         [BZ #14283]
10273         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10274         by 7 not 8 to examine high bit of fractional part.
10276         [BZ #14042]
10277         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10278         for call to __mcount_internal.
10279         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10280         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10281         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10283 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10285         [BZ #14154]
10286         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10287         approximation for values within 0x1p-13f of an odd multiple of
10288         pi/4.
10289         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10290         exception.  Add more tests.
10291         * sysdeps/i386/fpu/libm-test-ulps: Update.
10293         [BZ #6778]
10294         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10295         inputs and return -1 for them.  Do not check for +Inf in case not
10296         reachable for +Inf.
10297         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10298         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10299         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10300         and return -1 for them.  Do not check for +Inf in case not
10301         reachable for +Inf.
10302         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10303         define.
10304         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10305         and return -1 for them.  Do not check for +Inf in case not
10306         reachable for +Inf.
10307         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10308         spurious underflow.
10309         * sysdeps/i386/fpu/libm-test-ulps: Update.
10310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10312 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10314         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10316 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10318         [BZ #14157]
10319         [BZ #14331]
10320         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10321         could result in spurious underflow.  Scale down values above
10322         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10323         * math/s_csqrtf.c (__csqrtf): Likewise.
10324         * math/s_csqrtl.c (__csqrtl): Likewise.
10325         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10326         spurious underflow.
10327         * sysdeps/i386/fpu/libm-test-ulps: Update.
10328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10330 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10332         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10333         xopen-msg.sed.
10334         * catgets/xopen-msg.awk: New file.
10335         * catgets/xopen-msg.sed: Removed.
10337         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10338         po2text.sed.
10339         * intl/po2test.awk: New file.
10340         * intl/po2test.sed: Removed.
10342 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10344         [BZ #14328]
10345         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10346         or multiply small sinh result by itself.
10347         * math/s_ctanf.c (__ctanf): Likewise.
10348         * math/s_ctanh.c (__ctanh): Likewise.
10349         * math/s_ctanhf.c (__ctanhf): Likewise.
10350         * math/s_ctanhl.c (__ctanhl): Likewise.
10351         * math/s_ctanl.c (__ctanl): Likewise.
10352         * math/libm-test.inc (ctan_test_tonearest): New function.
10353         (ctan_test_towardzero): Likewise.
10354         (ctan_test_downward): Likewise.
10355         (ctan_test_upward): Likewise.
10356         (ctanh_test_tonearest): Likewise.
10357         (ctanh_test_towardzero): Likewise.
10358         (ctanh_test_downward): Likewise.
10359         (ctanh_test_upward): Likewise.
10360         (main): Call these new functions.
10361         * sysdeps/i386/fpu/libm-test-ulps: Update.
10362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10364 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10366         * .gitignore: Delete /ports entry.
10368 2012-07-03  Andreas Jaeger  <aj@suse.de>
10370         * po/bg.po: Update from translation team.
10371         * po/cs.po: Likewise.
10372         * po/de.po: Likewise.
10373         * po/hr.po: Likewise.
10374         * po/nl.pl: Likewise.
10375         * po/pl.po: Likewise.
10376         * po/vi.po: Likewise.
10378 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10380         * Makeconfig [!+link] (+link-before-libc): New variable.
10381         [!+link] (+link-after-libc): Likewise.
10382         [!+link] (+link-tests): Likewise.
10383         [!+link] (+link): Define in terms of $(+link-before-libc) and
10384         $(+link-after-libc).
10385         [!+link-static] (+link-static-before-libc): New variable.
10386         [!+link-static] (+link-static-after-libc): Likewise.
10387         [!+link-static] (+link-static-tests): Likewise.
10388         [!+link-static] (+link-static): Define in terms of
10389         $(+link-static-before-libc) and $(+link-static-after-libc).
10390         [build-shared] (link-libc-before-gnulib): New variable.
10391         [build-shared] (link-libc-tests): Likewise.
10392         [build-shared] (link-libc): Define in terms of
10393         $(link-libc-before-gnulib).
10394         [!build-shared] (link-libc-tests): New variable.
10395         (link-libc-static-tests): New variable.
10396         [!gnulib] (gnulib-arch): New variable.
10397         [!gnulib] (gnulib-tests): Likewise.
10398         [!gnulib] (static-gnulib-arch): Likewise.
10399         [!gnulib] (static-gnulib-tests): Likewise.
10400         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10401         Define with "=" instead of ":=".
10402         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10403         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10404         * Rules (binaries-all-notests): New variable.
10405         (binaries-all-tests): Likewise.
10406         (binaries-static-notests): Likewise.
10407         (binaries-static-tests): Likewise.
10408         (binaries-all): Define using $(binaries-all-notests) and
10409         $(binaries-all-tests).
10410         (binaries-static): Define using $(binaries-static-notests) and
10411         $(binaries-static-tests).
10412         (binaries-shared-tests): New variable.
10413         (binaries-shared-notests): Likewise.
10414         (binaries-shared): Remove variable.
10415         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10416         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10417         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10418         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10419         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10420         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10421         * elf/Makefile (sln-modules): New variable.
10422         (extra-objs): Add $(sln-modules:=.o).
10423         (ldconfig-modules): Add static-stubs.
10424         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10425         * elf/static-stubs.c: New file.
10427         [BZ #14283]
10428         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10429         by 7 not 8 to examine high bit of fractional part.  Use volatile
10430         variables when splitting into final array of floats if
10431         __FLT_EVAL_METHOD__ != 0.
10432         * math/libm-test.inc (cos_test): Add another test.
10433         (sin_test): Likewise.
10434         * sysdeps/i386/fpu/libm-test-ulps: Update.
10436         [BZ #14273]
10437         * math/libm-test.inc (cosh_test): Add more tests.
10439         * version.h (RELEASE): Set to "development".
10440         (VERSION): Set to "2.16.90".
10442 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10444         * NEWS: Update copyright. Remove last-updated date.
10445         Mention math library bug fixes and timezone data changes.
10446         * README: Mention GNU/Hurd, x32, and HPPA support status.
10448 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10450         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10452 2012-06-27  Andreas Jaeger  <aj@suse.de>
10454         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10456 2012-06-25  Andreas Jaeger  <aj@suse.de>
10458         * sysdeps/s390/fpu/libm-test-ulps: Update.
10460 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10461             Thomas Schwinge  <thomas@codesourcery.com>
10463         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10464         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10465         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10466         fanotify_mark.
10468 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10470         * sysdeps/mach/start.c: Remove file.
10471         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10472         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10473         * sysdeps/sh/init-first.c: Likewise.
10475         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10476         registers for frame unwinding purposes, add CFI directives.
10477         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10478         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10479         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10480         Likewise.
10482         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10483         __fortify_fail returning.
10484         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10486         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10487         sysdeps/sh/____longjmp_chk.S.
10488         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10489         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10490         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10491         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10493         * sysdeps/sh/abort-instr.h: New file.
10494         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10495         process in case exit returns.
10497         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10498         initialize the GOT register before use.
10500         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10501         calculation of ARGC > 4.
10503         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10504         meaningful names to some local labels.
10506 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10507             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10509         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10510         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10511         (__arch_compare_and_exchange_val_16_acq): Likewise.
10512         (__arch_compare_and_exchange_val_32_acq): Likewise.
10513         (atomic_exchange_and_add): Fix gUSA sequence.
10514         (atomic_add): Likewise.
10515         (atomic_add_negative): Likewise.
10516         (atomic_add_zero): Likewise.
10517         (atomic_bit_test_set): Likewise.
10519 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10521         [BZ #13579]
10522         * include/link.h (struct link_map): Add l_free_initfini.
10523         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10524         l_initfini.
10525         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10526         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10527         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10528         set.
10530 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10532         * configure.in: Use AC_LANG_SOURCE.
10533         * configure: Regenerate.
10535 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10537         * configure.in (libc_cv_localstatedir): New substituted variable.
10538         * configure: Regenerated.
10539         * config.make.in (localstatedir): New variable, substituted from
10540         libc_cv_localstatedir.
10541         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10542         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10543         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10544         * sysdeps/gnu/configure: Regenerated.
10546 2012-06-21  Jeff Law  <law@redhat.com>
10548         [BZ #14277]
10549         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10550         free.  Simplify list management for _LIBC case.
10552 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10554         [BZ #14273]
10555         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10556         Clear sign bit of 64-bit integer value before comparing against
10557         overflow value.
10559         * sysdeps/mach/configure: Regenerated.
10561 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
10563         [BZ #14278]
10564         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10566 2012-06-21  Jeff Law  <law@redhat.com>
10568         [BZ #13882]
10569         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
10570         uint16_t for elements in the "seen" array to avoid char overflows.
10571         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10572         * elf/dl-open.c (dl_open_worker): Likewise.
10574 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
10576         * scripts/list-sources.sh: Scan PORTS for translations.
10577         * po/libc.pot: Regenerated.
10579 2012-06-21  Andreas Jaeger  <aj@suse.de>
10581         [BZ #12194]
10582         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10583         warning.
10584         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10585         * bits/byteswap-16.h (__bswap_16): Likewise.
10586         * bits/byteswap.h (__bswap_constant_16): Likewise.
10588 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
10590         [BZ #14117]
10591         * sysdeps/i386/fpu_control.h: Removed.
10592         * sysdeps/x86_64/fpu_control.h: Moved to ...
10593         * sysdeps/x86/fpu_control.h: Here.
10595         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10596         (_FPU_SETCW): Likewise.
10598 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
10600         [BZ #14117]
10601         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10602         * sysdeps/x86/fpu/bits/mathinline.h: This.
10603         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10605         [BZ #14050]
10606         [BZ #14117]
10607         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10608         functions if __x86_64__ is defined.
10610 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
10612         * string/endian.h: Add !__ASSEMBLER__ condition for including
10613         conversion interfaces.
10615 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
10617         [BZ #14241]
10618         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10619         of ABS(x) in calculating zero to negative powers other than odd
10620         integers.
10621         * math/libm-test.inc (pow_test): Add more tests.
10623 2012-06-15  Andreas Jaeger  <aj@suse.de>
10625         * manual/contrib.texi (Contributors): Update entry of Liubov
10626         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10627         Machado Filho.
10629 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
10631         * string/string.h: Add __wur to GNU version of strerror_r.
10633 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
10635         [BZ #14229]
10636         * string/Makefile (tests): Add tst-strtok_r.
10637         * string/tst-strtok_r.c: New file.
10638         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10639         RAX_LP/RDX_LP on SAVE_PTR.
10641 2012-06-14  Roland McGrath  <roland@hack.frob.com>
10643         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10645 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
10647         * libm_test.inc (csqrt_test): Allow more spurious underflow
10648         exceptions.
10649         (j0_test): Likewise.
10650         (j1_test): Likewise.
10651         (y0_test): Likewise.
10652         (y1_test): Likewise.
10654 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
10656         * po/Makefile (libc.pot): Use UTF-8 charset.
10658 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
10660         [BZ #14210]
10661         Suppress sign-conversion warning from FD_SET.
10662         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10663         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10664         not unsigned long int.
10665         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10667 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
10669         [BZ #14050]
10670         [BZ #14117]
10671         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10672         __extern_always_inline instead of __extern_inline.
10673         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10674         (__signbit): Likewise.
10675         (__signbitl): Support C++ namespace.
10676         (lrintf): New inline function.
10677         (lrint): Likewise.
10678         (llrintf): Likewise.
10679         (llrint): Likewise.
10680         (fmaxf): Likewise.
10681         (fmax): Likewise.
10682         (fminf): Likewise.
10683         (fmin): Likewise.
10684         (rint): Likewise.
10685         (rintf): Likewise.
10686         (ceil): Likewise.
10687         (ceilf): Likewise.
10688         (floor): Likewise.
10689         (floorf): Likewise.
10690         (nearbyint): Likewise.
10691         (nearbyintf): Likewise.
10693 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
10695         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10696         non-default versions.
10698 2012-06-11  Roland McGrath  <roland@hack.frob.com>
10700         [BZ #14218]
10701         * manual/argp.texi (Argp): Reword argp_parse description slightly.
10703 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
10705         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10706         (FE_UPWARD, FE_DOWNWARD): Don't define.
10707         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10708         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10710         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10711         reading it.
10712         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10713         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10715 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10717         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10718         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10719         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10720         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10722 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10724         [BZ #14117]
10725         * sysdeps/i386/fpu/bits/fenv.h: Removed.
10726         * sysdeps/i386/fpu/Implies: New file.
10727         * sysdeps/x86_64/fpu/Implies: Likewise.
10728         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10729         * sysdeps/x86/fpu/bits/fenv.h: This.
10731         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10732         __SSE_MATH__.
10734 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10736         [BZ #14134]
10737         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10738         character 0xffff that matches the last element of the
10739         conversion table.
10741 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10743         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10744         fmodl commit.
10746 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10748         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10749         values higher than 25.6283.
10751 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10753         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10754         subnormal exponent extraction and add some __builtin_expect.
10755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10756         Fix for subnormal mantissa calculation.
10758 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
10760         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10761         cpu2 is -1 and errno is not ENOSYS.
10763 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
10765         [BZ #14117]
10766         * sysdeps/i386/i486/bits/string.h: Renamed to ...
10767         * sysdeps/x86/bits/string.h: This.
10768         * sysdeps/x86_64/bits/string.h: Removed.
10770         * sysdeps/i386/i486/bits/string.h: Define inline functions only
10771         if not compiling for x86-64, but compiling for >= i486.
10773         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10774         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10776         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10777         New macro from Linux kernel 3.4.0.
10778         (FP_XSTATE_MAGIC2): Likewise.
10779         (FP_XSTATE_MAGIC2_SIZE): Likewise.
10780         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10781         (struct _fpx_sw_bytes): New struct.
10782         (struct _xsave_hdr): Likewise.
10783         (struct _ymmh_state): Likewise.
10784         (struct _xstate): Likewise.
10786         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10787         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10788         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10789         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10790         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10791         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10793         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10794         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10795         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10796         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10797         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10798         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10800 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10802         [BZ #13743]
10803         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10804         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10805         (sysdep_headers): Include sys/platform/ppc.h.
10806         * sysdeps/powerpc/test-gettimebase.c: Test for
10807         __ppc_get_timebase() to catch future ISA opcode/insn changes.
10808         * manual/Makefile (appendices): Include platform.texi.
10809         * manual/contrib.texi (Contributors): Update @node pointers.
10810         * manual/maint.texi (Maintenance): Likewise.
10811         (Platform): New node.
10812         * manual/platform.texi: New file.  Document the new features.
10814 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10815             Jakub Jelinek  <jakub@redhat.com>
10817         [BZ #14188]
10818         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10819         where __builtin_expect is unavailable.
10821 2012-06-03  David S. Miller  <davem@davemloft.net>
10823         * stdlib/longlong.h: Updated from GCC.
10825 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
10827         [BZ #14042]
10828         * sysdeps/powerpc/powerpc32/mcount.c: New file.
10829         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10830         __mcount_internal.
10831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10832         (GLIBC_2.16): Likewise.
10834 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10836         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10838 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10841         (default-abi): New variable.
10842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10843         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10844         variable.
10845         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10846         Likewise.
10847         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10848         Likewise.
10849         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10850         Likewise.
10852         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10853         definition.  Document in comment.
10855 2012-06-01  David S. Miller  <davem@davemloft.net>
10857         * stdlib/longlong.h: Updated from GCC.
10859 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10861         [BZ #14117]
10862         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10863         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10864         sys/debugreg.h sys/io.h here.
10865         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10866         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10867         sys/io.h.
10868         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10869         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10870         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10871         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10872         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10873         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10875         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10876         Define only if __x86_64__ is defined.
10878 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10880         [BZ #14048]
10881         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10882         Use int64_t for variable i.
10883         * math/libm-test.inc (fmod_test): Add more tests.
10885         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10886         z computation is not scheduled after fetestexcept.
10887         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10888         Use math_force_eval instead of asm to ensure calculation scheduled
10889         before exception test.
10890         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10891         Ensure a1 + u.d computation is not scheduled after fetestexcept.
10893 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
10895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10896         computation is not scheduled after fetestexcept.
10898 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10900         [BZ #14117]
10901         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10902         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10904 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10906         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10907         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10909 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10911         [BZ #14117]
10912         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10913         <bits/wordsize.h>.
10914         (__WCHAR_MIN): Support __WORDSIZE == 64.
10915         (__WCHAR_MAX): Likewise.
10917         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10918         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10920         [BZ #14183]
10921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10922         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10924         [BZ #14117]
10925         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10926         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10928         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10929         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10931         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10932         Defined to 1 if __x86_64__ isn't defined.
10933         (_STAT_VER_LINUX_OLD): New.
10934         (st_atime): Remove duplicate.
10935         (st_mtime): Likewise.
10936         (st_ctime): Likewise.
10938 2012-05-31  David S. Miller  <davem@davemloft.net>
10940         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10941         entries.
10943 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
10945         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10946         gen-libm-test.pl.
10948         [BZ #14132]
10949         * elf/dl-reloc.c: Include <_itoa.h>.
10950         (_dl_reloc_bad_type): Remove use of INTUSE.
10951         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10952         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10953         * stdio-common/psiginfo.c (psiginfo): Likewise.
10954         * stdio-common/psignal.c (psignal): Likewise.
10955         * string/strsignal.c (strsignal): Likewise.
10956         * include/signal.h (_sys_siglist): Declare hidden proto.
10957         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
10958         INTVARDEF with libc_hidden_data_def.
10959         * stdio-common/itoa-udigits.c: Likewise.
10960         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10961         (_itoa_lower_digits_internal): Remove declaration.
10962         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10963         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10964         (_sys_sigabbrev_internal): Remove aliases.
10965         (_sys_siglist): Define hidden alias.
10967 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
10969         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10970         bits/sysctl.h.
10972 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10974         [BZ #14117]
10975         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10976         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10978         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10979         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10980         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10981         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10982         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10983         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10985         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10986         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10987         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10989         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10990         with __addr.
10991         (insw): Likewise.
10992         (insl): Likewise.
10993         (outsb): Likewise.
10994         (outsw): Likewise.
10995         (outsl): Likewise.
10997         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10998         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10999         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11001         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11002         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11003         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11004         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11005         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11006         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11008         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11009         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11011         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11012         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11014         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11015         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11016         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11018         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11019         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11020         to ...
11021         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11023         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11024         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11025         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11027         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11028         for x86-64.
11029         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11031 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11033         * math/math.h (M_El): Use two more decimal places.
11034         (M_LOG2El): Likewise.
11035         (M_LOG10El): Likewise.
11036         (M_LN2l): Likewise.
11037         (M_LN10l): Likewise.
11038         (M_PIl): Likewise.
11039         (M_PI_2l): Likewise.
11040         (M_PI_4l): Likewise.
11041         (M_1_PIl): Likewise.
11042         (M_2_PIl): Likewise.
11043         (M_2_SQRTPIl): Likewise.
11044         (M_SQRT2l): Likewise.
11045         (M_SQRT1_2l): Likewise.
11047 2012-05-31  David S. Miller  <davem@davemloft.net>
11049         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11050         values between float registers.
11051         * sysdeps/sparc/sparc64/memset.S: Likewise.
11052         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11054 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11056         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11057         -D_FORTIFY_SOURCE=1.
11058         (CPPFLAGS-tst-longjmp_chk.c): Define.
11059         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11060         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11061         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11062         CFLAGS-tst-wchar-h.c.
11064 2012-05-31  Marek Polacek  <polacek@redhat.com>
11066         [BZ #14132]
11067         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11068         __endmntent_internal): Remove declaration.
11069         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11070         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11071         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11073 2012-05-30  David S. Miller  <davem@davemloft.net>
11075         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11076         (___Q_simulate_exceptions): Use real FP ops rather than writing
11077         into the %fsr.
11078         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11079         Likewise.
11081 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11083         [BZ #14117]
11084         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11085         * sysdeps/x86/bits/xtitypes.h: This.
11087         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11088         * sysdeps/x86/bits/wordsize.h: This.
11090         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11091         * sysdeps/x86/bits/huge_vall.h: This.
11093         * sysdeps/i386/bits/select.h: Removed.
11094         * sysdeps/x86_64/bits/select.h: Renamed to ...
11095         * sysdeps/x86/bits/select.h: This.
11097         * sysdeps/i386/bits/setjmp.h: Removed.
11098         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11099         * sysdeps/x86/bits/setjmp.h: This.
11101         * sysdeps/i386/bits/mathdef.h: Removed.
11102         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11103         * sysdeps/x86/bits/mathdef.h: This.
11105 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11107         [BZ #14132]
11108         * include/sys/socket.h (__connect_internal)
11109         (__libc_sa_len_internal): Remove declaration.
11110         (__connect, __libc_sa_len): Declare hidden_proto.
11111         (SA_LEN): Remove use of INTUSE.
11112         * socket/connect.c: Add libc_hidden_def.
11113         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11114         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11115         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11116         alias.
11117         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11118         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11119         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11120         of adding _internal alias.
11122 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11124         [BZ #14117]
11125         * sysdeps/i386/bits/link.h: Removed.
11126         * sysdeps/i386/bits/linkmap.h: Likewise.
11127         * sysdeps/x86_64/bits/link.h: Renamed to ...
11128         * sysdeps/x86/bits/link.h: This.
11129         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11130         * sysdeps/x86/bits/linkmap.h: This.
11132         * sysdeps/i386/bits/endian.h: Removed.
11133         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11134         * sysdeps/x86/bits/endian.h: This.
11136         * sysdeps/i386/bits/byteswap.h: Removed.
11137         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11138         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11139         * sysdeps/x86/bits/byteswap.h: This.
11140         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11141         * sysdeps/x86/bits/byteswap-16.h: This.
11142         * sysdeps/i386/Implies: Add x86.
11143         * sysdeps/x86_64/Implies: Likewise.
11145 2012-05-30  David S. Miller  <davem@davemloft.net>
11147         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11148         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11149         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11150         (FP_TRAPPING_EXCEPTIONS): Define.
11151         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11152         (FP_TRAPPING_EXCEPTIONS): Define.
11153         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11154         subnormals only when inexact has been signalled or underflow
11155         exceptions are enabled.
11156         (_FP_PACK_CANONICAL): Likewise.
11158 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11160         [BZ #14183]
11161         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11162         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11164 2012-05-30  Richard Henderson  <rth@twiddle.net>
11166         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11167         with #ifndef NOT_IN_libc.
11169         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11170         marked to avoid plt entry.
11172 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11174         [BZ #14112]
11175         * Makeconfig (default-abi): New macro.
11176         (abi-includes): Likewise.
11177         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11178         $(abi-$(default-abi)-lib-soname) for soname if defined.
11179         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11180         abi-variants.
11181         * Makefile (installed-stubs): Likewise.
11182         * include/stubs-biarch.h: Removed.
11183         * scripts/lib-names.awk: Only handle one library at a time.
11184         * scripts/soversions.awk: Remove WORDSIZE support.
11185         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11186         entries.
11187         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11188         Removed.
11189         (syscall-list-default-condition): Likewise.
11190         (syscall-list-default-condition): Likewise.
11191         (syscall-list-includes): Likewise.
11192         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11193         syscall-list-* with abi-*.  Handle undefined abi-variants.
11194         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11195         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11196         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11197         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11198         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11199         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11200         Removed.
11201         (syscall-list-32-options): Likewise.
11202         (syscall-list-32-condition): Likewise.
11203         (syscall-list-64-options): Likewise.
11204         (syscall-list-64-condition): Likewise.
11205         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11206         macro.
11207         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11208         Renamed to ...
11209         (abi-*): This.
11210         (abi-64-ld-soname): New macro.
11211         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11212         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11213         Renamed to ...
11214         (abi-*): This.
11215         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11216         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11218 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11220         * sysdeps/unix/sysv/linux/kernel-features.h
11221         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11222         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11223         include <kernel-features.h>.
11224         [!__NR_ftruncate64]: Remove conditional code.
11225         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11226         [__NR_ftruncate64]: Make code unconditional.
11227         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11228         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11229         include <kernel-features.h>.
11230         [!__NR_ftruncate64]: Remove conditional code.
11231         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11232         [__NR_ftruncate64]: Make code unconditional.
11233         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11235         include <kernel-features.h>.
11236         [!__NR_ftruncate64]: Remove conditional code.
11237         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11238         [__NR_ftruncate64]: Make code unconditional.
11239         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11241         include <kernel-features.h>.
11242         [!__NR_ftruncate64]: Remove conditional code.
11243         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11244         [__NR_ftruncate64]: Make code unconditional.
11245         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11247         * configure.in (libc_cv_fpie): Weaken to a compile test using
11248         LIBC_TRY_CC_OPTION.
11249         * configure: Regenerated.
11251 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11257         Refreshed.
11258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11264         Refreshed.
11266 2012-05-27  David S. Miller  <davem@davemloft.net>
11268         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11269         (___Q_zero): New.
11270         (__Q_simulate_exceptions): Return void.  Change to simulate
11271         exceptions by writing into the %fsr.
11272         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11273         (__Qp_handle_exceptions): Likewise.
11274         (numbers): Delete.
11275         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11276         __Qp_handle_exceptions.
11277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11278         __Qp_handle_exceptions.
11279         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11280         as unused and give dummy FP_RND_NEAREST initializer.
11281         (FP_INHIBIT_RESULTS): Define.
11282         (___Q_simulate_exceptions): Update declaration.
11283         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11284         formatting.
11285         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11286         as unused and give dummy FP_RND_NEAREST initializer.
11287         (__Qp_handle_exceptions): Update declaration.
11288         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11289         formatting.
11291 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11293         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11294         the temporary FPU control word.
11295         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11296         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11297         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11298         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11299         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11300         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11301         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11302         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11303         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11304         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11305         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11307 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11309         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11310         fields.
11312 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11314         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11315         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11316         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11317         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11318         Likewise.
11319         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11320         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11321         Likewise.
11323 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11325         * po/h.po: Update from translation team.
11327 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11329         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11331         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11332         handling of denormals.
11333         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11334         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11335         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11336         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11337         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11339         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11340         Likewise.
11342 2012-05-26  Marek Polacek  <polacek@redhat.com>
11344         [BZ #14152]
11345         * math/libm-test.inc (fma_test): Don't always expect underflow
11346         exception.
11348 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11350         [BZ #12416]
11351         * elf/tst-execstack.c: Include stackinfo.h.
11352         (do_test): Adjust test case to ensure that pthread_getattr_np
11353         behaviour remains the same after marking stack executable.
11355 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11357         * sysdeps/unix/sysv/linux/kernel-features.h
11358         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11359         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11360         kernel-features.h.
11361         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11362         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11363         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11364         kernel-features.h.
11365         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11366         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11368 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11370         * configure.in: Define the default includes to being none.
11371         * configure: Regenerated.
11373 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11375         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11376         * sysdeps/x86_64/setjmp.S: Likewise.
11377         * sysdeps/i386/bsd-setjmp.S: Likewise.
11378         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11379         * sysdeps/i386/setjmp.S: Likewise.
11380         * sysdeps/i386/__longjmp.S: Likewise.
11381         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11382         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11384         * include/stap-probe.h: New file.
11385         * configure.in: Handle --enable-systemtap.
11386         * configure: Regenerated.
11387         * config.h.in (USE_STAP_PROBE): New #undef.
11388         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11389         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11390         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11392 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11394         [BZ #13717]
11395         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11396         to 2.4.0 where earlier.
11397         * sysdeps/unix/sysv/linux/configure: Regenerated.
11398         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11399         <kernel-features.h>.
11400         [__ASSUME_32BITUIDS]: Make code unconditional.
11401         [!__ASSUME_32BITUIDS]: Remove conditional code.
11402         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11403         <kernel-features.h>.
11404         [__ASSUME_32BITUIDS]: Make code unconditional.
11405         [!__ASSUME_32BITUIDS]: Remove conditional code.
11406         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11407         [__ASSUME_32BITUIDS]: Make code unconditional.
11408         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11409         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11410         <kernel-features.h>.
11411         [__ASSUME_32BITUIDS]: Make code unconditional.
11412         [!__ASSUME_32BITUIDS]: Remove conditional code.
11413         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11414         <kernel-features.h>.
11415         [__ASSUME_32BITUIDS]: Make code unconditional.
11416         [!__ASSUME_32BITUIDS]: Remove conditional code.
11417         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11418         <kernel-features.h>.
11419         [__ASSUME_32BITUIDS]: Make code unconditional.
11420         [!__ASSUME_32BITUIDS]: Remove conditional code.
11421         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11422         <kernel-features.h>.
11423         [__ASSUME_32BITUIDS]: Make code unconditional.
11424         [!__ASSUME_32BITUIDS]: Remove conditional code.
11425         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11426         <kernel-features.h>.
11427         [__ASSUME_32BITUIDS]: Make code unconditional.
11428         [!__ASSUME_32BITUIDS]: Remove conditional code.
11429         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11430         <kernel-features.h>.
11431         [__ASSUME_32BITUIDS]: Make code unconditional.
11432         [!__ASSUME_32BITUIDS]: Remove conditional code.
11433         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11434         <kernel-features.h>.
11435         [__ASSUME_32BITUIDS]: Make code unconditional.
11436         [!__ASSUME_32BITUIDS]: Remove conditional code.
11437         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11438         <kernel-features.h>.
11439         [__ASSUME_32BITUIDS]: Make code unconditional.
11440         [!__ASSUME_32BITUIDS]: Remove conditional code.
11441         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11442         <kernel-features.h>.
11443         [__ASSUME_32BITUIDS]: Make code unconditional.
11444         [!__ASSUME_32BITUIDS]: Remove conditional code.
11445         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11446         <kernel-features.h>.
11447         [__ASSUME_32BITUIDS]: Make code unconditional.
11448         [!__ASSUME_32BITUIDS]: Remove conditional code.
11449         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11450         <kernel-features.h>.
11451         [__NR_setresgid] (__setresgid): Do not declare.
11452         [__ASSUME_32BITUIDS]: Make code unconditional.
11453         [!__ASSUME_32BITUIDS]: Remove conditional code.
11454         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11455         <kernel-features.h>.
11456         [__NR_setresuid] (__setresuid): Do not declare.
11457         [__ASSUME_32BITUIDS]: Make code unconditional.
11458         [!__ASSUME_32BITUIDS]: Remove conditional code.
11459         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11460         <kernel-features.h>.
11461         [__ASSUME_32BITUIDS]: Make code unconditional.
11462         [!__ASSUME_32BITUIDS]: Remove conditional code.
11463         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11464         <kernel-features.h>.
11465         [__ASSUME_32BITUIDS]: Make code unconditional.
11466         [!__ASSUME_32BITUIDS]: Remove conditional code.
11467         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11468         <kernel-features.h>.
11469         [__ASSUME_32BITUIDS]: Make code unconditional.
11470         [!__ASSUME_32BITUIDS]: Remove conditional code.
11471         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11472         <kernel-features.h>.
11473         [__ASSUME_32BITUIDS]: Make code unconditional.
11474         [!__ASSUME_32BITUIDS]: Remove conditional code.
11475         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11476         <kernel-features.h>.
11477         [__ASSUME_32BITUIDS]: Make code unconditional.
11478         [!__ASSUME_32BITUIDS]: Remove conditional code.
11479         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11480         <kernel-features.h>.
11481         [__ASSUME_32BITUIDS]: Make code unconditional.
11482         [!__ASSUME_32BITUIDS]: Remove conditional code.
11483         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11484         <kernel-features.h>.
11485         [__ASSUME_32BITUIDS]: Make code unconditional.
11486         [!__ASSUME_32BITUIDS]: Remove conditional code.
11487         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11488         <kernel-features.h>.
11489         [__ASSUME_32BITUIDS]: Make code unconditional.
11490         [!__ASSUME_32BITUIDS]: Remove conditional code.
11491         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11492         <kernel-features.h>.
11493         [__ASSUME_32BITUIDS]: Make code unconditional.
11494         [!__ASSUME_32BITUIDS]: Remove conditional code.
11495         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11496         <kernel-features.h>.
11497         [__ASSUME_32BITUIDS]: Make code unconditional.
11498         [!__ASSUME_32BITUIDS]: Remove conditional code.
11499         * sysdeps/unix/sysv/linux/kernel-features.h
11500         (__ASSUME_SETRESUID_SYSCALL): Remove.
11501         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11502         (__ASSUME_32BITUIDS): Likewise.
11503         (__ASSUME_LDT_WORKS): Likewise.
11504         (__ASSUME_O_DIRECTORY): Likewise.
11505         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11506         architecture but not kernel version.
11507         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11508         (__ASSUME_MMAP2_SYSCALL): Likewise.
11509         (__ASSUME_STAT64_SYSCALL): Likewise.
11510         (__ASSUME_IPC64): Likewise.
11511         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11512         <kernel-features.h>.
11513         [__ASSUME_32BITUIDS]: Make code unconditional.
11514         [!__ASSUME_32BITUIDS]: Remove conditional code.
11515         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11516         <kernel-features.h>.
11517         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11518         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11519         132096]: Remove conditional code.
11520         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11521         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
11530         <kernel-features.h>.
11531         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11532         unconditional.
11533         (__setresgid): Do not declare.
11534         [__ASSUME_32BITUIDS]: Make code unconditional.
11535         [!__ASSUME_32BITUIDS]: Remove conditional code.
11536         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11537         <kernel-features.h>.
11538         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11539         unconditional.
11540         (__setresuid): Do not declare.
11541         [__ASSUME_32BITUIDS]: Make code unconditional.
11542         [!__ASSUME_32BITUIDS]: Remove conditional code.
11543         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11544         <kernel-features.h>.
11545         [__ASSUME_32BITUIDS]: Make code unconditional.
11546         [!__ASSUME_32BITUIDS]: Remove conditional code.
11547         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11548         <kernel-features.h>.
11549         [__ASSUME_32BITUIDS]: Make code unconditional.
11550         [!__ASSUME_32BITUIDS]: Remove conditional code.
11552 2012-05-25  Richard Henderson  <rth@twiddle.net>
11554         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11555         dl_hwcap to ifunc resolver.
11556         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11557         elf_ifunc_invoke.
11558         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11559         dl_hwcap to ifunc resolver.
11560         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11562 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11564         [BZ #14153]
11565         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11566         for |x| <= 2**-26, not 2**-57.
11567         * math/libm-test.inc (acos_test): Do not allow spurious underflow
11568         exception.
11570 2012-05-24  Jeff Law  <law@redhat.com>
11572         * stdio-common/Makefile (tests): Add bug25.
11573         * stdio-common/bug25.c: New test.
11575 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11577         [BZ #13576]
11578         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11579         multiple of MALLOC_ALIGNMENT in size.
11580         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11582 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11584         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11585         Require >= 256.
11586         (FILENAME_MAX): Use macro-int-constant.
11587         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
11588         (_IOFBF): Use macro-int-constant.
11589         (_IOLBF): Likewise.
11590         (_IONBF): Likewise.
11591         (SEEK_CUR): Likewise.
11592         (SEEK_END): Likewise.
11593         (SEEK_SET): Likewise.
11594         (TMP_MAX): Likewise.
11595         (EOF): Use macro-int-constant.  Require < 0.
11596         (NULL): Use macro-constant.  Require == 0.
11597         (stdin): Require type to be FILE *.
11598         (stdout): Likewise.
11599         (stderr): Likewise.
11600         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11601         macro-int-constant.
11602         (EXIT_SUCCESS): Likewise.
11603         (NULL): Use macro-constant.  Require == 0.
11604         (RAND_MAX): Use macro-int-constant.
11605         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11606         [C99-based standards] (strtof): Require function.
11607         [C99-based standards] (strtold): Likewise.
11608         [C99-based standards] (strtoll): Likewise.
11609         [C99-based standards] (strtoull): Likewise.
11610         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11611         [ISO || ISO99 || ISO11] (limits.h): Likewise.
11612         [ISO || ISO99 || ISO11] (math.h): Likewise.
11613         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11614         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11615         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11617 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
11619         [BZ #14132]
11620         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11621         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11622         * intl/dgettext.c (DCGETTEXT): Likewise.
11623         * intl/gettext.c (DCGETTEXT): Likewise.
11624         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11625         * posix/regex_internal.h (gettext): Likewise.
11626         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11627         Remove declaration.
11628         * include/argz.h (__argz_count_internal)
11629         (__argz_stringify_internal): Remove declaration.
11630         (__argz_count, __argz_stringify): Declare hidden proto.
11631         * intl/dcgettext.c: Remove use of INTDEF.
11632         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11633         * string/argz-stringify.c: Likewise.
11634         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11635         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11636         Declare hidden proto.
11637         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11638         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11639         Declare hidden proto.
11640         * include/stdio.h (__asprintf_internal): Don't declare.
11641         (__asprintf): Don't define as macro.  Declare hidden proto.
11642         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11643         (__fsetlocking): Declare hidden proto.
11644         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11645         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11646         hidden proto.
11647         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11648         (_IO_setlinebuf): Remove use of INTUSE.
11649         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11650         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11651         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11652         Remove declaration.
11653         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11654         (_IO_do_flush): Remove use of INTUSE.
11655         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11656         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11657         (_IO_adjust_column, _IO_least_wmarker)
11658         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11659         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11660         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11661         (_IO_default_doallocate, _IO_wdefault_doallocate)
11662         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11663         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11664         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11665         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11666         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11667         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11668         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11669         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11670         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11671         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11672         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11673         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11674         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11675         proto.
11676         (_IO_flush_all_internal, _IO_adjust_column_internal)
11677         (_IO_default_uflow_internal, _IO_default_finish_internal)
11678         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11679         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11680         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11681         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11682         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11683         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11684         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11685         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11686         (_IO_file_close_internal, _IO_file_close_it_internal)
11687         (_IO_file_underflow_internal, _IO_file_overflow_internal)
11688         (_IO_file_init_internal, _IO_file_attach_internal)
11689         (_IO_file_fopen_internal, _IO_file_read_internal)
11690         (_IO_file_sync_internal, _IO_file_seek_internal)
11691         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11692         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11693         (_IO_str_underflow_internal, _IO_str_overflow_internal)
11694         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11695         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11696         (_IO_list_all_internal, _IO_link_in_internal)
11697         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11698         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11699         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11700         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11701         (_IO_do_write_internal, _IO_padn_internal)
11702         (_IO_getline_info_internal, _IO_getline_internal)
11703         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11704         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11705         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11706         (_IO_vfscanf_internal, _IO_vfprintf_internal)
11707         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11708         (_IO_init_internal, _IO_un_link_internal): Don't declare.
11709         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11710         with libc_hidden_ver, remove use of INTUSE.
11711         * libio/genops.c: Likewise.
11712         * libio/freopen.c: Likewise.
11713         * libio/freopen64.c: Likewise.
11714         * libio/iofclose.c: Likewise.
11715         * libio/iofdopen.c: Likewise.
11716         * libio/iofflush.c: Likewise.
11717         * libio/iofflush_u.c: Likewise.
11718         * libio/iofgets.c: Likewise.
11719         * libio/iofgets_u.c: Likewise.
11720         * libio/iofopen.c: Likewise.
11721         * libio/iofopncook.c: Likewise.
11722         * libio/iofread.c: Likewise.
11723         * libio/iofread_u.c: Likewise.
11724         * libio/ioftell.c: Likewise.
11725         * libio/iofwrite.c: Likewise.
11726         * libio/iogetline.c: Likewise.
11727         * libio/iogets.c: Likewise.
11728         * libio/iogetwline.c: Likewise.
11729         * libio/iopadn.c: Likewise.
11730         * libio/iopopen.c: Likewise.
11731         * libio/ioseekoff.c: Likewise.
11732         * libio/ioseekpos.c: Likewise.
11733         * libio/iosetbuffer.c: Likewise.
11734         * libio/iosetvbuf.c: Likewise.
11735         * libio/ioungetc.c: Likewise.
11736         * libio/ioungetwc.c: Likewise.
11737         * libio/iovdprintf.c: Likewise.
11738         * libio/iovsprintf.c: Likewise.
11739         * libio/iovsscanf.c: Likewise.
11740         * libio/memstream.c: Likewise.
11741         * libio/obprintf.c: Likewise.
11742         * libio/oldfileops.c: Likewise.
11743         * libio/oldiofclose.c: Likewise.
11744         * libio/oldiofdopen.c: Likewise.
11745         * libio/oldiofopen.c: Likewise.
11746         * libio/oldiopopen.c: Likewise.
11747         * libio/oldstdfiles.c: Likewise.
11748         * libio/putc.c: Likewise.
11749         * libio/setbuf.c: Likewise.
11750         * libio/setlinebuf.c: Likewise.
11751         * libio/stdfiles.c: Likewise.
11752         * libio/strops.c: Likewise.
11753         * libio/vasprintf.c: Likewise.
11754         * libio/vscanf.c: Likewise.
11755         * libio/vsnprintf.c: Likewise.
11756         * libio/vswprintf.c: Likewise.
11757         * libio/wfiledoalloc.c: Likewise.
11758         * libio/wfileops.c: Likewise.
11759         * libio/wgenops.c: Likewise.
11760         * libio/wmemstream.c: Likewise.
11761         * libio/wstrops.c: Likewise.
11762         * libio/__fpurge.c: Likewise.
11763         * libio/__fsetlocking.c: Likewise.
11764         * assert/assert.c: Likewise.
11765         * debug/fgets_chk.c: Likewise.
11766         * debug/fgets_u_chk.c: Likewise.
11767         * debug/fread_chk.c: Likewise.
11768         * debug/fread_u_chk.c: Likewise.
11769         * debug/gets_chk.c: Likewise.
11770         * debug/obprintf_chk.c: Likewise.
11771         * debug/vasprintf_chk.c: Likewise.
11772         * debug/vdprintf_chk.c: Likewise.
11773         * debug/vsnprintf_chk.c: Likewise.
11774         * debug/vsprintf_chk.c: Likewise.
11775         * malloc/mtrace.c: Likewise.
11776         * misc/error.c: Likewise.
11777         * misc/syslog.c: Likewise.
11778         * stdio-common/asprintf.c: Likewise.
11779         * stdio-common/fxprintf.c: Likewise.
11780         * stdio-common/getw.c: Likewise.
11781         * stdio-common/isoc99_fscanf.c: Likewise.
11782         * stdio-common/isoc99_scanf.c: Likewise.
11783         * stdio-common/isoc99_vfscanf.c: Likewise.
11784         * stdio-common/isoc99_vscanf.c: Likewise.
11785         * stdio-common/isoc99_vsscanf.c: Likewise.
11786         * stdio-common/printf-prs.c: Likewise.
11787         * stdio-common/printf_fp.c: Likewise.
11788         * stdio-common/printf_fphex.c: Likewise.
11789         * stdio-common/printf_size.c: Likewise.
11790         * stdio-common/putw.c: Likewise.
11791         * stdio-common/scanf.c: Likewise.
11792         * stdio-common/sprintf.c: Likewise.
11793         * stdio-common/tmpfile.c: Likewise.
11794         * stdio-common/vfprintf.c: Likewise.
11795         * stdio-common/vfscanf.c: Likewise.
11796         * stdlib/strfmon_l.c: Likewise.
11797         * sunrpc/openchild.c: Likewise.
11798         * sunrpc/xdr_stdio.c: Likewise.
11799         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11800         * sysdeps/mach/hurd/tmpfile.c: Likewise.
11802 2012-05-24  Roland McGrath  <roland@hack.frob.com>
11804         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11806         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11807         in the third column, to generate for the shared library an IFUNC
11808         that uses _dl_vdso_vsym.
11809         * Makerules (COMPILE.c, compile-stdin.c): New variables.
11810         * Makeconfig (object-suffixes-noshared): New variable.
11812         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11813         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11814         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11815         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11817         [BZ #14132]
11818         * include/sys/time.h (__gettimeofday): Remove macro.
11819         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11820         * time/gettimeofday.c (__gettimeofday): Remove #undef.
11821         Remove INTDEF.
11822         (__gettimeofday): Add libc_hidden_def.
11823         (gettimeofday): Add libc_hidden_weak.
11824         * sysdeps/mach/gettimeofday.c: Likewise.
11825         * sysdeps/posix/gettimeofday.c: Likewise.
11826         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11827         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11828         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11829         (__gettimeofday_internal): Remove strong_alias.
11830         (__gettimeofday): Add libc_hidden_def.
11831         (gettimeofday): Add libc_hidden_weak.
11832         * sysdeps/unix/syscalls.list (gettimeofday):
11833         Remove __gettimeofday_internal alias.
11835 2012-05-24  Daniel Jacobowitz  <drow@false.org>
11836             H.J. Lu  <hongjiu.lu@intel.com>
11838         [BZ #12495]
11839         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11840         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11841         (largebin_index_32_big): New.
11842         (largebin_index): Use it for 16-byte alignment.
11843         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
11844         correction with front_misalign.
11846 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11850         Likewise.
11851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11852         Likewise.
11853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11854         Likewise.
11855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11856         Likewise.
11857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11858         Likewise.
11859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11860         Likewise.
11861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11862         Likewise.
11863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11864         Likewise.
11865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11866         Likewise.
11867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11868         Likewise.
11869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11870         Likewise.
11871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11872         Likewise.
11874         * scripts/data/c++-types-x32-linux-gnu.data: New file.
11875         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11877 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11879         [BZ #10846]
11880         [BZ #14036]
11881         * math/libm-test.inc (exp_test): Add test from bug 14036.
11882         (pow_test): Add test from bug 10846.
11884         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11885         and other flags.
11886         (special_function): Do not include flags in test name.
11887         (parse_args): Likewise.
11888         * sysdeps/i386/fpu/libm-test-ulps: Update.
11889         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11890         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11891         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11894         * math/gen-libm-test.pl (%beautify): Add entries for underflow
11895         exceptions.
11896         * math/libm-test.inc ("Philosophy"): Update comment about
11897         exception testing.
11898         (UNDERFLOW_EXCEPTION): New macro.
11899         (UNDERFLOW_EXCEPTION_OK): Likewise.
11900         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11901         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11902         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11903         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11904         (INVALID_EXCEPTION_OK): Update value.
11905         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11906         (OVERFLOW_EXCEPTION_OK): Likewise.
11907         (IGNORE_ZERO_INF_SIGN): Likewise.
11908         (test_exceptions): Handle underflow exceptions.
11909         (acos_test): Update for underflow exception expectations.
11910         (cexp_test): Likewise.
11911         (clog_test): Likewise.
11912         (clog10_test): Likewise.
11913         (csqrt_test): Likewise.
11914         (ctan_test): Likewise.
11915         (ctanh_test): Likewise.
11916         (exp_test): Likewise.
11917         (exp10_test): Likewise.
11918         (exp2_test): Likewise.
11919         (expm1_test): Likewise.
11920         (fma_test): Likewise.
11921         (j0_test): Likewise.
11922         (jn_test): Likewise.
11923         (nexttoward_test): Likewise.
11924         (pow_test): Likewise.
11925         (scalbn_test): Likewise.
11926         (scalbln_test): Likewise.
11927         (tan_test): Likewise.
11928         (y1_test): Likewise.
11929         * sysdeps/i386/fpu/libm-test-ulps: Update.
11930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11932 2012-05-23  David S. Miller  <davem@davemloft.net>
11934         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11935         (__libc_sigaction): Remove unused local variables.
11937 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11939         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11941 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
11943         mktime: avoid signed integer overflow
11944         * time/mktime.c (__mktime_internal): Do not mishandle the case
11945         where diff == INT_MIN.
11947         mktime: simplify computation of average
11948         * time/mktime.c (ranged_convert): Use new time_t_avg function
11949         instead of rolling our own (probably-slower) code.
11951         mktime: do not assume signed right shift propagates sign bit
11952         * time/mktime.c (isdst_differ): New static function.
11953         (__mktime_internal): No need to normalize tm_isdst now.
11954         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11955         tm_isdst values.
11957         mktime: merge another wrapv change from gnulib
11958         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11959         from some compilers.
11961         mktime: remove incorrect attempt at unusual arithmetics
11962         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11963         The code didn't really work on such machines anyway.
11964         (TYPE_MINIMUM): Assume two's complement.
11965         (twos_complement_arithmetic): Verify that long_int and time_t
11966         are two's complement (or unsigned, in the latter case).
11968         mktime: check signed shifts on long_int and time_t, too
11969         * time/mktime.c (SHR): Check that shifts work as desired
11970         on the types long_int and time_t too, as SHR is used on
11971         such types.
11973         mktime: do not assume 'long' is wide enough
11974         * time/mktime.c (verify): Move decl up.
11975         (long_int): New type.
11976         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11977         to remove assumption in the code that 'long' is wide enough to
11978         store year values.  This assumption is not true on x32 and on
11979         some non-glibc platforms.
11981         mktime: merge wrapv change from gnulib
11982         * time/mktime.c (WRAPV): New macro.
11983         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11984         (guess_time_tm, __mktime_internal): Do not assume that signed
11985         integer overflow wraps around; modern compilers generate code
11986         where this assumption is no longer valid.
11988 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11990         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11991         Replace "jmp L(pseudo_end)" with "ret".
11992         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11993         Likewise.
11995 2012-05-23  Andreas Jaeger  <aj@suse.de>
11997         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11998         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12000 2012-05-23  Andreas Jaeger  <aj@suse.de>
12001             Maximilian Attems  <max@stro.at>
12003         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12004         New macros.
12006 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12008         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12009         code so that pseudo_end is just ret and the stack pointer is
12010         correct also for static library in error case.
12012 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12014         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12015         move to syscalls.list.
12016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12021         * manual/install.texi (Running make install): Do not mention Linux
12022         kernel version for which pt_chown is not needed.
12023         (Linux): Do not mention problems with nscd with 2.0 kernels.
12024         * INSTALL: Regenerated.
12026 2012-05-23  Andreas Jaeger  <aj@suse.de>
12028         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12029         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12030         macro.
12031         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12032         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12033         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12034         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12035         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12037         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12039         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12040         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12041         * sysdeps/unix/sysv/linux/bits/in.h
12042         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12044 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12046         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12047         (PREPARE_VERSION): Just use assert instead, it will be elided
12048         under [NDEBUG] anyway.
12050 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12052         * sysdeps/unix/sysv/linux/Makefile: Include
12053         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12054         (sysdep_routines): Remove sysctl.
12055         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12056         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12057         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12058         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12059         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12061 2012-05-22  Andreas Jaeger  <aj@suse.de>
12063         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12064         that pseudo_end is just ret and the stack pointer is correct also
12065         for static library in error case.
12067 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12069         [BZ #14122]
12070         * nss/nsswitch.c (defconfig_entries): New variable.
12071         (__nss_database_lookup): Don't leak defconfig entries.
12072         (nss_parse_service_list): Don't leak on error paths.
12073         (free_database_entries): New function.
12074         (free_defconfig): New function.
12075         (free_mem): Move common code to free_database_entries.
12077 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12079         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12080         Add arch_prctl.
12081         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12083         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12084         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12086         New macro.
12087         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12088         (INTERNAL_SYSCALL_TYPES): Likewise.
12089         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12090         (LOAD_REGS_TYPES_[1-6]): Likewise.
12091         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12092         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12094 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12096         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12097         copysignl for GLIBC_2_0.
12098         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12099         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12100         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12101         logbl for GLIBC_2_0.
12102         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12103         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12105 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12108         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12110         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12111         Use "neg %eax".
12113         * time/mktime.c: Update copyright years.
12115 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12117         mktime: merge comment-quoting-style change from gnulib
12118         * time/mktime.c: Quote 'like this' in comments.
12119         The GNU coding standards suggest that we no longer quote `like this',
12120         as "`" and "'" are typically rendered asymmetrically nowadays.
12121         The typical gnulib style is to quote 'like this' when quoting
12122         code, and "like this" when quoting English.
12124         * time/mktime.c (compile-command): Add "-I.".
12126         mktime: merge mktime-internal.h change from gnulib
12127         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12129         mktime: merge time_r change from gnulib
12130         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12132         mktime: merge DEBUG change from gnulib
12133         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12134         case system <time.h> has a #define.
12136         mktime: merge <sys/types.h> change from gnulib
12137         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12138         since <time.t> is now guaranteed to define time_t.
12140         mktime: merge HAVE_CONFIG_H change from gnulib
12141         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12143 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12146         Use "neg %eax".
12148         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12149         __rlim_t cast.
12150         (struct rusage): Use anonymous union to pad each field to
12151         __syscall_slong_t.
12153 2012-05-21  David S. Miller  <davem@davemloft.net>
12155         * Makefules (o-iterator): Remove .s cases.
12156         (compile-command.s): Delete.
12157         (COMPILE.s): Delete.
12158         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12160 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12162         * configure.in (libc_cv_predef_stack_protector): Only consider
12163         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12164         * configure: Regenerated.
12166 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12169         New macro.  Use R*LP on int and pointer.
12170         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12171         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12172         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12173         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12175         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12176         [__WORDSIZE_TIME64_COMPAT32] instead of
12177         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12178         (struct utmp): Likewise.
12179         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12180         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12181         Renamed to ...
12182         (__WORDSIZE_TIME64_COMPAT32): This.
12183         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12184         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12185         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12186         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12187         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12188         (__WORDSIZE_TIME64_COMPAT32): New macro.
12190 2012-05-21  Andreas Jaeger  <aj@suse.de>
12192         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12193         only if [SHARED]. Add prototype for __wcschr_ia32.
12195 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12197         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12198         of %rbp unmolested in the jmp_buf while mangling the low bits.
12199         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12200         unmolested high bits of %rbp while demangling the low bits.
12201         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12203 2012-05-21  Andreas Jaeger  <aj@suse.de>
12205         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12206         * sunrpc/svc_simple.c: Use it for registerrpc.
12207         * sunrpc/xcrypt.c: Use it for passwd2des.
12209         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12211 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12213         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12214         Don't define if [__SYSCALL_WORDSIZE != 32].
12215         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12216         New macro.
12218 2012-05-21  Bruno Haible  <bruno@clisp.org>
12219             Andreas Jaeger  <aj@suse.de>
12221         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12222         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12223         inptr and inend for must_buffer_ch.
12224         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12225         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12226         * stdio-common/Makefile (tests): Remove bug15.
12227         (bug15-ENV): Remove macro.
12228         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12229         anymore.
12231 2012-05-19  Andreas Jaeger  <aj@suse.de>
12232             Roland McGrath  <roland@hack.frob.com>
12234         * manual/contrib.texi: Completely rewritten. It contains now an
12235         alphabetical list of contributors and their contributions.
12237 2012-05-21  Richard Henderson  <rth@twiddle.net>
12239         * misc/getauxval.c (__getauxval): Use unsigned long int.
12240         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12241         (getauxval): Use unsigned long int.
12243 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12245         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12247 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12249         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12250         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12251         __alignof__ (long double).
12253 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12257 2012-05-20  Richard Henderson  <rth@twiddle.net>
12259         * misc/getauxval.c: New file.
12260         * misc/sys/auxv.h: New file.
12261         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12262         (routines): Add getauxval.
12263         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12264         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12265         * elf/dl-sysdep.c (_dl_auxv): Remove.
12266         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12267         * elf/dl-support.c (_dl_auxv): New variable.
12268         (_dl_aux_init): Initialize it.
12269         * manual/startup.texi (Auxiliary Vector): New node.
12270         * sysdeps/generic/bits/hwcap.h: New file.
12271         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12272         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12273         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12274         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12275         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12276         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12278         Update.
12279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12282         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12288 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12292 2012-05-19  David S. Miller  <davem@davemloft.net>
12294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12296 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12298         [BZ #14123]
12299         * math/s_ccosh.c: Include <float.h>
12300         (__ccosh): Avoid internal overflow calculating sinh and cosh
12301         values before multiplying by sin and cos values.
12302         * math/s_ccoshf.c: Likewise.
12303         * math/s_ccoshl.c: Likewise.
12304         * math/s_csin.c: Likewise.
12305         * math/s_csinf.c: Likewise.
12306         * math/s_csinl.c: Likewise.
12307         * math/s_csinh.c: Likewise.
12308         * math/s_csinhf.c: Likewise.
12309         * math/s_csinhl.c: Likewise.
12310         * math/libm-test.inc (ccos_test): Add more tests.
12311         (ccosh_test): Likewise.
12312         (csin_test): Likewise.
12313         (csinh_test): Likewise.
12314         * sysdeps/i386/fpu/libm-test-ulps: Update.
12315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12317 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12319         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12320         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12322         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12324 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12326         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12327         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12328         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12329         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12330         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12331         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12332         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12333         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12334         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12335         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12336         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12337         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12338         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12339         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12340         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12341         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12342         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12343         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12344         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12345         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12346         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12347         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12348         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12349         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12350         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12351         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12352         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12353         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12354         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12355         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12356         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12358 2012-05-18  Andreas Jaeger  <aj@suse.de>
12360         * csu/.gitignore: Delete.
12362 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12364         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12365         (timex): Use __syscall_slong_t.
12367 2012-05-18  Andreas Jaeger  <aj@suse.de>
12368             Carlos O'Donell  <carlos_odonell@mentor.com>
12370         * manual/install.texi (Configuring and compiling): Update
12371         description about files modified in the source directory.
12372         * INSTALL: Regenerated.
12374 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12376         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12377         value.  Use "or" to set return value to -1.
12378         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12379         negate return value.
12381 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12383         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12384         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12385         failure if the compiler has Graphite support disabled.
12386         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12387         Likewise.
12388         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12389         CFLAGS-memmove.c): Likewise.
12390         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12391         Likewise.
12393 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12395         * sysdeps/x86_64/x32/_itoa.h: New file.
12397         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12398         getdents system call only if kernel and user dirents have the
12399         same d_ino and d_off.
12401         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12402         LLONG_MAX != LONG_MAX.
12403         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12404         (_fitoa_word): Likewise.
12406         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12407         years.
12408         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12409         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12410         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12412         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12413         include <bits/wordsize.h>.  Check __x86_64__ instead of
12414         __WORDSIZE.
12415         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12416         if __x86_64__ is defined.  Use anonymous union on fpstate.
12418         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12419         anonymous union.
12421 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12423         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12424         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12425         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12426         Refer to _rtld_local_ro instead of _rtld_global_ro.
12427         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12428         Likewise.
12429         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12430         Likewise.
12431         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12432         Likewise.
12433         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12434         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12435         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12437         * sysdeps/powerpc/powerpc32/dl-machine.c
12438         (__elf_machine_runtime_setup) [PROF]: Don't reference
12439         _dl_prof_resolve.
12441 2012-05-18  Andreas Jaeger  <aj@suse.de>
12443         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12444         function only available for GCCs before 3.4 since GCC 3.4
12445         introduced a builtin.
12446         (lrint): Likewise.
12447         (llrintf): Likewise.
12448         (llrint): Likewise.
12449         (fmaxf): Likewise.
12450         (fmax): Likewise.
12451         (fminf): Likewise.
12452         (fmin): Likewise.
12453         (rint): Likewise.
12454         (rintf): Likewise.
12455         (nearbyint): Likewise.
12456         (nearbyintf): Likewise.
12457         (ceil): Likewise.
12458         (ceilf): Likewise.
12459         (floor): Likewise.
12460         (floorf): Likewise.
12462 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12464         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12465         on both fields and cast pointer to __syscall_ulong_t.
12467         * bits/types.h (__fsword_t): New type.
12468         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12469         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12470         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12471         (__FSWORD_T_TYPE): Likewise.
12472         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12473         (__FSWORD_T_TYPE): Likewise.
12474         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12475         (__FSWORD_T_TYPE): Likewise.
12476         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12477         (__FSWORD_T_TYPE): Likewise.
12478         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12479         __SWORD_TYPE with __fsword_t.
12480         (statfs64): Likewise.
12482 2012-05-17  David S. Miller  <davem@davemloft.net>
12484         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12486 2012-05-17  Andreas Jaeger  <aj@suse.de>
12488         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12489         warning.
12491 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12493         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12495 2012-05-17  Andreas Jaeger  <aj@suse.de>
12497         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12498         when it is used.
12500 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12502         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12504 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12506         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12507         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12509 2012-05-17  Andreas Jaeger  <aj@suse.de>
12510             Carlos O'Donell  <carlos_odonell@mentor.com>
12512         [BZ #14059]
12513         * sysdeps/x86_64/multiarch/init-arch.h
12514         (bit_YMM_Usable): Rename to...
12515         (bit_AVX_Usable): ... this.
12516         (bit_FMA4_Usable): New macro.
12517         (bit_XMM_state): New macro.
12518         (bit_YMM_state): New macro.
12519         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12520         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12521         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12522         (CPUID_OSXSAVE): New macro.
12523         (CPUID_AVX): New macro.
12524         (CPUID_FMA4): New macro.
12525         (index_YMM_Usable): Rename to...
12526         (index_AVX_Usable): ... this.
12527         (HAS_AVX): Use HAS_ARCH_FEATURE.
12528         (HAS_FMA4): Likewise.
12529         (HAS_YMM_USABLE): Remove.
12530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12531         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12532         are present.
12533         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12534         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12535         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12536         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12537         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12539 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12541         * math/libm-test.c: Support platforms without multiple rounding modes.
12542         * math/bug-nextafter.c: Support platforms without FP exceptions.
12543         * math/bug-nexttoward.c: Likewise.
12544         * math/test-fenv.c: Likewise.
12545         * math/test-misc.c: Likewise.
12546         * stdlib/bug-getcontext.c: Likewise.
12548 2012-05-17  Andreas Jaeger  <aj@suse.de>
12550         * manual/examples/search.c (critter_cmp): Change signature to
12551         avoid warnings.
12552         * manual/string.texi (Collation Functions): Likewise.
12554 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12556         * bits/types.h: Fold copyright years.
12557         * bits/typesizes.h: Likewise.
12558         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12559         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12560         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12561         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12562         * time/time.h: Likewise.
12564 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
12566         [BZ #208]
12567         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12568         in instead of returning them.  Return void.
12569         (__libc_mallinfo): Accumulate over all arenas.
12570         (__malloc_stats): Adjust for change in int_mallinfo interface.
12572 2012-05-16  Roland McGrath  <roland@hack.frob.com>
12574         [BZ #10375]
12575         * configure.in (NM): Add AC_CHECK_TOOL for it.
12576         (libc_extra_cflags): New substituted variable.
12577         Check for -fstack-protector being used implicitly.
12578         * configure: Regenerated.
12579         * config.make.in (config-extra-cflags): New variable,
12580         gets @libc_extra_cflags@.
12581         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12583         [BZ #10375]
12584         * configure.in: Check for _FORTIFY_SOURCE being predefined.
12585         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12586         * configure: Regenerated.
12587         * config.make.in (CPPUNDEFS): New substituted variable.
12588         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12589         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12590         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12592 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12594         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12595         (mq_attr): Use __syscall_slong_t.
12597 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12599         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12600         Check __x86_64__ instead of __WORDSIZE.
12601         (_STAT_VER_LINUX): Likewise.
12602         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
12603         __syscall_ulong_t and __syscall_slong_t.
12604         (stat64): Likewise.
12606 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12608         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12610 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12612         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12614 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12616         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12617         __syscall_ulong_t.
12619         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12620         include <bits/wordsize.h>.  Check __x86_64__ instead of
12621         __WORDSIZE.
12622         (greg_t): Use "__extension__ long long int" if __x86_64__ is
12623         defined.
12624         (mcontext_t): Replace "unsigned long" with "unsigned long long".
12626         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12627         include <bits/wordsize.h>.  Check __x86_64__ instead of
12628         __WORDSIZE.
12629         (user_regs_struct): Use "__extension__ unsigned long long"
12630         instead of "unsigned long" if __x86_64__ is defined.
12631         (user): Likewise.  Pad after pointer field if __ILP32__ is
12632         defined.
12634 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
12636         * configure.in (makeinfo): Require version 4.5 or later.  Allow
12637         versions 5 to 9.
12638         * configure: Regenerated.
12639         * manual/install.texi (texinfo): Increase version requirement to
12640         4.5 or later.
12641         * INSTALL: Regenerated.
12643         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12645 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12647         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12649         * sysdeps/x86_64/x32/ffs.c: New file.
12651         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12652         __syscall_ulong_t.
12653         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12654         defined.  Use __syscall_ulong_t.
12655         (shminfo): Use __syscall_ulong_t.
12656         (shm_info): Likewise.
12658         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12659         __syscall_ulong_t.
12661         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12662         <bits/wordsize.h>.
12663         (msgqnum_t): Use __syscall_ulong_t.
12664         (msglen_t): Likewise.
12665         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
12666         __syscall_ulong_t.
12668         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12669         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12671         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12673         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12674         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12676         * sysvipc/sys/msg.h (msgbuf): Replace long int with
12677         __syscall_slong_t.
12679         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12680         include <bits/wordsize.h>.  Check __x86_64__ instead of
12681         __WORDSIZE.
12683         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12684         "unsigned long long int" if __x86_64__ is defined.
12685         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12687         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12688         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12689         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12691         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12692         <stdint.h>.
12693         (GET_PC): Cast to uintptr_t first.
12694         (GET_FRAME): Likewise.
12695         (GET_STACK): Likewise.
12697         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12698         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12699         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12700         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12701         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12702         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12703         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12704         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12705         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12706         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12707         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12708         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12709         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12710         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12711         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12712         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12713         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12714         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12715         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12716         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12717         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12718         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12719         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12720         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12721         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12722         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12723         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12724         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12727 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
12729         * Makerules (+depfiles): Also collect depfiles from .oS in
12730         $(extra-objs).
12731         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12732         .oS, $(libnldbl-routines)).
12734         * Makerules (native-compile-mkdep-flags): Define.
12735         * sunrpc/Makefile (extra-objs): Add $(addprefix
12736         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12737         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12738         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
12739         calling $(make-target-directory).
12741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12743         * bits/types.h (__snseconds_t): Removed.
12744         * time/time.h (struct timespec): Replace __snseconds_t with
12745         __syscall_slong_t.
12746         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12747         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12748         Likewise.
12749         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12750         (__SNSECONDS_T_TYPE): Likewise.
12751         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12752         (__SNSECONDS_T_TYPE): Likewise.
12753         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12754         (__SNSECONDS_T_TYPE): Likewise.
12756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12758         * sysdeps/mach/hurd/bits/typesizes.h
12759         (__SYSCALL_SLONG_TYPE): New macro.
12760         (__SYSCALL_ULONG_TYPE): Likewise.
12762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12764         * bits/types.h (__syscall_slong_t): New type.
12765         (__syscall_ulong_t): Likewise.
12767         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12768         (__SYSCALL_ULONG_TYPE): Likewise.
12769         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12770         (__SYSCALL_SLONG_TYPE): Likewise.
12771         (__SYSCALL_ULONG_TYPE): Likewise.
12772         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12773         (__SYSCALL_SLONG_TYPE): Likewise.
12774         (__SYSCALL_ULONG_TYPE): Likewise.
12775         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12776         (__SYSCALL_SLONG_TYPE): Likewise.
12777         (__SYSCALL_ULONG_TYPE): Likewise.
12779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12781         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12782         Add sigaltstack-offsets.sym.
12783         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12784         <sigaltstack-offsets.h>.
12785         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
12786         longjmp_msg pointer.
12787         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
12788         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12789         signal stack.
12790         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12792 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12794         * elf/stackguard-macros.h: Remove file.
12795         * sysdeps/generic/stackguard-macros.h: New file.
12796         * sysdeps/i386/stackguard-macros.h: Likewise.
12797         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12798         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12799         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12800         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12801         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12802         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12803         * sysdeps/x86_64/stackguard-macros.h: Likewise.
12804         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12805         <elf/stackguard-macros.h>.
12807         [BZ #14109]
12808         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12809         __aligned__ in attribute.
12810         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12811         (gregset_t): Likewise.
12813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12815         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12816         * sysdeps/x86_64/64/Implies-after: Here.  New file.
12817         * sysdeps/x86_64/x32/Implies-after: New file.
12819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12821         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12822         and access return value for _dl_profile_fixup.  Use R10_LP to
12823         load frame size.
12825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12827         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12831         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12832         * sysdeps/x86_64/x32/sysdep.h: New file.
12834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12836         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12837         * sysdeps/x86_64/setjmp.S: Likewise.
12839 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12841         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12842         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12843         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12844         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12845         remove unused global constant.
12847 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
12849         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12850         include of <not-cancel.h>.
12852 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12854         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12856 2012-05-15  Jeff Law  <law@redhat.com>
12857             Andreas Jaeger  <aj@suse.de>
12859         [BZ #13594]
12860         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12861         out from...
12862         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12863         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12864         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12865         code changing __hst_map_handle.map.
12867 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12869         * configure.in (sysnames): Look for Implies-before and Implies-after
12870         files.
12871         * configure: Regenerated.
12873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12875         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12876         8-byte data alignment with LP_SIZE alignment.
12878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12880         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12881         into R10_LP.
12883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12885         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12889         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12890         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12891         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12892         Likewise.
12893         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12897         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12898         (stackinfo_sub_sp): Likewise.
12900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12902         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12903         RAX_LP.
12905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12907         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12908         into R*_LP.
12910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12912         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12913         sizes into R*_LP.
12915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12917         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12921         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12922         into R11_LP and load __x86_64_shared_cache_size_half into
12923         R8_LP.
12925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12927         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12928         R8_LP.
12930 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12932         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12933         logb for POWER7.
12934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12935         logbf for POWER7.
12936         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12937         logbl for POWER7.
12938         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12939         powerpc32/power7/fpu/s_logb.c via #include.
12940         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12941         powerpc32/power7/fpu/s_logbf.c via #include.
12942         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12943         powerpc32/power7/fpu/s_logbl.c via #include.
12945 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12947         * README.libm: Remove file.
12949 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12951         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12952         count for x32.  Use R*_LP and omit operand-size suffix.
12954 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12956         * shlib-versions: Move x86_64-.*-linux.* entries to ...
12957         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
12958         * sysdeps/x86_64/x32/shlib-versions: New file.
12960 2012-05-14  Roland McGrath  <roland@hack.frob.com>
12962         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12963         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12964         Use _dl_fatal_printf instead.
12966 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12968         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12969         set if not set by the user.  Do not allow for being unset.
12970         * sysdeps/unix/sysv/linux/configure: Regenerated.
12972 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12974         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12975         the `q' suffix from lea and replace .quad with ASM_ADDR.
12977 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12980         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
12981         instead of $17.
12982         (PTR_DEMANGLE): Likewise.
12984 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12986         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12987         (LP_OP): Likewise.
12988         (ASM_ADDR): Likewise.
12989         (RAX_LP): Likewise.
12990         (RBP_LP): Likewise.
12991         (RBX_LP): Likewise.
12992         (RCX_LP): Likewise.
12993         (RDI_LP): Likewise.
12994         (RSI_LP): Likewise.
12995         (RSP_LP): Likewise.
12996         (R8_LP): Likewise.
12997         (R9_LP): Likewise.
12998         (R10_LP): Likewise.
12999         (R10_LP): Likewise.
13000         (R11_LP): Likewise.
13001         (R12_LP): Likewise.
13002         (R13_LP): Likewise.
13003         (R14_LP): Likewise.
13004         (R15_LP): Likewise.
13006 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13008         * sysdeps/x86_64/x32/dl-machine.h: New file.
13010 2012-05-14  Andreas Jaeger  <aj@suse.de>
13012         * manual/Makefile (subdir): Remove export of subdir.
13013         (all): Remove target.
13014         (.PHONY): Remove all from list.
13015         (mkinstalldirs): Remove.
13016         (.PHONY): Remove installdirs from list.
13017         ($(inst_infodir)/libc.info): Use make-target-directory.
13018         (installdirs): Remove.
13019         (subdir_%): Remove.
13020         (glibc-targets): Remove.
13021         (lib): Remove.
13022         (stubs): Remove.
13023         ($(objpfx)stubs ../po/manual.pot): Remove.
13024         ($(objpfx)stamp%): Remove.
13025         (make-target-directory): Remove.
13026         (subdir_install): Remove.
13027         (routines): Remove.
13028         (aux): Remove.
13029         (sources): Remove.
13030         (objects): Remove.
13031         (headers): Remove.
13033         [BZ #13750]
13034         * manual/.gitignore: Remove, it's not needed anymore.
13035         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13036         all files in it.
13037         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13038         directory.
13039         (texis): Renamed to $(objpfx)texis.
13040         (texis-path): New, contains path to generated files.
13041         (chapters.%): Use texis-path for complete path, add extra argument
13042         libc-texinfo.sh.
13043         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13044         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13045         (summary,texi, stamp-summary): Use complete path of
13046         files. Generate files in build dir.
13047         (dir-add.texi): Build in build dir.
13048         (libm-err.texi,stamp-libm-err): Likewise.
13049         (version.texi, stamp-version): Likewise.
13050         (.%c.texi): Likewise.
13051         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13052         (mostlyclean): Remove target.
13053         (realclean): Remove target.
13054         (generated): Add new variable with contents from mostlyclean and
13055         realclean, remove entries duplicated in common-mostlyclean, add
13056         stamp-libm-err and stamp-version.
13057         (generated-dirs): Add libc directory.
13058         ($(inst_infodir)/libc.info): Install files from build dir.
13060         * manual/install.texi (Configuring and compiling): Adjust since
13061         the info files are not part of the tar ball anymore.
13063 2012-05-14  Andreas Jaeger  <aj@suse.de>
13065         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13066         variable.
13068 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13070         [BZ #13717]
13071         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13072         to 2.2.0 where earlier.
13073         * sysdeps/unix/sysv/linux/configure: Regenerated.
13074         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13075         Remove conditional code.
13076         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13077         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13078         Remove conditional code.
13079         [!__NR_lchown]: Likewise.
13080         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13081         [__NR_lchown]: Likewise.
13082         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13083         comment referencing __ASSUME_LCHOWN_SYSCALL.
13084         * sysdeps/unix/sysv/linux/i386/sigaction.c
13085         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13086         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13087         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13088         Remove conditional code.
13089         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13090         (__protocol_available): Remove #if 0 code.
13091         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13092         conditional code.
13093         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13094         * sysdeps/unix/sysv/linux/kernel-features.h
13095         (__ASSUME_GETCWD_SYSCALL): Don't define.
13096         (__ASSUME_REALTIME_SIGNALS): Likewise.
13097         (__ASSUME_PREAD_SYSCALL): Likewise.
13098         (__ASSUME_PWRITE_SYSCALL): Likewise.
13099         (__ASSUME_POLL_SYSCALL): Likewise.
13100         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13101         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13102         non-SPARC.
13103         (__ASSUME_SIOCGIFNAME): Don't define.
13104         (__ASSUME_MSG_NOSIGNAL): Likewise.
13105         (__ASSUME_SENDFILE): Define unconditionally.
13106         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13107         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13108         conditional code.
13109         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13110         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13111         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13112         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13113         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13114         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13115         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13117         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13118         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13120         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13123         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13124         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13126         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13129         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13130         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13132         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13133         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13135         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13136         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13138         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13139         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13140         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13141         Remove conditional code.
13142         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13143         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13144         Remove conditional code.
13145         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13146         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13147         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13148         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13149         Remove conditional code.
13150         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13151         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13152         Remove conditional code.
13153         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13154         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13155         Remove conditional code.
13156         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13157         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13158         Remove conditional code.
13159         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13160         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13161         Remove conditional code.
13162         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13163         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13164         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13165         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13166         * sysdeps/unix/sysv/linux/sigaction.c
13167         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13168         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13169         * sysdeps/unix/sysv/linux/sigpending.c
13170         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13171         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13172         * sysdeps/unix/sysv/linux/sigprocmask.c
13173         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13174         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13175         * sysdeps/unix/sysv/linux/sigsuspend.c
13176         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13177         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13178         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13179         (__libc_missing_rt_sigs): Remove.
13180         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13181         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13182         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13183         Remove conditional code.
13184         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13185         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13186         return 1.
13187         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13188         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13189         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13190         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13192 2012-05-14  Andreas Jaeger  <aj@suse.de>
13194         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13195         it's not used in glibc.
13196         (__coshm1): Likewise.
13197         (__acosh1p): Likewise.
13198         (__sgn): Likewise.
13200         * manual/string.texi (Copying and Concatenation): Add missing
13201         variable in concat example.
13202         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13204 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13206         [BZ #14103]
13207         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13208         __builtin_clzl with __builtin_clzll.
13210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13212         [BZ #14104]
13213         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13214         libc_freeres_ptr.
13216 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13218         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13219         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13220         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13221         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13223 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13225         * NEWS: Update ia64 info.
13227 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13229         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13230         used as bcopy.
13232 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13234         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13235         * sysdeps/unix/syscalls.list (dup3): Likewise.
13236         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13237         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13239 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13241         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13242         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13244 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13246         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13247         thread pointer.
13248         (TLS_IE): Use mov/add instead of movq/addq to load thread
13249         pointer.
13250         (TLS_GD_PREFIX): New.
13251         (TLS_GD): Use it.
13253 2012-05-11  David S. Miller  <davem@davemloft.net>
13255         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13256         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13257         (_FPU_SETCW): Likewise.
13259 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13261         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13262         is 32-byte aligned.
13264 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13266         [BZ #11837]
13267         * iconvdata/gb18030.c: Update tables.
13268         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13269         characters specially.
13270         (BODY for TO_LOOP): Add encoding of missing ranges.
13272 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13274         [BZ #13673]
13275         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13276         * sysdeps/mach/hurd/dup3.c: Likewise.
13277         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13278         * sysdeps/powerpc/memmove.c:: Likewise.
13280 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13282         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13283         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13285 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13287         * elf/elf.h (R_X86_64_RELATIVE64): New.
13288         (R_X86_64_NUM): Updated.
13289         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13290         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13291         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13292         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13293         tst-quad1pie tst-quad2pie
13294         (modules-names): Add tst-quadmod1 tst-quadmod2.
13295         ($(objpfx)tst-quad1): New dependency.
13296         ($(objpfx)tst-quad2): Likewise.
13297         ($(objpfx)tst-quad1pie): Likewise.
13298         ($(objpfx)tst-quad2pie): Likewise.
13299         * sysdeps/x86_64/tst-quad1.c: New file.
13300         * sysdeps/x86_64/tst-quad1pie.c: New file.
13301         * sysdeps/x86_64/tst-quad2.c: Likewise.
13302         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13303         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13304         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13305         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13306         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13310         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13311         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13312         * streams/stropts.h (t_scalar_t): Define type.
13314         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13315         (_PATH_PRESERVE): Set to "/var/lib".
13316         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13318         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13319         instead of int.
13321         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13322         if __dir_mkfile succeeded.
13324         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13325         checking for _hurd_dtablesize.  Unlock it right after having
13326         finished _hurd_dtable allocation.
13328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13330         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13331         * sysdeps/mach/hurd/configure: Regenerated.
13332         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13333         special-casing to...
13334         * sysdeps/gnu/configure.in: ... this new file.
13335         * sysdeps/unix/sysv/linux/configure: Regenerated.
13336         * sysdeps/gnu/configure: New generated file.
13338         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13339         for Linux: use nsec instead of usec, as well as:
13340         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13341         members of type struct timespec.
13342         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13343         New macros.
13344         (struct stat64): Likewise.
13345         (_STATBUF_ST_NSEC): New macro.
13346         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13348         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13349         __strtoul_internal rather than strtoul.
13351 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13353         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13354         and reject them.
13356 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13358         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13359         which preserves existing values.
13360         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13362 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13364         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13365         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13366         greater than FD_SETSIZE.
13368 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13370         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13371         allocated, call __vm_protect to finish enabling the existing space, and
13372         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13373         allocate the remainder.
13375 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13377         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13378         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13382         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13383         sysdeps/mach/hurd/readlink.c.
13385         * posix/tst-sysconf.c (posix_options): Only use
13386         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13387         _POSIX_SYNCHRONIZED_IO when they are defined
13388         * sysdeps/mach/hurd/bits/posix_opt.h:
13389         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13390         (_XOPEN_REALTIME): Undefine macro.
13391         (_XOPEN_REALTIME_THREADS): Undefine macro.
13392         (_XOPEN_SHM): Undefine macro.
13393         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13394         macro to -1.
13395         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13396         macro to -1.
13397         (_POSIX_ASYNC_IO): Undefine macro.
13398         (_POSIX_PRIORITIZED_IO): Undefine macro.
13399         (_POSIX_SPIN_LOCKS): Define macro to -1.
13401         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13402         SA_NODEFER, SA_RESETHAND.
13403         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13404         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13405         F_DUPFD_CLOEXEC.
13407 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13409         * elf/Makefile (pldd-modules): Define unconditionally.
13411 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13413         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13417         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13418         Return ENOENT when name is empty.
13419         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13423         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13425         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13429         Fix mlock in all cases except non-readable pages.
13430         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13431         instead of VM_PROT_ALL as parameter to __vm_wire function.
13433         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13434         (__mkdir): When path is `/', just fail with EEXIST.
13435         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13439         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13440         <sys/uio.h> (for writev).
13441         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13442         and <sys/param.h> (for MIN).
13444 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13446         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13447         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13448         if interrupted.
13450 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13452         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13453         Depend on against $(link-rpcuserlibs).
13455 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13457         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13458         (__libc_stack_end): Do not use attribute_relro.
13459         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13460         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13461         to libthread-provided value.
13462         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13463         attribute_relro.
13465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13467         [BZ #3748]
13468         * bits/libc-lock.h (__libc_once_get): New macro.
13469         * sysdeps/mach/bits/libc-lock.h: Likewise.
13470         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13471         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13472         instead of using implementation details.
13474         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13475         * libio/freopen.c: Likewise.
13476         * libio/freopen64.c: Likewise.
13477         * misc/syslog.c: Likewise.
13478         * nscd/connections.c: Likewise.
13479         * nscd/netgroupcache.c: Likewise.
13480         * sysdeps/posix/getcwd.c: Likewise.
13482 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13484         * math/w_ilogbf.c: Add #include <limits.h>.
13486 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13488         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13489         path instead of returning without unlocking.
13491         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13492         immediate-write ioctls.
13493         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13495 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13497         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13498         __builtin_frame_address instead of making assumptions about the
13499         location of the return address relative to DATA.  Force early load of
13500         the return address.
13501         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13502         __builtin_frame_address.
13504         dup3 for GNU Hurd.
13505         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13506         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13507         implement dup3 and do some further code clean-ups.
13508         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13509         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13511 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13513         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13515         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13516         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13517         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13518         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13519         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13520         d->port.lock.
13522         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13523         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13524         when handler == SIG_ERR, not when handler != SIG_ERR.
13526 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13528         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13529         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13530         definitions.
13532         accept4 for GNU Hurd.
13533         * include/sys/socket.h (__libc_accept4): New prototype.
13534         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13535         to implement __libc_accept4.
13536         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13537         __libc_accept4.
13538         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13540         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13541         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13542         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13543         signal-defines.sym.
13545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13547         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13549 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13551         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13552         assertion on O_CLOEXEC flag.
13553         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13554         * hurd/intern-fd.c: Likewise.
13555         * hurd/port2fd.c: Likewise.
13557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13559         [BZ #3906]
13560         * bits/in.h (IPV6_PKTINFO): Define new macro.
13561         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13563 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13565         [BZ #13954]
13566         [BZ #13955]
13567         [BZ #13956]
13568         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13569         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13570         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13571         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13573         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13574         * math/libm-test.inc (logb_test) : Additional logb tests.
13576 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
13577             Andreas Jaeger  <aj@suse.de>
13579         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13580         * configure: Regenerated.
13581         * config.h.in (LINK_OBSOLETE_RPC): New macro.
13582         * config.make.in (link-obsolete-rpc): New substituted variable.
13583         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13584         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13585         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13586         (shared-only-routines): Don't set it under [link-obsolete-rpc],
13587         so that libc.a contains the symbols.
13588         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13589         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13590         * sunrpc/auth_none.c: Likewise.
13591         * sunrpc/auth_unix.c: Likewise.
13592         * sunrpc/authdes_prot.c: Likewise.
13593         * sunrpc/authuxprot.c: Likewise.
13594         * sunrpc/clnt_gen.c: Likewise.
13595         * sunrpc/clnt_perr.c: Likewise.
13596         * sunrpc/clnt_raw.c: Likewise.
13597         * sunrpc/clnt_simp.c: Likewise.
13598         * sunrpc/clnt_tcp.c: Likewise.
13599         * sunrpc/clnt_udp.c: Likewise.
13600         * sunrpc/clnt_unix.c: Likewise.
13601         * sunrpc/des_crypt.c: Likewise.
13602         * sunrpc/des_soft.c: Likewise.
13603         * sunrpc/get_myaddr.c: Likewise.
13604         * sunrpc/key_call.c: Likewise.
13605         * sunrpc/key_prot.c: Likewise.
13606         * sunrpc/netname.c: Likewise.
13607         * sunrpc/pm_getmaps.c: Likewise.
13608         * sunrpc/pm_getport.c: Likewise.
13609         * sunrpc/pmap_clnt.c: Likewise.
13610         * sunrpc/pmap_prot.c: Likewise.
13611         * sunrpc/pmap_prot2.c: Likewise.
13612         * sunrpc/pmap_rmt.c: Likewise.
13613         * sunrpc/publickey.c: Likewise.
13614         * sunrpc/rpc_cmsg.c: Likewise.
13615         * sunrpc/rpc_common.c: Likewise.
13616         * sunrpc/rpc_dtable.c: Likewise.
13617         * sunrpc/rpc_prot.c: Likewise.
13618         * sunrpc/rpc_thread.c: Likewise.
13619         * sunrpc/rtime.c: Likewise.
13620         * sunrpc/svc.c: Likewise.
13621         * sunrpc/svc_auth.c: Likewise.
13622         * sunrpc/svc_raw.c: Likewise.
13623         * sunrpc/svc_run.c: Likewise.
13624         * sunrpc/svc_tcp.c: Likewise.
13625         * sunrpc/svc_udp.c: Likewise.
13626         * sunrpc/svc_unix.c: Likewise.
13627         * sunrpc/svcauth_des.c: Likewise.
13628         * sunrpc/xcrypt.c: Likewise.
13629         * sunrpc/xdr.c: Likewise.
13630         * sunrpc/xdr_array.c: Likewise.
13631         * sunrpc/xdr_float.c: Likewise.
13632         * sunrpc/xdr_intXX_t.c: Likewise.
13633         * sunrpc/xdr_mem.c: Likewise.
13634         * sunrpc/xdr_rec.c: Likewise.
13635         * sunrpc/xdr_ref.c: Likewise.
13636         * sunrpc/xdr_sizeof.c: Likewise.
13637         * sunrpc/xdr_stdio.c: Likewise.
13639 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13641         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13642         change.  Update copyright years.
13644 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13646         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13648 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
13649             Joseph Myers  <joseph@codesourcery.com>
13650             Paul Pluzhnikov  <ppluzhnikov@google.com>
13652         [BZ #14012]
13653         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13654         requiring rpcgen.
13655         [cross-compiling] (extra-libs): Likewise.
13656         [cross-compiling] (extra-libs-others): Likewise.
13657         [cross-compiling] (librpcsvc-routines): Likewise.
13658         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13659         [cross-compiling] (omit-deps): Likewise.
13660         (sunrpc-CPPFLAGS): New variable.
13661         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13662         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13663         (cross-rpcgen-objs): New variable.
13664         (extra-objs): Append $(cross-rpcgen-objs).
13665         ($(cross-rpcgen-objs)): New rule.
13666         ($(objpfx)cross-rpcgen): Likewise.
13667         (rpcgen-cmd): Define to use $(built-program-file).  Expand
13668         comment.
13669         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13670         ($(objpfx)x%.stmp): Likewise.
13671         * sunrpc/proto.h [IS_IN_build] (_): Define.
13672         [IS_IN_build] (_libc_intl_domainname): Likewise.
13674 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13677         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13678         and R_X86_64_TPOFF64.
13680 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13682         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13683         sysdeps/unix/sysv/syscalls.list.
13684         (stime): Likewise.
13685         (utime): Likewise.
13686         * sysdeps/unix/sysv/syscalls.list: Remove file.
13688 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
13690         [BZ #3440]
13691         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13692         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13693         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13694         (__LC_IDENTIFICATION): Make these macros useful in #if
13695         expressions, as required by C99.
13697 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
13699         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13700         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
13701         after this.
13703 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
13705         * stdlib/longlong.h: Updated from GCC.
13707 2012-05-09  Andreas Jaeger  <aj@suse.de>
13709         * nscd/nscd.c (run_modes): Make named enum, reorder so that
13710         default is first entry.
13711         (run_mode): Set type.
13712         (main): Remove informal message about syslog.
13713         (options): Fix typo.
13715         [BZ #14053]
13716         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13717         to asm.
13718         (lrint): Likewise.
13719         (llrintf): Likewise.
13720         (llrint): Likewise.
13721         (rint): Likewise.
13722         (rintf): Likewise.
13723         (nearbyint): Likewise.
13724         (nearbyintf): Likewise.
13726 2012-05-09  Andreas Jaeger  <aj@suse.de>
13727             Pedro Alves  <palves@redhat.com>
13729         * nscd/nscd.c (run_mode): Use enum.
13730         (main): Cleanup coding style issue.
13732 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
13733             Andreas Jaeger  <aj@suse.de>
13735         * nscd/nscd.c (go_background): Replaced with...
13736         (run_mode): ... this.
13737         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13738         (options): Add -F --foreground.
13739         (main): Implement it.
13740         (parse_opt): Parse it.
13742 2012-05-09  Andreas Jaeger  <aj@suse.de>
13744         [BZ #14083]
13745         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13746         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13747         -Wconversion warning.
13748         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13749         Likewise.
13751 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
13753         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
13754         == 0.
13755         (LC_ALL): Use macro-int-constant.
13756         (LC_COLLATE): Likewise.
13757         (LC_CTYPE): Likewise.
13758         (LC_MESSAGES): Likewise.
13759         (LC_MONETARY): Likewise.
13760         (LC_NUMERIC): Likewise.
13761         (LC_TIME): Likewise.
13762         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13763         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13764         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13765         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13766         Specify type.
13767         [C99-based standards] (float_t): Expect type.
13768         [C99-based standards] (double_t): Expect type.
13769         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
13770         type.
13771         [C99-based standards] (HUGE_VALL): Likewise.
13772         [C99-based standards] (INFINITY): Likewise.
13773         [C99-based standards] (NAN): Likewise.
13774         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13775         [C99-based standards] (FP_NAN): Likewise.
13776         [C99-based standards] (FP_NORMAL): Likewise.
13777         [C99-based standards] (FP_SUBNORMAL): Likewise.
13778         [C99-based standards] (FP_ZERO): Likewise.
13779         [C99-based standards] (FP_FAST_FMA): Use
13780         optional-macro-int-constant.  Specify type.  Require == 1.
13781         [C99-based standards] (FP_FAST_FMAF): Likewise.
13782         [C99-based standards] (FP_FAST_FMAL): Likewise.
13783         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13784         [C99-based standards] (FP_ILOGBNAN): Likewise.
13785         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13786         Specify type.
13787         [C99-based standards] (MATH_ERREXCEPT): Likewise.
13788         [C99-based standards] (math_errhandling): Specify type.
13789         [ISO99 || ISO11] (signgam): Do not allow.
13790         [non-C99-based standards] (copysignf): Do not allow.
13791         [non-C99-based standards] (exp2f): Likewise.
13792         [non-C99-based standards] (log2f): Likewise.
13793         [non-C99-based standards] (modff): Allow.
13794         [non-C99-based standards] (erff): Do not allow.
13795         [non-C99-based standards] (erfcf): Likewise.
13796         [non-C99-based standards] (gammaf): Likewise.
13797         [non-C99-based standards] (hypotf): Likewise.
13798         [non-C99-based standards] (j0f): Likewise.
13799         [non-C99-based standards] (j1f): Likewise.
13800         [non-C99-based standards] (jnf): Likewise.
13801         [non-C99-based standards] (lgammaf): Likewise.
13802         [non-C99-based standards] (tgammaf): Likewise.
13803         [non-C99-based standards] (y0f): Likewise.
13804         [non-C99-based standards] (y1f): Likewise.
13805         [non-C99-based standards] (ynf): Likewise.
13806         [non-C99-based standards] (isnanf): Likewise.
13807         [non-C99-based standards] (acoshf): Likewise.
13808         [non-C99-based standards] (asinhf): Likewise.
13809         [non-C99-based standards] (atanhf): Likewise.
13810         [non-C99-based standards] (cbrtf): Likewise.
13811         [non-C99-based standards] (expm1f): Likewise.
13812         [non-C99-based standards] (ilogbf): Likewise.
13813         [non-C99-based standards] (log1pf): Likewise.
13814         [non-C99-based standards] (logbf): Likewise.
13815         [non-C99-based standards] (nextafterf): Likewise.
13816         [non-C99-based standards] (remainderf): Likewise.
13817         [non-C99-based standards] (rintf): Likewise.
13818         [non-C99-based standards] (scalbf): Likewise.
13819         [non-C99-based standards] (copysignl): Likewise.
13820         [non-C99-based standards] (exp2l): Likewise.
13821         [non-C99-based standards] (log2l): Likewise.
13822         [non-C99-based standards] (modfl): Allow.
13823         [non-C99-based standards] (erfl): Do not allow.
13824         [non-C99-based standards] (erfcl): Likewise.
13825         [non-C99-based standards] (gammal): Likewise.
13826         [non-C99-based standards] (hypotl): Likewise.
13827         [non-C99-based standards] (j0l): Likewise.
13828         [non-C99-based standards] (j1l): Likewise.
13829         [non-C99-based standards] (jnl): Likewise.
13830         [non-C99-based standards] (lgammal): Likewise.
13831         [non-C99-based standards] (tgammal): Likewise.
13832         [non-C99-based standards] (y0l): Likewise.
13833         [non-C99-based standards] (y1l): Likewise.
13834         [non-C99-based standards] (ynl): Likewise.
13835         [non-C99-based standards] (isnanl): Likewise.
13836         [non-C99-based standards] (acoshl): Likewise.
13837         [non-C99-based standards] (asinhl): Likewise.
13838         [non-C99-based standards] (atanhl): Likewise.
13839         [non-C99-based standards] (cbrtl): Likewise.
13840         [non-C99-based standards] (expm1l): Likewise.
13841         [non-C99-based standards] (ilogbl): Likewise.
13842         [non-C99-based standards] (log1pl): Likewise.
13843         [non-C99-based standards] (logbl): Likewise.
13844         [non-C99-based standards] (nextafterl): Likewise.
13845         [non-C99-based standards] (remainderl): Likewise.
13846         [non-C99-based standards] (rintl): Likewise.
13847         [non-C99-based standards] (scalbl): Likewise.
13848         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13849         [non-C99-based standards] (FP_*): Do not allow.
13850         [C99-based standards] (FP_*): Change to
13851         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13852         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13853         allow.
13854         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13855         (SIG_ERR): Likewise.
13856         [X/Open-based standards] (SIG_HOLD): Likewise.
13857         (SIG_IGN): Likewise.
13858         (SIGABRT): Use macro-int-constant.  Specify type.  Require
13859         positive value.
13860         (SIGFPE): Likewise.
13861         (SIGILL): Likewise.
13862         (SIGINT): Likewise.
13863         (SIGSEGV): Likewise.
13864         (SIGTER): Likewise.
13865         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13866         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13867         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13868         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13869         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13870         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13871         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13872         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13873         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13874         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13875         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13876         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13877         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13878         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13879         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13880         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13881         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13882         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13883         [X/Open-based standards] (SIGTRAP): Likewise.
13884         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13885         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13886         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13887         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13888         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13889         allow.
13891 2012-05-08  Ian Wienand  <ianw@vmware.com>
13893         [BZ #14080]
13894         * time/tzset.c (__tzset_parse_tz): Update default rules for
13895         daylight time changes in the Energy Policy Act of 2005.
13897 2012-05-09  Andreas Jaeger  <aj@suse.de>
13899         [BZ #13983]
13900         * elf/ldconfig.c (parse_conf): Change string to make clear that
13901         ldconfig only issued a warning if ld.so.conf does not exist.
13903 2012-05-08  David S. Miller  <davem@davemloft.net>
13905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13906         movxtod instead of popping the value on the stack.
13908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13910 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
13912         * config.h.in: Add HAVE_ARM_PCS_VFP.
13914 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
13916         [BZ #13979]
13917         * include/features.h: Warn if user requests __FORTIFY_SOURCE
13918         checking but the checks are disabled for any reason.
13920 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13922         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13923         and ELF64_R_TYPE with ELFW(R_TYPE).
13925 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
13927         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13928         (ulimit): Likewise.
13930         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13931         (settimeofday): Likewise.
13933 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
13935         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
13936         a struct th_u2 inside the union, and move tu_block/tu_code into
13937         a new th_u3 union of tu_block/tu_code inside of that.  Move
13938         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
13939         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
13940         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13941         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13942         (th_stuff): Change to th_u1.tu_stuff.
13943         (th_data): Define.
13944         (th_msg): Change to th_u1.th_u2.tu_data.
13946 2012-05-07  David S. Miller  <davem@davemloft.net>
13948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13950         [BZ #14074]
13951         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13952         (SETUP_PIC_REG): Use it.
13953         (SETUP_PIC_REG_LEAF): Use it.
13955 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
13957         [BZ #13885]
13958         [BZ #13923]
13959         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13960         USE_AS_EXPM1L.
13961         (EXPL_FINITE): Likewise.
13962         (FLDLOG): Likewise.
13963         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13964         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13965         e_expl.S.
13966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13967         USE_AS_EXPM1L.
13968         (EXPL_FINITE): Likewise.
13969         (FLDLOG): Likewise.
13970         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13971         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13972         e_expl.S.
13973         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
13974         test of -max_value argument for long double.
13975         * sysdeps/i386/fpu/libm-test-ulps: Update.
13976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13978 2012-05-06  David S. Miller  <davem@davemloft.net>
13980         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13981         quad soft-float symbols whose references which are compiler
13982         generated.
13983         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13985 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
13987         [BZ #13884]
13988         [BZ #13914]
13989         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13990         USE_AS_EXP10L.
13991         (EXPL_FINITE): Likewise.
13992         (FLDLOG): Likewise.
13993         (c0): Likewise.
13994         (c1): Likewise.
13995         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13996         Adjust comments for base varying.
13997         (__expl_finite): Change alias to EXPL_FINITE.
13998         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13999         e_expl.S.
14000         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14001         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14002         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14003         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14004         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14005         USE_AS_EXP10L.
14006         (EXPL_FINITE): Likewise.
14007         (FLDLOG): Likewise.
14008         (c0): Likewise.
14009         (c1): Likewise.
14010         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14011         Adjust comments for base varying.
14012         (__expl_finite): Change alias to EXPL_FINITE.
14013         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14014         tests for bugs.
14015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14017         [BZ #14064]
14018         * math/libm-test.inc (check_float_internal): Correct ulp
14019         calculation for subnormal expected results.
14021 2012-05-06  Andreas Jaeger  <aj@suse.de>
14023         * Makeconfig (+math-flags): New, set to -frounding-math.
14024         (+cflags): Add +math-flags so that all of glibc gets compiled with
14025         it.
14027         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14029 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14031         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14032         Disable one test.
14034         [BZ #13787]
14035         [BZ #13922]
14036         [BZ #14036]
14037         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14038         (__ieee754_expl): Allow for and saturate large arguments.
14039         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14040         (u_threshold): Likewise.
14041         (__exp): Call __ieee754_exp before checking for overflow and
14042         underflow.
14043         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14044         (u_threshold): Likewise.
14045         (__expf): Call __ieee754_expf before checking for overflow and
14046         underflow.
14047         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14048         (u_threshold): Likewise.
14049         (__expl): Call __ieee754_expl before checking for overflow and
14050         underflow.
14051         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14052         (__ieee754_expl): Allow for and saturate large arguments.
14053         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14054         missing overflow exception on overflow.
14055         (expm1_test): Do not allow missing overflow exception on overflow.
14057         * sysdeps/i386/fpu/e_expl.c: Move to ...
14058         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14059         rather than using inline asm.
14060         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14061         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14062         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14064         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14065         (nice): Likewise.
14066         (poll): Likewise.
14067         (signal): Likewise.
14068         (time): Likewise.
14069         (times): Likewise.
14071 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14073         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14074         sysdeps/unix/common/syscalls.list.
14075         (fchmod): Likewise.
14076         (fchown): Likewise.
14077         (ftruncate): Likewise.
14078         (getrusage): Likewise.
14079         (gettimeofday): Likewise.
14080         (setpgid): Likewise.
14081         (setregid): Likewise.
14082         (setreuid): Likewise.
14083         (sigaction): Likewise.
14084         (truncate): Likewise.
14085         (vhangup): Likewise.
14086         * sysdeps/unix/common/syscalls.list: Remove file.
14087         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14088         * sysdeps/unix/sysv/linux/Implies: Likewise.
14090 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14092         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14094         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14095         Moved to ...
14096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14097         Here.
14098         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14099         to ...
14100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14101         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14102         to ...
14103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14104         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14105         to ...
14106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14107         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14108         to ...
14109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14110         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14111         to ...
14112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14113         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14114         to ...
14115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14116         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14117         to ...
14118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14119         Here.
14120         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14121         to ...
14122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14123         Here.
14124         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14125         to ...
14126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14127         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14128         Moved to ...
14129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14130         Here.
14131         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14132         to ...
14133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14135 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14137         * sysdeps/unix/common/bits/dirent.h: Remove file.
14138         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14140         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14141         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14142         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14143         * sysdeps/unix/bsd/isatty.c: Likewise.
14144         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14145         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14146         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14148 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14150         [BZ #13563]
14151         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14152         long double comparison inaccuracies.
14153         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14156 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14158         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14159         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14161 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14163         [BZ #14049]
14164         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14165         nonzero digits before rounding a hex value.
14166         * stdlib/tst-strtod.c (tests): Add another test.
14168 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14170         * sysdeps/s390/fpu/libm-test-ulps: Update.
14172 2012-05-03  Andreas Jaeger  <aj@suse.de>
14174         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14175         does not get optimized out.
14176         (malloc_opt_barrier): New.
14178 2012-05-03  Andreas Jaeger  <aj@suse.de>
14179             Roland McGrath  <roland@hack.frob.com>
14181         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14182         intermediate file deletion.
14183         (generated): Add .symlist files.
14185 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14187         [BZ #13775]
14188         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14189         Redirect under this condition.
14190         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14191         [__USE_GNU] (__dprintf_chk): Not under this condition.
14192         [__USE_GNU] (__vdprintf_chk): Likewise.
14193         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14194         under this condition.
14195         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14196         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14197         [__USE_XOPEN2K8] (vdprintf): Likewise.
14198         [__USE_GNU] (__dprintf_chk): Not under this condition.
14199         [__USE_GNU] (__vdprintf_chk): Likewise.
14200         [__USE_GNU] (dprintf): Likewise.
14201         [__USE_GNU] (vdprintf): Likewise.
14203 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14205         * elf/Makefile (common-generated): Set this instead of generated for
14206         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14207         $(all-built-dso)-derived lists.
14209 2012-05-03  Andreas Jaeger  <aj@suse.de>
14211         * sysdeps/i386/fpu/libm-test-ulps: Update.
14213         * FAQ: Removed.
14214         * FAQ.in: Likewise.
14215         * scripts/gen-FAQ.pl: Likewise.
14216         * manual/install.texi (Installation): Point to online location of
14217         FAQ.
14218         * Makefile (files-for-dist): Remove FAQ.
14219         (FAQ): Remove.
14221 2012-05-02  Allan McRae  <allan@archlinux.org>
14223         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14224         (LDFLAGS-reldepmod5.so): Likewise.
14225         (LDFLAGS-reldep6mod1.so): Likewise.
14226         (LDFLAGS-reldep6mod4.so): Likewise.
14227         (LDFLAGS-reldep8mod3.so): Likewise.
14228         (LDFLAGS-unload4mod1.so): Likewise.
14229         (LDFLAGS-unload4mod2.so): Likewise.
14230         (LDFLAGS-tst-initorder): Likewise.
14231         (LDFLAGS-tst-initordera2.so): Likewise.
14232         (LDFLAGS-tst-initordera3.so): Likewise.
14233         (LDFLAGS-tst-initordera4.so): Likewise.
14234         (LDFLAGS-tst-initorderb2.so): Likewise.
14235         (LDFLAGS-noload): Likewise.
14236         (LDFLAGS-next): Likewise.
14237         (LDFLAGS-order2mod1.so): Likewise.
14238         (LDFLAGS-order2mod2.so): Likewise.
14239         (LDFLAGS-tst-initorder2): Likewise.
14240         (LDFLAGS-tst-initorder2a.so): Likewise.
14241         (LDFLAGS-tst-initorder2b.so): Likewise.
14242         (LDFLAGS-tst-initorder2c.so): Likewise.
14243         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14245 2012-05-02  David S. Miller  <davem@davemloft.net>
14247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14249 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14251         [BZ #14055]
14252         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14254 2012-05-02  Andreas Jaeger  <aj@suse.de>
14256         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14257         since we manipulate rounding mode.
14258         (CPPFLAGS-test-idouble.c): Likewise.
14259         (CPPFLAGS-test-ifloat.c): Likewise.
14260         (CFLAGS-test-ldouble.c): Likewise.
14261         (CFLAGS-test-double.c): Likewise.
14262         (CFLAGS-test-float.c): Likewise.
14263         (CFLAGS-test-misc.c): Likewise.
14264         (CFLAGS-test-test-fenv.c): Likewise.
14266 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14268         [BZ #2550]
14269         [BZ #2570]
14270         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14271         comparisons to determine direction to adjust input.
14273 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14275         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14276         output to the target.
14278         * scripts/localplt.awk: New file.
14279         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14280         (check-localplt-CFLAGS): Variable removed.
14281         ($(all-built-dso:=.jmprel)): New static pattern rule.
14282         (generated): Add those targets.
14283         (localplt-built-dso): New variable.
14284         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14286         * elf/check-localplt.c: File removed.
14288         * scripts/check-execstack.awk: New file.
14289         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14290         (check-execstack-CFLAGS): Variable removed.
14291         ($(objpfx)check-execstack.h): Target removed.
14292         ($(objpfx)execstack-default): New target.
14293         (generated): Add that instead of check-execstack.h.
14294         ($(all-built-dso:=.phdr)): New static pattern rule.
14295         (generated): Add those targets.
14296         * elf/check-execstack.c: File removed.
14298         * scripts/check-textrel.awk: New file.
14299         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14300         (check-textrel-CFLAGS): Variable removed.
14301         (all-built-dso): Use := to define.o
14302         ($(all-built-dso:=.dyn)): New static pattern rule.
14303         (generated): Add those targets.
14304         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14305         * config.make.in (READELF): New substituted variable.
14306         * elf/check-textrel.c: File removed.
14308 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14310         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14311         allow.
14312         * conform/data/ctype.h-data [C99-based standards] (isblank):
14313         Expect function.
14314         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14315         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14316         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14317         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14318         Specify type.  Require positive value.
14319         (EILSEQ): Likewise.
14320         (ERANGE): Likewise.
14321         [ISO || POSIX] (EILSEQ): Do not expect.
14322         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14323         Specify type.  Require positive value.
14324         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14325         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14326         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14327         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14328         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14329         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14330         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14331         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14332         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14333         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14334         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14335         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14336         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14337         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14338         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14339         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14340         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14341         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14342         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14343         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14344         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14345         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14346         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14347         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14348         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14349         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14350         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14351         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14352         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14353         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14354         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14355         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14356         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14357         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14358         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14359         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14360         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14361         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14362         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14363         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14364         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14365         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14366         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14367         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14368         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14369         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14370         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14371         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14372         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14373         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14374         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14375         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14376         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14377         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14378         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14379         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14380         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14381         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14382         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14383         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14384         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14385         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14386         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14387         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14388         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14389         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14390         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14391         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14392         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14393         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14394         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14395         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14396         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14397         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14398         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14399         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14400         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14401         Require >= 2.
14402         (FLT_ROUNDS): Expect as macro, not constant.
14403         (FLT_MANT_DIG): Use macro-int-constant.
14404         (DBL_MANT_DIG): Likewise.
14405         (LDBL_MANT_DIG): Likewise.
14406         (FLT_DIG): Likewise.
14407         (DBL_DIG): Likewise.
14408         (LDBL_DIG): Likewise.
14409         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14410         (DBL_MIN_EXP): Likewise.
14411         (LDBL_MIN_EXP): Likewise.
14412         (FLT_MAX_EXP): Use macro-int-constant.
14413         (DBL_MAX_EXP): Likewise.
14414         (LDBL_MAX_EXP): Likewise.
14415         (FLT_MAX_10_EXP): Likewise.
14416         (DBL_MAX_10_EXP): Likewise.
14417         (LDBL_MAX_10_EXP): Likewise.
14418         (FLT_MAX): Use macro-constant.
14419         (DBL_MAX): Likewise.
14420         (LDBL_MAX): Likewise.
14421         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14422         (DBL_EPSILON): Likewise.
14423         (LDBL_EPSILON): Likewise.
14424         (FLT_MIN): Likewise.
14425         (DBL_MIN): Likewise.
14426         (LDBL_MIN): Likewise.
14427         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14428         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14429         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14430         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14431         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14432         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14433         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14434         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14435         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14436         [ISO11] (FLT_TRUE_MIN): Likewise.
14437         [ISO11] (LDBL_TRUE_MIN): Likewise.
14438         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14439         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14440         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14441         (SCHAR_MAX): Likewise.
14442         (UCHAR_MAX): Likewise.
14443         (CHAR_MIN): Likewise.
14444         (CHAR_MAX): Likewise.
14445         (MB_LEN_MAX): Use macro-int-constant.
14446         (SHRT_MIN): Use macro-int-constant.  Specify type.
14447         (SHRT_MAX): Likewise.
14448         (USHRT_MAX): Likewise.
14449         (INT_MAX): Likewise.
14450         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14451         bound negative.
14452         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14453         bound with "U".
14454         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14455         bound with "L".
14456         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14457         bound negative.  Suffix upper bound with "L".
14458         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14459         bound with "UL".
14460         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14461         Specify type.
14462         [C99-based standards] (LLONG_MAX): Likewise.
14463         [C99-based standards] (ULLONG_MAX): Likewise.
14464         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14465         == 0.
14466         [ISO11] (max_align_t): Require type.
14467         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14469         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14470         from $CFLAGS, without defining away __attribute__ calls.
14471         (checknamespace): Use $CFLAGS_namespace.
14473         * conform/conformtest.pl (@keywords): Only include C99 keywords
14474         for standards based on C99 or C11.
14476         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14477         Disable tests.
14478         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14479         UNIX98]: Likewise.
14481         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14482         usability of symbols in #if.
14484         * conform/conformtest.pl: If macro or constant types start
14485         "promoted:", expect the symbol to be of the following type
14486         promoted by the integer promotions.
14488         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14489         in one place.  Also handle "macro-constant".
14491         * conform/conformtest.pl: Only accept expected macro values with
14492         "==".  Parse all "macro" lines in one place.
14493         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14495         * conform/conformtest.pl: Handle braced types on "constant" lines
14496         instead of handling "typed-constant".
14497         * conform/data/signal.h-data: Use "constant" instead of
14498         "typed-constant".
14500         * conform/conformtest.pl: Handle "optional-" at start of lines in
14501         one place rather than duplicating several cases.  Handle each
14502         format of "macro" line with initial "optional-".
14504         * conform/conformtest.pl: Only accept expected constant or
14505         optional-constant values with "==".  Parse all "constant" lines in
14506         one place.  Parse all "optional-constant" lines in one place.
14507         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14508         * conform/data/fmtmsg.h-data: Likewise.
14509         * conform/data/netinet/in.h-data: Likewise.
14510         * conform/data/tar.h-data: Likewise.
14511         * conform/data/limits.h-data: Use "==" form on "constant" and
14512         "optional-constant" lines.
14514         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14515         Use -std=c99 for XOPEN2K.
14516         (@knownproblems): Remove.
14517         (newtoken): Don't check %isknown.
14519         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14520         Do not expect macro.
14521         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14522         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14523         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14524         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14525         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14526         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14527         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14528         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14529         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14530         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14531         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14532         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14533         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14534         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14535         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14536         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14537         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14538         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14539         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14540         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14541         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14542         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14543         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14544         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14545         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14546         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14547         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14548         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14549         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14550         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14551         [XPG3] (acosh): Likewise.
14552         [XPG3] (asinh): Likewise.
14553         [XPG3] (atanh): Likewise.
14554         [XPG3] (cbrt): Likewise.
14555         [XPG3] (expm1): Likewise.
14556         [XPG3] (ilogb): Likewise.
14557         [XPG3] (log1p): Likewise.
14558         [XPG3] (logb): Likewise.
14559         [XPG3] (nextafter): Likewise.
14560         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14561         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14562         [XPG3] (remainder): Likewise.
14563         [XPG3] (rint): Likewise.
14564         [XPG3 || XPG4 || UNIX98] (round): Likewise.
14565         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14566         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14567         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14568         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14569         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14570         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14571         [UNIX98 || XOPEN2K] (scalb): Expect.
14572         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14573         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14574         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14575         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14576         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14577         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14578         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14579         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14580         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14581         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14582         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14583         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14584         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14585         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14586         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14587         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14588         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14589         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14590         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14591         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14592         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14593         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14594         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14595         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14596         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14597         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14598         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14599         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14600         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14601         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14602         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14603         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14604         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14605         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14606         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14607         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14608         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14609         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14610         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14611         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14612         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14613         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14614         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14615         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14616         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14617         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14618         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14619         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14620         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14621         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14622         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14623         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14624         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14625         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14626         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14627         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14628         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14629         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14630         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14631         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14632         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14633         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14634         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14635         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14636         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14637         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14638         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14639         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14640         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14641         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14642         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14643         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14644         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14645         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14646         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14647         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14648         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14649         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14650         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14651         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14652         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14653         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14654         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14655         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14656         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14657         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14658         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14659         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14660         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14661         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14662         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14663         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14664         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14665         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14666         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14667         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14668         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14669         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14670         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14671         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14672         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14673         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14674         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14675         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14676         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14677         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14678         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14679         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14680         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14681         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14682         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14683         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14684         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14685         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14686         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14687         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14688         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14689         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14690         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14691         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14692         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14693         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14694         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14695         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14696         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14697         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14698         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14699         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14700         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14701         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14702         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14703         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14704         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14705         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14706         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14707         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14708         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14710         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14711         _XOPEN_SOURCE_EXTENDED for XPG4.
14713         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14715         * Makeconfig (localtime): Remove variable.
14716         (inst_localtime-file): Likewise.
14718 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14721         Update.
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14723         Update.
14724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14725         Update.
14726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14727         Update.
14728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14729         Update.
14730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14731         Update.
14732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14733         Update.
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14735         Update.
14736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14737         Update.
14739 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14741         [BZ #2550]
14742         [BZ #2570]
14743         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14744         comparisons to determine direction to adjust input.
14745         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14746         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14747         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14748         Likewise.
14749         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14750         Likewise.
14751         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14752         Likewise.
14753         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14754         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14755         Likewise.
14756         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14757         Likewise.
14758         * math/libm-test.inc (nexttoward_test): Add more tests.
14760 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14762         [BZ #14040]
14763         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14764         in version GLIBC_2.1, not GLIBC_2.0.
14765         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14766         Likewise.
14768 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
14770         [BZ #13942]
14771         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14772         (1 - x) * (1 + x).
14773         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14774         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14775         * math/libm-test.inc (acos_test): Add more tests.
14776         (asin_test): Likewise.
14777         * sysdeps/i386/fpu/libm-test-ulps: Update.
14778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780         [BZ #14034]
14781         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14782         of square root.
14783         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14784         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14785         * math/libm-test.inc (acos_test_tonearest): New function.
14786         (acos_test_towardzero): Likewise.
14787         (acos_test_downward): Likewise.
14788         (acos_test_upward): Likewise.
14789         (asin_test_tonearest): Likewise.
14790         (asin_test_towardzero): Likewise.
14791         (asin_test_downward): Likewise.
14792         (asin_test_upward): Likewise.
14793         (main): Call the new functions.
14794         * sysdeps/i386/fpu/libm-test-ulps: Update.
14795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14797         [BZ #13884]
14798         [BZ #13924]
14799         * math/e_exp10.c: Include <float.h>.
14800         (__ieee754_exp10): Handle underflow here rather than multiplying
14801         large negative argument by M_LN10.
14802         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14803         of __ieee754_expf.
14804         * math/e_exp10l.c: Include <float.h>.
14805         (__ieee754_exp10l): Handle underflow here rather than multiplying
14806         large negative argument by M_LN10l.
14807         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
14808         spurious overflow exception on underflow.
14810 2012-04-29  Marek Polacek  <polacek@redhat.com>
14812         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14813         (__fortify_function): New macro.
14814         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14815         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14816         __extern_always_inline.
14817         * libio/bits/stdio2.h: Likewise.
14818         * libio/bits/stdio.h: Likewise.
14819         * string/string.h: Likewise.
14820         * string/bits/string3.h: Likewise.
14821         * include/stdio.h: Likewise.
14822         * stdlib/bits/stdlib.h: Likewise.
14823         * stdlib/stdlib.h: Likewise.
14824         * rt/bits/mqueue2.h: Likewise.
14825         * rt/mqueue.h: Likewise.
14826         * posix/bits/unistd.h: Likewise.
14827         * posix/unistd.h: Likewise.
14828         * io/bits/poll2.h: Likewise.
14829         * io/bits/fcntl2.h: Likewise.
14830         * io/fcntl.h: Likewise.
14831         * io/sys/poll.h: Likewise.
14832         * misc/bits/syslog.h: Likewise.
14833         * misc/bits/syslog-ldbl.h: Likewise.
14834         * misc/sys/syslog.h: Likewise.
14835         * socket/bits/socket2.h: Likewise.
14836         * socket/sys/socket.h: Likewise.
14837         * debug/tst-chk1.c: Likewise.
14838         * wcsmbs/bits/wchar2.h: Likewise.
14839         * wcsmbs/bits/wchar-ldbl.h: Likewise.
14840         * wcsmbs/wchar.h: Likewise.
14842 2012-04-29  Andreas Jaeger  <aj@suse.de>
14844         * Makerules (tests): Remove enable-check-abi protection.
14845         (check-abi-warn): Remove.
14846         (check-abi-%): Remove check-abi-warn usage.
14848         * configure.in: Remove check-abi configure option.
14849         * configure: Regenerated.
14850         * config.make.in (enable-check-abi): Remove.
14852 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
14854         [BZ #14033]
14855         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14856         double functions to double *_finite functions.
14858         [BZ #13941]
14859         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14860         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14861         LDBL_MIN_EXP.
14862         * stdio-common/Makefile (tests): Add tst-sprintf3.
14863         * stdio-common/tst-sprintf3.c: New file.
14865         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14866         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14868 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14870         * conform/conformtest.pl: Remove duplicate typed-constant
14871         handling.
14873 2012-04-28  David S. Miller  <davem@davemloft.net>
14875         * Makerules (%.abilist): Add vpath on sysdep_dirs.
14876         (check-abi-%): Remove AWK script prerequisite and explicit
14877         abilist directory.
14878         (check-abi): Rewrite to just diff the symlist with the abilist.
14879         (config-tls, config-abi-config): Delete, no longer used.
14880         (update-abi-%): Remove AWK script and explicit abilist directory.
14881         (update-abi): Rewrite to simply compare and conditionally copy the
14882         symlist and the sysdep abilist file.  Remove update-abi-config
14883         checks.
14884         * abilist/ld.abilist: Remove.
14885         * abilist/libBrokenLocale.abilist: Remove.
14886         * abilist/libanl.abilist: Remove.
14887         * abilist/libcrypt.abilist: Remove.
14888         * abilist/libdl.abilist: Remove.
14889         * abilist/librt.abilist: Remove.
14890         * abilist/libthread_db.abilist: Remove.
14891         * abilist/libutil.abilist: Remove.
14892         * scripts/extract-abilist.awk: Remove.
14893         * scripts/merge-abilist.awk: Remove.
14894         * sysdeps/generic/libcidn.abilist: New file.
14895         * sysdeps/generic/libnss_compat.abilist: New file.
14896         * sysdeps/generic/libnss_db.abilist: New file.
14897         * sysdeps/generic/libnss_dns.abilist: New file.
14898         * sysdeps/generic/libnss_files.abilist: New file.
14899         * sysdeps/generic/libnss_hesiod.abilist: New file.
14900         * sysdeps/generic/libnss_nis.abilist: New file.
14901         * sysdeps/generic/libnss_nisplus.abilist: New file.
14902         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14903         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14904         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14905         file.
14906         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14907         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14908         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14909         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14910         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14911         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14912         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14913         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14914         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14915         file.
14916         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14917         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14918         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14919         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14920         file.
14921         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14922         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14923         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14924         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14925         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14926         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14927         file.
14928         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14929         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14930         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14931         file.
14932         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14934         New file.
14935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14936         New file.
14937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14938         New file.
14939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14940         New file.
14941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14942         New file.
14943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14944         New file.
14945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14946         New file.
14947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14948         New file.
14949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14950         New file.
14951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14952         New file.
14953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14954         New file.
14955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14956         New file.
14957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14958         New file.
14959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14960         file.
14961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14962         New file.
14963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14964         New file.
14965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14966         file.
14967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14968         New file.
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14970         New file.
14971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14972         file.
14973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14974         New file.
14975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14976         New file.
14977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14978         New file.
14979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14980         New file.
14981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14982         New file.
14983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14984         New file.
14985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14987         file.
14988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14989         New file.
14990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14991         file.
14992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14993         file.
14994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14995         file.
14996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14997         file.
14998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14999         file.
15000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15001         New file.
15002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15003         file.
15004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15005         file.
15006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15007         New file.
15008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15009         file.
15010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15012         file.
15013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15014         New file.
15015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15016         file.
15017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15018         file.
15019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15020         file.
15021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15022         file.
15023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15024         file.
15025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15026         New file.
15027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15028         file.
15029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15030         file.
15031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15032         New file.
15033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15034         file.
15035         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15036         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15037         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15038         file.
15039         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15040         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15041         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15042         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15043         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15044         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15045         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15046         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15047         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15048         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15051         file.
15052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15053         New file.
15054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15055         file.
15056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15057         file.
15058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15059         file.
15060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15061         file.
15062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15063         file.
15064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15065         New file.
15066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15067         New file.
15068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15069         file.
15070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15071         New file.
15072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15073         file.
15074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15076         file.
15077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15078         New file.
15079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15080         file.
15081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15082         file.
15083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15084         file.
15085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15086         file.
15087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15088         file.
15089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15090         New file.
15091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15092         New file.
15093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15094         file.
15095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15096         New file.
15097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15098         file.
15100 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15102         * conform/conformtest.pl: Fix typo in handling typed-constant from
15103         allow-header.
15105 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15107         * README: Cut down references to pre-2.6 Linux kernels and
15108         Linuxthreads.  Update lists of configurations in libc and ports
15109         and sort alphabetically.  Say "or newer" with Linux kernel version
15110         requirements.
15112         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15114 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15116         [BZ #887]
15117         * math/libm-test.inc (logb_test_downward): New test to expose
15118         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15119         rounding mode.
15121 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15123         [BZ #14027]
15124         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15125         to be done.
15126         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15127         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15129 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15131         * sysdeps/unix/i386/brk.S: Remove file.
15132         * sysdeps/unix/i386/dl-brk.S: Likewise.
15133         * sysdeps/unix/i386/pipe.S: Likewise.
15134         * sysdeps/unix/i386/sigreturn.S: Likewise.
15135         * sysdeps/unix/i386/syscall.S: Likewise.
15136         * sysdeps/unix/i386/vfork.S: Likewise.
15137         * sysdeps/unix/i386/wait.S: Likewise.
15139         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15140         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15142         * configure.in (arm*-none*): Do not allow without
15143         --enable-hacker-mode.
15144         (netbsd*): Remove case setting base_os.
15145         (386bsd*): Likewise.
15146         (freebsd*): Likewise.
15147         (bsdi*): Likewise.
15148         (osf*): Likewise.
15149         (sunos*): Likewise.
15150         (ultrix*): Likewise.
15151         (newsos*): Likewise.
15152         (dynix*): Likewise.
15153         (*bsd*): Likewise.
15154         (sysv*): Likewise.
15155         (isc*): Likewise.
15156         (esix*): Likewise.
15157         (sco*): Likewise.
15158         (minix*): Likewise.
15159         (irix4*): Likewise.
15160         (irix6*): Likewise.
15161         (solaris[2-9]*): Likewise.
15162         (none): Likewise.
15163         * configure: Regenerated.
15165 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15167         [BZ #11521]
15168         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15169         overflow or cancellation in calculating denominator.
15170         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15171         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15172         down expression to avoid unexpected rounding in newer GCCs.
15173         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15175 2012-04-26  David S. Miller  <davem@davemloft.net>
15177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15178         long-double compat symbols.
15179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15193 2012-04-25  David S. Miller  <davem@davemloft.net>
15195         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15196         HWCAP_* values only after the memory barriers have been defined.
15197         (atomic_full_barrier): Define.
15198         (atomic_read_barrier): Define.
15199         (atomic_write_barrier): Define.
15201 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15203         * shlib-versions: Add libgcc_s version information.
15204         * sysdeps/generic/libgcc_s.h: Remove.
15205         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15206         libgcc_s.h.
15207         * sysdeps/gnu/unwind-resume.c: Likewise.
15208         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15210 2012-04-25  David S. Miller  <davem@davemloft.net>
15212         * sysdeps/unix/sparc/brk.S: Delete.
15213         * sysdeps/unix/sparc/dl-brk.S: Delete.
15214         * sysdeps/unix/sparc/pipe.S: Delete.
15215         * sysdeps/unix/sparc/sysdep.S: Delete.
15216         * sysdeps/unix/sparc/sysdep.h: Delete.
15217         * sysdeps/unix/sparc/vfork.S: Delete.
15218         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15219         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15220         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15221         ret_ERRVAL, r0, r1, MOVE): Define.
15222         (JUMPTARGET): Remove.
15223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15224         sysdeps/unix/sparc/sysdep.h
15225         (ENTRY, END): Remove.
15226         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15228 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15230         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15231         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15232         -DIS_IN_build.
15234         * timezone/README: Update upstream location and email address for
15235         tzcode and tzdata.
15236         * timezone/zdump.c: Update from tzcode 2012b.
15237         * timezone/zic.c: Likewise.
15239         * configure.in (libc_cv_as_needed): Remove test.
15240         * configure: Regenerated.
15241         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15242         conditional definition.
15243         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15244         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15245         * config.make.in (have-as-needed): Remove variable.
15247 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15248             Paul Pluzhnikov  <ppluzhnikov@google.com>
15250         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15251         strings correctly.
15253 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15255         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15256         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15257         * sysdeps/sh/strlen.S: Likewise.
15259 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15261         * sysdeps/unix/fork.S: Remove file.
15262         * sysdeps/unix/i386/fork.S: Likewise.
15263         * sysdeps/unix/sparc/fork.S: Likewise.
15265         * sysdeps/unix/system.c: Remove file.
15266         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15268         * sysdeps/unix/getegid.S: Remove file.
15269         * sysdeps/unix/geteuid.S: Likewise.
15271 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15273         * scripts/check-localplt.awk: New file.
15274         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15275         of diff.
15276         * scripts/data/localplt-generic.data: Add a comment.
15278         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15279         NODE when __dir_mkfile failed.
15280         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15281         Reported by Ludovic Courtès <ludo@gnu.org>.
15283 2012-04-24  Andreas Jaeger  <aj@suse.de>
15285         * Makerules (common-clean): Also remove gen-as-const-headers
15286         files.
15288 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15290         * Makerules (native-compile): Do not change working directory for
15291         build.  Use $(OUTPUT_OPTION) in command.
15292         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15294 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15296         [BZ #13886]
15297         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15298         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15299         * math/libm-test.inc (floor_test): Add more tests.
15300         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15302 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15304         * sysdeps/unix/getdents.c: Remove file.
15305         * sysdeps/unix/sysv/getdents.c: Likewise.
15306         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15308         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15309         sysdeps/unix/mman/syscalls.list.
15310         (mmap): Likewise.
15311         (mprotect): Likewise.
15312         (msync): Likewise.
15313         (munmap): Likewise.
15314         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15315         * sysdeps/unix/mman/syscalls.list: Remove.
15316         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15318         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15319         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15320         * configure: Regenerated.
15321         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15322         $(libgcc_s_suffix).
15323         * config.make.in (libgcc_s_suffix): Remove variable.
15325 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15327         * sysdeps/unix/sysv/gethostname.c: Move to ...
15328         * sysdeps/posix/gethostname.c: ... here.
15330         * sysdeps/unix/execve.S: Remove file.
15332         * sysdeps/unix/_exit.S: Remove file.
15334 2012-04-23  Andreas Jaeger  <aj@suse.de>
15336         [BZ #13739]
15337         * manual/Makefile: Remove make dist support, there's no
15338         need for a stand-alone documentation tar ball.
15339         (TEXI2DVI): Define always, it's not in Makeconfig.
15340         (dist): Removed.
15341         (tar-it): Removed.
15342         (edition): Removed.
15343         (glibc-doc-$(edition).tar): Removed
15344         (%.Z): Removed.
15345         (%.gz): Removed.
15346         (%.uu): Removed.
15347         (ETAGS): Remove, it's in Makeconfig.
15348         (move-if-change): Remove, it's in Makeconfig.
15350 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15352         [BZ #13970]
15353         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15354         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15355         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15356         (strtod_l, strtof_l, strtold_l): Remove __wur.
15357         It is not necessarily an error to ignore strtol's return value.
15358         One can reliably look at the stored endptr to decide whether
15359         the number had valid syntax.
15361 2012-04-21  Andreas Jaeger  <aj@suse.de>
15363         [BZ #13739]
15364         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15366 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15368         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15369         * sysdeps/unix/sysv/Versions: Remove file.
15371 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15373         [BZ #13927]
15374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15376 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15378         [BZ #7064]
15379         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15380         version from __vm86.
15382 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15384         * sysdeps/unix/common/lxstat.c: Remove file.
15385         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15387         * sysdeps/unix/sysv/Makefile: Remove file.
15389         * sysdeps/unix/sysv/direct.h: Remove file.
15391         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15392         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15393         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15394         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15395         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15396         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15397         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15399         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15401         * sysdeps/unix/xmknod.c: Remove file.
15402         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15404         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15406         * sysdeps/unix/sysv/i386/time.S: Remove file.
15408         * sysdeps/unix/fxstat.c: Remove file.
15409         * sysdeps/unix/xstat.c: Likewise.
15410         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15412         * sysdeps/unix/sysv/sigaction.c: Remove file.
15414         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15415         (sysdep_headers): Remove variable.
15416         [termio.h not in sysdep_headers] (generated): Likewise.
15417         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15418         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15419         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15420         * sysdeps/unix/sysv/tcflow.c: Likewise.
15421         * sysdeps/unix/sysv/tcflush.c: Likewise.
15422         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15423         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15424         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15425         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15426         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15428         * sysdeps/unix/siglist.c: Remove file.
15430         * sysdeps/unix/getppid.S: Remove file.
15432         * sysdeps/unix/mkdir.c: Remove file.
15433         * sysdeps/unix/rmdir.c: Likewise.
15435 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15437         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15438         ERR_MAX value.
15439         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15440         errlist-compat value.
15442 2012-04-18  David S. Miller  <davem@davemloft.net>
15444         * sysdeps/generic/memcopy.h (reg_char): Delete.
15445         * debug/strcat_chk.c: Use char, not reg_char.
15446         * debug/strcpy_chk.c: Likewise.
15447         * debug/strncat_chk.c: Likewise.
15448         * debug/strncpy_chk.c: Likewise.
15449         * string/memchr.c: Likewise.
15450         * string/memrchr.c: Likewise.
15451         * string/rawmemchr.c: Likewise.
15452         * string/strcat.c: Likewise.
15453         * string/strchr.c: Likewise.
15454         * string/strchrnul.c: Likewise.
15455         * string/strcmp.c: Likewise.
15456         * string/strcpy.c: Likewise.
15457         * string/strncat.c: Likewise.
15458         * string/strncmp.c: Likewise.
15459         * string/strncpy.c: Likewise.
15461 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15463         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15464         __builtin_memcopy is called when src and dest ranges are known to not
15465         overlap.
15467 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15469         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15470         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15471         fwd_align_merge macro call.
15472         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15473         bwd_align_merge macro call.
15474         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15476 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15478         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15479         bwd_align_merge macros.
15480         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15481         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15482         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15484 2012-04-18  David S. Miller  <davem@davemloft.net>
15486         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15488 2012-04-18  Andreas Jaeger  <aj@suse.de>
15490         [BZ# 6794]
15491         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15492         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15493         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15495         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15496         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15497         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15499         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15500         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15501         Adjust for changed ldbl-128 files.
15503         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15504         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15505         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15507 2012-04-17  David S. Miller  <davem@davemloft.net>
15509         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15511 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15513         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15514         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15515         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15516         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15517         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15518         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15520 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15522         [BZ #6794]
15523         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15524         * math/libm-test.inc: Add ilogb errno and exception tests.
15525         * math/w_ilogb.c: New file: ilogb wrapper.
15526         * math/w_ilogbf.c: New file: ilogbf wrapper.
15527         * math/w_ilogbl.c: New file: ilogbl wrapper.
15528         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15529         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15530         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15531         exception being thrown with 0.0 as argument.
15532         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15533         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15534         exception being thrown with 0.0 as argument.
15535         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15536         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15537         exception being thrown with 0.0 as argument.
15538         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15539         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15540         exception being thrown with 0.0 as argument.
15541         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15542         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15543         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15544         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15545         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15546         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15547         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15548         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15549         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15551 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15553         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15554         with altivec.
15556 2012-04-16  Marek Polacek  <polacek@redhat.com>
15558         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15560 2012-04-16  Marek Polacek  <polacek@redhat.com>
15562         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15563         operands of fdivp instruction.
15565 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15567         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15568         * elf/tst-auditmod3b.c: Likewise.
15569         * elf/tst-auditmod4b.c: Likewise.
15570         * elf/tst-auditmod5b.c: Likewise.
15571         * elf/tst-auditmod6b.c: Likewise.
15572         * elf/tst-auditmod6c.c: Likewise.
15573         * elf/tst-auditmod7b.c: Likewise.
15574         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15575         * sysdeps/x86_64/preconfigure.in: Likewise.
15576         * sysdeps/x86_64/preconfigure: Regenerated.
15578 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15580         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15581         __ILP32__.
15583 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
15585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15586         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15588 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
15590         [BZ #13973]
15591         * locale/iso-639.def: Fix gl language name. Spotted by
15592         Yaron Shahrabani.
15594 2012-04-12  Roland McGrath  <roland@hack.frob.com>
15596         [BZ #2074]
15597         * libio/libio.h (__io_write_fn): Update comment.
15599 2012-04-12  Petr Baudis  <pasky@ucw.cz>
15601         [BZ #2074]
15602         * stdio.texi (Hook Functions): The user provided writer function
15603         is not allowed to return -1.
15605 2012-04-11  David S. Miller  <davem@davemloft.net>
15607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15609 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
15611         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15612         Add a leading slash to rtkaio.
15614 2012-04-11  Jim Meyering  <meyering@redhat.com>
15616         [BZ #11959]
15617         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15618         It is not necessarily an error to ignore fwrite's return
15619         value.  One can reliably use ferror to test for errors after
15620         the fact.
15622 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15624         * bits/types.h (__snseconds_t): New type.
15625         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15627         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15628         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15629         (__SNSECONDS_T_TYPE): Likewise.
15630         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15631         (__SNSECONDS_T_TYPE): Likewise.
15632         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15633         (__SNSECONDS_T_TYPE): Likewise.
15635 2012-04-10  Andreas Jaeger  <aj@suse.de>
15637         [BZ #2636]
15638         * manual/time.texi (Processor Time): Return type of times is
15639         elapsed real time since an arbitrary point in the past.
15640         (CPU Time): Move CLK_TCK from here...
15641         (Processor Time): ...to here.  Correct description.
15642         * manual/conf.texi (Constants for Sysconf): Correct description of
15643         _SC_CLK_TCK.
15645 2012-04-10  David S. Miller  <davem@davemloft.net>
15647         [BZ #13967]
15648         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15649         where the is a gap between DT_REL(A) and DT_JMPREL.
15651 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15653         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15654         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15655         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15657 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15659         * elf/dl-support.c (_dl_inhibit_cache): New variable.
15660         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15661         (dl_main): Handle --inhibit-cache.
15662         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15663         _dl_inhibit_cache.
15664         * elf/dl-load.c (_dl_map_object): Use it.
15665         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15667 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15669         [BZ #13872]
15670         * sysdeps/i386/fpu/e_powl.S (p78): New object.
15671         (__ieee754_powl): Saturate large exponents rather than testing for
15672         overflow of y*log2(x).
15673         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15674         * math/libm-test.inc (pow_test): Do not permit spurious overflow
15675         exceptions.
15677         [BZ #11521]
15678         * math/s_ctan.c: Include <float.h>.
15679         (__ctan): Avoid internal overflow or cancellation in calculating
15680         denominator.
15681         * math/s_ctanf.c: Likewise.
15682         * math/s_ctanl.c: Likewise.
15683         * math/s_ctanh.c: Likewise.
15684         * math/s_ctanhf.c: Likewise.
15685         * math/s_ctanhl.c: Likewise.
15686         * math/libm-test.inc (ctan_test): Add more tests.
15687         (ctanh_test): Likewise.
15688         * sysdeps/i386/fpu/libm-test-ulps: Update.
15689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15691 2012-04-09  Andreas Jaeger  <aj@suse.de>
15693         [BZ #6894]
15694         * manual/filesys.texi (Directory Entries): Mention that d_namlen
15695         is an optional BSD extension.
15697         [BZ #10254]
15698         * manual/stdio.texi (Opening Streams): Document additional fopen
15699         parameters.
15701 2012-04-09  Roland McGrath  <roland@hack.frob.com>
15703         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15704         %eax without telling the compiler.
15706 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
15708         [BZ # 13963]
15709         * manual/install.texi: Use sourceware.org.
15711 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15713         [BZ #13873]
15714         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15715         (__ieee754_pow): Generate overflow and underflow using huge*huge
15716         and tiny*tiny rather than just returning constant infinity or zero
15717         for large exponents.
15718         * math/libm-test.inc (pow_test): Require overflow exceptions for
15719         applicable cases of large exponents.
15721         [BZ #706]
15722         * sysdeps/i386/fpu/e_pow.S (p10): New object.
15723         (__ieee754_pow): Use iterative multiplication algorithm only for
15724         integer exponents with absolute value below 1024.  Check for odd
15725         integer exponents when using algorithm for real exponents.
15726         * math/libm-test.inc (pow_test): Add more tests.
15727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15729 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
15731         [BZ #13705]
15732         * math/libm-test.inc (exp_test): Do not allow overflow exception
15733         on underflow test.
15735 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
15737         [BZ #13705]
15738         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15739         instead of __kernel_standard_f.
15741 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
15743         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15744         * sysdeps/x86_64/memset_chk.S: Likewise.
15746 2012-04-08  Andreas Jaeger  <aj@suse.de>
15748         [BZ #10153]
15749         * manual/startup.texi (Environment Access): Describe return value
15750         for putenv and setenv.
15752         [BZ #6895]
15753         * manual/filesys.texi (Directory Entries): Add description for
15754         DT_LNK.
15756         [BZ #6890]
15757         * manual/filesys.texi (Directory Entries): Clarify that it's file
15758         system not operating system in the description of DT_UNKNOWN.
15760         [BZ #6578]
15761         * manual/syslog.texi (closelog): Fix reference, it's openlog.
15763 2012-04-08  Stephen Compall  <s11@member.fsf.org>
15765         [BZ #6649]
15766         * manual/llio.texi (Opening and Closing Files): Add cross
15767         reference to explain mode argument.
15769 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
15771         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15772         * sysdeps/x86_64/memset_chk.S: Likewise.
15774 2012-04-07  David S. Miller  <davem@davemloft.net>
15776         * elf/elf.h (R_SPARC_WDISP10): Define.
15777         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15778         R_SPARC_SIZE32.
15779         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15780         R_SPARC_SIZE64 and R_SPARC_H34.
15782 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
15784         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15785         conditions and remove no longer applicable assertion.
15787 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15789         * bits/byteswap.h: Include <features.h>.
15790         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15791         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15793 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15795         * bits/byteswap.h (__bswap_16): Removed.
15796         Include <bits/byteswap-16.h> to get __bswap_16.
15797         * sysdeps/i386/bits/byteswap.h: Likewise.
15798         * sysdeps/s390/bits/byteswap.h: Likewise.
15799         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15800         * bits/byteswap-16.h: New file.
15801         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15802         * sysdeps/s390/bits/byteswap-16.h: Likewise.
15803         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15804         * string/Makefile (headers): Add bits/byteswap-16.h.
15806 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15808         [BZ #13895]
15809         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15810         extra indirection.
15811         * nss/Makefile (tests-static, tests): Add tst-nss-static.
15812         * nss/tst-nss-static.c: New.
15814 2012-04-06  Robert Millan  <rmh@gnu.org>
15816         [BZ #6486]
15817         * manual/llio.texi (File Position Primitive): lseek
15818         refers to WHENCE when it really means OFFSET.
15820 2012-04-06  Andreas Jaeger  <aj@suse.de>
15822         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15823         strncmp declarations.
15825         * abilist/libc.abilist: Add __poll and __ppoll.
15827 2012-04-05  David S. Miller  <davem@davemloft.net>
15829         * scripts/check-local-headers.sh: Accept a host triplet in the
15830         path matched by the exclude regexp.
15832         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15833         definition.
15834         * sysdeps/powerpc/powerpc32/dl-machine.h
15835         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15836         * sysdeps/s390/s390-32/dl-machine.h
15837         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15838         * sysdeps/sparc/sparc32/dl-machine.h
15839         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15840         * sysdeps/sparc/sparc64/dl-machine.h
15841         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15843         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15844         lazy binding.
15845         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15846         undefined symbol errors.
15848         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15849         DT_NEEDED entries.
15851 2012-04-05  Michael Matz  <matz@suse.de>
15853         [BZ #13592]
15854         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15856 2012-04-05  Andreas Jaeger  <aj@suse.de>
15858         [BZ #13908]
15859         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15860         comment.
15862 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15864         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15865         which ROUND is no valid rounding mode.
15867 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15869         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15870         read again.
15871         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15873 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15875         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15876         an exception using FPU order intentionally.
15878 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15880         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15881         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15882         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15883         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15885 2012-04-05  Simon Josefsson  <simon@josefsson.org>
15887         [BZ #12340]
15888         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15889         EINVAL when BUFLEN is too smal.
15891 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15893         [BZ #13553]
15894         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15895         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15897 2012-04-03  Andreas Jaeger  <aj@suse.de>
15899         [BZ #13938]
15900         * manual/setjmp.texi (System V contexts): Fix sentence.
15902         [BZ #13926]
15903         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15904         New macro for this case.
15905         [!__GNUC__] (__bswap_64): New inline function for this case.
15906         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15907         * bits/byteswap.h: Likewise.
15908         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15909         ull, guard with __GLIBC_HAVE_LONG_LONG.
15911         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15912         __GLIBC_HAVE_LONG_LONG.
15914         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15915         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15917 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15919         [BZ #13691]
15920         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15921         inptr and inend, rather than using last_ch.
15923 2012-04-02  David S. Miller  <davem@davemloft.net>
15925         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15926         * stdio-common/printf-parse.h (read_int): Change return type to
15927         'int', return -1 on INT_MAX overflow.
15928         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15929         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
15930         overflows INT_MAX.  Check for overflow of in-format-string precision
15931         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
15932         SIZE_MAX not INT_MAX for integer overflow test.
15933         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15934         skip the construct in the format string but do not record anything.
15935         * stdio-common/bug22.c: Adjust to test both width/prevision
15936         INT_MAX overflow as well as total length INT_MAX overflow.  Check
15937         explicitly for proper errno values.
15939 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15941         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15942         CHAR_MAX.
15943         * string/test-strcmp.c [! WIDE]: Likewise.
15944         * time/tst-mktime2.c: Likewise for INT_MAX.
15945         * string/test-string.h: #include <sys/param.h> for MIN.
15947         * csu/init-first.c (__libc_init_first): Call __ctype_init.
15948         * sysdeps/i386/init-first.c (init): Likewise.
15949         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15950         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15951         * sysdeps/sh/init-first.c (init): Likewise.
15953 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
15955         * po/ru.po: Update from translation team.
15956         * po/vi.po: Likewise.
15958 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15960         * resolv/nss_dns/dns-host.c: Merge copyright years.
15962 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15964         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15965         Optimize memcpy with prefetch if
15966         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
15967         src, dst pointers have unequal 16 byte alignments.
15969 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15971         [BZ #13928]
15972         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15973         from a CNAME entry and return the minimum ttl for the query.
15974         (gaih_getanswer_slice): Likewise.
15976 2012-03-30  Jeff Law  <law@redhat.com>
15978         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15979         due to long keys.
15980         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15981         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15983         * resolv/nss_dns/dns-host.c: Update copyright year.
15985 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
15987         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15988         requests to save a system call.  Fix check that all bytes are sent.
15990         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15991         comments for sendmmsg.
15993 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15995         [BZ #13691]
15996         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15997         with only 1 character between 0x0041 and 0x01b0.
15998         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15999         * wcsmbs/tst-mbsnrtowcs.c: New file.
16001 2012-03-29  David S. Miller  <davem@davemloft.net>
16003         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16004         small copies by hand.
16006 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16008         [BZ #13761]
16009         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16010         _nss_compat_initgroups_dyn): Fall back to malloc/free
16011         for large group memberships.
16013 2012-03-28  David S. Miller  <davem@davemloft.net>
16015         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16016         that branches into memcpy.
16017         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16018         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16019         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16020         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16022         bits.
16023         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16024         implementation too.
16025         * sysdeps/sparc/mempcpy.S: New file.
16027         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16028         the IFUNC routine in the libc case.
16029         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16031         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16032         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16033         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16034         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16035         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16036         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16037         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16038         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16040         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16041         loop to 256 bytes instead of 64 bytes and fix test signedness.
16043         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16044         * sysdeps/sparc/sparc32/Makefile: rather than here...
16045         * sysdeps/sparc/sparc64/Makefile: and here.
16047 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16049         * malloc/mallocbug.c: Avoid warnings about unused variables.
16051 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16053         [BZ #13760]
16054         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16055         in the right place. Discard and retry query if response is
16056         larger than input buffer size.
16058 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16060         [BZ #369]
16061         [BZ #2678]
16062         [BZ #3866]
16063         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16064         x for large integer exponent.
16065         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16066         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16067         sign of result as needed afterwards.
16068         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16069         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16070         result for underflowing pow the same as for overflow.
16071         (__kernel_standard_l): Handle powl overflow and underflow here
16072         rather than calling __kernel_standard.
16073         * math/libm-test.inc (pow_test): Add more tests.
16075         [BZ #3868]
16076         [BZ #13879]
16077         [BZ #13910]
16078         [BZ #13911]
16079         [BZ #13912]
16080         [BZ #13913]
16081         [BZ #13915]
16082         [BZ #13916]
16083         [BZ #13917]
16084         [BZ #13918]
16085         [BZ #13919]
16086         [BZ #13920]
16087         [BZ #13921]
16088         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16089         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16090         (__kernel_standard_l): New function.
16091         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16092         __kernel_standard.
16093         * math/w_acosl.c (__acosl): Likewise.
16094         * math/w_asinl.c (__asinl): Likewise.
16095         * math/w_atan2l.c (__atan2l): Likewise.
16096         * math/w_atanhl.c (__atanhl): Likewise.
16097         * math/w_coshl.c (__coshl): Likewise.
16098         * math/w_exp10l.c (__exp10l): Likewise.
16099         * math/w_exp2l.c (__exp2l): Likewise.
16100         * math/w_fmodl.c (__fmodl): Likewise.
16101         * math/w_hypotl.c (__hypotl): Likewise.
16102         * math/w_j0l.c (__j0l, __y0l): Likewise.
16103         * math/w_j1l.c (__j1l, __y1l): Likewise.
16104         * math/w_jnl.c (__jnl, __ynl): Likewise.
16105         * math/w_lgammal.c (__lgammal): Likewise.
16106         * math/w_log10l.c (__log10l): Likewise.
16107         * math/w_log2l.c (__log2l): Likewise.
16108         * math/w_logl.c (__logl): Likewise.
16109         * math/w_powl.c (__powl): Likewise.
16110         * math/w_remainderl.c (__remainderl): Likewise.
16111         * math/w_scalbl.c (sysv_scalbl): Likewise.
16112         * math/w_sinhl.c (__sinhl): Likewise.
16113         * math/w_sqrtl.c (__sqrtl): Likewise.
16114         * math/w_tgammal.c (__tgammal): Likewise.
16115         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16116         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16117         * math/libm-test.inc (acos_test): Add more tests.
16118         (acosh_test): Likewise.
16119         (asin_test): Likewise.
16120         (atanh_test): Likewise.
16121         (exp_test): Likewise.
16122         (exp10_test): Likewise.
16123         (exp2_test): Likewise.
16124         (expm1_test): Likewise.
16125         (lgamma_test): Likewise.
16126         (log_test): Likewise.
16127         (log10_test): Likewise.
16128         (log1p_test): Likewise.
16129         (log2_test): Likewise.
16130         (pow_test): Do not allow some spurious overflow exceptions.
16131         (sqrt_test): Add more tests.
16132         (tgamma_test): Likewise.
16133         (y0_test): Likewise.
16134         (y1_test): Likewise.
16135         (yn_test): Likewise.
16137 2012-03-27  Anton Blanchard  <anton@samba.org>
16139         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16140         MAP_HUGETLB.
16141         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16142         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16143         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16145 2012-03-27  David S. Miller  <davem@davemloft.net>
16147         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16149         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16150         have-as-vis3 check.
16152 2012-03-27  Andreas Jaeger  <aj@suse.de>
16154         * sysdeps/x86_64/elf/configure.in: Moved to ...
16155         * sysdeps/x86_64/configure.in: ... here.
16156         * sysdeps/x86_64/elf/start.S: Moved to ...
16157         * sysdeps/x86_64/start.S: ... here.
16158         * sysdeps/x86_64/elf/configure: Delete.
16160         * sysdeps/x86_64/configure.in: Merge contents from
16161         sysdeps/i386/configure.in (without i686 check).
16163         * sysdeps/i386/elf/Versions: Merge into ...
16164         * sysdeps/i386/Versions: ... this.
16165         * sysdeps/i386/elf/Versions: Delete file.
16166         * sysdeps/i386/elf/start.S: Moved to ...
16167         * sysdeps/i386/start.S: ...here.
16168         * sysdeps/i386/elf/configure.in: Merge into...
16169         * sysdeps/i386/configure.in: ...here.
16170         * sysdeps/i386/elf/configure.in: Delete file.
16171         * sysdeps/i386/elf/configure: Delete file.
16173         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16174         * debug/backtracesyms.c: ... here.
16175         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16176         * debug/backtracesymsfd.c: ... here.
16177         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16178         * sysdeps/generic/ifunc-sel.h: ... here.
16180         * sysdeps/unix/i386/start.c: Delete file.
16181         * sysdeps/unix/sparc/start.c: Delete file.
16182         * sysdeps/unix/start.c: Delete file.
16184         * sysdeps/sh/elf/configure.in: Moved to ...
16185         * sysdeps/sh/configure.in: ... here.
16186         * sysdeps/sh/elf/start.S: Moved to ...
16187         * sysdeps/sh/start.S: ... here.
16188         * sysdeps/sh/elf/configure: Delete file.
16190         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16191         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16192         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16193         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16194         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16195         * sysdeps/powerpc/powerpc64/start.S: here.
16196         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16197         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16198         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16199         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16200         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16202         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16203         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16204         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16205         * sysdeps/powerpc/powerpc32/start.S: ... here.
16206         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16207         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16208         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16210         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16211         * sysdeps/powerpc/ifunc-sel.h: ... here.
16212         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16213         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16215         * sysdeps/sparc/elf/configure.in: Moved to ...
16216         * sysdeps/sparc/configure.in: ... here.
16217         * sysdeps/sparc/elf/configure: Delete file.
16218         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16219         * sysdeps/sparc/sparc32/start.S: ... here.
16220         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16221         * sysdeps/sparc/sparc64/start.S: ... here.
16222         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16223         * sysdeps/sparc/sparc32/Makefile: ... this.
16224         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16225         * sysdeps/sparc/sparc64/Makefile: ... this.
16227         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16228         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16229         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16230         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16231         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16232         * sysdeps/s390/s390-32/setjmp.S: ... here.
16233         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16234         * sysdeps/s390/s390-32/configure.in: ... here.
16235         * sysdeps/s390/s390-32/elf/configure: Delete file.
16236         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16237         * sysdeps/s390/s390-32/start.S: ... here.
16239         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16240         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16241         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16242         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16243         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16244         * sysdeps/s390/s390-64/setjmp.S: ... here.
16245         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16246         * sysdeps/s390/s390-64/configure.in: ... here
16247         * sysdeps/s390/s390-64/elf/configure: Delete file.
16248         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16249         * sysdeps/s390/s390-64/start.S: ... here.
16250         * sysdeps/s390/s390-64/elf/configure: Delete.
16252         * configure.in: Remove support for elf directories in sysdeps.
16254         * configure: Regenerated.
16255         * sysdeps/i386/configure: Regenerated.
16256         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16257         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16258         * sysdeps/s390/s390-32/configure: Regenerated.
16259         * sysdeps/s390/s390-64/configure: Regenerated.
16260         * sysdeps/sh/configure: Regenerated.
16261         * sysdeps/sparc/configure: Regenerated.
16262         * sysdeps/x86_64/configure: Regenerated.
16264 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16268         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16269         denormal result into account.
16271 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16273         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16274         Reported by Allan McRae <allan@archlinux.org>.
16276 2012-03-23  Jeff Law  <law@redhat.com>
16278         * nss/getnssent.c (__nss_getent): Fix typo.
16280 2012-03-23  David S. Miller  <davem@davemloft.net>
16282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16284 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16286         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16287         to pad to uint64_t for each field.
16288         (dl_tls_index): Replace unsigned long with uint64_t.
16290 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16291         Paul Pluzhnikov  <ppluzhnikov@google.com>
16293         [BZ #6528]
16294         * grp/Makefile (otherlibs): Don't set it.
16295         * inet/Makefile (otherlibs): Likewise.
16296         * login/Makefile (otherlibs): Likewise.
16297         * nscd/Makefile (otherlibs): Likewise.
16298         * posix/Makefile (otherlibs): Likewise.
16299         * pwd/Makefile (otherlibs): Likewise.
16300         * rt/Makefile (otherlibs): Likewise.
16301         * sunrpc/Makefile (otherlibs): Likewise.
16302         * nss/Makefile (otherlibs): Likewise.
16303         Add libnss_files to routines and static-only-routines.
16304         ($(objpfx)getent): Remove rule.
16305         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16306         static-only-routines.
16308 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16310         [BZ #13892]
16311         * math/s_cexp.c: Include <float.h>.
16312         (__cexp): Handle exp result overflowing not necessarily
16313         overflowing both real and imaginary parts of result.
16314         * math/s_cexpf.c: Likewise.
16315         * math/s_cexpl.c: Likewise.
16316         * math/libm-test.inc (cexp_test): Add more tests.
16317         * sysdeps/i386/fpu/libm-test-ulps: Update.
16318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16320 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16322         * include/link.h (ELFW): New macro.
16323         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16324         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16326 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16328         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16329         with uint64_t.
16331 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16333         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16334         declaration.
16335         (struct La_x32_retval): Likewise.
16337 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16339         * sysdeps/x86_64/preconfigure.in: New file.
16340         * sysdeps/x86_64/preconfigure: New generated file.
16342 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16344         [BZ #13824]
16345         * math/e_exp2l.c: Include <float.h>.
16346         (__ieee754_exp2l): Handle overflow and underflow cases
16347         separately.  Only pass fractional part of argument to
16348         __ieee754_expl.
16349         * math/libm-test.inc (exp2_test): Add more tests.
16351         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16352         negating x to take absolute value.
16353         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16354         Likewise.
16355         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16356         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16357         Likewise.
16358         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16359         computing low part if x was negated.
16360         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16362 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16364         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16365         la_x32_gnu_pltexit.
16366         (pltexit): Cast int_retval to ptrdiff_t.
16367         * elf/tst-auditmod3b.c: Likewise.
16368         * elf/tst-auditmod4b.c: Likewise.
16369         * elf/tst-auditmod5b.c: Likewise.
16370         * elf/tst-auditmod6b.c: Likewise.
16371         * elf/tst-auditmod6c.c: Likewise.
16372         * elf/tst-auditmod7b.c: Likewise.
16374         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16375         and x32_gnu_pltexit.
16377         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16378         __ELF_NATIVE_CLASS.
16379         (La_x32_regs): New macro.
16380         (La_x32_retval): Likewise.
16381         (la_x32_gnu_pltenter): New function prototype.
16382         (la_x32_gnu_pltexit): Likewise.
16384 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16386         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16387         exponent.
16389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16391         * configure.in (libc_cv_cc_nofma): Check for option to disable
16392         generation of FMA instructions.
16393         * configure: Regenerate.
16394         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16395         * sysdeps/ieee754/dbl-64/Makefile: New file.
16396         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16397         Remove brandred-fma4.
16398         (CFLAGS-brandred-fma4.c): Remove.
16399         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16400         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16401         define.
16402         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16403         define.
16405 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16407         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16408         LLONG_MAX != LONG_MAX.
16409         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16410         (_fitoa_word): Likewise.
16411         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16412         LLONG_MAX != LONG_MAX.
16413         * stdio-common/_itowa.h: Include <_itoa.h>.
16414         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16415         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16416         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16417         only if not defined.
16418         (_ITOA_WORD_TYPE): Likewise.
16419         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16420         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16422 2012-03-21  David S. Miller  <davem@davemloft.net>
16424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16426 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16428         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16429         of x86_64 when setting libc_cv_slibdir, libdir and
16430         libc_cv_localedir.
16431         * sysdeps/unix/sysv/linux/configure: Regenerated.
16433 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16435         * manual/lang.texi (Old Varargs): Remove section.
16436         (How Variadic): Update menu.
16437         (va_start): Do not mention varargs.h.
16439 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16440             Joseph Myers  <joseph@codesourcery.com>
16442         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16443         link test.
16444         * configure: Regenerated.
16446 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16448         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16449         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16450         conformtest.pl
16452 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16454         * NOTES: Remove.
16455         * Makefile (files-for-dist): Remove NOTES.
16456         (NOTES): Remove rule.
16457         * README: Don't refer to NOTES.
16458         * manual/creature.texi: Don't include macros.texi.
16459         * manual/intro.texi (creature.texi): Remove comment referring to
16460         NOTES.
16462         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16463         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16464         * configure: Regenerated.
16465         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16466         LIBC_TRY_CC_OPTION.
16467         (libc_cv_as_i686): Likewise.
16468         (libc_cv_cc_avx): Likewise.
16469         (libc_cv_cc_sse2avx): Likewise.
16470         (libc_cv_cc_fma4): Likewise.
16471         (libc_cv_cc_novzeroupper): Likewise.
16472         * sysdeps/i386/configure: Regenerated.
16474         [BZ #13883]
16475         * sysdeps/i386/fpu/s_cexp.S: Remove.
16476         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16477         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16478         * math/libm-test.inc (cexp_test): Add more tests.
16479         * sysdeps/i386/fpu/libm-test-ulps: Update.
16480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16482 2012-03-21  Allan McRae  <allan@archlinux.org>
16484         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16486 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16488         [BZ #13871]
16489         * math/w_exp2.c: Do not include <float.h>.
16490         (o_threshold, u_threshold): Remove.
16491         (__exp2): Calculate result before checking finiteness and calling
16492         __kernel_standard.
16493         * math/w_exp2f.c: Likewise.
16494         * math/w_exp2l.c: Likewise.
16495         * math/libm-test.inc (exp2_test): Require overflow exception for
16496         1e6 input.
16498         [BZ #3866]
16499         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16500         range of signed 64-bit integers before using fistpll.  Remove
16501         checks for whether integers fit in mantissa bits.
16502         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16503         the range of signed 32-bit integers before using fistpl.  Remove
16504         checks for whether integers fit in mantissa bits.
16505         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16506         (__ieee754_powl): Test for y outside the range of signed 64-bit
16507         integers before using fistpll.  Reduce 64-bit values to 63-bit
16508         ones as needed.
16509         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16510         divide-by-zero is raised for zero to large negative powers.
16511         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16512         (__ieee754_powl): Test for y outside the range of signed 64-bit
16513         integers before using fistpll.  Reduce 64-bit values to 63-bit
16514         ones as needed.
16515         * math/libm-test.inc (pow_test): Add more tests.
16517 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16519         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16520         <stdio-common/_itoa.h>.
16521         * debug/segfault.c: Likewise.
16522         * elf/dl-cache.c: Likewise.
16523         * elf/dl-minimal.c: Likewise.
16524         * elf/dl-misc.c: Likewise.
16525         * elf/dl-sysdep.c: Likewise.
16526         * elf/dl-version.c: Likewise.
16527         * elf/rtld.c: Likewise.
16528         * hurd/hurdsock.c: Likewise.
16529         * hurd/lookup-retry.c: Likewise.
16530         * malloc/malloc.c: Likewise.
16531         * malloc/mtrace.c: Likewise.
16532         * nscd/nscd_getgr_r.c: Likewise.
16533         * nscd/nscd_getpw_r.c: Likewise.
16534         * nscd/nscd_getserv_r.c: Likewise.
16535         * posix/getopt_init.c: Likewise.
16536         * posix/wordexp.c: Likewise.
16537         * stdio-common/_itoa.c: Likewise.
16538         * stdio-common/printf_fphex.c: Likewise.
16539         * stdio-common/vfprintf.c: Likewise.
16540         * string/_strerror.c: Likewise.
16541         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16542         * sysdeps/i386/i686/hp-timing.h: Likewise.
16543         * sysdeps/mach/_strerror.c: Likewise.
16544         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16545         * sysdeps/mach/hurd/sethostid.c: Likewise.
16546         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16547         * sysdeps/mach/xpg-strerror.c: Likewise.
16548         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16549         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16550         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16551         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16552         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16553         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16554         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16555         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16556         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16557         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16558         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16559         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16560         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16561         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16562         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16563         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16564         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16565         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16566         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16567         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16568         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16570         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16572         * stdio-common/_itoa.h: Moved to ...
16573         * sysdeps/generic/_itoa.h: Here.
16575         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16577         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16578         instead of "_itoa.h" and "_itowa.h".
16579         * stdio-common/vfprintf.: Likewise.
16581 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16583         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16584         <bits/wordsize.h>.
16585         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16586         (__signbit): Likwise.
16587         (llrintf): Likwise.
16588         (llrint): Likwise.
16590 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16592         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16593         __WORDSIZE != 64.
16595 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
16597         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16598         OVERFLOW_EXCEPTION_OK.
16599         * math/libm-test.inc ("Philosophy"): Update comment about
16600         exception testing.
16601         (OVERFLOW_EXCEPTION): Define.
16602         (OVERFLOW_EXCEPTION_OK): Likewise.
16603         (INVALID_EXCEPTION_OK): Renumber.
16604         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16605         (IGNORE_ZERO_INF_SIGN): Likewise.
16606         (test_exceptions): Handle FE_OVERFLOW.
16607         (exp10_test): Expect overflow exceptions.
16608         (exp2_test): Likewise.
16609         (expm1_test): Likewise.
16610         (nextafter_test): Likewise.
16611         (pow_test): Likewise.
16612         (scalbn_test): Likewise.
16613         (scalbln_test): Likewise.
16615 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16617         * sysdeps/x86_64/bits/atomic.h
16618         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16619         64bit integer.
16620         (atomic_exchange_acq): Likewise.
16621         (__arch_exchange_and_add_body): Likewise.
16622         (__arch_add_body): Likewise.
16623         (atomic_add_negative): Likewise.
16624         (atomic_add_zero): Likewise.
16626 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16628         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16629         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16631 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16633         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16634         Check __x86_64__ instead of __WORDSIZE.
16636 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16638         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16640 2012-03-19  David S. Miller  <davem@davemloft.net>
16642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16644         * sysdeps/sparc/fpu/fenv_private.h: New file.
16645         * sysdeps/sparc/fpu/math_private.h: Use it.
16646         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16647         Remove.
16648         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16649         (libc_feholdexcept_setroundl): Remove.
16650         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16651         Remove.
16652         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16653         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16655 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16657         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16658         int64_t instead of long int.
16659         (INSERT_WORDS64): Likwise.
16661 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16663         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16664         _Unwind_GetCFA return to _Unwind_Ptr first.
16666 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
16668         [BZ #13629]
16669         * math/s_clog.c: Include <float.h>.
16670         (__clog): Scale large or subnormal inputs.
16671         * math/s_clogf.c: Likewise.
16672         * math/s_clogl.c: Likewise.
16673         * math/s_clog10.c: Include <float.h>.
16674         (M_LOG10_2): Define.
16675         (__clog10): Scale large or subnormal inputs.
16676         * math/s_clog10f.c: Likewise.
16677         * math/s_clog10l.c: Likewise.
16678         * math/libm-test.inc (clog_test): Add more tests.
16679         (clog10_test): Likewise.
16680         * sysdeps/i386/fpu/libm-test-ulps: Update.
16681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16683         [BZ #11451]
16684         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16685         x and y.
16686         * math/libm-test.inc (atan2_test): Add another test.
16688         * Makerules (common-objdir-compile): Remove.
16689         * sysdeps/unix/Makefile (config-generated): Do not add
16690         $(unix-generated) to variable.
16691         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16692         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16693         Remove rule.
16694         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16695         Likewise.
16696         [generic bits/local_lim.h] (before-compile): Do not append to
16697         variable.
16698         [generic bits/local_lim.h] (common-generated): Likewise.
16699         [generic sys/param.h] (before-compile): Do not append to variable.
16700         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16701         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16702         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16703         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16704         include.
16705         [generic sys/param.h] (sys/param.h-includes): Remove variable.
16706         [generic sys/param.h] (sys/param.h-includes): Remove rule.
16707         [generic sys/param.h] ($(addprefix
16708         $(common-objpfx),$(sys/param.h-includes))): Likewise.
16709         [generic sys/param.h] (common-generated): Do not append to
16710         variable.
16711         [generic sys/param.h] (sysdep_headers): Likewise.
16712         [generic bits/errno.h] (before-compile): Do not append to
16713         variable.
16714         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16715         rule.
16716         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16717         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16718         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16719         [generic bits/errno.h] (common-generated): Do not append to
16720         variable.
16721         [generic bits/ioctls.h] (before-compile): Do not append to
16722         variable.
16723         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16724         rule.
16725         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16726         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16727         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16728         rule.
16729         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16730         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16731         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16732         [generic bits/ioctls.h] (common-generated): Do not append to
16733         variable.
16734         [generic sys/syscall.h] (syscall.h): Remove variable.
16735         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16736         rule.
16737         [generic sys/syscall.h] (before-compile): Do not append to
16738         variable.
16739         [generic sys/syscall.h] (common-generated): Likewise.
16740         * sysdeps/unix/errnos-tmpl.c: Remove file.
16741         * sysdeps/unix/errnos.awk: Likewise.
16742         * sysdeps/unix/ioctls-tmpl.c: Likewise.
16743         * sysdeps/unix/ioctls.awk: Likewise.
16744         * sysdeps/unix/mk-local_lim.c: Likewise.
16745         * sysdeps/unix/snarf-ioctls: Likewise.
16747 2012-03-19  Richard Henderson  <rth@twiddle.net>
16749         * sysdeps/i386/fpu/fenv_private.h: New file.
16750         * sysdeps/i386/fpu/math_private.h: Use it.
16751         (math_opt_barrier, math_force_eval): Remove.
16752         (libc_feholdexcept_setround_53bit): Remove.
16753         (libc_feupdateenv_53bit): Remove.
16754         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16755         (math_opt_barrier, math_force_eval): Remove.
16756         (libc_feholdexcept): Remove.
16757         (libc_feholdexcept_setround): Remove.
16758         (libc_fetestexcept, libc_fesetenv): Remove.
16759         (libc_feupdateenv_test): Remove.
16760         (libc_feupdateenv, libc_feholdsetround): Remove.
16761         (libc_feresetround): Remove.
16763         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16764         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16766         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16767         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16768         (libc_feupdateenv_testl): New.
16769         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16770         (libc_feupdateenv_testf): New.
16771         (libc_feupdateenv): Use libc_feupdateenv_test.
16772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16773         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16775         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16776         (libc_feholdsetroundf, libc_feholdsetroundl): New.
16777         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16778         (libc_feresetround_noex): New.
16779         (libc_feresetround_noexf): New.
16780         (libc_feresetround_noexl): New.
16781         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16782         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16783         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16784         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16785         SET_RESTORE_ROUND.
16786         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16787         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16788         (__cos): Likewise.
16789         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16790         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16791         SET_RESTORE_ROUND_NOEX.
16792         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16793         SET_RESTORE_ROUND_NOEXF.
16794         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16795         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16796         (libc_feholdsetroundf): New.
16797         (libc_feresetround, libc_feresetroundf): New.
16799         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16800         (libc_feholdexcept_setround_53bit): Convert from macro to function.
16801         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
16803         * sysdeps/generic/math_private.h: Include <fenv.h>.
16804         (default_libc_feholdexcept): New.
16805         (default_libc_feholdexcept_setround): New.
16806         (default_libc_fesetenv, default_libc_feupdateenv): New.
16807         (libc_feholdexcept): Only define if undefined.
16808         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16809         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16810         (libc_feholdexcept_setroundl): Likewise.
16811         (libc_feholdexcept_setround_53bit): Likewise.
16812         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16813         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16814         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16815         (libc_feupdateenv_53bit): Likewise.
16816         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16817         (libc_feholdexcept): Convert from macro to inline function.
16818         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16819         (libc_fesetenv, libc_feupdateenv): Likewise.
16821         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16822         not previously defined.
16823         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16824         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16825         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16826         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16827         * sysdeps/ieee754/flt-32/math_private.h: New file.
16828         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16829         math_private.h below SET_FLOAT_WORD.
16830         (__isnan, __isinf_ns, __finite): Remove.
16831         (__isnanf, __isinf_nsf, __finitef): Remove.
16833 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
16835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16837 2012-03-17  David S. Miller  <davem@davemloft.net>
16839         [BZ #6471]
16840         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16841         for 2.16.
16843 2012-03-16  David S. Miller  <davem@davemloft.net>
16845         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16846         warnings.
16848         [BZ #6471]
16849         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16850         properly.
16851         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16852         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16853         sysdep_routines when subdir is sysvipc.
16854         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16855         __getshmlba helper.
16857         * sysdeps/sparc/fpu/libm-test/ulps: Update.
16859 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16861         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16862         [__LP64__].
16864 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16866         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16867         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16868         (__lround): Renamed to ...
16869         (__llround): This.  Replace long int with long long int.
16870         Define lround functions as aliases of llround functions.
16871         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16873 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16875         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16876         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
16877         adresses to uintptr_t.  Replace "long int" and "unsigned long
16878         int" with "greg_t" on va_arg.
16880 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16882         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16883         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16885         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16886         Move e_machine check before EI_CLASS check.  Handle x32
16887         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16888         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16889         SKIP_EM_IA_64 and include
16890         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16892         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16893         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16894         (add_system_dir): New macro.
16896         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16897         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16899 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16901         [BZ #2551]
16902         [BZ #2552]
16903         [BZ #2553]
16904         [BZ #2554]
16905         [BZ #2562]
16906         [BZ #2563]
16907         [BZ #2565]
16908         [BZ #2566]
16909         [BZ #2576]
16910         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16911         (y0): Likewise.
16912         * math/w_j0f.c (j0f): Likewise.
16913         (y0f): Likewise.
16914         * math/w_j0l.c (__j0l): Likewise.
16915         (__y0l): Likewise.
16916         * math/w_j1.c (j1): Likewise.
16917         (y1): Likewise.
16918         * math/w_j1f.c (j1f): Likewise.
16919         (y1f): Likewise.
16920         * math/w_j1l.c (__j1l): Likewise.
16921         (__y1l): Likewise.
16922         * math/w_jn.c (jn): Likewise.
16923         (yn): Likewise.
16924         * math/w_jnf.c (jnf): Likewise.
16925         (ynf): Likewise.
16926         * math/w_jnl.c (__jnl): Likewise.
16927         (__ynl): Likewise.
16928         * math/libm-test.inc (j0_test): Add more tests.
16929         (j1_test): Likewise.
16930         (jn_test): Likewise.  Add trailing semicolon to existing test.
16931         (y0_test): Likewise.
16932         (y1_test): Likewise.
16933         * sysdeps/i386/fpu/libm-test-ulps: Update.
16934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16936         [BZ #13851]
16937         [BZ #13854]
16938         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16939         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16940         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16941         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16942         (__tanl): Set errno for infinite argument.
16943         * sysdeps/i386/fpu/mptan.c: Remove.
16944         * sysdeps/i386/fpu/s_tan.S: Likewise.
16945         * sysdeps/i386/fpu/s_tanl.S: Likewise.
16946         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16947         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16948         * math/libm-test.inc (tan_test): Add more tests and enable more
16949         tests for double and long double.
16950         * sysdeps/i386/fpu/libm-test-ulps: Update.
16951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16953 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16955         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16956         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16958 2012-03-16  Roland McGrath  <roland@hack.frob.com>
16960         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16961         * configure.in: Use it for both main tree and add-ons.
16962         * configure: Regenerated.
16964 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16966         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16968 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16970         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16971         in comment.
16973         [BZ #13851]
16974         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16975         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16976         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16977         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16978         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16979         infinite argument.
16980         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16981         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16982         != 0 for prec == 2.
16983         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16984         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16985         * sysdeps/i386/fpu/s_cosl.S: Likewise.
16986         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16987         * sysdeps/i386/fpu/s_sinl.S: Likewise.
16988         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16989         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16990         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16991         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16992         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16993         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16994         * math/libm-test.inc (cos_test): Add more tests and enable more
16995         tests for long double.
16996         (sin_test): Likewise.
16997         (sincos_test): Likewise.
16998         * sysdeps/i386/fpu/libm-test-ulps: Update.
16999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17001 2012-03-16  David S. Miller  <davem@davemloft.net>
17003         * sysdeps/sparc/fpu/math_private.h: New file.
17005 2012-03-15  David S. Miller  <davem@davemloft.net>
17007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17008         file.
17009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17011         file.
17012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17017         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17018         sysdep routines.
17019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17021         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17022         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17024         * sysdeps/sparc/sparc-ifunc.h: New file.
17025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17026         sparc-ifunc.h
17027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17029         Likewise.
17030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17031         Likewise.
17032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17036         Likewise.
17037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17042         Likewise.
17043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17044         Likewise.
17045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17051         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17052         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17053         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17054         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17063         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17064         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17065         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17066         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17067         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17068         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17070 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17072         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17073         scaling.
17074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17076 2012-03-15  Andreas Jaeger  <aj@suse.de>
17078         [BZ #13852]
17079         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17080         ieee754/flt-32 implementation for sin, cos and sincos.
17081         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17082         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17083         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17084         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17085         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17086         ieee754/flt-32 implementation for tan.
17088         * math/libm-test.inc (cos_test): Enable some large input tests for
17089         float as well
17090         (sin_test): Likewise.
17091         (sincos_test): Likewise.
17092         (tan_test): Add tests for large input.
17094         * sysdeps/i386/fpu/libm-test-ulps: Update.
17096 2012-03-15  Andreas Jaeger  <aj@suse.de>
17098         [BZ #13658]
17099         * math/libm-test.inc (cos_test): Add more test cases.
17100         (sin_test): Likewise.
17101         (sincos_test): Likewise.
17103 2012-03-15  Andreas Jaeger  <aj@suse.de>
17105         [BZ #13837]
17106         * math/libm-test.inc (cos_test): Add a test case for large input
17107         value.
17108         (sin_test): Likewise.
17109         (sincos_test): Likewise.
17111 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17112         Joseph Myers  <joseph@codesourcery.com>
17114         [BZ #13658]
17115         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17116         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17117         * sysdeps/i386/fpu/branred.c: Likewise.
17118         * sysdeps/i386/fpu/dosincos.c: Likewise.
17119         * sysdeps/i386/fpu/mpa.c: Likewise.
17120         * sysdeps/i386/fpu/s_cos.S: Likewise.
17121         * sysdeps/i386/fpu/s_sin.S: Likewise.
17122         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17123         * sysdeps/i386/fpu/sincos32.c: Likewise.
17125         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17126         Define.
17127         (libc_feupdateenv_53bit): Define.
17128         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17129         Define.
17130         (libc_feupdateenv_53bit): Define.
17132         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17133         53 bit (without extend i386 double precision).
17135         * math/libm-test.inc (sincos_test): Add tests for large input.
17136         (sin): Likewise.
17137         (cos): Likewise.
17139         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17141 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17145 2012-03-15  David S. Miller  <davem@davemloft.net>
17147         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17148         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17149         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17150         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17163         file.
17164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17166         file.
17167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17169         file.
17170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17172         file.
17173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17174         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17175         fmin/fmax sysdep routines.
17176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17178 2012-03-14  David S. Miller  <davem@davemloft.net>
17180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17184         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17187         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17200         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17201         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17203         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17204         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17205         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17206         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17207         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17208         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17209         routines.
17210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17211         file.
17212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17214         file.
17215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17217         file.
17218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17220         file.
17221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17223         file.
17224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17226         file.
17227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17228         file.
17229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17230         file.
17231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17232         file.
17233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17234         New file.
17235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17236         file.
17237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17238         file.
17239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17241         file.
17242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17244         file.
17245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17247         file.
17248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17250         VIS3 routines.
17252         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17253         New file.
17255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17257         * sysdeps/sparc/configure.in: New file.
17258         * sysdeps/sparc/configure: Generate.
17259         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17260         * configure: Regenerate.
17261         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17262         * config.make.in (have-as-vis3): New.
17263         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17264         available use -Av9d instead of -Av9a.
17265         * sysdeps/sparc/sparc64/Makefile: Likewise.
17266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17268         New file.
17269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17270         file.
17271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17272         New file.
17273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17274         file.
17275         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17276         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17277         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17279         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17281         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17282         fzeros/fnegs to load 0x80000000 into a float register instead of
17283         using the stack.
17284         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17286 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17289         bits/syscall.h.
17290         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17291         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17292         ($(inst_includedir)/bits/syscall.h): Remove rule.
17293         ($(objpfx)bits/syscall.d): Include instead of
17294         $(objpfx)syscall-list.d.
17295         (generated): Change syscall-list.h and syscall-list.d to
17296         bits/syscall.h and bits/syscall.d.
17298 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17300         [BZ #13846]
17301         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17303 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17305         [BZ #13841]
17306         * math/s_csqrt.c: Include <float.h>.
17307         (__csqrt): Scale large or subnormal inputs.
17308         * math/s_csqrtf.c: Likewise.
17309         * math/s_csqrtl.c: Likewise.
17310         * math/libm-test.inc (csqrt_test): Add more tests.
17311         * sysdeps/i386/fpu/libm-test-ulps: Update.
17312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17314         [BZ #13840]
17315         * math/libm-test.inc (hypot_test): Add more tests.
17317 2012-03-13  David S. Miller  <davem@davemloft.net>
17319         [BZ #13840]
17320         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17321         double-precision for the calculation instead of scaling.
17323 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17325         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17326         manipulate bits before adding and subtracting TWO52[sx].
17327         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17328         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17329         Likewise.
17330         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17332 2012-03-13  David S. Miller  <davem@davemloft.net>
17334         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17335         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17337         rtld-global-offsets.h
17338         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17340         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17341         large parameters.
17343         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17345         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17346         'err' in the ifdef scope in which it is actually used.
17348         * nss/nss_db/db-init.c: Include string.h
17350 2012-03-12  David S. Miller  <davem@davemloft.net>
17352         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17353         masking out of the most significant byte of random value used.
17354         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17355         Fix coding style in previous change.
17357         * sysdeps/unix/sysv/linux/kernel-features.h
17358         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17359         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17360         expression.
17361         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17362         later.
17364 2012-03-11  David S. Miller  <davem@davemloft.net>
17366         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17367         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17368         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17369         for 'resultvar' otherwise things get truncated on 64-bit.
17371         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17372         Fix masking out of the most significant byte of random value used.
17374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17376 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17380 2012-03-09  David S. Miller  <davem@davemloft.net>
17382         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17383         variables with appropriate CPP guards.
17384         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17385         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17386         on resulting framesize and the management of the outregs buffer for pltexit.
17387         Preserve floating point return values across _dl_call_pltexit call.
17388         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17389         framesize and the management of the outregs buffer for pltexit.
17390         Preserve floating point return values across _dl_call_pltexit
17391         call.
17392         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17393         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17394         (print_exit): Fix format string for return register value.
17396 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17398         * sunrpc/Makefile (others): Add rpcgen.
17399         ($(objpfx)rpcgen): Remove special build rule and dependency on
17400         libc.
17401         * sunrpc/rpcgen.c: New file.
17403 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17405         [BZ #13673]
17406         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17407         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17408         * sysdeps/i386/crti.S: Likewise.
17409         * sysdeps/i386/crtn.S: Likewise.
17410         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17411         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17412         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17413         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17414         * sysdeps/sh/crti.S: Likewise.
17415         * sysdeps/sh/crtn.S: Likewise.
17416         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17418         [BZ #13673]
17419         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17420         with URL.
17421         * locale/programs/locfile-kw.gperf: Likewise.
17422         * locale/programs/charmap-kw.h: Regenerated.
17423         * locale/programs/locfile-kw.h: Likewise.
17425         [BZ #13673]
17426         * intl/plural.y: Replace FSF snail mail address with URL.
17427         * intl/plural.c: Regenerated.
17429 2012-03-09  Richard Henderson  <rth@twiddle.net>
17431         * include/math_private.h: Remove file.
17432         * math/math_private.h: Move file ...
17433         * sysdeps/generic/math_private.h: ... here.
17435         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17436         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17437         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17439         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17440         and <math_private.h>.
17441         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17442         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17443         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17444         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17445         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17446         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17447         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17448         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17449         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17450         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17451         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17452         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17453         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17454         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17455         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17456         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17457         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17458         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17459         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17460         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17462         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17463         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17464         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17465         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17466         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17467         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17468         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17470         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17471         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17472         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17473         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17474         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17475         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17476         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17477         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17478         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17479         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17480         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17481         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17482         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17483         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17484         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17485         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17486         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17487         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17488         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17489         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17490         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17491         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17492         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17493         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17494         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17495         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17496         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17497         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17498         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17499         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17500         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17501         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17502         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17503         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17504         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17505         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17506         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17507         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17508         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17509         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17510         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17511         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17512         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17513         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17514         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17515         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17516         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17517         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17519         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17520         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17521         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17522         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17523         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17524         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17525         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17526         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17528         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17529         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17530         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17531         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17532         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17533         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17534         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17535         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17536         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17537         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17538         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17539         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17540         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17541         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17542         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17543         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17544         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17545         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17546         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17547         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17548         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17549         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17550         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17551         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17552         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17553         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17554         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17555         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17556         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17557         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17558         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17559         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17560         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17561         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17562         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17563         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17564         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17565         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17566         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17567         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17568         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17569         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17570         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17571         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17572         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17573         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17574         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17575         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17576         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17577         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17578         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17579         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17580         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17581         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17582         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17583         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17584         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17585         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17586         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17587         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17588         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17589         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17590         * sysdeps/ieee754/k_standard.c: Likewise.
17591         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17592         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17593         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17594         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17595         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17596         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17597         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17598         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17599         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17600         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17601         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17602         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17603         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17604         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17605         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17606         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17607         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17608         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17609         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17610         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17611         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17612         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17613         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17614         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17615         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17616         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17617         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17618         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17619         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17620         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17621         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17622         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17623         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17624         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17625         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17626         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17627         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17628         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17629         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17630         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17631         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17632         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17633         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17634         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17635         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17636         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17639         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17640         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17641         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17642         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17643         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17644         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17645         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17646         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17649         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17650         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17651         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17652         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17653         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17654         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17655         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17656         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17657         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17659         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17663         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17664         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17665         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17666         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17667         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17668         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17669         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17670         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17671         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17672         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17673         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17674         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17675         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17676         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17677         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17678         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17679         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17681         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17682         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17683         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17684         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17685         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17686         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17687         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17688         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17689         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17690         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17691         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17692         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17693         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17694         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17695         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17696         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17697         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17698         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17699         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17700         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17701         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17702         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17703         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17704         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17705         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17706         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17707         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17708         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17709         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17710         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17711         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17712         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17713         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17714         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17715         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17716         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17717         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17718         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17719         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17720         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17721         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17722         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17723         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17724         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17725         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17726         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17728         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17729         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17730         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17731         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17733         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17734         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17739         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17740         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17741         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17742         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17743         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17744         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17745         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17746         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17747         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17748         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17749         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17750         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17751         * sysdeps/ieee754/s_lib_version.c: Likewise.
17752         * sysdeps/ieee754/s_matherr.c: Likewise.
17753         * sysdeps/ieee754/s_signgam.c: Likewise.
17754         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17755         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17756         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17757         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17758         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17759         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17760         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17761         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17762         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17763         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17764         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17765         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17766         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17767         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17768         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17769         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17770         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17771         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17772         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17773         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17776 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17778         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17779         * sunrpc/rpc_main.c: Likewise.
17780         * sunrpc/rpc_svcout.c: Likewise.
17782 2012-03-09  David S. Miller  <davem@davemloft.net>
17784         * include/math_private.h: New file.
17786 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17788         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17789         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17790         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17791         from <bits/socket_type.h>.
17792         (enum __socket_type): Don't define here.
17793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17794         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17795         bits/socket_type.h.
17797         [BZ #13566]
17798         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17799         checking __USE_GNU.
17801         * Makerules ($(inst_includedir)/%.h): New rule.
17802         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17803         (install-others): Remove variable setting.
17804         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17806 2012-03-08  Richard Henderson  <rth@twiddle.net>
17808         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17809         from macro to inline function; merge with the
17810         !__LIBC_INTERNAL_MATH_INLINES version.
17811         (__ieee754_sqrtf): Likewise.
17813         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17814         to inline function.
17815         (__rintf, __floor, __floorf): Likewise.
17817         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17818         macro to inline function.
17819         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17821         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17822         not <math/math_private.h>.
17824 2012-03-08  David S. Miller  <davem@davemloft.net>
17826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17827         copyright year.
17828         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17830 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
17832         * resolv/gai_misc.c (handle_requests): Fix struct timespec
17833         normalization.
17834         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17835         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17837 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
17839         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
17840         be defined individually, they must be defined as a block.  Define
17841         S for printing a string instead of hidint the different by using a
17842         macro for adding the 'l'.
17843         * stdio-common/tst-fphex-wide.c: Adjust.
17845 2012-03-07  Marek Polacek  <polacek@redhat.com>
17847         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17849 2012-03-08  Marek Polacek  <polacek@redhat.com>
17851         [BZ #13806]
17852         * stdio-common/Makefile (tests): Add tst-fphex-wide.
17853         * stdio-common/tst-fphex.c: Define a few macros to make the
17854         test reusable.  Use them.
17855         * stdio-common/tst-fphex-wide.c: New file.
17857 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
17859         [BZ #6911]
17860         * manual/macros.texi (gnusystems): New macro.
17861         (nongnusystems): Likewise.
17862         (gnulinuxhurdsystems): Likewise.
17863         (gnuhurdsystems): Likewise..
17864         (gnulinuxsystems): Likewise.
17865         * manual/charset.texi: Use new macros or @theglibc{} to refer to
17866         variants of the GNU system, not "GNU system".
17867         * manual/conf.texi: Likewise.
17868         * manual/errno.texi: Likewise.  Update example of errno macro
17869         expansion.
17870         * manual/filesys.texi: Likewise.
17871         (getumask): Document as specific to GNU/Hurd.
17872         * manual/install.texi: Likewise.  Reword some references to
17873         GNU/Linux.
17874         * manual/intro.texi: Likewise.
17875         * manual/io.texi: Likewise.
17876         (File Name Portability): Detail which constraints are inapplicable
17877         to all GNU systems and which are only inapplicable to GNU/Hurd.
17878         * manual/job.texi: Likewise.
17879         * manual/llio.texi: Likewise.
17880         (O_NOCTTY): Document as present on GNU/Linux.
17881         * manual/maint.texi: Likewise.
17882         * manual/memory.texi: Likewise.
17883         * manual/pattern.texi: Likewise.
17884         * manual/pipe.texi: Likewise.
17885         * manual/process.texi: Likewise.
17886         * manual/resource.texi: Likewise.
17887         (RUSAGE_CHILDREN): Remove statement about specifying a particular
17888         child on GNU/Hurd.
17889         * manual/setjmp.texi: Likewise.
17890         * manual/signal.texi: Likewise.
17891         * manual/startup.texi: Likewise.
17892         * manual/stdio.texi: Likewise.
17893         * manual/terminal.texi: Likewise.
17894         (ONLCR): Document as POSIX.
17895         (OXTABS): Document availability on GNU/Linux as XTABS.
17896         (ONOEOT): Document availability separately from other bits.
17897         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17898         * manual/time.texi: Likewise.
17899         * manual/users.texi: Likewise.
17900         * INSTALL: Regenerated.
17901         * sysdeps/gnu/errlist.c: Regenerated.
17903         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17904         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17905         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
17906         puts.
17907         * configure: Regenerated.
17909 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
17911         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17912         default includes instead of AC_HEADER_CHECK.
17913         * sysdeps/i386/configure: Regenerated.
17915         [BZ #10716]
17916         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17917         * math/s_cacoshf.c (__cacoshf): Likewise.
17918         * math/s_cacoshl.c (__cacoshl): Likewise.
17919         * math/s_casinh.c (__casinh): Set signs of result from argument.
17920         * math/s_casinhf.c (__casinhf): Likewise.
17921         * math/s_casinhl.c (__casinhl): Likewise.
17922         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17923         (casinh_test): Add more tests.
17924         * sysdeps/i386/fpu/libm-test-ulps: Update.
17925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17927 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
17929         * po/zh_TW.po: Update from translation team.
17931         * login/Makefile (distribute): Remove variable.
17932         * catgets/Makefile: Likewise.
17933         * mach/Makefile: Likewise.
17934         * malloc/Makefile: Likewise.
17935         * misc/Makefile: Likewise.
17936         * iconv/Makefile: Likewise.
17937         * nscd/Makefile: Likewise.
17938         * hurd/Makefile: Likewise.
17939         * manual/Makefile: Likewise.
17940         * locale/Makefile: Likewise.
17941         * intl/Makefile: Likewise.
17942         * conform/Makefile: Likewise.
17943         * nss/Makefile: Likewise.
17944         * time/Makefile: Likewise.
17945         * soft-fp/Makefile: Likewise.
17946         * dirent/Makefile: Likewise.
17947         * gmon/Makefile: Likewise.
17948         * po/Makefile: Likewise.
17949         * rt/Makefile: Likewise.
17950         * socket/Makefile: Likewise.
17951         * math/Makefile: Likewise.
17952         * signal/Makefile: Likewise.
17953         * debug/Makefile: Likewise.
17954         * elf/Makefile: Likewise.
17955         * timezone/Makefile: Likewise.
17956         * stdlib/Makefile: Likewise.
17957         * iconvdata/Makefile: Likewise.
17958         * sunrpc/Makefile: Likewise.
17959         * io/Makefile: Likewise.
17960         * argp/Makefile: Likewise.
17961         * inet/Makefile: Likewise.
17962         * hesiod/Makefile: Likewise.
17963         * grp/Makefile: Likewise.
17964         * csu/Makefile: Likewise.
17965         * wctype/Makefile: Likewise.
17966         * crypt/Makefile: Likewise.
17967         * libio/Makefile: Likewise.
17968         * string/Makefile: Likewise.
17969         * nis/Makefile: Likewise.
17970         * resolv/Makefile: Likewise.
17971         * stdio-common/Makefile: Likewise.
17972         * wcsmbs/Makefile: Likewise.
17973         * dlfcn/Makefile: Likewise.
17974         * posix/Makefile: Likewise.
17976         [BZ #6959]
17977         * timezone/Makefile: Don't install timezone files, just the programs
17978         and scripts.
17980 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
17982         * nss/databases.def: Add missing gshadow entry.
17984         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
17986 2012-03-06  Marek Polacek  <polacek@redhat.com>
17988         [BZ #13726]
17989         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17990         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17991         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17992         * stdio-common/tst-long-dbl-fphex.c: New file.
17994 2012-03-06  David S. Miller  <davem@davemloft.net>
17996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17997         (set_obp_int): New function.
17998         (get_obp_int): New function.
17999         (__get_clockfreq_via_dev_openprom): Likewise.
18000         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18001         Avoid unused variable warnings on 'val' and use builtin_expect.
18002         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18003         __builtin_expect.
18004         (INLINE_CLONE_SYSCALL): Likewise.
18006 2012-03-05  David S. Miller  <davem@davemloft.net>
18008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18010 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18014         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18015         only for |x| >= 40.
18016         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18018 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18020         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18021         Replace gettimeofday with __vdso_gettimeofday.
18023         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18024         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18025         __vdso_clock_gettime and __vdso_getcpu.
18027         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18028         time with __vdso_time.
18030 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18032         * manual/lang.texi (size_t): Note types to which size_t may be
18033         equivalent with the GNU C Library, but do not describe when
18034         differences between them are significant.
18036 2012-03-05  Andreas Jaeger  <aj@suse.de>
18038         * sysdeps/i386/fpu/libm-test-ulps: Update.
18040 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18042         [BZ #3976]
18043         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18044         (__ieee754_pow): Save and restore rounding mode and use
18045         round-to-nearest for main computations.
18046         * math/libm-test.inc (pow_test_tonearest): New function.
18047         (pow_test_towardzero): Likewise.
18048         (pow_test_downward): Likewise.
18049         (pow_test_upward): Likewise.
18050         (main): Call the new functions.
18051         * sysdeps/i386/fpu/libm-test-ulps: Update.
18052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18054         [BZ #3976]
18055         * math/libm-test.inc (cosh_test_tonearest): New function.
18056         (cosh_test_towardzero): Likewise.
18057         (cosh_test_downward): Likewise.
18058         (cosh_test_upward): Likewise.
18059         (sinh_test_tonearest): Likewise.
18060         (sinh_test_towardzero): Likewise.
18061         (sinh_test_downward): Likewise.
18062         (sinh_test_upward): Likewise.
18063         (main): Call the new functions.
18064         * sysdeps/i386/fpu/libm-test-ulps: Update.
18065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18067 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18069         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18070         default stack guard is set in last bytes.
18071         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18073 2012-03-05  Kees Cook  <keescook@chromium.org>
18075         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18077         [BZ #13656]
18078         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18079         possibly allocate from heap instead of stack.
18080         * stdio-common/bug-vfprintf-nargs.c: New file.
18081         * stdio-common/Makefile (tests): Add nargs overflow test.
18083 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18087 2012-03-03  Marek Polacek  <polacek@redhat.com>
18089         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18090         * math/math_private.h: Likewise.
18091         * stdlib/tst-strtod.c: Likewise.
18092         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18093         * sysdeps/x86_64/bits/atomic.h: Likewise.
18095 2012-03-02  David S. Miller  <davem@davemloft.net>
18097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18101         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18102         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18103         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18104         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18106 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18108         [BZ #13792]
18109         * manual/examples/README: New file, says the example source files
18110         can be used under GPL>=2.
18111         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18112         line containing just "*/".
18113         * manual/examples/add.c: Add copyright header (GPL>=2).
18114         * manual/examples/argp-ex1.c: Likewise.
18115         * manual/examples/argp-ex2.c: Likewise.
18116         * manual/examples/argp-ex3.c: Likewise.
18117         * manual/examples/argp-ex4.c: Likewise.
18118         * manual/examples/atexit.c: Likewise.
18119         * manual/examples/db.c: Likewise.
18120         * manual/examples/dir.c: Likewise.
18121         * manual/examples/dir2.c: Likewise.
18122         * manual/examples/execinfo.c: Likewise.
18123         * manual/examples/filecli.c: Likewise.
18124         * manual/examples/filesrv.c: Likewise.
18125         * manual/examples/fmtmsgexpl.c: Likewise.
18126         * manual/examples/genpass.c: Likewise.
18127         * manual/examples/inetcli.c: Likewise.
18128         * manual/examples/inetsrv.c: Likewise.
18129         * manual/examples/isockad.c: Likewise.
18130         * manual/examples/longopt.c: Likewise.
18131         * manual/examples/memopen.c: Likewise.
18132         * manual/examples/memstrm.c: Likewise.
18133         * manual/examples/mkfsock.c: Likewise.
18134         * manual/examples/mkisock.c: Likewise.
18135         * manual/examples/mygetpass.c: Likewise.
18136         * manual/examples/pipe.c: Likewise.
18137         * manual/examples/popen.c: Likewise.
18138         * manual/examples/rprintf.c: Likewise.
18139         * manual/examples/search.c: Likewise.
18140         * manual/examples/select.c: Likewise.
18141         * manual/examples/setjmp.c: Likewise.
18142         * manual/examples/sigh1.c: Likewise.
18143         * manual/examples/sigusr.c: Likewise.
18144         * manual/examples/stpcpy.c: Likewise.
18145         * manual/examples/strdupa.c: Likewise.
18146         * manual/examples/strftim.c: Likewise.
18147         * manual/examples/strncat.c: Likewise.
18148         * manual/examples/subopt.c: Likewise.
18149         * manual/examples/swapcontext.c: Likewise.
18150         * manual/examples/termios.c: Likewise.
18151         * manual/examples/testopt.c: Likewise.
18152         * manual/examples/testpass.c: Likewise.
18153         * manual/examples/timeval_subtract.c: Likewise.
18155         [BZ #13792]
18156         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18157         function to ...
18158         * manual/timeval_subtract.c.texi: ... here, new file.
18160 2012-03-02  David S. Miller  <davem@davemloft.net>
18162         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18164 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18166         [BZ #3976]
18167         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18168         (__sin): Save and restore rounding mode and use round-to-nearest
18169         for all computations.
18170         (__cos): Save and restore rounding mode and use round-to-nearest
18171         for all computations.
18172         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18173         <fenv.h>.
18174         (tan): Save and restore rounding mode and use round-to-nearest for
18175         all computations.
18176         * math/libm-test.inc (cos_test_tonearest): New function.
18177         (cos_test_towardzero): Likewise.
18178         (cos_test_downward): Likewise.
18179         (cos_test_upward): Likewise.
18180         (sin_test_tonearest): Likewise.
18181         (sin_test_towardzero): Likewise.
18182         (sin_test_downward): Likewise.
18183         (sin_test_upward): Likewise.
18184         (tan_test_tonearest): Likewise.
18185         (tan_test_towardzero): Likewise.
18186         (tan_test_downward): Likewise.
18187         (tan_test_upward): Likewise.
18188         (main): Call the new functions.
18189         * sysdeps/i386/fpu/libm-test-ulps: Update.
18190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18192         [BZ #10135]
18193         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18194         small n, then large n, before computing and testing k+n.
18195         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18197         Likewise.
18198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18199         Likewise.
18200         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18201         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18202         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18203         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18204         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18205         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18206         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18207         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18208         * math/libm-test.inc (scalbn_test): Add more tests.
18209         (scalbln_test): Likewise.
18211         * manual/filesys.texi (mode_t): Describe constraints on size and
18212         signedness, not exact equivalence to a particular type.
18213         (ino_t): Likewise.
18214         (ino64_t): Likewise.
18215         (dev_t): Likewise.
18216         (nlink_t): Likewise.
18217         (blkcnt_t): Likewise.
18218         (blkcnt64_t): Likewise.
18219         * manual/llio.texi (off_t): Likewise.
18221         [BZ #3976]
18222         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18223         (__ieee754_exp): Save and restore rounding mode and use
18224         round-to-nearest for all computations.
18225         * math/libm-test.inc (exp_test_tonearest): New function.
18226         (exp_test_towardzero): Likewise.
18227         (exp_test_downward): Likewise.
18228         (exp_test_upward): Likewise.
18229         (main): Call the new functions.
18230         * sysdeps/i386/fpu/libm-test-ulps: Update.
18231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18233 2012-03-01  Chris Demetriou  <cgd@google.com>
18235         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18236         have predictable order.
18238 2012-03-01  David S. Miller  <davem@davemloft.net>
18240         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18242         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18243         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18244         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18245         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18247         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18248         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18249         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18251         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18252         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18253         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18254         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18255         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18259         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18260         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18261         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18263         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18264         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18265         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18266         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18267         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18268         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18269         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18270         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18271         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18272         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18273         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18274         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18275         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18276         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18277         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18279         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18280         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18281         * sysdeps/sparc/elf/configure: Regenerated.
18283 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18285         * configure.in (AS, LD): Require binutils 2.20 or later.
18286         * configure: Regenerated.
18287         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18288         as required minimum version.
18289         * INSTALL: Regenerated.
18291         [BZ #2541]
18292         [BZ #4108]
18293         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18294         before squaring exponent.
18295         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18296         bottom long double and 27 bits of top long double before squaring
18297         exponent.
18298         * math/libm-test.inc (erfc_test): Add more tests.
18299         * sysdeps/i386/fpu/libm-test-ulps: Update.
18300         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18303 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18305         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18306         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18307         containing bit-fields.
18308         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18309         * soft-fp/single.h (_FP_UNION_S): Likewise.
18310         * soft-fp/double.h (_FP_UNION_D): Likewise.
18312 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18314         [BZ #13786]
18315         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18316         not include ../strcmp.S.
18317         [USE_AS_STRNCASECMP_L]: Likewise.
18318         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18319         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18320         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18321         (__strncasecmp_l_ia32): Define as alias to
18322         __strncasecmp_l_nonascii.
18324         [BZ #5794]
18325         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18326         * sysdeps/i386/fpu/libm-test-ulps: Update.
18327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18329         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18332 2012-02-29  Jeff Law  <law@redhat.com>
18334         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18335         out of bounds read.
18337 2012-02-29  Marek Polacek  <polacek@redhat.com>
18339         [BZ #13706]
18340         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18341         * elf/Makefile: Add rules to run tst-unused-dep.out.
18343 2012-02-28  David S. Miller  <davem@davemloft.net>
18345         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18346         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18347         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18348         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18349         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18350         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18352 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18354         * math/libm-test.inc (llround_test): Move one test from
18355         lround_test.  Use TEST_f_L in moved test.
18356         (lround_test): Move misplaced test to llround_test.  Add testcase
18357         from bug 2561.
18359 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18361         * sysdeps/x86_64/fpu/e_expf.S: New file.
18362         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18364 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18366         [BZ #13637]
18367         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18368         of remain_len that may cause incomplete multi-byte character and
18369         false match.
18370         * posix/bug-regex33.c: New file.
18371         * posix/Makefile (tests): Add bug-regex33.
18373 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18375         * manual/macros.texi: New file.
18376         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18377         * manual/libc.texinfo: Include macros.texi.
18378         * manual/creatute.texi: Likewise.
18379         * manual/install.texi: Likewise.
18380         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18381         @glibcadj{} in references to the GNU C Library.
18382         * manual/charset.texi: Likewise.
18383         * manual/conf.texi: Likewise.
18384         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18385         when not using those macros.
18386         * manual/creature.texi: Likewise.
18387         * manual/crypt.texi: Likewise.
18388         * manual/errno.texi: Likewise.
18389         * manual/filesys.texi: Likewise.
18390         * manual/header.texi: Likewise.
18391         * manual/install.texi: Likewise.
18392         * manual/intro.texi: Likewise.
18393         * manual/io.texi: Likewise.
18394         * manual/job.texi: Likewise.
18395         * manual/lang.texi: Likewise.
18396         * manual/libc.texiinfo: Likewise.
18397         * manual/llio.texi: Likewise.
18398         * manual/locale.texi: Likewise.
18399         * manual/maint.texi: Likewise.
18400         * manual/math.texi: Likewise.
18401         * manual/memory.texi: Likewise.
18402         * manual/message.texi: Likewise.
18403         * manual/nss.texi: Likewise.
18404         * manual/pattern.texi: Likewise.
18405         * manual/process.texi: Likewise.
18406         * manual/resource.texi: Likewise.
18407         * manual/search.texi: Likewise.
18408         * manual/setjmp.texi: Likewise.
18409         * manual/signal.texi: Likewise.
18410         * manual/socket.texi: Likewise.
18411         * manual/startup.texi: Likewise.
18412         * manual/stdio.texi: Likewise.
18413         * manual/string.texi: Likewise.
18414         * manual/sysinfo.texi: Likewise.
18415         * manual/syslog.texi: Likewise.
18416         * manual/terminal.texi: Likewise.
18417         * manual/time.texi: Likewise.
18418         * manual/users.texi: Likewise.
18419         * INSTALL: Regenerated.
18420         * NOTES: Regenerated.
18421         * sysdeps/gnu/errlist.c: Regenerated.
18423 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18425         * include/dirent.h: Include <dirstream.h> before
18426         <dirent/dirent.h>.
18428 2012-02-28  David S. Miller  <davem@davemloft.net>
18430         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18431         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18432         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18433         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18435 2012-02-27  David S. Miller  <davem@davemloft.net>
18437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18439         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18440         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18443         frame pointer instead of stack pointer relative arg slot.
18444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18445         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18446         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18448 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18450         [BZ #3992]
18451         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18453 2012-02-27  David S. Miller  <davem@davemloft.net>
18455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18459         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18460         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18461         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18462         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18464 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18466         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18467         later.  Allow versions 5-9.
18468         * configure: Regenerated.
18469         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18470         required minimum version and 4.6 as recommended version.  Do not
18471         mention bugs in GCC 2.7 and 2.8.
18472         * INSTALL: Regenerated.
18474 2012-02-27  David S. Miller  <davem@davemloft.net>
18476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18480         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18481         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18482         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18483         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18485         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18486         manipulate bits before adding and subtracting TWO112[sx].
18487         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18489 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18491         [BZ #13775]
18492         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18493         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18494         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18495         being in POSIX, because they are in 1003.1-2008.
18497         * rt/tst-aio.c: Include <fcntl.h>.
18498         * rt/tst-aio7.c: Likewise.
18499         * rt/tst-aio64.c: Likewise.
18501         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18503 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18505         * manual/install.texi (--with-headers): Describe headers as
18506         interface headers, not private headers.
18507         (Specific advice for GNU/Linux systems): Describe use of headers
18508         from "make headers_install", not private headers from older
18509         kernels.
18510         * INSTALL: Regenerated.
18511         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18512         Change to 2.6.19.
18513         * sysdeps/unix/sysv/linux/configure: Regenerated.
18515         * manual/llio.texi (fclean): Remove documentation.
18517         * manual/Makefile (libc-texi-generated): New variable.  Include
18518         version.texi.
18519         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18520         $(libc-texi-generated), not duplicated list of files.
18521         (version.texi, stamp-version): New rules.
18522         (realclean): Remove $(libc-texi-generated), not individual files
18523         from that list.  Do not remove dir-add.texinfo.
18524         * manual/libc.texinfo: Comment out uses of edition numbers and
18525         references to printed manual.  Remove last-updated dates.
18526         (EDITION): Comment out.
18527         (ISBN): Likewise.
18528         (VERSION, UPDATED): Remove.
18529         (version.texi): Include.
18531 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18533         * sysdeps/posix/spawni.c: Include <signal.h>.
18534         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18535         * sysdeps/pthread/aio_fsync.c: Likewise.
18537 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18539         * conform/Makefile (tests): Run only when not cross-compiling and
18540         when fast-check is not defined.
18542         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18543         * conform/data/limits.h-data: Fixes for POSIX2008.
18544         * conform/run-conformtest.sh: Run all tests.
18545         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18546         headers.
18547         * include/bits/dlfcn.h: Likewise.
18548         * include/langinfo.h: Likewise.
18549         * include/monetary.h: Likewise.
18550         * include/sys/poll.h: Likewise.
18552         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18553         for __USE_GNU.
18554         * posix/spawn.h: Define __need_sigset_t.
18555         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18556         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18557         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
18558         to get sigevent_t only.
18559         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18560         only for __USE_GNU.
18561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18562         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18563         process_vm_writev only for __USE_GNU.
18564         * termios/termios.h: Declare tcgetsid also for POSIX2008.
18566         * conform/Makefile: For now ignore errors from run-conformtest.
18567         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
18568         POSIX to avoid namespace pollution.  Don't prepend headers.
18569         * conform/data/aio.h-data: Fixes for POSIX testing.
18570         * conform/data/fcntl.h-data: Likewise.
18571         * conform/data/glob.h-data: Likewise.
18572         * conform/data/grp.h-data: Likewise.
18573         * conform/data/pthread.h-data: Likewise.
18574         * conform/data/pwd.h-data: Likewise.
18575         * conform/data/signal.h-data: Likewise.
18576         * conform/data/spawn.h-data: Likewise.
18577         * conform/data/stdio.h-data: Likewise.
18578         * conform/data/stdlib.h-data: Likewise.
18579         * conform/data/stropts.h-data: Likewise.
18580         * conform/data/sys/mman.h-data: Likewise.
18581         * conform/data/sys/stat.h-data: Likewise.
18582         * conform/data/sys/types.h-data: Likewise.
18583         * conform/data/sys/wait.h-data: Likewise.
18584         * conform/data/time.h-data: Likewise.
18585         * conform/data/unistd.h-data: Likewise.
18586         * conform/data/utime.h-data: Likewise.
18588         * io/sys/stat.h: fchmod was always in POSIX.
18589         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18590         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18591         * rt/aio.h: Define __need_timespec before including <time.h>.
18592         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18593         struct.  Add forward declaration of pthread_attr_t and use it in
18594         sigevent.
18595         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18596         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18597         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18598         always remove CLK_TCK definition.
18600 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
18602         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18604 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
18606         * conform/run-conformtest.sh: New file.
18607         * conform/Makefile: Run run-conformtest for tests.
18608         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
18609         support.
18611         * conform/data/uchar.h-data: New file.
18612         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18613         * conform/data/arpa/inet.h-data: Likewise.
18614         * conform/data/assert.h-data: Likewise.
18615         * conform/data/complex.h-data: Likewise.
18616         * conform/data/cpio.h-data: Likewise.
18617         * conform/data/ctype.h-data: Likewise.
18618         * conform/data/dirent.h-data: Likewise.
18619         * conform/data/dlfcn.h-data: Likewise.
18620         * conform/data/errno.h-data: Likewise.
18621         * conform/data/fcntl.h-data: Likewise.
18622         * conform/data/float.h-data: Likewise.
18623         * conform/data/fmtmsg.h-data: Likewise.
18624         * conform/data/fnmatch.h-data: Likewise.
18625         * conform/data/ftw.h-data: Likewise.
18626         * conform/data/glob.h-data: Likewise.
18627         * conform/data/grp.h-data: Likewise.
18628         * conform/data/iconv.h-data: Likewise.
18629         * conform/data/inttypes.h-data: Likewise.
18630         * conform/data/langinfo.h-data: Likewise.
18631         * conform/data/libgen.h-data: Likewise.
18632         * conform/data/limits.h-data: Likewise.
18633         * conform/data/locale.h-data: Likewise.
18634         * conform/data/math.h-data: Likewise.
18635         * conform/data/monetary.h-data: Likewise.
18636         * conform/data/mqueue.h-data: Likewise.
18637         * conform/data/ndbm.h-data: Likewise.
18638         * conform/data/net/if.h-data: Likewise.
18639         * conform/data/netdb.h-data: Likewise.
18640         * conform/data/netinet/in.h-data: Likewise.
18641         * conform/data/nl_types.h-data: Likewise.
18642         * conform/data/poll.h-data: Likewise.
18643         * conform/data/pthread.h-data: Likewise.
18644         * conform/data/pwd.h-data: Likewise.
18645         * conform/data/regex.h-data: Likewise.
18646         * conform/data/sched.h-data: Likewise.
18647         * conform/data/search.h-data: Likewise.
18648         * conform/data/semaphore.h-data: Likewise.
18649         * conform/data/setjmp.h-data: Likewise.
18650         * conform/data/signal.h-data: Likewise.
18651         * conform/data/spawn.h-data: Likewise.
18652         * conform/data/stdarg.h-data: Likewise.
18653         * conform/data/stdio.h-data: Likewise.
18654         * conform/data/stdlib.h-data: Likewise.
18655         * conform/data/string.h-data: Likewise.
18656         * conform/data/strings.h-data: Likewise.
18657         * conform/data/stropts.h-data: Likewise.
18658         * conform/data/sys/ipc.h-data: Likewise.
18659         * conform/data/sys/mman.h-data: Likewise.
18660         * conform/data/sys/msg.h-data: Likewise.
18661         * conform/data/sys/resource.h-data: Likewise.
18662         * conform/data/sys/select.h-data: Likewise.
18663         * conform/data/sys/sem.h-data: Likewise.
18664         * conform/data/sys/shm.h-data: Likewise.
18665         * conform/data/sys/socket.h-data: Likewise.
18666         * conform/data/sys/stat.h-data: Likewise.
18667         * conform/data/sys/statvfs.h-data: Likewise.
18668         * conform/data/sys/time.h-data: Likewise.
18669         * conform/data/sys/timeb.h-data: Likewise.
18670         * conform/data/sys/times.h-data: Likewise.
18671         * conform/data/sys/types.h-data: Likewise.
18672         * conform/data/sys/uio.h-data: Likewise.
18673         * conform/data/sys/un.h-data: Likewise.
18674         * conform/data/sys/utsname.h-data: Likewise.
18675         * conform/data/sys/wait.h-data: Likewise.
18676         * conform/data/syslog.h-data: Likewise.
18677         * conform/data/tar.h-data: Likewise.
18678         * conform/data/termios.h-data: Likewise.
18679         * conform/data/utime.h-data: Likewise.
18680         * conform/data/utmpx.h-data: Likewise.
18681         * conform/data/varargs.h-data: Likewise.
18682         * conform/data/wchar.h-data: Likewise.
18683         * conform/data/wctype.h-data: Likewise.
18684         * conform/data/wordexp.h-data: Likewise.
18686         * include/stropts.h: New file.
18687         * include/uchar.h: New file.
18688         * include/aio.h: Changes to allow conformtest.pl to use the headers.
18689         * include/assert.h: Likewise.
18690         * include/ctype.h: Likewise.
18691         * include/dirent.h: Likewise.
18692         * include/dlfcn.h: Likewise.
18693         * include/fcntl.h: Likewise.
18694         * include/fnmatch.h: Likewise.
18695         * include/glob.h: Likewise.
18696         * include/grp.h: Likewise.
18697         * include/libio.h: Likewise.
18698         * include/locale.h: Likewise.
18699         * include/math.h: Likewise.
18700         * include/net/if.h: Likewise.
18701         * include/netdb.h: Likewise.
18702         * include/netinet/in.h: Likewise.
18703         * include/pthread.h: Likewise.
18704         * include/pwd.h: Likewise.
18705         * include/regex.h: Likewise.
18706         * include/sched.h: Likewise.
18707         * include/search.h: Likewise.
18708         * include/setjmp.h: Likewise.
18709         * include/signal.h: Likewise.
18710         * include/stdio.h: Likewise.
18711         * include/stdlib.h: Likewise.
18712         * include/string.h: Likewise.
18713         * include/sys/cdefs.h: Likewise.
18714         * include/sys/mman.h: Likewise.
18715         * include/sys/msg.h: Likewise.
18716         * include/sys/resource.h: Likewise.
18717         * include/sys/select.h: Likewise.
18718         * include/sys/socket.h: Likewise.
18719         * include/sys/stat.h: Likewise.
18720         * include/sys/statvfs.h: Likewise.
18721         * include/sys/time.h: Likewise.
18722         * include/sys/times.h: Likewise.
18723         * include/sys/uio.h: Likewise.
18724         * include/sys/utsname.h: Likewise.
18725         * include/sys/wait.h: Likewise.
18726         * include/termios.h: Likewise.
18727         * include/time.h: Likewise.
18728         * include/ulimit.h: Likewise.
18729         * include/unistd.h: Likewise.
18730         * include/utime.h: Likewise.
18731         * include/wchar.h: Likewise.
18732         * include/wctype.h: Likewise.
18733         * include/wordexp.h: Likewise.
18735         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18737         * time/time.h: TIME_UTC must be a macro.
18738         Make timespec_get available for ISO C11 only as well.
18740 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
18742         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18743         Reported by Peng Haitao <penght@cn.fujitsu.com>.
18745 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18747         * configure.in: Use -o not -a in test for unsupported multi-arch.
18749 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18751         * manual/texinfo.tex: Update to version 2012-01-19.16.
18753 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18755         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18757 2012-02-24  Roland McGrath  <roland@hack.frob.com>
18759         [BZ #13738]
18760         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18761         * manual/fdl-1.3.texi: New file.
18762         * manual/fdl-1.1.texi: File removed.
18764         [BZ #13738]
18765         * manual/libc.texinfo (FDL_VERSION): New @set.
18766         Use it for mention of FDL in cover text.
18767         (Documentation License): Use it in @include file name.
18769 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18770             Roland McGrath  <roland@hack.frob.com>
18772         [BZ #5461]
18773         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18774         not LONG_LONG_MAX and LONG_LONG_MIN.
18775         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18776         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
18777         name.
18778         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18780 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18782         [BZ #2547]
18783         [BZ #11365]
18784         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18785         manipulate bits before adding and subtracting TWO23[sx].
18786         * math/libm-test.inc (nearbyint_test): Add more tests.
18788 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18790         [BZ #2548]
18791         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18792         bits before adding and subtracting TWO23[sx].
18793         * math/libm-test.inc (rint_test): Add more tests.
18794         (rint_test_tonearest): Likewise.
18795         (rint_test_towardzero): Likewise.
18796         (rint_test_downward): Likewise.
18797         (rint_test_upward: Likewise.
18799 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18801         [BZ #10110]
18802         * include/stdc-predef.h: New file.  Extracted from features.h.
18803         * include/features.h: Include stdc-predef.h.
18804         * Makefile (headers): Add stdc-predef.h.
18805         * CONFORMANCE (Compiler limitations): Update.
18807 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18809         * manual/libc.texinfo (VERSION, UPDATED): Revert.
18811 2012-02-21  David S. Miller  <davem@davemloft.net>
18813         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18814         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18816 2012-02-20  David S. Miller  <davem@davemloft.net>
18818         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18819         using a normal save/restore sequence, rather than allocating a
18820         dummy stack frame just to store a frame pointer and restore.
18821         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18823 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18825         * manual/install.texi: Fix stray word in line-wrapped comment.
18827 2012-02-20  David S. Miller  <davem@davemloft.net>
18829         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18830         both binutils and gcc support GOTDATA.
18832         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18833         "rd %pc" in the PIC register setup sequences.
18835         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18836         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18837         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18838         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18839         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18840         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18841         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18842         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18844         (SYSCALL_ERROR_HANDLER): Likewise.
18845         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18846         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18848         (SYSCALL_ERROR_HANDLER): Likewise.
18850         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18851         (HAVE_GCC_GOTDATA): New.
18852         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18853         relocation support in both binutils and gcc.
18854         * sysdeps/sparc/elf/configure: Regenerate.
18856         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18857         * sysdeps/sparc/sparc32/elf/configure: Delete.
18858         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18859         * sysdeps/sparc/sparc64/elf/configure: Delete.
18860         * sysdeps/sparc/elf/configure.in: New file.
18861         * sysdeps/sparc/elf/configure: Generate.
18863         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18864         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18865         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18866         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18867         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18869 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18871         * manual/install.texi: Do not mention specific glibc version
18872         numbers.
18873         * manual/libc.texinfo (VERSION, UPDATED): Update.
18874         (@copying): Use @copyright{} and range of years.
18876 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18878         [BZ #13695]
18879         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18880         [crti.S not in sysdirs] (generated): Do not append.
18881         [crti.S not in sysdirs] (omit-deps): Likewise.
18882         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18883         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18884         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18885         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18886         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18887         Likewise.
18888         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18889         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18890         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18891         * csu/defs.awk: Remove file.
18892         * sysdeps/generic/initfini.c: Likewise.
18893         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18894         variable.
18895         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18896         Likewise.
18898 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18900         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18901         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18902         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18903         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18904         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18905         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18906         <bits/epoll.h>.
18907         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18908         (__EPOLL_PACKED): Define to empty if not defined by
18909         <bits/epoll.h>.
18910         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18912         bits/epoll.h.
18914 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18916         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18917         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18918         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18919         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18920         <bits/timerfd.h>.
18921         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18923         bits/timerfd.h.
18925 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18927         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18928         in C locale.
18929         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18930         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18931         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18934 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
18936         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18937         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18939 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
18941         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18942         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18943         defined.
18944         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18945         Likewise.
18946         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18947         entry for 2.16.
18949 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
18951         * math/w_acos.c: Use non-signaling floating-point comparisons.
18952         * math/w_acosf.c: Likewise.
18953         * math/w_acosh.c: Likewise.
18954         * math/w_acoshf.c: Likewise.
18955         * math/w_acoshl.c: Likewise.
18956         * math/w_acosl.c: Likewise.
18957         * math/w_asin.c: Likewise.
18958         * math/w_asinf.c: Likewise.
18959         * math/w_asinl.c: Likewise.
18960         * math/w_atanh.c: Likewise.
18961         * math/w_atanhf.c: Likewise.
18962         * math/w_atanhl.c: Likewise.
18963         * math/w_exp2.c: Likewise.
18964         * math/w_exp2f.c: Likewise.
18965         * math/w_exp2l.c: Likewise.
18966         * math/w_j0.c: Likewise.
18967         * math/w_j0f.c: Likewise.
18968         * math/w_j0l.c: Likewise.
18969         * math/w_j1.c: Likewise.
18970         * math/w_j1f.c: Likewise.
18971         * math/w_j1l.c: Likewise.
18972         * math/w_jn.c: Likewise.
18973         * math/w_jnf.c: Likewise.
18974         * math/w_log.c: Likewise.
18975         * math/w_log10.c: Likewise.
18976         * math/w_log10f.c: Likewise.
18977         * math/w_log10l.c: Likewise.
18978         * math/w_log2.c: Likewise.
18979         * math/w_log2f.c: Likewise.
18980         * math/w_log2l.c: Likewise.
18981         * math/w_logf.c: Likewise.
18982         * math/w_logl.c: Likewise.
18983         * math/w_sqrt.c: Likewise.
18984         * math/w_sqrtf.c: Likewise.
18985         * math/w_sqrtl.c: Likewise.
18986         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18987         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18988         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18989         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18990         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18992 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18994         [BZ #9739]
18995         * manual/string.texi (strnlen): Use correct parameter name in
18996         equivalent expression.
18998 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19000         [BZ #11174]
19001         * manual/users.texi (seteuid): Consistently use neweuid for
19002         argument name.
19004 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19006         [BZ #13704]
19007         * manual/nss.texi (Services in the NSS configuration): Correct
19008         list of services in example configuration file.
19010 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19012         [BZ #11322]
19013         * manual/arith.texi: Remove statements about negative zero
19014         behaving identically to zero.
19016 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19018         [BZ #5993]
19019         * manual/install.texi: Do not document upgrading from libc5.
19021 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19023         [BZ #4596]
19024         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19026 2012-02-18  David S. Miller  <davem@davemloft.net>
19028         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19029         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19030         %o7 across the call.
19031         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19032         instead.
19033         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19034         SETUP_PIC_REG_LEAF.
19035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19036         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19037         * sysdeps/sparc/crtn.S: Likewise.
19039 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19041         * aout/Makefile: Remove.
19043 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19045         [BZ #13058]
19046         * manual/examples/argp-ex1.c (main): Format definition in GNU
19047         style.
19048         * manual/examples/argp-ex2.c (main): Likewise.
19049         * manual/examples/argp-ex3.c (main): Likewise.
19050         * manual/examples/argp-ex4.c (main): Likewise.
19051         * manual/examples/longopt.c (main): Use new-style prototype
19052         definition.
19053         * manual/examples/strncat.c (main): Specify return type and use
19054         (void) for arguments.
19055         * manual/examples/subopt.c (main): Use char **argv argument.
19057 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19059         [BZ #5077]
19060         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19061         rounding modes.
19063 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19065         [BZ #6907]
19066         * manual/string.texi (strchr): Change when strchrnul is
19067         recommended.
19069 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19071         [BZ #174]
19072         * manual/locale.texi (setlocale): Document LOCPATH.
19074 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19076         [BZ #10210]
19077         * manual/process.texi (execle): Move @dots{} before last argument.
19079 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19081         [BZ #12047]
19082         * manual/charset.texi (Generic Charset Conversion): Fix typo
19083         (LC_TYPE -> LC_CTYPE).
19085 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19087         [BZ #5805]
19088         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19089         (scalbnf): Likewise.
19090         (scalbnl): Likewise.
19091         (scalbln): Likewise.
19092         (scalblnf): Likewise.
19093         (scalblnl): Likewise.
19094         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19095         (vwarnx): Likewise.
19096         (verr): Likewise.
19097         (verrx): Likewise.
19098         * manual/filesys.texi (telldir): Use braces around return type.
19099         * manual/llio.texi (mmap): Add space after comma.
19100         (mmap64): Likewise.
19101         * manual/math.texi (jn): Use @var{} on parameter names.
19102         (jnf): Likewise.
19103         (jnl): Likewise.
19104         (yn): Likewise.
19105         (ynf): Likewise.
19106         (ynl): Likewise.
19107         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19108         line.
19109         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19110         "...".
19111         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19112         (sched_get_priority_max): Likewise.
19113         * manual/signal.texi (sigvec): Add space after comma.
19114         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19115         names.
19116         (if_indextoname): Likewise.
19117         (if_freenameindex): Likewise.
19118         (sendto): Use ',' instead of '.' in prototype.
19119         * manual/startup.texi (syscall): Use @dots{} instead of literal
19120         "...".
19121         * manual/stdio.texi (__fpending): Separate initial words of
19122         paragraph from @deftypefun line.
19123         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19124         "...".
19125         (vsyslog): Use @var{} on parameter names.
19126         * manual/terminal.texi (stty): Use @var{} on parameter names.
19127         * manual/users.texi (getutmp): Use @var{} on parameter names.
19128         (getutmpx): Likewise.
19130 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19132         [BZ #6884]
19133         * manual/stdio.texi (fopen): Fix typos in description of
19134         ",ccs=STRING".
19136 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19138         [BZ #4026]
19139         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19140         get clock_id definition.
19142 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19144         [BZ #4822]
19145         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19146         (madvise): Cast every argument to void on its own.
19148 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19150         [BZ #9902]
19151         * manual/startup.texi (Exit Status): Fix typo.
19153 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19155         [BZ #10140]
19156         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19157         * manual/examples/argp-ex2.c: Likewise.
19158         * manual/examples/argp-ex3.c: Likewise.
19160 2012-02-16  Richard Henderson  <rth@redhat.com>
19162         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19163         * sysdeps/s390/s390-32/initfini.c: Remove.
19164         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19165         * sysdeps/s390/s390-64/initfini.c: Remove.
19167 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19169         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19170         compiler output for sysdeps/generic/initfini.c.
19171         * sysdeps/sh/elf/initfini.c: Remove file.
19173 2012-02-16  David S. Miller  <davem@davemloft.net>
19175         [BZ #11494]
19176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19178         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19179         * sysdeps/sparc/crti.S: New file.
19180         * sysdeps/sparc/crtn.S: New file.
19181         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19182         * sysdeps/sparc/sparc64/Makefile: Likewise.
19184 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19186         [BZ #3335]
19187         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19189 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19191         [BZ #4822]
19192         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19194         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19195         (write, read, close): Likewise.
19196         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19198 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19200         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19201         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19202         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19203         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19204         <bits/signalfd.h>.
19205         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19207         bits/signalfd.h.
19209 2012-02-14  Marek Polacek  <polacek@redhat.com>
19211         * sysdeps/x86_64/crti.S: New file.
19212         * sysdeps/x86_64/crtn.S: New file.
19213         * sysdeps/x86_64/elf/initfini.c: Remove file.
19215 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19217         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19218         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19219         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19220         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19221         <bits/inotify.h>.
19222         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19224         bits/inotify.h.
19226 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19228         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19229         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19230         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19231         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19232         <bits/eventfd.h>.
19233         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19234         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19235         bits/eventfd.h.
19237 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19239         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19240         __feraiseexcept instead of feraiseexcept.
19242         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19243         nanosleep invocations.
19244         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19245         strings, and add error checking for a nanosleep invocations.
19247 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19249         Replace FSF snail mail address with URLs, as per GNU coding standards.
19250         Most of the snail mail addresses were wrong anyway, and omitting
19251         them makes the source code easier to maintain.  Almost all of the
19252         changes are to license notices and to locale LC_IDENTIFICATION
19253         addresses, except for this one:
19254         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19255         not its snail mail address.
19257 2012-02-09  Richard Henderson  <rth@twiddle.net>
19259         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19260         of kernel-features.h.
19262         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19264 2012-02-08  Marek Polacek  <polacek@redhat.com>
19266         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19267         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19268         * sysdeps/gnu/_G_config.h: Likewise.
19269         * sysdeps/generic/_G_config.h: Likewise.
19271 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19273         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19274         tests.
19275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19277         * sysdeps/powerpc/powerpc32/crti.S: New file.
19278         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19279         * sysdeps/powerpc/powerpc64/crti.S: New file.
19280         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19282         * Makeconfig (have-initfini): Don't set.
19283         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19284         * configure.in (nopic_initfini): Don't substitute.
19285         * config.h.in (HAVE_INITFINI): Don't #undef.
19286         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19287         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19289 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19291         Support crti.S and crtn.S provided directly by architectures.
19292         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19293         [crti.S in sysdirs] (omit-deps): Likewise.
19294         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19295         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19296         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19297         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19298         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19299         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19300         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19301         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19302         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19303         compiler output for sysdeps/generic/initfini.c.
19304         * sysdeps/i386/elf/Makefile: Remove file.
19305         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19307 2012-02-07  Marek Polacek  <polacek@redhat.com>
19309         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19310         * sysdeps/gnu/_G_config.h: Likewise.
19311         * sysdeps/mach/hurd/_G_config.h: Likewise.
19313 2012-02-07  Marek Polacek  <polacek@redhat.com>
19315         * math/Makefile (tests): Add tst-CMPLX2.
19316         * math/tst-CMPLX2.c: New file.
19318 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19320         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19322         * math/libm-test.inc (jn_test): Add missing L suffix.
19324 2012-02-06  Marek Polacek  <polacek@redhat.com>
19326         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19327         * sysdeps/i386/fpu/e_powf.S: Likewise.
19328         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19329         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19330         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19331         * sysdeps/i386/fpu/e_pow.S: Likewise.
19332         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19333         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19334         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19335         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19336         * sysdeps/i386/fpu/e_log2.S: Likewise.
19337         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19338         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19339         * sysdeps/i386/fpu/e_powl.S: Likewise.
19340         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19341         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19342         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19343         * sysdeps/i386/fpu/e_logl.S: Likewise.
19344         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19345         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19346         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19347         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19348         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19349         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19350         * sysdeps/i386/fpu/e_log.S: Likewise.
19351         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19352         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19353         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19354         * sysdeps/i386/fpu/e_logf.S: Likewise.
19355         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19356         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19357         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19358         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19359         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19360         * sysdeps/i386/fpu/e_log10.S: Likewise.
19361         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19362         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19363         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19364         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19365         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19366         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19367         * sysdeps/i386/asm-syntax.h: Likewise.
19368         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19369         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19370         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19371         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19372         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19373         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19374         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19375         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19376         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19377         * sysdeps/powerpc/sysdep.h: Likewise.
19378         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19379         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19381 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19383         [BZ #411]
19384         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19386 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19388         * sysdeps/i386/sysdep.h: Include <features.h>.
19389         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19390         version.
19392 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19394         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19395         Define.
19396         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19397         LOAD_PIC_REG_STR.
19399 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19401         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19402         (SETUP_PIC_REG): Use GET_PC_THUNK.
19403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19404         macro.
19406 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19408         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19409         for non-PIC compilation.
19410         (SETUP_PIC_REG): Add .p2align directive.
19411         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19412         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19413         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19414         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19415         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19416         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19417         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19418         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19419         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19420         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19421         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19422         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19423         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19424         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19425         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19426         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19427         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19428         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19429         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19430         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19431         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19432         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19433         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19434         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19435         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19436         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19437         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19438         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19439         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19440         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19441         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19442         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19443         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19444         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19445         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19446         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19447         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19448         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19449         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19450         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19451         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19453 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19455         * math/tst-CMPLX.c: Include <stdio.h>.
19457 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19459         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19460         float.
19461         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19462         * sysdeps/sparc/bits/mathdef.h: Likewise.
19464 2012-01-31  Marek Polacek  <polacek@redhat.com>
19466         * libio/libio.h: Don't define _PARAMS.
19467         * locale/programs/config.h: Don't define PARAMS.
19468         * stdlib/strtol_l.c: Likewise.
19469         (__strtol_l): Remove PARAMS from the prototype.
19471 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19473         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19474         names.  Just use the correct names.  Remove unnecessary wrapper
19475         functions.
19476         * malloc/arena.c: Likewise.
19477         * malloc/hooks.c: Likewise.
19479         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19480         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19481         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19483 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19485         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19486         into tail calls.
19487         (update_get_addr): New function.
19488         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19489         GET_ADDR_MODULE parameter.
19491 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19493         * crypt/cert.c: Remove __STDC__ conditionals.
19494         * crypt/crypt-entry.c: Likewise.
19495         * crypt/crypt_util.c: Likewise.
19496         * libio/filedoalloc.c: Likewise.
19497         * libio/fileops.c: Likewise.
19498         * libio/genops.c: Likewise.
19499         * libio/iofclose.c: Likewise.
19500         * libio/iofdopen.c: Likewise.
19501         * libio/iofopen.c: Likewise.
19502         * libio/iofopen64.c: Likewise.
19503         * libio/iogetdelim.c: Likewise.
19504         * libio/iopopen.c: Likewise.
19505         * libio/obprintf.c: Likewise.
19506         * libio/oldfileops.c: Likewise.
19507         * libio/oldiofclose.c: Likewise.
19508         * libio/oldiofdopen.c: Likewise.
19509         * libio/oldiofopen.c: Likewise.
19510         * libio/oldiopopen.c: Likewise.
19511         * libio/wfiledoalloc.c: Likewise.
19512         * libio/wgenops.c: Likewise.
19513         * locale/programs/xmalloc.c: Likewise.
19514         * misc/syslog.c: Likewise.
19515         * stdio-common/xbug.c: Likewise.
19516         * string/memchr.c: Likewise.
19517         * string/memcmp.c: Likewise.
19518         * string/memrchr.c: Likewise.
19519         * string/rawmemchr.c: Likewise.
19520         * sysdeps/posix/getcwd.c: Likewise.
19521         * time/strftime_l.c: Likewise.
19523 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19525         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19526         * config.make.in (config-cflags-sse2avx): Define.
19527         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19528         Fix typo.
19530 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19532         * scripts/config.guess: Update from upstream config git repository.
19533         * scripts/config.sub: Likewise.
19535 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19537         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19538         (EM_NUM): Update.
19539         (R_TILEPRO_*, R_TILEGX_*): New macros.
19541         * scripts/firstversions.awk: Fix bug in version range handling.
19543         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19545         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19547         * include/sys/epoll.h: New file.
19548         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19549         libc_hidden_def.
19551 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19553         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19554         Avoid unnecessary __WORDSIZE == 64 test.
19555         (fmaxf): Use VEX format if possible.
19556         (fmax): Likewise.
19557         (fminf): Likewise.
19558         (fmin): Likewise.
19560         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19561         * math/math_private.h: Remove libc_fegetround* and
19562         libc_fesetround*.
19563         * sysdeps/i386/configure.in: Check for -msse2avx.
19564         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19565         also if SSE2AVX is defined.
19566         Remove libc_fegetround* and libc_fesetround*.
19567         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19568         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
19569         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19570         of HAS_YMM_USABLE.
19571         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19572         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19573         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19574         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19575         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19577         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19579 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19581         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19582         size is not set.
19583         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19585 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
19587         [BZ #13618]
19588         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19589         relocation.
19590         * Makeconfig (libm): Define.
19591         * elf/Makefile: Add rules to build and run tst-relsort1.
19592         * elf/tst-relsort1.c: New file.
19593         * elf/tst-relsort1mod1.c: New file.
19594         * elf/tst-relsort1mod2.c: New file.
19596 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
19598         * math/s_ldexp.c: Remove __STDC__ conditionals.
19599         * math/s_ldexpf.c: Likewise.
19600         * math/s_ldexpl.c: Likewise.
19601         * math/s_nextafter.c: Likewise.
19602         * math/s_nexttowardf.c: Likewise.
19603         * math/s_significand.c: Likewise.
19604         * math/s_significandf.c: Likewise.
19605         * math/s_significandl.c: Likewise.
19606         * math/w_jnl.c: Likewise.
19607         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19608         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19609         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19610         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19611         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19612         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19613         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19614         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19615         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19616         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19617         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19618         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19619         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19620         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19621         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19622         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19623         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19624         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19625         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19626         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19627         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19628         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19629         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19630         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19631         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19632         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19633         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19634         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19635         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19636         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19637         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19638         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19639         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19640         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19641         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19642         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19643         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19644         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19645         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19646         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19647         * sysdeps/ieee754/k_standard.c: Likewise.
19648         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19649         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19650         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19651         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19652         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19653         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19654         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19655         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19656         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19657         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19658         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19659         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19660         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19661         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19662         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19663         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19664         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19665         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19666         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19667         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19668         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19669         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19670         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19671         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19672         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19673         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19676         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19677         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19678         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19679         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19680         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19681         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19682         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19683         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19684         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19685         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19686         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19687         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19688         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19690         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19691         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19692         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19693         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19694         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19695         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19696         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19697         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19698         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19699         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19700         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19701         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19702         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19703         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19704         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19705         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19706         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19707         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19708         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19709         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19710         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19711         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19712         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19713         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19714         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19715         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19716         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19717         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19718         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19719         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19720         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19721         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19722         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19723         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19724         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19725         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19726         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19727         * sysdeps/ieee754/s_matherr.c: Likewise.
19728         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19729         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19733 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19735         * crypt/md5.h: Remove __STDC__ conditionals.
19736         * libio/libioP.h: Likewise.
19737         * locale/programs/config.h: Likewise.
19738         * sysdeps/generic/sysdep.h: Likewise.
19739         * sysdeps/i386/asm-syntax.h: Likewise.
19740         * sysdeps/s390/asm-syntax.h: Likewise.
19741         * sysdeps/unix/sysdep.h: Likewise.
19742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19745 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19747         * libio/libio.h: Remove __STDC__ conditionals.
19748         * malloc/obstack.h: Likewise.
19749         * math/complex.h: Likewise.
19750         * math/math.h: Likewise.
19751         * sysdeps/generic/_G_config.h: Likewise.
19752         * sysdeps/gnu/_G_config.h: Likewise.
19753         * sysdeps/mach/hurd/_G_config.h: Likewise.
19754         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19755         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19756         * sysdeps/sparc/bits/mathdef.h: Likewise.
19758 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
19760         [BZ #13583]
19761         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19762         Clean up HAS_* macros.
19763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19764         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19765         possible.
19766         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19767         HAS_AVX.
19768         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19769         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19770         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19771         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19772         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19774 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
19776         * elf/tst-unique3.cc (gets): Remove declaration.
19777         * elf/tst-unique3lib.cc (gets): Likewise.
19778         * elf/tst-unique3lib2.cc (gets): Likewise.
19779         * elf/tst-unique4.cc (gets): Likewise.
19781 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
19783         * include/stdio.h: Add C++ protection.  Add gets declarations and
19784         definitions.
19785         * debug/tst-chk1.c: Don't declare gets here.
19786         * stdio-common/tst-gets.c: Likewise.
19788 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19790         * posix/glob: Remove directory.
19792 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19794         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19796 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
19798         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19799         of the non-standard EPFNOSUPPORT.
19801 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19803         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19804         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19805         ANYWHERE set to 1 only on KERN_NO_SPACE error.
19807 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
19809         * wcsmbs/uchar.h: Test __STDC_VERSION__.
19811 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
19813         * nscd/aicache.c (addhstaiX): Do not cache negative results of
19814         transient errors.
19815         * nscd/grpcache.c (cache_addgr): Likewise.
19816         * nscd/hstcache.c (cache_addhst): Likewise.
19817         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19818         * nscd/pwdcache.c (cache_addpw): Likewise.
19819         * nscd/servicescache.c (cache_addserv): Likewise.
19821 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
19823         * malloc/malloc.c: Various cleanups.
19824         * malloc/hooks.c: Likewise.
19826         * stdlib/Makefile (tests): Add bug-fmtmsg1.
19827         * stdlib/bug-fmtmsg1.c: New file.
19829         * stdlib/fmtmsg.c (init): Add missing unlock.
19830         Patch by Peng Haitao <penght@cn.fujitsu.com>.
19832 2012-01-12  Marek Polacek  <polacek@redhat.com>
19834         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19835         and _GNU_SOURCE.
19837 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19839         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19840         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19841         macro to ensure uniqueness of label name.
19842         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19843         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19845 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
19847         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19849         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19850         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19851         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19852         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19854 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
19856         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19858         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19859         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19860         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19862         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19864         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19865         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19866         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19869         * math/bits/math-finite.h: Add ldexp support.
19871 2012-01-10  Marek Polacek  <polacek@redhat.com>
19873         * locale/programs/localedef.h (show_archive_content): Add noreturn
19874         attribute.
19876 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
19878         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19880 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19882         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19884         * io/Makefile (headers): Add bits/poll2.h.
19886 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
19888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19889         typo #include statement.
19891 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19893         * include/sys/cdefs.h: Define __attribute_alloc_size.
19894         * catgets/gencat.c: Add alloc_size attribute and apply consistently
19895         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19896         * elf/pldd.c: Likewise.
19897         * iconv/iconv_charmap.c: Likewise.
19898         * iconv/iconvconfig.c: Likewise.
19899         * iconv/strtab.c: Likewise.
19900         * locale/programs/locale.c: Likewise.
19901         * locale/programs/localedef.h: Likewise.
19902         * locale/programs/simple-hash.c: Likewise.
19903         * nscd/nscd.h: Likewise.
19904         * nss/makedb.c: Likewise.
19905         * sysdeps/generic/ldconfig.h: Likewise.
19906         * locale/programs/localedef.c: Remove xmalloc prototype.
19907         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19909 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19911         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19912         appropriate.
19914 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19916         * math/Makefile (tests): Add tst-CMPLX.
19917         * math/tst-CMPLX.c: New file.
19919         * math/complex.h (CMPLXL): Fix typo.
19921         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19922         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19923         GLIBC_2.16.
19924         * debug/tst-chk1.c: Add poll and ppoll tests.
19925         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19926         * include/sys/poll.h: Add hidden proto for ppoll.
19927         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19928         * sysdeps/mach/hurd/ppoll.c: Likewise.
19929         * io/ppoll.c: Likewise.
19930         * debug/poll_chk.c: New file.
19931         * debug/ppoll_chk.c: New file.
19932         * include/bits/poll2.h: New file.
19933         * io/bits/poll2.h: New file.
19935         [BZ #1350]
19936         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19938         * configure.in: static is always set to yes.  Remove.
19939         * config.make.in: Don't set build-static.
19940         * Makeconfig: Remove use of build-static.
19941         * dlfcn/Makefile: Likewise.
19942         * elf/Makefile: Likewise.
19943         * math/Makefile: Likewise.
19944         * misc/Makefile: Likewise.
19945         * nptl/Makefile: Likewise.
19946         * sysdeps/mach/hurd/Makefile: Likewise.
19948         * configure.in: PWD_P is not used anymore.
19949         * config.make.in: Remove PWD_P entry.
19951         * configure.in: Remove last remnants of RANLIB.
19952         No need to check for signed size_t anymore.
19953         Don't set libc_commonpagesize and libc_relro_required here for Alpha
19954         and IA-64.
19955         Remove __builtin_expect test because we require at least gcc 3.4.
19956         * aclocal.m4: Likewise.
19958         * wcsmbs/mbrtoc16.c: Implement using towc function.
19959         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19960         * wcsmbs/wcsmbsload.c: Likewise.
19961         * iconv/gconv_simple.c: Likewise.
19962         * iconv/gconv_int.h: Likewise.
19963         * iconv/gconv_builtin.h: Likewise.
19964         * iconv/iconv_prog.c: Remove CHAR16 handling.
19966         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19968         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19970         * configure.in: Remove --with-elf and --enable-bounded options.
19971         Dont set base_machine for ia64.  More non-ELF conditions removed.
19972         Remove testing and setting of leading underscore information.
19973         * config.make.in (build-bounded): Set to no.
19974         * config.h.in: Remove NO_UNDERSCORES entry.
19975         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
19976         them.
19977         * csu/start.c: Remove !NO_UNDERSCORE code.
19978         * locale/localeinfo.h: Likewise.
19979         * sysdeps/generic/machine-gmon.h: Likewise.
19980         * sysdeps/generic/sysdep.h: Likewise.
19981         * sysdeps/i386/sysdep.h: Likewise.
19982         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19983         * sysdeps/mach/sysdep.h: Likewise.
19984         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19985         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19986         * sysdeps/sh/sysdep.h: Likewise.
19987         * sysdeps/sparc/sparc32/alloca.S: Likewise.
19988         * sysdeps/unix/i386/sysdep.S: Likewise.
19989         * sysdeps/unix/sparc/start.c: Likewise.
19990         * sysdeps/unix/sparc/sysdep.S: Likewise.
19991         * sysdeps/unix/sparc/sysdep.h: Likewise.
19992         * sysdeps/unix/start.c: Likewise.
19993         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19994         * sysdeps/x86_64/sysdep.h: Likewise.
19996 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
19998         [BZ #13553]
19999         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20000         for non-gcc.
20001         * argp/argp-fmtstream.h: Use const instead __const.
20002         * argp/argp.h: Likewise.
20003         * assert/assert.h: Likewise.
20004         * bits/fenv.h: Likewise.
20005         * bits/sched.h: Likewise.
20006         * bits/sigset.h: Likewise.
20007         * bits/sigthread.h: Likewise.
20008         * catgets/nl_types.h: Likewise.
20009         * conform/data/pthread.h-data: Likewise.
20010         * crypt/crypt-private.h: Likewise.
20011         * crypt/crypt.h: Likewise.
20012         * crypt/crypt_util.c: Likewise.
20013         * ctype/ctype.h: Likewise.
20014         * debug/execinfo.h: Likewise.
20015         * debug/mbsnrtowcs_chk.c: Likewise.
20016         * debug/mbsrtowcs_chk.c: Likewise.
20017         * debug/wcsnrtombs_chk.c: Likewise.
20018         * debug/wcsrtombs_chk.c: Likewise.
20019         * debug/wcstombs_chk.c: Likewise.
20020         * dirent/dirent.h: Likewise.
20021         * dlfcn/dlfcn.h: Likewise.
20022         * elf/neededtest4.c: Likewise.
20023         * grp/grp.h: Likewise.
20024         * gshadow/gshadow.h: Likewise.
20025         * iconv/gconv.h: Likewise.
20026         * iconv/gconv_int.h: Likewise.
20027         * iconv/gconv_simple.c: Likewise.
20028         * iconv/iconv.h: Likewise.
20029         * iconv/loop.c: Likewise.
20030         * iconv/skeleton.c: Likewise.
20031         * include/aio.h: Likewise.
20032         * include/aliases.h: Likewise.
20033         * include/argz.h: Likewise.
20034         * include/arpa/inet.h: Likewise.
20035         * include/assert.h: Likewise.
20036         * include/dirent.h: Likewise.
20037         * include/dlfcn.h: Likewise.
20038         * include/execinfo.h: Likewise.
20039         * include/fcntl.h: Likewise.
20040         * include/fenv.h: Likewise.
20041         * include/glob.h: Likewise.
20042         * include/grp.h: Likewise.
20043         * include/libintl.h: Likewise.
20044         * include/mntent.h: Likewise.
20045         * include/netdb.h: Likewise.
20046         * include/pwd.h: Likewise.
20047         * include/rpc/netdb.h: Likewise.
20048         * include/sched.h: Likewise.
20049         * include/search.h: Likewise.
20050         * include/shadow.h: Likewise.
20051         * include/signal.h: Likewise.
20052         * include/stdio.h: Likewise.
20053         * include/stdlib.h: Likewise.
20054         * include/string.h: Likewise.
20055         * include/sys/socket.h: Likewise.
20056         * include/sys/stat.h: Likewise.
20057         * include/sys/statfs.h: Likewise.
20058         * include/sys/statvfs.h: Likewise.
20059         * include/sys/syslog.h: Likewise.
20060         * include/sys/time.h: Likewise.
20061         * include/sys/uio.h: Likewise.
20062         * include/time.h: Likewise.
20063         * include/unistd.h: Likewise.
20064         * include/utmp.h: Likewise.
20065         * include/wchar.h: Likewise.
20066         * include/wctype.h: Likewise.
20067         * inet/aliases.h: Likewise.
20068         * inet/arpa/inet.h: Likewise.
20069         * inet/netinet/ether.h: Likewise.
20070         * inet/netinet/in.h: Likewise.
20071         * intl/libintl.h: Likewise.
20072         * io/bits/fcntl2.h: Likewise.
20073         * io/fcntl.h: Likewise.
20074         * io/ftw.h: Likewise.
20075         * io/sys/poll.h: Likewise.
20076         * io/sys/stat.h: Likewise.
20077         * io/sys/statfs.h: Likewise.
20078         * io/sys/statvfs.h: Likewise.
20079         * io/utime.h: Likewise.
20080         * libio/bits/stdio.h: Likewise.
20081         * libio/bits/stdio2.h: Likewise.
20082         * libio/libio.h: Likewise.
20083         * libio/libioP.h: Likewise.
20084         * libio/stdio.h: Likewise.
20085         * locale/lc-ctype.c: Likewise.
20086         * locale/locale.h: Likewise.
20087         * login/utmp.h: Likewise.
20088         * malloc/arena.c: Likewise.
20089         * malloc/malloc.c: Likewise.
20090         * malloc/malloc.h: Likewise.
20091         * malloc/mcheck.c: Likewise.
20092         * malloc/mtrace.c: Likewise.
20093         * math/bits/mathcalls.h: Likewise.
20094         * math/fenv.h: Likewise.
20095         * math/math_private.h: Likewise.
20096         * misc/bits/error.h: Likewise.
20097         * misc/bits/syslog.h: Likewise.
20098         * misc/err.h: Likewise.
20099         * misc/error.h: Likewise.
20100         * misc/fstab.h: Likewise.
20101         * misc/mntent.h: Likewise.
20102         * misc/regexp.h: Likewise.
20103         * misc/search.h: Likewise.
20104         * misc/sgtty.h: Likewise.
20105         * misc/sys/mman.h: Likewise.
20106         * misc/sys/syslog.h: Likewise.
20107         * misc/sys/uio.h: Likewise.
20108         * misc/sys/xattr.h: Likewise.
20109         * misc/ttyent.h: Likewise.
20110         * nis/rpcsvc/ypclnt.h: Likewise.
20111         * nss/nss.h: Likewise.
20112         * posix/bits/unistd.h: Likewise.
20113         * posix/fnmatch.h: Likewise.
20114         * posix/glob.h: Likewise.
20115         * posix/sched.h: Likewise.
20116         * posix/spawn.h: Likewise.
20117         * posix/sys/wait.h: Likewise.
20118         * posix/unistd.h: Likewise.
20119         * posix/wordexp.h: Likewise.
20120         * pwd/pwd.h: Likewise.
20121         * resolv/netdb.h: Likewise.
20122         * resource/sys/resource.h: Likewise.
20123         * rt/aio.h: Likewise.
20124         * rt/bits/mqueue2.h: Likewise.
20125         * rt/mqueue.h: Likewise.
20126         * shadow/shadow.h: Likewise.
20127         * signal/signal.h: Likewise.
20128         * socket/send.c: Likewise.
20129         * socket/sendto.c: Likewise.
20130         * socket/sys/socket.h: Likewise.
20131         * stdio-common/printf.h: Likewise.
20132         * stdlib/bits/stdlib.h: Likewise.
20133         * stdlib/fmtmsg.h: Likewise.
20134         * stdlib/monetary.h: Likewise.
20135         * stdlib/stdlib.h: Likewise.
20136         * stdlib/ucontext.h: Likewise.
20137         * streams/stropts.h: Likewise.
20138         * string/argz.h: Likewise.
20139         * string/bits/string2.h: Likewise.
20140         * string/string.h: Likewise.
20141         * string/strings.h: Likewise.
20142         * sunrpc/rpc/auth.h: Likewise.
20143         * sunrpc/rpc/auth_des.h: Likewise.
20144         * sunrpc/rpc/clnt.h: Likewise.
20145         * sunrpc/rpc/netdb.h: Likewise.
20146         * sunrpc/rpc/pmap_clnt.h: Likewise.
20147         * sunrpc/rpc/xdr.h: Likewise.
20148         * sysdeps/generic/inttypes.h: Likewise.
20149         * sysdeps/generic/net/if.h: Likewise.
20150         * sysdeps/generic/sys/swap.h: Likewise.
20151         * sysdeps/gnu/net/if.h: Likewise.
20152         * sysdeps/gnu/utmpx.h: Likewise.
20153         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20154         * sysdeps/i386/i486/bits/string.h: Likewise.
20155         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20156         * sysdeps/s390/bits/string.h: Likewise.
20157         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20158         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20159         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20160         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20161         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20162         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20163         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20164         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20165         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20166         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20167         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20168         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20169         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20170         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20171         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20172         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20173         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20174         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20175         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20176         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20177         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20178         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20179         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20180         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20181         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20182         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20183         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20184         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20185         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20186         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20187         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20188         * sysvipc/sys/ipc.h: Likewise.
20189         * sysvipc/sys/msg.h: Likewise.
20190         * sysvipc/sys/sem.h: Likewise.
20191         * sysvipc/sys/shm.h: Likewise.
20192         * termios/termios.h: Likewise.
20193         * time/sys/time.h: Likewise.
20194         * time/time.h: Likewise.
20195         * wcsmbs/bits/wchar2.h: Likewise.
20196         * wcsmbs/uchar.h: Likewise.
20197         * wcsmbs/wchar.h: Likewise.
20198         * wctype/wctype.h: Likewise.
20200         [BZ #13551]
20201         * Makeconfig: Remove all but ELF support including AIX support.
20202         * Makerules: Likewise.
20203         * config.h.in: Likewise.
20204         * config.make.in: Likewise.
20205         * configure: Likewise.
20206         * configure.in: Likewise.
20207         * csu/Makefile: Likewise.
20208         * csu/version.c: Likewise.
20209         * debug/Makefile: Likewise.
20210         * dlfcn/Makefile: Likewise.
20211         * elf/Makefile: Likewise.
20212         * extra-lib.mk: Likewise.
20213         * iconv/Makefile: Likewise.
20214         * include/libc-symbols.h: Likewise.
20215         * include/shlib-compat.h: Likewise.
20216         * resolv/Makefile: Likewise.
20217         * resolv/res_libc.c: Likewise.
20218         * rt/Makefile: Likewise.
20219         * sysdeps/i386/asm-syntax.h: Likewise.
20220         * sysdeps/i386/sysdep.h: Likewise.
20221         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20222         * sysdeps/mach/sysdep.h: Likewise.
20223         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20224         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20225         * sysdeps/s390/asm-syntax.h: Likewise.
20226         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20227         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20228         * sysdeps/sh/sysdep.h: Likewise.
20229         * sysdeps/unix/sparc/sysdep.h: Likewise.
20230         * sysdeps/wordsize-32/divdi3.c: Likewise.
20231         * sysdeps/x86_64/sysdep.h: Likewise.
20233         * argp/Versions: Remove _argp_unlock_xxx.
20235         [BZ #13559]
20236         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20237         * abilist/libBrokenLocale.abilist: Likewise.
20238         * abilist/libanl.abilist: Likewise.
20239         * abilist/libc.abilist: Likewise.
20240         * abilist/libcrypt.abilist: Likewise.
20241         * abilist/libdl.abilist: Likewise.
20242         * abilist/libm.abilist: Likewise.
20243         * abilist/libnsl.abilist: Likewise.
20244         * abilist/libpthread.abilist: Likewise.
20245         * abilist/libresolv.abilist: Likewise.
20246         * abilist/librt.abilist: Likewise.
20247         * abilist/libthread_db.abilist: Likewise.
20248         * abilist/libutil.abilist: Likewise.
20249         * abilist/libnss_db.abilist: New file.
20251         * scripts/abilist.awk: Add support for indirect functions.
20253         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20255         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20257         * shlib-versions: Remove entries for ports architectures.
20259         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20260         files in ports.
20261         * elf/stackguard-macros.h: Remove support for IA-64.
20262         * elf/tst-auditmod1.c: Likewise.
20263         * sysdeps/generic/ldsodefs.h: Likewise.
20265         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20266         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20267         configure files.
20269         [BZ #13552]
20270         * configure.in: Remove --enable-omitfp support.
20271         * FAQ.in: Adjust.
20272         * config.make.in: Likewise.
20273         * Makeconfig: Likewise.
20274         * manual/install.texi: Likewise.
20276         In case anyone cares, the IA-64 architecture could move to ports.
20277         * sysdeps/ia64/*: Removed.
20278         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20279         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20281         [BZ #13555]
20282         * configure.in: Remove entries for unsupported architectures.
20284         [BZ #13533]
20285         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20286         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20287         routines.
20288         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20289         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20290         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20291         fall back to using wcrtomb.
20292         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20293         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20294         renaming.
20295         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20296         * wcsmbs/tst-c16c32-1.c: New file.
20298         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20299         local variable.
20301         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20303         * elf/tst-unique3.cc: Add explicit declaration of gets.
20304         * elf/tst-unique3lib.cc: Likewise.
20305         * elf/tst-unique3lib2.cc: Likewise.
20306         * elf/tst-unique4.cc: Likewise.
20308         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20310 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20312         [BZ #13566]
20313         * assert/assert.h (static_assert): Don't define for C++.
20314         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20315         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20317 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20319         * iconv/loop.c (single loop): Fix assertion in storing of
20320         remaining bytes.
20322         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20324 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20326         * posix/getconf.c: Update copyright year.
20327         * nss/getent.c: Likewise.
20328         * nss/makedb.c: Likewise.
20329         * iconv/iconvconfig.c: Likewise.
20330         * iconv/iconv_prog.c: Likewise.
20331         * elf/ldconfig.c: Likewise.
20332         * elf/pldd.c: Likewise.
20333         * elf/sotruss.ksh: Likewise.
20334         * catgets/gencat.c: Likewise.
20335         * csu/version.c: Likewise.
20336         * elf/ldd.bash.in: Likewise.
20337         * elf/sprof.c (print_version): Likewise.
20338         * locale/programs/locale.c: Likewise.
20339         * locale/programs/localedef.c: Likewise.
20340         * login/programs/pt_chown.c: Likewise.
20341         * nscd/nscd.c (print_version): Likewise.
20342         * debug/xtrace.sh: Likewise.
20343         * malloc/memusage.sh: Likewise.
20344         * malloc/mtrace.pl: Likewise.
20345         * debug/catchsegv.sh: Likewise.
20347 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20349         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20350         pure attribute.
20352 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20354         [BZ #13533]
20355         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20356         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20357         transformations.
20358         * iconv/gconv_int.h: Likewise.
20359         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20360         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20361         from libc for GLIBC_2.16.
20362         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20363         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20364         * wcsmbs/uchar.h: Really define mbstate_t.
20365         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20366         * wcsmbs/c16rtomb.c: New file.
20367         * wcsmbs/mbrtoc16.c: New file.
20368         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20369         for C/POSIX locale.
20370         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20371         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20373         * wcsmbs/wchar.h: Add missing __restrict.
20375 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20377         [BZ #13532]
20378         * time/Makefile (routines): Add timespec_get.
20379         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20380         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20381         timespec for ISO C11.
20382         * time/timespec_get.c: New file.
20383         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20384         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20386         [BZ #13531]
20387         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20388         * stdlib/stdlib.h: Declare aligned_alloc.
20389         * Versions.def: Add GLIBC_2.16 for libc.
20390         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20392         [BZ 13527]
20393         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20394         ISO C11.
20396         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20397         code.
20399         [BZ #13528]
20400         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20402         [BZ #13529]
20403         * assert/assert.h (static_assert): Define.
20405         * version.h: Update for 2.16 development version.
20407         [BZ #13526]
20408         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20409         _ISOC11_SOURCE.
20411         * version.h (RELEASE): Bump for 2.15 release.
20412         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20414         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20415         Patch by Marek Polacek <mpolacek@redhat.com>.
20417         * bits/byteswap.h: Protect long long constants with __extension__.
20418         * sysdeps/i386/bits/byteswap.h: Likewise.
20419         * sysdeps/ia64/bits/byteswap.h: Likewise.
20420         * sysdeps/s390/bits/byteswap.h: Likewise.
20421         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20423 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20425         [BZ #13540]
20426         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20427         destination buffer.
20428         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20430 2011-12-23  Marek Polacek  <polacek@redhat.com>
20432         * elf/dl-addr.c (determine_info): Add inline keyword.
20433         * elf/tst-auditmod4b.c (check_avx): Likewise.
20434         * elf/tst-auditmod6b.c (check_avx): Likewise.
20435         * elf/tst-auditmod6c.c (check_avx): Likewise.
20436         * elf/tst-auditmod7b.c (check_avx): Likewise.
20438 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20440         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20441         !__SSE_MATH__.
20443 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20445         [BZ #13540]
20446         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20447         processing for last bytes.
20449 2011-08-06  Bruno Haible  <bruno@clisp.org>
20451         [BZ #13061]
20452         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20453         U+0385, not to U+1FEE.
20455         [BZ #13062]
20456         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20457         entry for U+00A5 U+0301.
20459 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20461         [BZ #13166]
20462         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20463         buffer for the output is too small.
20465         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20466         optimization.
20468         [BZ #13185]
20469         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20470         SSE flags if possible.
20472 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20474         [BZ #13540]
20475         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20476         processing for last bytes.
20478 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20480         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20481         (syscall-list-default-options, syscall-list-default-condition)
20482         (syscall-list-includes): Define.
20483         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20484         list of ABIs and options and #if conditions for each ABI.  Do not
20485         handle common syscalls between ABIs specially.
20486         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20487         Remove.
20488         (syscall-list-variants, syscall-list-32bit-options)
20489         (syscall-list-32bit-condition, syscall-list-64bit-options)
20490         (syscall-list-64bit-condition): Define.
20491         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20492         (syscall-list-variants, syscall-list-32bit-options)
20493         (syscall-list-32bit-condition, syscall-list-64bit-options)
20494         (syscall-list-64bit-condition): Define.
20495         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20496         Remove.
20497         (syscall-list-variants, syscall-list-32bit-options)
20498         (syscall-list-32bit-condition, syscall-list-64bit-options)
20499         (syscall-list-64bit-condition): Define.
20500         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20501         Remove.
20502         (syscall-list-variants, syscall-list-32bit-options)
20503         (syscall-list-32bit-condition, syscall-list-64bit-options)
20504         (syscall-list-64bit-condition): Define.
20506 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20508         * locale/iso-639.def: Add brx entry.
20510         [BZ #13328]
20511         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20512         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20514         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20515         __feraiseexcept_renamed.
20517 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20519         [BZ #13538]
20520         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20521         EPOLLET with unsigned values.
20522         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20523         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20525         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20526         to large cancellation.
20527         * math/s_cacoshf.c: Likewise.
20528         * math/s_cacoshl.c: Likewise.
20530 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20532         [BZ #13305]
20533         [BZ #12786]
20534         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20535         * math/s_cacoshf.c: Likewise.
20536         * math/s_cacoshl.c: Likewise.
20538 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20540         [BZ #13439]
20541         * iconv/gconv.h: Define __GCONV_SWAP.
20542         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20543         * iconvdata/utf-16.c: Likewise.
20544         * iconvdata/utf-32.c: Likewise.
20546 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20548         [BZ #13524]
20549         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20550         numerator after shifting it by one limb.
20552 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20554         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20555         under [__USE_EXTERN_INLINES].
20557 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20559         [BZ #13446]
20560         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20562 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20564         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20565         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20566         optimized code.
20567         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20568         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20569         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20570         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20571         for strncasecmp/strncasecmp_l compilation.
20572         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20573         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20575 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
20577         [BZ #13484]
20578         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20579         of __asm__.
20581 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20583         [BZ #13506]
20584         * time/tzfile.c (__tzfile_read): Check values from file header.
20586 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20588         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20589         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20590         * powerpc/powerpc32/dl-start.S: Likewise.
20591         * powerpc/powerpc32/elf/start.S: Likewise.
20592         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20593         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20594         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20595         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20596         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20597         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20598         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20599         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20600         * powerpc/powerpc32/fpu/s_round.S: Likewise.
20601         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20602         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20603         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20604         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20605         * powerpc/powerpc32/memset.S: Likewise.
20606         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20607         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20608         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20609         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20610         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20611         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20612         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20613         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20614         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20615         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20616         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20617         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20618         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20620 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20622         * math/libm-test.inc: Added more nearbyint tests.
20623         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20624         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20625         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20626         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20628 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
20630         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20631         FD_CLOEXEC.
20633 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20635         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20636         Add wcscpy-ssse3 wcscpy-c.
20637         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20638         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20639         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20640         * sysdeps/x86_64/wcschr.S: New file.
20641         * sysdeps/x86_64/wcsrchr.S: New file.
20642         * string/test-strcmp.c: Remove checking of wcscmp function for
20643         wrong alignments.
20644         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20645         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20646         wcsrchr-sse2 wcsrchr-c.
20647         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20648         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20649         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20650         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20651         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20652         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20653         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20654         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20655         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20656         * wcsmbc/wcschr.c (WCSCHR): New macro.
20658 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20660         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20661         * wcsmbs/test-wcsrchr.c: New file.
20662         * string/test-strrchr.c: Add wcsrchr support.
20663         (WIDE): New macro.
20664         * wcsmbs/test-wcscpy.c: New file.
20665         * string/test-strcpy.c: Add wcscpy support.
20666         (WIDE): New macro.
20668 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
20670         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20671         the inner loop.
20673 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
20675         [BZ #13472]
20676         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20678 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
20680         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20681         Minor optimizations.
20683         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20684         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20685         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20687 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
20689         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20690         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20691         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20692         for gcc to avoid warnings.
20693         * inet/Makefile (tests): Add tst-checks.
20694         * inet/tst-checks.c: New file.
20696         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20697         warning.
20699         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20700         __wmemcmp_sse2.
20702         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20703         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20705         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20707 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
20709         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20710         problem.
20712         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20714 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
20716         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20717         conditional on GCC version.
20718         (__arch_compare_and_exchange_val_8_acq)
20719         (__arch_compare_and_exchange_val_16_acq)
20720         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20721         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20722         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20724 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
20726         * sysdeps/sh/backtrace.c: New file.
20728 2011-12-02  Andreas Schwab  <schwab@redhat.com>
20730         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
20731         parenthesis.
20733 2011-12-01  Andreas Schwab  <schwab@redhat.com>
20735         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20736         falling back to utime.
20738 2011-11-30  Andreas Schwab  <schwab@redhat.com>
20740         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20741         expectations for float.
20743 2011-11-29  Andreas Schwab  <schwab@redhat.com>
20745         * locale/weight.h (findidx): Add parameter len.
20746         * locale/weightwc.h (findidx): Likewise.
20747         * posix/fnmatch_loop.c (FCT): Adjust caller.
20748         * posix/regcomp.c (build_equiv_class): Likewise.
20749         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20750         * posix/regexec.c (check_node_accept_bytes): Likewise.
20751         * string/strcoll_l.c (STRCOLL): Likewise.
20752         * string/strxfrm_l.c (STRXFRM): Likewise.
20754 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
20756         * Makefile.in: Remove CVSOPT handling.
20757         * configure.in: Remove use of AC_REVISION.
20758         * iconvdata/Makefile (distribute): No need to filter out CVS.
20759         * scripts/list-sources.sh: Remove CVS, subversion and monotone
20760         handling.
20762 2011-11-16  Andreas Schwab  <schwab@redhat.com>
20764         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20765         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20766         [USE_AS_STRNCASECMP_L]: Likewise.
20767         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20768         NO_TLS_DIRECT_SEG_REFS.
20769         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20770         Fix argument offsets for non-PIC.
20771         [USE_AS_STRNCASECMP_L]: Likewise.
20772         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20773         NO_TLS_DIRECT_SEG_REFS.
20775 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20777         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20778         O_CLOEXEC.
20779         * locale/loadlocale.c (_nl_load_locale): Likewise.
20781 2011-11-15  Andreas Schwab  <schwab@redhat.com>
20783         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20784         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20785         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20786         (SYSCALL_GETTIME): Set errno on error.
20788         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20789         count references to noai6ai_cached.
20791 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20793         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20795         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20796         FD_CLOEXEC for /proc/self/maps.
20798         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20799         FD_CLOEXEC for /proc/meminfo.
20801         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20802         gai.conf.
20804         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
20805         FD_CLOEXEC for given file.
20807         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20809         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20810         FD_CLOEXEC for /etc/hosts.
20811         (_gethtent): Likewise.
20813         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20815         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20816         cancellation and set FD_CLOEXEC for /etc/netgroup.
20818         * nss/nss_files/files-key.c (search): Don't allow cancellation when
20819         reading /etc/publickey.
20821         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20822         allow cancellation when reading /etc/group.
20824         * nss/nss_files/files-alias.c (internal_setent): Don't allow
20825         cancellation.
20826         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
20828         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20829         when using data file.
20831         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20833         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20834         (write_nis_obj): Use "c" and "e" in fopen.
20836         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20838         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20840         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20842         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20844         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20845         locale.alias.
20847         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20849         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20851         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20853         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20854         file parsing and set FD_CLOEXEC.
20856 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20858         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20860 2011-11-14  Andreas Schwab  <schwab@redhat.com>
20862         * malloc/arena.c (arena_get2): Don't call reused_arena when
20863         _int_new_arena failed.
20865 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20867         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20868         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20869         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20870         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20871         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20872         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20873         to compile strcasecmp and strncasecmp.
20874         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20875         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20879 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
20881         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20882         locale-defines.sym to gen-as-const-headers.
20883         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20884         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20885         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20886         to compile strcasecmp and strncasecmp.
20887         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20888         strcasecmp_l and strncasecmp_l.
20889         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20890         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20891         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20892         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20893         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20894         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20895         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20896         * sysdeps/i386/i686/multiarch/strncase.S: New file.
20897         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20898         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20899         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20901 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
20903         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20904         result of SYSDEP_GETTIME_CPU to retval.
20905         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20906         parameter list to macro.  Remove trailing semicolon.  Adjust users.
20908         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20909         variable.
20911         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20912         mantissa words.
20913         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20915         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20916         from unused variable.
20918         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20919         DWARF definitions.
20920         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20921         for assembling.
20923         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20924         over namespaces.
20926         * sunrpc/rpc_prot.c (rejected): Fix case value.
20928         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20929         unsigned long long int to avoid warnings in shift.
20931         * posix/regex_internal.c (re_string_reconstruct): Actually use result
20932         of use of trans.
20933         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20934         variable tmp.
20936         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20937         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20938         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20940         * nis/nis_table.c (nis_list): Use variable of correct type for
20941         result of __follow_path call.
20943 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20945         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20946         of math functions ceil, trunc, floor, round, and sqrt, when
20947         avaliable on the platform.
20948         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20949         name clash.
20950         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20951         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20952         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20954 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
20956         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20957         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20959 2011-11-11  Roland McGrath  <roland@hack.frob.com>
20961         * include/unistd.h: Fix __readlink return type.
20962         Reported by Chris Metcalf <cmetcalf@tilera.com>.
20964 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
20966         * stdlib/ucontext.h: Undo last change for makecontext.
20968 2011-11-11  Andreas Schwab  <schwab@redhat.com>
20970         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20972         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20973         * setjmp/setjmp.h: Mark functions as non-leaf.
20974         * setjmp/bits/setjmp2.h: Likewise.
20975         * stdlib/ucontext.h: Likewise.
20977 2011-11-10  Andreas Schwab  <schwab@redhat.com>
20979         * malloc/arena.c (_int_new_arena): Don't increment narenas.
20980         (reused_arena): Don't check arena limit.
20981         (arena_get2): Atomically check arena limit.
20983 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
20985         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20986         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20989         instructions.
20991 2011-11-07  Andreas Schwab  <schwab@redhat.com>
20993         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20994         handler when locking.
20996         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20997         Fix size of allocated buffer.
20999 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21001         [BZ #10103]
21002         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21003         declarations for long double functions.
21004         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21006         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21008 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21010         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21011         installed.
21013         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21014         is disabled.
21016 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21018         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21020 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21022         * include/alloca.h (stackinfo_alloca_round): Define.
21023         (extend_alloca): Use it.
21024         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21025         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21026         here.
21028         * scripts/check-local-headers.sh: Ignore libaudit.h.
21030         * nscd/Makefile (extra-objs): Make recursively expanded.
21032 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21034         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21035         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21037         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21038         * posix/tst-rfc3484-2.c: Likewise.
21039         * posix/tst-rfc3484-3.c: Likewise.
21041         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21042         process_vm_writev.
21043         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21044         process_vm_writev.
21045         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21046         process_vm_writev from libc using GLIBC_2.15 version.
21048         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21050 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21052         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21053         stack usage.
21055 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21057         [BZ #13367]
21058         * nss/getent.c (initgroups_keys): Show error message in case no group
21059         names are given.
21061         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21062         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21063         __bump_nl_timestamp.
21064         * nscd/connections (nscd_init): When host database is served open
21065         netlink socket and request notification about configuration changes.
21066         (main_loop_poll): Track netlink file descriptor and bump timestamp
21067         in case data becomes available.
21068         (main_loop_epoll): Likewise.
21069         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21070         (database_pers_head): Add extra_data fileds.
21071         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21072         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21073         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21074         Adjust caller.
21075         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21076         in6ai data, call __free_in6ai.
21077         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21078         Add -DHAVE_NETLINK.
21079         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21080         interface information.  Reuse previous data if netlink timestamp
21081         is not changed.
21082         (__bump_nl_timestamp): New function.
21083         (__free_in6ai): New function.
21085 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21087         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21088         close_not_cancel_no_status here.
21089         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21091 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21093         [BZ #13276]
21094         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21095         return value.
21097         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21098         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21099         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21101 2011-07-03  Andreas Jaeger  <aj@suse.de>
21103         [BZ #10709]
21104         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21105         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21106         * math/libm-test.inc (sin_test): Add test case.
21108 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21110         [BZ #13337]
21111         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21112         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21114         * elf/chroot_canon.c (chroot_canon): Cleanups.
21116         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21118         [BZ #13335]
21119         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21120         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21122         * string/test-strchr.c: Make usable for strchrnul testing.
21123         * string/test-strchrnul.c: New file.
21124         * string/Makefile (strop-tests): Add strchrnul.
21126         * po/it.po: Update from translation team.
21127         * po/es.po: Likewise.
21129 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21131         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21132         the three constants needed as parameters.  Drop the others.
21133         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21134         __m128i_strloadu_tolower.
21135         Create and initialize variable zero and use it in all the places
21136         where _mm_setzero_si128 was used.
21138         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21139         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21140         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21141         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21142         anymore.
21143         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21144         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21145         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21146         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21147         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21148         __mpranred, __mptan.
21149         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21150         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21151         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21152         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21153         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21154         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21155         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21156         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21157         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21159 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21161         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21162         redefine if SHARED.
21163         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21166         wide char related routines to wcsmbs subdir.
21168 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21170         [BZ #13344]
21171         * misc/sys/cdefs.h (__THROWNL): Define.
21172         * posix/unistd.h: Use __THREADNL instead of __THREAD
21173         for memory synchronization functions.
21175 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21177         [BZ #13349]
21178         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21179         doesn't exist.
21180         * manual/stdio.texi (Obstack Streams): Node removed.
21182 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21184         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21185         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21186         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21188         * math/math_private.h (math_force_eval): Allow non-addressable
21189         arguments.
21190         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21192 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21194         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21195         file is not needed.
21197         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21198         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21199         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21200         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21201         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21202         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21203         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21204         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21205         Add AVX variants.
21206         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21207         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21208         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21209         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21210         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21211         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21212         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21213         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21214         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21215         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21216         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21217         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21218         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21219         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21220         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21221         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21222         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21223         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21224         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21226         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21227         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21229         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21230         place.  Use VEX encoding when compiling for AVX.
21232 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21234         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21235         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21237         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21239 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21241         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21242         useless if() expression.
21243         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21244         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21245         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21246         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21247         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21248         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21249         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21250         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21251         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21252         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21253         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21254         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21255         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21256         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21257         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21258         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21259         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21260         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21261         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21263         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21265 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21267         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21268         condition.
21269         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21271 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21273         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21274         .text section.  Avoid duplicate constants.
21275         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21276         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21277         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21278         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21279         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21280         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21282         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21283         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21284         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21285         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21286         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21287         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21288         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21289         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21290         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21291         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21292         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21293         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21294         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21295         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21296         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21297         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21298         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21299         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21300         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21301         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21302         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21303         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21304         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21305         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21306         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21307         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21308         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21309         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21310         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21311         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21312         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21313         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21314         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21315         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21316         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21317         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21318         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21319         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21321 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21323         * sysdeps/x86_64/dla.h: Move to ...
21324         * sysdeps/x86_64/fpu/dla.h: ...here.
21325         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21326         situations.  Use __builtin_fma only for gcc 4.6 and up.
21328         * config.make.in: Add have-mfma4 entry.
21329         * configure.in: Substitute libc_cv_cc_fma4.
21330         * math/Makefile (dbl-only-routines): Add sincostab.
21331         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21332         Use __sincostab not sincos.
21333         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21334         name is a macro.
21335         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21336         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21337         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21338         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21339         using __copysign.
21340         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21341         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21342         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21343         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21344         and __inv.
21345         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21346         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21347         __copysign.
21348         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21349         define aliases when function name is a macro.
21350         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21351         sysdeps/ieee754/dbl-64/sincos.tbl.
21352         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21353         fma4-enabled routines.
21354         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21355         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21356         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21357         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21358         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21359         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21360         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21361         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21362         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21363         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21364         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21365         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21366         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21367         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21368         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21369         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21370         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21371         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21372         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21373         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21374         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21375         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21376         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21377         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21378         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21379         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21380         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21381         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21382         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21383         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21385         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21386         rename.
21387         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21388         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21389         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21391         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21392         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21393         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21394         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21396 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21398         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21400 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21404         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21405         prediction.
21406         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21408         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21409         Remove unused variable magic_bits.
21410         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21412         * string/strnlen.c: Define and use STRNLEN macro.
21413         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21414         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21415         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21416         * wcsmbs/wcslen.c: Define and use WCSLEN.
21417         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21418         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21419         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21420         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21421         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21422         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21423         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21425 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21428         strnlen-sse2-no-bsf.
21429         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21430         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21431         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21432         Add strnlen support.
21433         (USE_AS_STRNLEN): New macro.
21434         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21435         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21436         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21437         * sysdeps/x86_64/wcslen.S: New file.
21439 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21441         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21442         XMM-moves are used for copying on small sizes.
21444 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21446         * wcsmbs/Makefile (strop-tests): Add wcschr.
21447         * wcsmbs/test-wcschr.c: New file.
21448         * string/test-strchr.c: Update.
21449         Add wcschr support.
21450         (WIDE): New macro.
21452 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21454         * wcsmbs/Makefile (strop-tests): Add wcslen.
21455         * wcsmbs/test-wcslen.c: New file.
21456         * string/test-strlen.c: Update.
21457         Add wcslen support.
21458         (WIDE): New macro.
21460 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21462         * po/it.po: Update from translation team.
21464 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21466         * sysdeps/x86_64/wcscmp.S: Update.
21467         Fix wrong comparison semantics.
21468         wcscmp shall use signed comparison not unsigned.
21469         Don't use substraction to avoid overflow bug.
21470         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21471         * wcsmbc/wcscmp.c: Likewise.
21472         * string/test-strcmp.c: Likewise.
21473         Add new tests to check cases with negative values.
21475 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21477         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21478         * sysdeps/x86_64/dla.h: ...here.  New file.
21479         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21482         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21483         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21484         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21485         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21486         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21487         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21489 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21492         __ynl_finite aliases.
21494 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21498         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21499         define DLA_FMA.
21500         [DLA_FMA] (EMULV): Use DLA_FMA.
21501         [DLA_FMA] (MUL12): Use EMULV.
21502         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21503         that are not needed.
21504         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21508         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21509         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21510         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21512 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21514         * math/s_nan.c: Undef __nan.
21515         * math/s_nanf.c: Undef __nanf.
21516         * math/s_nanl.c: Undef __nanl.
21517         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21518         "math_private.h".
21520 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21522         * math/s_catan.c: Add branch predictions.
21523         * math/s_catanf.c: Likewise.
21524         * math/s_catanh.c: Likewise.
21525         * math/s_catanhf.c: Likewise.
21526         * math/s_catanhl.c: Likewise.
21527         * math/s_catanl.c: Likewise.
21528         * math/s_cexp.c: Likewise.
21529         * math/s_cexpf.c: Likewise.
21530         * math/s_cexpl.c: Likewise.
21531         * math/s_clog.c: Likewise.
21532         * math/s_clog10.c: Likewise.
21533         * math/s_clog10f.c: Likewise.
21534         * math/s_clog10l.c: Likewise.
21535         * math/s_clogf.c: Likewise.
21536         * math/s_clogl.c: Likewise.
21537         * math/s_csqrt.c: Likewise.
21538         * math/s_csqrtf.c: Likewise.
21539         * math/s_csqrtl.c: Likewise.
21540         * math/s_ctanf.c: Likewise.
21541         * math/s_ctanh.c: Likewise.
21542         * math/s_ctanhf.c: Likewise.
21543         * math/s_ctanhl.c: Likewise.
21544         * math/s_ctanl.c: Likewise.
21546         * math/math_private.h: Define __nan, __nanf, __nanl.
21547         * math/s_cacosh.c: Include <math_private.h>.
21548         * math/s_cacoshl.c: Likewise.
21549         * math/s_casinh.c: Likewise.
21550         * math/s_casinhf.c: Likewise.
21551         * math/s_casinhl.c: Likewise.
21552         * math/s_ccos.c: Rely entire on ccosh.
21553         * math/s_ccosf.c: Rely entire on ccoshf.
21554         * math/s_ccosl.c: Rely entirely on ccoshl.
21555         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
21556         Remove tests for FE_INVALID.
21557         * math/s_ccoshf.c: Likewise.
21558         * math/s_ccoshl.c: Likewise.
21559         * math/s_csin.c: Likewise.
21560         * math/s_csinf.c: Likewise.
21561         * math/s_csinh.c Likewise.
21562         * math/s_csinhf.c: Likewise.
21563         * math/s_csinhl.c: Likewise.
21564         * math/s_csinl.c: Likewise.
21565         * math/s_ctan.c: Likewise.
21566         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21567         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21568         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21570 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
21572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21573         compilation problems.
21575         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21576         __builtin_expect.
21578 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
21580         * sysdeps/i386/configure.in: Test for -mfma4 option.
21581         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21582         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21583         COMMON_CPUID_INDEX_80000001.
21584         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21585         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21586         use it if FMA3 is not supported.
21587         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21589         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21590         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21592 2011-10-20  Andreas Schwab  <schwab@redhat.com>
21594         [BZ #12892]
21595         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21596         it would create a cycle with a link time dependency.
21598 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
21600         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21601         instruction.
21602         * string/Makefile (strop-tests): Add rawmemchr.
21603         * string/test-rawmemchr.c: New file.
21605         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21606         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
21607         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
21608         when compiling str{,n}casecmp and when AVX is available.  Hook up
21609         new optimized code in initializers.
21611 2011-10-19  Andreas Schwab  <schwab@redhat.com>
21613         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21614         __feraiseexcept instead of feraiseexcept.
21616 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
21618         * math/math_private.h: Define defaults for libc_fetestexcept and
21619         libc_feupdateenv.
21620         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21621         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21622         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21623         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21624         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21625         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21626         libc_fetestexcept and libc_feupdateenv.
21628         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21629         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21630         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21631         * sysdeps/x86_64/fpu/math_private.h: Define special version of
21632         libc_feholdexcept_setround.
21634         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21635         Add s_nearbyint-c and s_nearbyintf-c.
21636         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21637         nearbyintf inlines.
21638         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21639         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21640         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21641         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21643         * math/math_private.h: Define defaults for libc_fegetround,
21644         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21645         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21646         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21647         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21648         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21649         standard functions.
21650         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21651         Remove comments and hacks for old compiler versions.
21652         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21653         libc_fegetround, libc_fesetround, libc_feholdexcept, and
21654         libc_feholdexceptl.
21656 2011-10-18  Andreas Schwab  <schwab@redhat.com>
21658         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21659         (__feraiseexcept_renamed): Add __NTH.
21660         (feraiseexcept): Add __NTH.  Rename local variables to fix
21661         namespace violations.
21663 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
21665         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21667         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21669         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21670         recently added interfaces.
21671         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21673         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21674         about macro parameter expansion.
21676         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21677         __NO_MATH_INLINES is defined.  Cleanups.
21679         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21680         and __floorf is target has SSE4.1.
21681         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21682         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21683         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21684         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21686         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21687         name.
21688         (floorf): Likewise.
21690         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21692 2011-10-17  Andreas Schwab  <schwab@redhat.com>
21694         * misc/sys/cdefs.h: Fix last change.
21696         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21697         database lookup.
21699 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
21701         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21703         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21704         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21705         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21706         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21707         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21708         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21709         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21710         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21711         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21712         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21713         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21714         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21715         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21716         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21717         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21718         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21719         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21720         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21721         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21722         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21723         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21724         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21726         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21727         ceil, ceilf, floor, floorf.
21729         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21730         Perform IRELATIVE relocations last.
21732         * elf/do-rel.h: Add another parameter nrelative, replacing the
21733         local variable with the same name.  Change name of the function
21734         to end in Rel or Rela (uppercase).
21735         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21736         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
21737         elf_dynamic_do_##reloc function.
21739 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21741         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21742         is sufficient, at least on modern CPUs.
21744         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21746         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21747         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21749         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21750         __expl_finite.
21751         * math/bits/math-finite.h: Add entries for exp.
21752         * math/e_expl.c: Add __*_finite alias.
21753         * sysdeps/i386/fpu/e_exp.S: Likewise.
21754         * sysdeps/i386/fpu/e_expf.S: Likewise.
21755         * sysdeps/i386/fpu/e_expl.c: Likewise.
21756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21757         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21758         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21760         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21761         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21762         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21764         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21765         is sufficient, at least on modern CPUs.
21767         * ctype/ctype-info.c (__ctype_init): Define.
21768         * include/ctype.h (__ctype_init): Declare.
21769         (__ctype_b_loc): The variable is always initialized.
21770         (__ctype_toupper_loc): Likewise.
21771         (__ctype_tolower_loc): Likewise.
21772         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21773         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21775 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
21777         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21779         * configure.in: Also look in $cxxmachine/include for C++ system
21780         headers.
21782 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21784         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21785         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21786         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21787         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
21788         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21789         (USE_AS_WMEMCMP): New macro.
21790         Fixing indents.
21791         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21792         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21793         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21794         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21795         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21796         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21797         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21798         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21799         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21800         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21801         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21802         (USE_AS_WMEMCMP): New macro.
21803         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21804         * sysdeps/string/test-memcmp.c: Update.
21805         Fix simple_wmemcmp.
21806         Add new tests.
21807         * wcsmbs/wmemcmp.c: Update.
21808         (WMEMCMP): New macro.
21809         Fix overflow bug.
21811 2011-10-12  Andreas Jaeger  <aj@suse.de>
21813         [BZ #13268]
21814         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21816 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21818         * libio/iofwide.c (do_length): Avoid warning.
21820         * ctype/ctype.h (__isctype_f): Add missing __THROW.
21822 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
21824         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21826         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21827         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21828         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21829         * sysdeps/i386/i686/fpu/e_log.S: New file.
21830         * sysdeps/i386/i686/fpu/e_logf.S: New file.
21831         * sysdeps/i386/i686/fpu/e_logl.S: New file.
21833         * ctype/ctype.h: Add support for inlined isXXX functions when
21834         compiling C++ code.
21836 2011-10-14  Andreas Schwab  <schwab@redhat.com>
21838         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21840         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21842 2011-10-13  Roland McGrath  <roland@hack.frob.com>
21844         [BZ #13291]
21845         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21847 2011-10-13  Andreas Schwab  <schwab@redhat.com>
21849         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21850         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21851         feraiseexcept.
21853         * sysdeps/x86_64/memrchr.S: Check for zero size.
21855         * string/stratcliff.c: Add memrchr tests.
21857 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21859         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21860         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21861         rawmemchr-sse2 rawmemchr-sse2-bsf.
21862         * sysdeps/i386/i686/multiarch/memchr.S: New file.
21863         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21864         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21865         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21866         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21867         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21868         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21869         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21870         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21871         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21872         * string/memrchr.c (MEMRCHR): New macro.
21874 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
21876         Add integration with gcc's -ffinite-math-only and optimize wrapper
21877         functions in libm.
21878         * Versions.def: Define GLIBC_2.15 version for libm.
21879         * math/Makefile (headers): Add bits/math-finite.h.
21880         * math/bits/math-finite.h: New file.
21881         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21882         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21883         * math/e_acoshl.c: Add __*_finite alias.
21884         * math/e_acosl.c: Likewise.
21885         * math/e_asinl.c: Likewise.
21886         * math/e_atan2l.c: Likewise.
21887         * math/e_atanhl.c: Likewise.
21888         * math/e_coshl.c: Likewise.
21889         * math/e_exp10.c: Likewise.
21890         * math/e_exp10f.c: Likewise.
21891         * math/e_exp10l.c: Likewise.
21892         * math/e_exp2l.c: Likewise.
21893         * math/e_fmodl.c: Likewise.
21894         * math/e_gammal_r.c: Likewise.
21895         * math/e_hypotl.c: Likewise.
21896         * math/e_j0l.c: Likewise.
21897         * math/e_j1l.c: Likewise.
21898         * math/e_jnl.c: Likewise.
21899         * math/e_lgammal_r.c: Likewise.
21900         * math/e_log10l.c: Likewise.
21901         * math/e_log2l.c: Likewise.
21902         * math/e_logl.c: Likewise.
21903         * math/e_powl.c: Likewise.
21904         * math/e_sinhl.c: Likewise.
21905         * math/e_sqrtl.c: Likewise.
21906         * math/e_scalb.c: Completely rewritten and optimized.
21907         * math/e_scalbf.c: Likewise.
21908         * math/e_scalbl.c: Likewise.
21909         * math/w_acos.c: Likewise.
21910         * math/w_acosf.c: Likewise.
21911         * math/w_acosl.c: Likewise.
21912         * math/w_acosh.c: Likewise.
21913         * math/w_acoshf.c: Likewise.
21914         * math/w_acoshl.c: Likewise.
21915         * math/w_asin.c: Likewise.
21916         * math/w_asinf.c: Likewise.
21917         * math/w_asinl.c: Likewise.
21918         * math/w_atan2.c: Likewise.
21919         * math/w_atan2f.c: Likewise.
21920         * math/w_atan2l.c: Likewise.
21921         * math/w_atanh.c: Likewise.
21922         * math/w_atanhf.c: Likewise.
21923         * math/w_atanhl.c: Likewise.
21924         * math/w_exp10.c: Likewise.
21925         * math/w_exp10f.c: Likewise.
21926         * math/w_exp10l.c: Likewise.
21927         * math/w_fmod.c: Likewise.
21928         * math/w_fmodf.c: Likewise.
21929         * math/w_fmodl.c: Likewise.
21930         * math/w_j0.c: Likewise.
21931         * math/w_j0f.c: Likewise.
21932         * math/w_j0l.c: Likewise.
21933         * math/w_j1.c: Likewise.
21934         * math/w_j1f.c: Likewise.
21935         * math/w_j1l.c: Likewise.
21936         * math/w_jn.c: Likewise.
21937         * math/w_jnf.c: Likewise.
21938         * math/w_log.c: Likewise.
21939         * math/w_logf.c: Likewise.
21940         * math/w_logl.c: Likewise.
21941         * math/w_log10.c: Likewise.
21942         * math/w_log10f.c: Likewise.
21943         * math/w_log10l.c: Likewise.
21944         * math/w_log2.c: Likewise.
21945         * math/w_log2f.c: Likewise.
21946         * math/w_log2l.c: Likewise.
21947         * math/w_pow.c: Likewise.
21948         * math/w_powf.c: Likewise.
21949         * math/w_powl.c: Likewise.
21950         * math/w_remainder.c: Likewise.
21951         * math/w_remainderf.c: Likewise.
21952         * math/w_remainderl.c: Likewise.
21953         * math/w_scalb.c: Likewise.
21954         * math/w_scalbf.c: Likewise.
21955         * math/w_scalbl.c: Likewise.
21956         * math/w_sqrt.c: Likewise.
21957         * math/w_sqrtf.c: Likewise.
21958         * math/w_sqrtl.c: Likewise.
21959         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21960         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
21961         used.
21962         * math/math_private.h: Declare __kernel_standard_f.
21963         * math/w_cosh.c: Remove cruft and optimize a bit.
21964         * math/w_coshf.c: Likewise.
21965         * math/w_coshl.c: Likewise.
21966         * math/w_exp2.c: Likewise.
21967         * math/w_exp2f.c: Likewise.
21968         * math/w_exp2l.c: Likewise.
21969         * math/w_hypot.c: Likewise.
21970         * math/w_hypotf.c: Likewise.
21971         * math/w_hypotl.c: Likewise.
21972         * math/w_lgamma.c: Likewise.
21973         * math/w_lgamma_r.c: Likewise.
21974         * math/w_lgammaf.c: Likewise.
21975         * math/w_lgammaf_r.c: Likewise.
21976         * math/w_lgammal.c: Likewise.
21977         * math/w_lgammal_r.c: Likewise.
21978         * math/w_sinh.c: Likewise.
21979         * math/w_sinhf.c: Likewise.
21980         * math/w_sinhl.c: Likewise.
21981         * math/w_tgamma.c: Likewise.
21982         * math/w_tgammaf.c: Likewise.
21983         * math/w_tgammal.c: Likewise.
21984         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21985         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21986         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21987         Minor optimizations.  Pretty printing.  Remove cruft.
21988         * sysdeps/i386/fpu/e_acosf.S: Likewise.
21989         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21990         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21991         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21992         * sysdeps/i386/fpu/e_acosl.c: Likewise.
21993         * sysdeps/i386/fpu/e_asin.S: Likewise.
21994         * sysdeps/i386/fpu/e_asinf.S: Likewise.
21995         * sysdeps/i386/fpu/e_atan2.S: Likewise.
21996         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21997         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21998         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21999         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22000         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22001         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22002         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22003         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22004         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22005         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22006         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22007         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22008         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22009         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22010         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22011         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22012         * sysdeps/i386/fpu/e_log.S: Likewise.
22013         * sysdeps/i386/fpu/e_log10.S: Likewise.
22014         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22015         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22016         * sysdeps/i386/fpu/e_log2.S: Likewise.
22017         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22018         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22019         * sysdeps/i386/fpu/e_logf.S: Likewise.
22020         * sysdeps/i386/fpu/e_logl.S: Likewise.
22021         * sysdeps/i386/fpu/e_pow.S: Likewise.
22022         * sysdeps/i386/fpu/e_powf.S: Likewise.
22023         * sysdeps/i386/fpu/e_powl.S: Likewise.
22024         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22025         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22026         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22027         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22028         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22029         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22030         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22031         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22032         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22033         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22034         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22035         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22036         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22037         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22038         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22039         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22040         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22041         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22042         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22043         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22044         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22045         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22046         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22047         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22048         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22049         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22050         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22051         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22052         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22053         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22054         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22055         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22056         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22057         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22058         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22059         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22060         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22061         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22062         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22063         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22064         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22065         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22066         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22067         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22068         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22069         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22070         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22071         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22072         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22073         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22074         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22075         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22076         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22077         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22078         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22079         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22080         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22081         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22082         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22083         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22084         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22085         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22086         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22087         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22088         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22089         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22090         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22091         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22092         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22093         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22094         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22095         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22096         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22097         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22098         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22099         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22100         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22101         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22102         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22103         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22104         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22105         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22106         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22107         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22109         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22110         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22111         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22112         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22113         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22114         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22115         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22116         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22117         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22118         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22119         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22120         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22121         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22122         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22123         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22124         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22125         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22126         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22127         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22128         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22129         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22130         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22131         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22132         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22133         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22134         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22135         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22136         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22137         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22138         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22139         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22140         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22141         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22142         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22143         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22144         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22145         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22146         (__isnanf): Likewise.
22147         (__isinf_ns): Likewise.
22148         (__isinf_nsf): Likewise.
22149         (__finite): Likewise.
22150         (__finitef): Likewise.
22151         (__ieee754_sqrt): Define as macro.
22152         (__ieee754_sqrtf): Define as macro.
22153         (__ieee754_sqrtl): Define as macro.
22154         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22155         inlined copy.
22156         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22157         __FINITE_MATH_ONLY__ consistent.
22158         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22160 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22162         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22163         of rawmemchr.
22165         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22167 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22169         * po/ja.po: Update from translation team.
22171 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22173         * locale/programs/locarchive.c (prepare_address_space): New function.
22174         (create_archive, enlarge_archive, open_archive): Use it.
22176         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22177         inside [SHARED], where it is used.
22179         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22181         * nss/getent.c (netgroup_keys): Remove unused variable.
22182         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22184 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22186         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22187         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22189         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22190         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22191         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22192         * math/Makefile (libm-calls): Add s_isinf_ns.
22193         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22194         * math/multc3.c: Likewise.
22195         * math/s_casin.c: Likewise.
22196         * math/s_casinf.c: Likewise.
22197         * math/s_casinl.c: Likewise.
22198         * math/s_ccos.c: Likewise.
22199         * math/s_ccosf.c: Likewise.
22200         * math/s_ccosl.c: Likewise.
22201         * math/s_ctan.c: Likewise.
22202         * math/s_ctanf.c: Likewise.
22203         * math/s_ctanh.c: Likewise.
22204         * math/s_ctanhf.c: Likewise.
22205         * math/s_ctanhl.c: Likewise.
22206         * math/s_ctanl.c: Likewise.
22207         * math/w_fmod.c: Likewise.
22208         * math/w_fmodf.c: Likewise.
22209         * math/w_fmodl.c: Likewise.
22210         * math/w_remainder.c: Likewise.
22211         * math/w_remainderf.c: Likewise.
22212         * math/w_remainderl.c: Likewise.
22213         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22214         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22215         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22216         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22217         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22218         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22219         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22220         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22222         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22223         of the number.
22224         * stdio-common/printf_fphex.c: Likewise.
22225         * stdio-common/printf_size.c: Likewise.
22227         * math/e_exp10.c: Include math_private.h using <...> not "...".
22228         * math/e_exp10f.c: Likewise.
22229         * math/e_exp10l.c: Likewise.
22230         * math/e_exp2l.c: Likewise.
22231         * math/e_j0l.c: Likewise.
22232         * math/e_j1l.c: Likewise.
22233         * math/e_jnl.c: Likewise.
22234         * math/e_lgammal_r.c: Likewise.
22235         * math/e_rem_pio2l.c: Likewise.
22236         * math/e_scalb.c: Likewise.
22237         * math/e_scalbf.c: Likewise.
22238         * math/e_scalbl.c: Likewise.
22239         * math/k_cosl.c: Likewise.
22240         * math/k_sinl.c: Likewise.
22241         * math/k_tanl.c: Likewise.
22242         * math/s_cacoshf.c: Likewise.
22243         * math/s_catan.c: Likewise.
22244         * math/s_catanf.c: Likewise.
22245         * math/s_catanh.c: Likewise.
22246         * math/s_catanhf.c: Likewise.
22247         * math/s_catanhl.c: Likewise.
22248         * math/s_catanl.c: Likewise.
22249         * math/s_ccosh.c: Likewise.
22250         * math/s_ccoshf.c: Likewise.
22251         * math/s_ccoshl.c: Likewise.
22252         * math/s_cexp.c: Likewise.
22253         * math/s_cexpf.c: Likewise.
22254         * math/s_cexpl.c: Likewise.
22255         * math/s_clog.c: Likewise.
22256         * math/s_clog10.c: Likewise.
22257         * math/s_clog10f.c: Likewise.
22258         * math/s_clog10l.c: Likewise.
22259         * math/s_clogf.c: Likewise.
22260         * math/s_clogl.c: Likewise.
22261         * math/s_csin.c: Likewise.
22262         * math/s_csinf.c: Likewise.
22263         * math/s_csinh.c: Likewise.
22264         * math/s_csinhf.c: Likewise.
22265         * math/s_csinhl.c: Likewise.
22266         * math/s_csinl.c: Likewise.
22267         * math/s_csqrt.c: Likewise.
22268         * math/s_csqrtf.c: Likewise.
22269         * math/s_csqrtl.c: Likewise.
22270         * math/s_ctan.c: Likewise.
22271         * math/s_ctanf.c: Likewise.
22272         * math/s_ctanh.c: Likewise.
22273         * math/s_ctanhf.c: Likewise.
22274         * math/s_ctanhl.c: Likewise.
22275         * math/s_ctanl.c: Likewise.
22276         * math/s_ldexp.c: Likewise.
22277         * math/s_ldexpf.c: Likewise.
22278         * math/s_ldexpl.c: Likewise.
22279         * math/s_significand.c: Likewise.
22280         * math/s_significandf.c: Likewise.
22281         * math/s_significandl.c: Likewise.
22282         * math/w_acos.c: Likewise.
22283         * math/w_acosf.c: Likewise.
22284         * math/w_acosh.c: Likewise.
22285         * math/w_acoshf.c: Likewise.
22286         * math/w_acoshl.c: Likewise.
22287         * math/w_acosl.c: Likewise.
22288         * math/w_asin.c: Likewise.
22289         * math/w_asinf.c: Likewise.
22290         * math/w_asinl.c: Likewise.
22291         * math/w_atan2.c: Likewise.
22292         * math/w_atan2f.c: Likewise.
22293         * math/w_atan2l.c: Likewise.
22294         * math/w_atanh.c: Likewise.
22295         * math/w_atanhf.c: Likewise.
22296         * math/w_atanhl.c: Likewise.
22297         * math/w_cosh.c: Likewise.
22298         * math/w_coshf.c: Likewise.
22299         * math/w_coshl.c: Likewise.
22300         * math/w_dremf.c: Likewise.
22301         * math/w_exp10.c: Likewise.
22302         * math/w_exp10f.c: Likewise.
22303         * math/w_exp10l.c: Likewise.
22304         * math/w_exp2.c: Likewise.
22305         * math/w_exp2f.c: Likewise.
22306         * math/w_fmod.c: Likewise.
22307         * math/w_fmodf.c: Likewise.
22308         * math/w_fmodl.c: Likewise.
22309         * math/w_hypot.c: Likewise.
22310         * math/w_hypotf.c: Likewise.
22311         * math/w_hypotl.c: Likewise.
22312         * math/w_j0.c: Likewise.
22313         * math/w_j0f.c: Likewise.
22314         * math/w_j0l.c: Likewise.
22315         * math/w_j1.c: Likewise.
22316         * math/w_j1f.c: Likewise.
22317         * math/w_j1l.c: Likewise.
22318         * math/w_jn.c: Likewise.
22319         * math/w_jnf.c: Likewise.
22320         * math/w_jnl.c: Likewise.
22321         * math/w_lgamma.c: Likewise.
22322         * math/w_lgamma_r.c: Likewise.
22323         * math/w_lgammaf.c: Likewise.
22324         * math/w_lgammaf_r.c: Likewise.
22325         * math/w_lgammal.c: Likewise.
22326         * math/w_lgammal_r.c: Likewise.
22327         * math/w_log.c: Likewise.
22328         * math/w_log10.c: Likewise.
22329         * math/w_log10f.c: Likewise.
22330         * math/w_log10l.c: Likewise.
22331         * math/w_log2.c: Likewise.
22332         * math/w_log2f.c: Likewise.
22333         * math/w_log2l.c: Likewise.
22334         * math/w_logf.c: Likewise.
22335         * math/w_logl.c: Likewise.
22336         * math/w_pow.c: Likewise.
22337         * math/w_powf.c: Likewise.
22338         * math/w_powl.c: Likewise.
22339         * math/w_remainder.c: Likewise.
22340         * math/w_remainderf.c: Likewise.
22341         * math/w_remainderl.c: Likewise.
22342         * math/w_scalb.c: Likewise.
22343         * math/w_scalbf.c: Likewise.
22344         * math/w_scalbl.c: Likewise.
22345         * math/w_sinh.c: Likewise.
22346         * math/w_sinhf.c: Likewise.
22347         * math/w_sinhl.c: Likewise.
22348         * math/w_sqrt.c: Likewise.
22349         * math/w_sqrtf.c: Likewise.
22350         * math/w_sqrtl.c: Likewise.
22351         * math/w_tgamma.c: Likewise.
22352         * math/w_tgammaf.c: Likewise.
22353         * math/w_tgammal.c: Likewise.
22355         * po/ja.po: Update from translation team.
22357 2011-09-29  Andreas Jaeger  <aj@suse.de>
22359         [BZ #13179]
22360         * sunrpc/netname.c (netname2host): Fix logic.
22362         [BZ #6779]
22363         [BZ #6783]
22364         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22365         correctly.
22366         * math/w_remainder.c (__remainder): Likewise.
22367         * math/w_remainderf.c (__remainderf): Likewise.
22368         * math/libm-test.inc (remainder_test): Add test cases.
22370 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22372         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22373         sdiv_qrnnd.
22375 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22377         * string/test-memcmp.c: Avoid unncessary #defines.
22378         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22380 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22382         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22383         Use new sse2 version for core i3 - i7 as it's faster
22384         than sse42 version.
22385         (bit_Prefer_PMINUB_for_stringop): New.
22386         * sysdeps/x86_64/rawmemchr.S: Update.
22387         Replace with faster SSE2 version.
22388         * sysdeps/x86_64/memrchr.S: New file.
22389         * sysdeps/x86_64/memchr.S: Update.
22390         Replace with faster SSE2 version.
22392 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22394         * elf/dl-load.c (lose): Add cast to avoid warning.
22396 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22398         * po/ca.po: Update from translation team.
22400         * inet/getnetgrent_r.c: Hook up nscd.
22401         * nscd/Makefile (routines): Add nscd_netgroup.
22402         (nscd-modules): Add netgroupcache.
22403         (CFLAGS-netgroupcache.c): Define.
22404         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22405         (cache_search): Add const to second parameter.
22406         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22407         INNETGR.
22408         (dbs): Add netgrdb entry.
22409         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22410         (verify_persistent_db): Handle netgrdb.
22411         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22412         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22413         GETFDNETGR.
22414         (netgroup_response_header): Define.
22415         (innetgroup_response_header): Define.
22416         (datahead): Add netgroup_response_header and innetgroup_response_header
22417         elements.
22418         * nscd/nscd.conf: Add entries for netgroup cache.
22419         * nscd/nscd.h (dbtype): Add netgrdb.
22420         (_PATH_NSCD_NETGROUP_DB): Define.
22421         (netgroup_iov_disabled): Declare.
22422         (xmalloc, xcalloc, xrealloc): Move declarations here.
22423         (cache_search): Adjust prototype.
22424         Add netgroup-related prototypes.
22425         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22426         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22427         (__nscd_innetgr): Declare.
22428         * nscd/selinux.c (perms): Use access_vector_t as element type and
22429         add netgroup-related initializers.
22430         * nscd/netgroupcache.c: New file.
22431         * nscd/nscd_netgroup.c: New file.
22432         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22433         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22434         For four parameters use innetgr.
22435         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22436         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22437         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22438         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22440         * nscd/connections.c (register_traced_file): Don't register file
22441         for disabled databases.
22443 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22445         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22447         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22448         from tree and freeing node.
22450 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22452         * nss/nsswitch.c (__nss_database_lookup): Handle
22453         nss_parse_service_list out of memory case.
22455 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22457         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22458         out of memory case.
22460 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22462         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22463         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22464         pass it down.
22465         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22466         elf_machine_rela, elf_machine_lazy_rel.
22467         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22468         (ELF_DYNAMIC_DO_REL): Likewise.
22469         (ELF_DYNAMIC_DO_RELA): Likewise.
22470         (ELF_DYNAMIC_RELOCATE): Likewise.
22471         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22472         to ELF_DYNAMIC_DO_REL.
22473         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22474         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22475         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22476         elf_machine_rela.
22477         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22478         skip_ifunc, don't call ifunc function if non-zero.
22479         (elf_machine_rela): Likewise.
22480         (elf_machine_lazy_rel): Likewise.
22481         (elf_machine_lazy_rela): Likewise.
22482         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22483         (elf_machine_lazy_rel): Likewise.
22484         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22485         Likewise.
22486         (elf_machine_lazy_rel): Likewise.
22487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22488         Likewise.
22489         (elf_machine_lazy_rel): Likewise.
22490         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22491         (elf_machine_lazy_rel): Likewise.
22492         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22493         (elf_machine_lazy_rel): Likewise.
22494         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22495         (elf_machine_lazy_rel): Likewise.
22496         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22497         (elf_machine_lazy_rel): Likewise.
22498         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22499         (elf_machine_lazy_rel): Likewise.
22500         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22501         (elf_machine_lazy_rel): Likewise.
22503 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22505         * nss/nss_files/files-init.c (_nss_files_init): Use static
22506         initialization for all the *_traced_file variables.
22508 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22510         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22512 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22514         [BZ #13226]
22515         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22517 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22519         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22520         Reread the line before reparsing it.
22522 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22524         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22526 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22527             Maxim Kuvyrkov  <maxim@codesourcery.com>
22528             Joseph Myers  <joseph@codesourcery.com>
22530         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22531         if needed for __stack_chk_guard.
22533 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22535         * sysdeps/posix/spawni.c (script_execute): Always define it.
22536         It will be optimized away if unused.
22537         (maybe_script_execute): New function.
22538         (__spawni): Call it.
22540         * Makerules: Don't include tls.make.
22541         (config-tls): Always set to thread.
22542         * tls.make.c: File removed.
22544 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22546         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22547         * config.make.in (CPPFLAGS-config): New substituted variable.
22549 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22551         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22553         [BZ #13192]
22554         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22555         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22557 2011-09-15  Roland McGrath  <roland@hack.frob.com>
22559         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22560         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22561         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22562         (CALL_FAIL): Likewise.
22563         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22564         (CALL_FAIL): Macro removed.
22565         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22567 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22569         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22570         for __FINITE_MATH_ONLY__ == 1.
22572 2011-09-15  Andreas Schwab  <schwab@redhat.com>
22574         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22575         __ieee754_sqrt instead of sqrt.
22576         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22577         __ieee754_sqrtf instead of sqrtf.
22578         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22579         __floorf instead of floorf.
22580         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22581         __floorf, __truncf instead of floorf, truncf.
22583 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
22585         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22587         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22588         __extern_always_inline.
22589         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22590         32-bit.
22592 2011-09-14  Andreas Schwab  <schwab@redhat.com>
22594         * elf/rtld.c (dl_main): Also relocate in dependency order when
22595         doing symbol dependency testing.
22597 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
22599         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22600         Always define `refsym'.
22602 2011-09-13  Andreas Schwab  <schwab@redhat.com>
22604         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22605         (__FD_ELT): Renamed from __FDELT.
22606         * misc/bits/select2.h (__FD_ELT): Likewise.
22607         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22608         __FD_MASK instead of __FDELT, __FDMASK.
22609         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22610         Likewise.
22611         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22612         Likewise.
22614         * elf/Makefile (gen-ldd): Fix pattern.
22616         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22617         (init_tls): Likewise.
22619 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
22621         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22623 2011-09-12  Andreas Schwab  <schwab@redhat.com>
22625         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22626         `struct cmsghdr *' instead of `void *'.
22627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22628         Likewise.
22630 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
22632         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22633         if non-absolute.
22634         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22635         ldd_rewrite_script.
22637 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
22639         * configure.in: Remove --with-tls option.
22640         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22641         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22642         out in case it is missing.
22643         * sysdeps/ia64/elf/configure.in: Likewise.
22644         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22645         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22646         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22647         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22648         * sysdeps/sh/elf/configure.in: Likewise.
22649         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22650         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22651         * sysdeps/x86_64/elf/configure.in: Likewise.
22652         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22653         * sysdeps/mach/hurd/tls.h: Likewise.
22655         [BZ #13067]
22656         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22658         [BZ #13090]
22659         * configure.in: Fix use of AC_INIT.
22661         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22663 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
22665         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22666         __set_errno.
22667         * malloc/hooks.c: Likewise.
22669         [BZ #11929]
22670         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
22671         variables statically.
22672         (narenas): Initialize.
22673         (list_lock): Initialize.
22674         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
22675         initializtion of main_arena and list_lock.  Small cleanups.
22676         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22677         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
22678         Add initializers to main_arena and mp_.
22679         (malloc_state): Remove pagesize member.  Change all users to use
22680         GLRO(dl_pagesize).
22682         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22683         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
22684         is always initialized.
22686         * malloc/malloc.c: Removed unused configurations and dead code.
22687         * malloc/arena.c: Likewise.
22688         * malloc/hooks.c: Likewise.
22689         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22691         * include/tls.h: Removed.  USE___THREAD must always be defined.
22692         * bits/libc-tsd.h: Don't handle !USE___THREAD.
22693         * elf/dl-libc.c: Likewise.
22694         * elf/dl-tsd.c: Likewise.
22695         * include/errno.h: Likewise.
22696         * include/netdb.h: Likewise.
22697         * include/resolv.h: Likewise.
22698         * inet/herrno-loc.c: Likewise.
22699         * inet/herrno.c: Likewise.
22700         * malloc/arena.c: Likewise.
22701         * malloc/hooks.c: Likewise.
22702         * malloc/malloc.c: Likewise.
22703         * resolv/res-state.c: Likewise.
22704         * resolv/res_libc.c: Likewise.
22705         * sysdeps/i386/dl-machine.h: Likewise.
22706         * sysdeps/ia64/dl-machine.h: Likewise.
22707         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22708         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22709         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22710         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22711         * sysdeps/sh/dl-machine.h: Likewise.
22712         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22713         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22714         * sysdeps/unix/i386/sysdep.S: Likewise.
22715         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22716         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22717         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22721         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22724         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22725         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22726         * sysdeps/x86_64/dl-machine.h: Likewise.
22727         * tls.make.c: Likewise.
22729         * configure.in: Remove --with-__thread option.  Make tests for
22730         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22731         tls_model attribute fail if no support is available.  Remove
22732         USE_IN_LIBIO.
22733         * Makeconfig: Adjust for dropped configure option.  All features are
22734         now mandatory.
22735         * Makerules: Likewise.
22736         * Versions.def: Likewise.
22737         * argp/argp-fmtstream.c: Likewise.
22738         * argp/argp-fmtstream.h: Likewise.
22739         * argp/argp-help.c: Likewise.
22740         * assert/assert.c: Likewise.
22741         * config.h.in: Likewise.
22742         * config.make.in: Likewise.
22743         * configure: Likewise.
22744         * configure.in: Likewise.
22745         * csu/Versions: Likewise.
22746         * csu/init.c: Likewise.
22747         * elf/tst-audit2.c: Likewise.
22748         * elf/tst-tls10.c: Likewise.
22749         * elf/tst-tls10.h: Likewise.
22750         * elf/tst-tls11.c: Likewise.
22751         * elf/tst-tls12.c: Likewise.
22752         * elf/tst-tls14.c: Likewise.
22753         * elf/tst-tlsmod11.c: Likewise.
22754         * elf/tst-tlsmod12.c: Likewise.
22755         * elf/tst-tlsmod13.c: Likewise.
22756         * elf/tst-tlsmod13a.c: Likewise.
22757         * elf/tst-tlsmod14a.c: Likewise.
22758         * elf/tst-tlsmod15b.c: Likewise.
22759         * elf/tst-tlsmod16a.c: Likewise.
22760         * elf/tst-tlsmod16b.c: Likewise.
22761         * elf/tst-tlsmod7.c: Likewise.
22762         * elf/tst-tlsmod8.c: Likewise.
22763         * elf/tst-tlsmod9.c: Likewise.
22764         * gmon/gmon.c: Likewise.
22765         * grp/fgetgrent_r.c: Likewise.
22766         * grp/putgrent.c: Likewise.
22767         * hurd/fopenport.c: Likewise.
22768         * include/libc-symbols.h: Likewise.
22769         * include/tls.h: Likewise.
22770         * intl/gettextP.h: Likewise.
22771         * intl/loadinfo.h: Likewise.
22772         * locale/global-locale.c: Likewise.
22773         * locale/localeinfo.h: Likewise.
22774         * mach/devstream.c: Likewise.
22775         * malloc/arena.c: Likewise.
22776         * malloc/set-freeres.c: Likewise.
22777         * misc/err.c: Likewise.
22778         * misc/getttyent.c: Likewise.
22779         * misc/mntent_r.c: Likewise.
22780         * posix/getopt.c: Likewise.
22781         * posix/wordexp.c: Likewise.
22782         * pwd/fgetpwent_r.c: Likewise.
22783         * resolv/Versions: Likewise.
22784         * resolv/res_hconf.c: Likewise.
22785         * shadow/fgetspent_r.c: Likewise.
22786         * shadow/putspent.c: Likewise.
22787         * stdio-common/printf_fphex.c: Likewise.
22788         * stdio-common/tmpfile.c: Likewise.
22789         * stdlib/abort.c: Likewise.
22790         * stdlib/fmtmsg.c: Likewise.
22791         * sunrpc/auth_unix.c: Likewise.
22792         * sunrpc/clnt_perr.c: Likewise.
22793         * sunrpc/clnt_tcp.c: Likewise.
22794         * sunrpc/clnt_udp.c: Likewise.
22795         * sunrpc/clnt_unix.c: Likewise.
22796         * sunrpc/openchild.c: Likewise.
22797         * sunrpc/svc_simple.c: Likewise.
22798         * sunrpc/svc_tcp.c: Likewise.
22799         * sunrpc/svc_udp.c: Likewise.
22800         * sunrpc/svc_unix.c: Likewise.
22801         * sunrpc/xdr.c: Likewise.
22802         * sunrpc/xdr_array.c: Likewise.
22803         * sunrpc/xdr_rec.c: Likewise.
22804         * sunrpc/xdr_ref.c: Likewise.
22805         * sunrpc/xdr_stdio.c: Likewise.
22807 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22809         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22811 2011-07-03  Andreas Jaeger  <aj@suse.de>
22813         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22814         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22815         regenerate with gen-libm-tests.pl.
22817 2010-05-12  Petr Baudis  <pasky@suse.cz>
22819         [BZ #11589]
22820         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22821         around j0() zero points by switching to j1().
22822         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22823         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22824         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22825         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22827 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22829         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22830         instead of 0.
22831         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22832         instead of 0.
22833         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22834         Patch in part by Pavel Roskin <proski@gnu.org>.
22836         [BZ #13138]
22837         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22838         realloc.
22839         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
22840         Free memory block if necessary.
22842         [BZ #12847]
22843         * libio/genops.c (INTDEF): For string streams the _lock pointer can
22844         be NULL.  Don't lock in this case.
22846 2011-09-09  Roland McGrath  <roland@hack.frob.com>
22848         * elf/elf.h (ELFOSABI_GNU): New macro.
22849         (ELFOSABI_LINUX): Define to that.
22851 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
22853         * string/strncat.c (strncat): Undef the symbol in case it has been
22854         defined in bits/string.h.
22856 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22858         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22860         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22861         link map.
22863 2011-08-17  Andreas Jaeger  <aj@suse.de>
22865         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22867 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22868             Ian Lance Taylor  <iant@google.com>
22870         * math/libm-test.inc (lround_test): New testcase.
22871         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22873 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
22875         * Makefile: Remove support for automatic cvs check-ins.
22876         * Makerules: Likewise.
22877         * config.make.in: Likewise.
22878         * configure.in: Likewise.
22879         * intl/Makefile: Likewise.
22880         * locale/Makefile: Likewise.
22881         * po/Makefile: Likewise.
22882         * posix/Makefile: Likewise.
22883         * sysdeps/gnu/Makefile: Likewise.
22884         * sysdeps/mach/hurd/Makefile: Likewise.
22885         * sysdeps/sparc/sparc32/Makefile: Likewise.
22887         [BZ #13118]
22888         * posix/Makefile (bug-regex32-ENV): Define.
22889         Patch by John Stanley <jpsinthemix@verizon.net>.
22891         * misc/Makefile (headers): Add bits/select2.h.
22892         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22893         * misc/bits/select2.h: New file.
22894         * include/bits/select2.h: New file.
22895         * debug/Makefile (routines): Add fdelt_chk.
22896         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22897         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22898         FD_ISSET.
22899         * debug/fdelt_chk.c: New file.
22901         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
22902         * wcsmbs/test-wmemcmp.c: Likewise.
22903         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22904         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22906 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22908         * string/Makefile (strop-tests): Add memcmp.
22909         * string/test-wmemcmp.c: New file.
22910         * string/test-memcmp.c: Add wmemcmp support.
22912 2011-09-08  Roland McGrath  <roland@hack.frob.com>
22914         [BZ #13153]
22915         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22916         2011-07-19 change.
22918         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22919         garbage value in a __mach_port_mod_refs call in the cases of the
22920         task-self and thread-self ports.
22922 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22924         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22926 2011-09-08  Andreas Schwab  <schwab@redhat.com>
22928         * elf/dl-load.c (lose): Check for non-null L.
22930 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22932         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22934         * elf/dl-libc.c (dlerror_run): Pass back error code from
22935         dl_catch_error.
22937         [BZ #13123]
22938         * elf/dl-load.c (lose): Free l_origin if it is valid.
22940         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22941         names.
22942         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22943         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22944         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22945         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22946         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22947         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22949 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22951         * sysdeps/powerpc/fpu/e_hypot.c: New file.
22952         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22953         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22954         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22955         * sysdeps/powerpc/fpu/k_cosf.c: New file.
22956         * sysdeps/powerpc/fpu/k_sinf.c: New file.
22957         * sysdeps/powerpc/fpu/s_cosf.c: New file.
22958         * sysdeps/powerpc/fpu/s_sinf.c: New file.
22959         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22960         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22962 2011-08-15  Alan Modra  <amodra@gmail.com>
22964         [BZ #13092]
22965         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22966         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22967         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
22968         ppc_mcount to static-only-routines.
22969         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22970         __mcount_internal.
22971         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22972         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
22974 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
22976         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22977         for finite and infinity parameters.
22979 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22981         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22982         and add nop instructions for throughput optimization.
22983         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22985 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
22987         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22988         aligned copy for power7 with vector-scalar instructions.
22989         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22991 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
22993         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22994         AVX check.
22996 2011-09-07  Andreas Schwab  <schwab@redhat.com>
22998         [BZ #13144]
22999         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23000         last change.
23002 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23004         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23005         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23006         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23007         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23008         clock_gettime.
23010 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23012         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23013         Forgot to demangle the pointer.
23015         * sysdeps/i386/sysdep.h: Define atom_text_section.
23016         * sysdeps/x86_64/sysdep.h: Likewise.
23017         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23018         section with atom_text_section.
23019         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23020         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23021         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23022         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23023         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23025         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23026         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23027         already be defined.  Change to take two parameters and don't assign
23028         result to variable.  Adjust all users.
23029         Define INTERNAL_GETTIME if not already defined.
23030         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23031         call.
23032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23033         HAVE_CLOCK_GETTIME_VSYSCALL.
23034         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23036         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23037         gettimeofday vsyscall, just use time.
23039 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23041         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23042         <errno.h>.
23044 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23046         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23047         syscall on x86-64.
23048         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23049         syscall.
23050         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23051         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23052         syscall if possible.
23054 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23056         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23057         e_ident.  Don't pass to find_mapsXX.
23058         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23060 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23063         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23064         * sysdeps/x86_64/multiarch/strchr.S: Update.
23065         Check bit_slow_BSF bit.
23066         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23067         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23068         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23070 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23072         [BZ #13134]
23073         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23074         before glibc 2.15.
23075         (tryshell): Define.
23076         (__spawni): Change last parameter to be flag.  Test
23077         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23078         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23079         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23080         * posix/spawni.c: Likewise.
23081         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23082         * posix/spawnp.c: Likewise.  Change normal version to use
23083         SPAWN_XFLAGS_USE_PATH.
23084         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23085         SPAWN_XFLAGS_TRY_SHELL.
23087         [BZ #13150]
23088         * posix/glob.h: Remove gcc 1.x support.
23090         [BZ #13068]
23091         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23093 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23096         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23097         strrchr-sse2-bsf
23098         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23099         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23100         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23101         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23102         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23103         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23105 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23107         * sysdeps/x86_64/wcscmp.S: New file.
23109         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23110         wcscmp-c wcscmp-sse2
23111         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23112         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23113         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23114         * wcsmbs/wcscmp.c: Allow renaming.
23116 2011-09-05  David S. Miller  <davem@davemloft.net>
23118         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23119         stack slot, rather than the struct return pointer slot.
23120         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23121         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23123         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23125 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23127         * po/ja.po: Update from translation team.
23129         [BZ #13144]
23130         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23131         kernel in 64-bit binaries.
23133 2011-09-01  David S. Miller  <davem@davemloft.net>
23135         * elf/elf.h (HWCAP_SPARC_*): Move to..
23136         * sysdeps/sparc/sysdep.h: this new file and add new values.
23137         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23138         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23139         _DL_HWCAP_COUNT to 24.
23140         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23141         entries.
23142         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23143         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23144         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23146         instead of magic constants.
23147         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23149 2011-08-31  David S. Miller  <davem@davemloft.net>
23151         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23153         Reimplement to do errno handling inline.
23154         (SYSCALL_ERROR_HANDLER): New macro.
23155         (__SYSCALL_STRING): Do not do errno handling in asm.
23156         (__CLONE_SYSCALL_STRING): Delete.
23157         (__INTERNAL_SYSCALL_STRING): Delete.
23158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23159         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23160         (PSEUDO): Reimplement to do errno handling inline.
23161         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23162         (SYSCALL_ERROR_HANDLER): New macro.
23163         (__SYSCALL_STRING): Do not do errno handling in asm.
23164         (__CLONE_SYSCALL_STRING): Delete.
23165         (__INTERNAL_SYSCALL_STRING): Delete.
23166         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23167         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23168         i386.
23169         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23170         (inline_syscall*): Add 'err' argument.
23171         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23172         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23173         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23174         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23176         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23177         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23179 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23181         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23183 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23185         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23186         directive.
23188 2011-08-24  David S. Miller  <davem@davemloft.net>
23190         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23192 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23194         * elf/Makefile: Add rules to build and run unload8 test.
23195         * elf/unload8.c: New file.
23196         * elf/unload8mod1.c: New file.
23197         * elf/unload8mod1x.c: New file.
23198         * elf/unload8mod2.c: New file.
23199         * elf/unload8mod3.c: New file.
23201         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23202         it wasn't used.
23204 2011-08-23  David S. Miller  <davem@davemloft.net>
23206         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23207         subtract stack bias.
23208         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23209         %sp not %fp in calculations.
23210         (_JMPBUF_UNWINDS_ADJ): Likewise.
23212         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23213         (aio_suspend): Call it to force an exception region around the
23214         AIO_MISC_WAIT() invocation.
23216 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23218         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23219         backslash.
23221 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23223         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23224         protection macro.
23225         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23226         and <dl-machine.h>.
23227         (Elf64_FuncDesc): Remove.
23229 2011-08-22  David S. Miller  <davem@davemloft.net>
23231         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23232         sigaltstack check, add missing cfi directives.
23233         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23234         missing cfi directives, and sigaltstack handling.
23236 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23238         [BZ #11724]
23239         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23240         object is seen twice.
23241         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23243         * elf/Makefile (distribute): Add tst-initorder2.c.
23244         (tests): Add tst-initorder2.
23245         (modules-names): Add tst-initorder2a tst-initorder2b
23246         tst-initorder2c tst-initorder2d.  Add rules to build them.
23247         ($(objpfx)tst-initorder2.out): New rule.
23248         * elf/tst-initorder2.c: New file.
23249         * elf/tst-initorder2.exp: New file.
23251 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23253         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23255         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23256         dependencies back to end of function.
23258         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23259         $(elfobjdir)/ld.so.
23261 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23263         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23264         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23265         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23266         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23267         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23268         of __vdso_gettimeofday.
23269         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23270         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23271         attribute_hidden.
23272         (_libc_vdso_platform_setup): Remove initialization of
23273         __vdso_gettimeofday and __vdso_time.
23275 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23277         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23278         and fgetc_unlocked.
23279         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23280         getc_unlocked.
23282         * elf/dl-open.c (add_to_global): Report additions to the global scope
23283         for LD_DEBUG=scopes.
23284         (dl_open_worker): Also print scope of newly loaded dependencies.
23285         (_dl_show_scope): Indicate if there is no scope.
23287         [BZ #13114]
23288         * stdio-common/Makefile (tests): Add bug24.
23289         * stdio-common/bug24.c: New file.
23291 2011-08-19  Andreas Jaeger  <aj@suse.de>
23293         [BZ #13114]
23294         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23295         non-existant file when using close-on-exec mode.
23297 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23300         the very first instruction.
23302         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23303         the CFI state in the end.
23304         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23305         inclusion of dl-trampoline.h.
23306         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23308 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23310         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23311         expectations for long double.
23313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23314         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23316 2011-08-14  David S. Miller  <davem@davemloft.net>
23318         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23319         artificual limit depends upon the system page size.
23321 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23323         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23324         * resolv/Makefile: Define CFLAGS-libresolv.
23326 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23328         * nss/makedb.c (compute_tables): Make variables used in nested
23329         function static.
23331 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23333         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23334         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23335         if buffer was too small.
23337         * elf/pldd.c (main): Attach to all threads in the process.
23338         Rewrite /proc handling to use *at functions.
23340 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23342         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23343         specifies first scope to show.
23344         (dl_open_worker): Update callers.  Move printing scope of new
23345         object to before the relocation.
23346         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23347         * sysdeps/generic/ldsodefs.h: Update declaration.
23349         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23350         string for the scope number.
23352 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23354         * nscd/servicescache.c (cache_addserv): Make sure written is always
23355         initialized.
23357 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23359         * sysdeps/i386/i486/bits/atomic.h
23360         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23361         statement expression, so as to suppress "set but not used" warning.
23362         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23364         * string/strncat.c (STRNCAT): Use prototype definition.
23366         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23367         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23368         -Iprograms here.
23369         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23370         (localedef-modules): Add localedef.
23371         (locale-modules): Add locale.
23373         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23374         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23375         to avoid a warning.
23377 2011-08-14  David S. Miller  <davem@davemloft.net>
23379         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23380         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23382 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23384         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23385         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23386         * elf/rtld.c (dl_main): Set l_name of vDSO.
23387         Call _dl_show_scope when DL_DEBUG_SCOPES.
23388         (process_dl_debug): Recognize scopes flag and also set it for all.
23389         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23390         Declare _dl_show_scope.
23392         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23393         (do_dlopen): Pass caller_dlopen to dl_open.
23394         (__libc_dlopen_mode): Initialize caller_dlopen.
23396         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23397         of libc.  Make tolower call locale-independent.  Optimize a bit by
23398         using isdigit instead of isalnum.
23399         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23401 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23403         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23404         was a dependency or dynamically loaded.
23406 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23408         * intl/l10nflist.c: Allow architecture-specific pop function.
23409         * sysdeps/x86_64/l10nflist.c: New file.
23411         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23412         classification.
23414 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23416         * include/dirent.h: Add libc_hidden_proto for scandirat and
23417         scandirat64.  Don't declare __scandirat64.
23418         * dirent/scandirat.c: Add libc_hidden_def.
23419         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23420         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23422 2011-08-10  David S. Miller  <davem@davemloft.net>
23424         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23425         enum.
23426         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23427         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23428         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23430 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23432         * Versions.def [libc]: Add GLIBC_2.15.
23433         * dirent/Makefile (routines): Add scandirat and scandirat64.
23434         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23435         GLIBC_2.15.
23436         * dirent/dirent.h: Declare scandirat and scandirat64.
23437         * dirent/scandirat.c: New file.
23438         * dirent/scandirat64.c: New file.
23439         * sysdeps/wordsize-64/scandirat.c: New file.
23440         * sysdeps/wordsize-64/scandirat64.c: New file.
23441         * dirent/opendir.c: Define opendirat.
23442         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23443         using scandirat.
23444         * dirent/scandir64.c: Adjust for scandir.c change.
23445         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23446         __scandirat64, and __scandir_cancel_handler.
23447         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23448         additional parameter and use openat instead of open (outside of ld.so).
23449         Add new __opendir as wrapper around __opendirat.
23450         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23451         here without requiring old scandirat implementation.
23453 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23455         * dirent/scandir.c (cancel_handler): Renamed to
23456         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23457         defined.  Adjust users.
23458         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23459         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23461 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23463         * string/test-string.h (IMPL): Use __STRING to expand name and then
23464         stringify it.
23466         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23467         of cleanups.
23469 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23471         * string/Makefile: Update.
23472         (strop-tests): Append strncat.
23473         * string/test-wcscmp.c: New file.
23474         New comprehensive test for wcscmp.
23475         * string/test-strcmp.c: Update.
23476         (WIDE): New define.
23478 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23480         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23481         line.
23483 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23486         encoding to ACE if AI_IDN.
23488 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23490         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23491         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23493 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23495         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23496         Fix overflow bug in strncat.
23497         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23499         * string/test-strncat.c: Update.
23500         Add new tests for checking overflow bugs.
23502 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23505         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23506         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23507         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23508         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23509         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23510         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23511         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23512         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23514         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23515         (USE_AS_STRCAT): Define.
23516         Add strcat and strncat support.
23517         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23519 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23521         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23522         __n bigger than INT_MAX+1.
23523         (__strncmp_g): Likewise.
23525 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23527         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23528         * libio/stido.h: Likewise.
23530         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23531         (AF_NFC): Define.
23532         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23533         (AF_NFC): Define.
23535         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23536         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23538         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23539         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23541         [BZ #13021]
23542         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23543         installed.
23545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23546         typo.
23547         (_dl_x86_64_save_sse): Likewise.
23549 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23551         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23552         OSXSAVE.
23553         (_dl_x86_64_save_sse): Likewise.
23555         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23557         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23559 2011-07-21  Andreas Schwab  <schwab@redhat.com>
23561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23562         change.
23563         (_dl_x86_64_save_sse): Use correct AVX check.
23565 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23567         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23568         bug in strncpy/strncat.
23569         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23571 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
23573         * string/tester.c (test_strcat): Add tests for different alignments
23574         of source and destination.
23575         (test_strncat): Likewise.
23577 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23579         [BZ #12852]
23580         * posix/glob.c (glob): Check passed in values before using them in
23581         expressions to avoid some overflows.
23582         (glob_in_dir): Likewise.
23584         [BZ #13007]
23585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23586         check for AVX enablement so that we don't crash with old kernels and
23587         new hardware.
23588         * elf/tst-audit4.c: Add same checks here.
23589         * elf/tst-audit6.c: Likewise.
23591         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23593 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
23595         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23597 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23599         * po/cs.po: Update from translation team.
23600         * po/bg.po: Likewise.
23602 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
23604         * misc/sys/cdefs.h: Add support for const attribute.
23605         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23606         to gnu_dev_{major,minor,makedev} functions.
23608 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
23610         * intl/dcigettext.c (get_output_charset): Add missing bracket.
23612 2011-07-20  Andreas Schwab  <schwab@redhat.com>
23614         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23615         strlen results.
23617 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23619         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23620         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23621         register in order to avoid conflicts with the soft frame pointer
23622         being held in r11 when necessary.
23623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23624         (INTERNAL_VSYSCALL_NCS): Likewise.
23626 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
23628         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23629         * elf/dl-fini.c (_dl_fini): Adjust caller.
23630         * elf/dl-close.c (_dl_close_worker): Likewise.
23631         * sysdeps/generic/ldsodefs.h: Adjust declaration.
23633 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23635         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23636         "aux_cache->nlibs < 0".
23638         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23639         in the reload-count case.
23641 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23644         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23645         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23646         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23647         * sysdeps/x86_64/multiarch/strcat.S: New file.
23648         * sysdeps/x86_64/multiarch/strncat.S: New file.
23649         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23650         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23651         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23652         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23653         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23654         (USE_AS_STRCAT): Define.
23655         Add strcat and strncat support.
23656         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23657         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23658         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23659         * string/strncat.c: Update.
23660         (USE_AS_STRNCAT): Define.
23661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23662         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23663         and i7.
23664         * sysdeps/x86_64/multiarch/init-arch.h
23665         (bit_Prefer_PMINUB_for_stringop): New.
23666         (index_Prefer_PMINUB_for_stringop): Likewise.
23667         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23668         bit_Prefer_PMINUB_for_stringop.
23670 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23672         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23673         buffer64.
23674         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23675         of casting of buffer.
23676         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23677         buffer32 and buffer64.
23678         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23679         writes instead of casting of buffer.
23680         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23681         buffer32.
23682         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23683         casting of buffer.
23685 2011-07-19  Andreas Schwab  <schwab@redhat.com>
23687         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23689 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23691         * nscd/nscd.c (termination_handler): Don't do anything for a database
23692         if it has not yet been initialized.
23694 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23696         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23698 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23700         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23702 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23704         * po/nl.po: Update from translation team.
23705         * po/sv.po: Likewise.
23707 2011-07-16  Roland McGrath  <roland@hack.frob.com>
23709         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23710         now disallowed by GCC.
23712         * configure.in (use-default-link): Default to yes if a test -shared
23713         link meets our qualifications.
23714         * configure: Regenerated.
23716         * config.make.in (output-format): New variable.
23717         * configure.in: Check for ld --print-output-format support.
23718         * configure: Regenerated.
23719         * Makerules ($(common-objpfx)format.lds)
23720         [$(output-format) != unknown]: Just use $(output-format),
23721         instead of the linker-script munging.
23723 2011-07-14  Roland McGrath  <roland@hack.frob.com>
23725         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23726         of $(common-objpfx)shlib.lds.
23727         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23729         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23730         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23732         * configure.in (-z relro check): Adjust test code to add a large
23733         writable data section after it.
23734         * configure: Regenerated.
23736 2011-07-11  Roland McGrath  <roland@hack.frob.com>
23738         * configure.in (-z relro check): Fix test code to make the variable
23739         truly const.
23740         * configure: Regenerated.
23742 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
23744         * nscd/nscd.h (struct traced_file): Define.
23745         (struct database_dyn): Remove inotify_descr, reset_res, and filename
23746         elements.  Add traced_files.
23747         (inotify_fd): Declare.
23748         (register_traced_file): Declare.
23749         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23750         (inotify_fd): Export.
23751         (resolv_conf_descr): Remove.
23752         (nscd_init): Move inotify descriptor creation to main.
23753         Don't register files for notification here.
23754         (register_traced_file): New function.
23755         (invalidate_cache): Don't use reset_res to determine whether to call
23756         res_init, go through the list of registered files.
23757         (main_loop_poll): The inotify descriptors are now stored in the
23758         structures for the traced files.
23759         (main_loop_epoll): Likewise
23760         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
23761         to __nss_disable_nscd.
23762         * nscd/cache.c (prune_cache): There is no single inotify descriptor
23763         for a database anymore.  Check the records for all the registered
23764         files instead.
23765         * nss/Makefile (libnss_files-routines): Add files-init.
23766         (libnss_db-routines): Add db-init.
23767         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23768         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23769         * nss/nss_db/db-init.c: New file.
23770         * nss/nss_files/files-init.c: New file.
23771         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
23772         __nss_lookup_function.
23773         (__nss_lookup_function): Call nss_load_library.
23774         (nss_load_all_libraries): New function.
23775         (__nss_disable_nscd): Take parameter with callback function for files
23776         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
23777         used for the cached services.
23778         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23779         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23780         options for features to all the files in nscd.
23782         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23784 2011-07-10  Roland McGrath  <roland@hack.frob.com>
23786         * csu/elf-init.c (__libc_csu_init): Comment typo.
23788 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
23790         * po/pl.po: Update from translation team.
23791         * po/ja.po: Likewise.
23792         * po/ru.po: Likewise.
23793         * po/ko.po: Likewise.
23794         * po/fr.po: Likewise.
23796 2011-07-09  Roland McGrath  <roland@hack.frob.com>
23798         * configure.in (.ctors/.dtors header and trailer check):
23799         Use an empirical test on a built program.
23800         * configure: Regenerated.
23802         * configure.in (-z relro check): Use an empirical test on a built DSO.
23803         Detect, but do not require, on ia64.
23804         * configure: Regenerated.
23806         * configure.in (READELF): Find it with AC_CHECK_TOOL.
23807         Update tests that use readelf to use $READELF instead.
23808         * configure: Regenerated.
23810 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
23812         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23813         if the result is not used.
23815 2011-07-05  Andreas Jaeger  <aj@suse.de>
23817         [BZ#9696]
23818         * stdlib/tst-strtod.c: Add testcase.
23820 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
23822         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23823         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23824         The latter has a higher limit.  Take additional parameter to pass to
23825         the new function.
23826         (__pathconf): Pass file to __statfs_link_max.
23827         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23828         __statfs_link_max.
23829         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23830         __statfs_link_max.
23832         [BZ #12868]
23833         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23834         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23835         Handle Lustre.
23836         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23837         (__statfs_filesize_max): Likewise.
23838         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23840 2011-07-05  Andreas Jaeger  <aj@suse.de>
23842         * resolv/res_comp.c (dn_skipname): Remove unused variable.
23844 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
23846         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23847         `status' variable.
23848         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23849         Likewise.
23851 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
23853         * Makefile (strop-tests): Add strncat.
23854         * string/test-strncat.c: New file.
23856 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
23858         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23860 2011-06-21  Andreas Jaeger  <aj@suse.de>
23862         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23863         Copy rule from iconvdata/Makefile.
23865 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23867         [BZ #12922]
23868         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23869         but no long options are defined, just return 'W'.
23871 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
23873         [BZ #9696]
23874         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23876 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23878         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23879         netgroups to read.
23880         (innetgr): Likewise.
23882 2011-07-05  Roland McGrath  <roland@hack.frob.com>
23884         * config.make.in (install_root): Default to $(DESTDIR).
23886 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
23888         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23890 2011-07-02  Roland McGrath  <roland@hack.frob.com>
23892         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23894         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23895         containing directory rather than embedding absolute directory names.
23897         * scripts/check-local-headers.sh: Rewritten using awk.
23898         Match by word, not by line.  Print error messages for matches.
23899         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23901         * Makerules [shlib-lds-flags empty]:
23902         ($(common-objpfx)libc_pic.opts): New target.
23903         ($(common-objpfx)libc_pic.os.clean): New target.
23904         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23906         * config.make.in (OBJCOPY): New variable.
23907         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23908         * configure: Regenerated.
23910         * config.make.in (use-default-link): New variable.
23911         * configure.in (use_default_link): Grok --with-default-link to set it.
23912         * configure: Regenerated.
23913         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23914         (shlib-lds, shlib-lds-flags): Define to empty.
23916         * Makerules (shlib-lds): New variable.
23917         (shlib-lds-flags): New variable.
23918         (build-shlib, build-moduile, build-module-asneeded): Use it.
23919         ($(common-objpfx)libc.so): Use $(shlib-lds).
23920         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23921         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23923         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23924         DT_FLAGS/DT_FLAGS_1 with zero flags.
23926         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23927         linker script munging.
23929 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
23931         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23932         as 128-bit value.
23933         * crypt/sha512.c (sha512_process_block): Perform total addition using
23934         128-bit if possible.
23935         (__sha512_finish_ctx): Likewise.
23936         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23937         as 64-bit value.
23938         * crypt/sha256.c (SWAP64): Define.
23939         (sha256_process_block): Perform total addition using 64-bit if
23940         possible.
23941         (__sha256_finish_ctx): Likewise.
23943 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
23945         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
23946         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23947         * nscd/hstcache.c (cache_addhst): Likewise.
23948         * nscd/grpcache.c (cache_addgr): Likewise.
23949         * nscd/aicache.c (addhstaiX): Likewise
23950         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23952 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
23954         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23955         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23956         * nscd/hstcache.c (cache_addhst): Likewise.
23957         * nscd/grpcache.c (cache_addgr): Likewise.
23958         * nscd/aicache.c (addhstaiX): Likewise
23960 2011-07-01  Andreas Schwab  <schwab@redhat.com>
23962         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23963         domain only when needed.
23965 2011-06-30  Andreas Schwab  <schwab@redhat.com>
23967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23968         is always restored.
23970 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
23972         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23973         are re-adding the entry.
23974         * nscd/servicescache.c (cache_addserv): Likewise.
23976 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
23978         * sysdeps/generic/dl-irel.h: fix protection against multiple
23979         inclusions.
23980         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23982 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
23984         [BZ #12935]
23985         * malloc/memusage.sh: Fix quoting in message.
23986         * debug/xtrace.sh: Likewise.
23988         * configure.in: Remove support for --experimental-malloc option, make
23989         it the default.
23990         * config.make.in: Likewise.
23991         * malloc/Makefile: Likewise.
23993 2011-06-27  Andreas Schwab  <schwab@redhat.com>
23995         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23996         two-byte characters.
23998 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24000         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24001         AC_CACHE_CHECK invocation.
24002         * configure: Regenerated.
24004         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24006 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24008         [BZ #12350]
24009         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24010         bit from old_res_options.
24012         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24014         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24015         value type for setfct.
24017 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24019         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24020         __gettimeofday instead of gettimeofday.
24022 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24024         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24026 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24028         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24030         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24031         info.
24033 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24036         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24037         strcpy-sse2-unaligned strncpy-sse2-unaligned
24038         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24039         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24040         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24041         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24042         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24043         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24044         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24045         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24046         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24047         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24048         (STRCPY): Support SSE2 and SSSE3 versions.
24050 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24052         [BZ #12874]
24053         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24054         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24055         kernels which artificially limit size of requests.
24057 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24059         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24060         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24061         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24062         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24063         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24064         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24065         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24066         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24067         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24068         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24069         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24070         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24071         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24072         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24073         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24075         Enable unaligned load optimization for Intel Core i3, i5 and i7
24076         processors.
24077         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24078         Define.
24079         (index_Fast_Unaligned_Load): Define.
24080         (HAS_FAST_UNALIGNED_LOAD): Define.
24082 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24084         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24086 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24088         [BZ #12907]
24089         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24090         until it is clear that the information is realy needed.
24091         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24093 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24097 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24099         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24100         /sys/devices/system/cpu/online if it is usable.
24102         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24103         reading the information from the /proc filesystem to once a second.
24105 2011-06-21  Andreas Jaeger  <aj@suse.de>
24107         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24108         NULL after inclusion of kernel headers.
24110 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24112         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24113         calls to internal_setent.
24115         [BZ #12885]
24116         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24117         addresses using gethostbyname4_r ignore IPv4 addresses.
24119         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24120         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24122         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24124 2011-06-20  David S. Miller  <davem@davemloft.net>
24126         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24127         inclusions.
24128         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24130         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24131         (elf_irel): Use it.
24132         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24133         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24134         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24135         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24136         * sysdeps/x86_64/dl-irel.h: Likewise.
24138         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24139         * elf/dl-sym.c: Likewise.
24141 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24143         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24144         need to dereference resplen2.
24146 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24148         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24150 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24152         * Makeconfig: Define vardbdir and inst_vardbdir.
24153         * nss/Makefile: Add rules to install db-Makefile.
24155         * nss/nss_db/db-XXX.c: Cleanup.
24157         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24158         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24159         GLIBC_PRIVATE.
24160         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24161         * nss/makedb.c: Implement -g option to specify that value strings
24162         are generated and should not be added to table iterated over for
24163         get*ent calls.
24164         * nss/nss_db/db-initgroups.c: New file.
24166         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24167         interface.
24169         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24170         (internal_getgrouplist): Adjust to name change.
24171         Update use_initgroups_entry if this is not the first call.
24172         * nss/databases.def: Add initgroups entry.
24174         * nss/makedb.c (compute_tables): Check result of multiple hash table
24175         sizes to minimize maximum chain length.
24177 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24179         * Versions.def: Add entry for libnss_db.
24180         * shlib-versions: Likewise.
24181         * nss/Makefile: Add rules to build libnss_db.
24182         * nss/Versions: Add libnss_db information.  Organize libnss_files
24183         entries better.
24184         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24185         makedb progra.  Some minor improvements to generate smaller files.
24186         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24187         here from...
24188         * nss/makedb.c: ...here.
24189         Improve database format to be smaller and require less memory at
24190         runtime.
24191         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24192         db anymore.
24193         * nss/nss_db/db-netgrp.c: Likewise.
24194         * nss/nss_db/db-open.c: Likewise.
24195         * nss/nss_files/flies-XXX.x: Adjust comments.
24196         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24197         * nss/nss_files/files-grp.c: Likewise.
24198         * nss/nss_files/files-hosts.c: Likewise.
24199         * nss/nss_files/files-network.c: Likewise.
24200         * nss/nss_files/files-proto.c: Likewise.
24201         * nss/nss_files/files-pwd.c: Likewise.
24202         * nss/nss_files/files-rpc.c: Likewise.
24203         * nss/nss_files/files-service.c: Likewise.
24204         * nss/nss_files/files-sgrp.c: Likewise.
24205         * nss/nss_files/files-spwd.c: Likewise.
24206         * nss/nss_db/db-alias.c: Removed.
24207         * nss/nss_db/dummy-db.h: Removed.
24209 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24211         * nss/makedb.c: Rewritten to not use database library.
24212         * nss/Makefile: Update to build new makedb program.
24214 2011-06-14  Andreas Jaeger  <aj@suse.de>
24216         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24217         memset declaration.
24219 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24222         tmpbuf.
24224 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24226         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24227         * elf/Makefile ($(objpfx)ld.so): Likewise.
24229         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24230         Don't list ld.so twice in dependencies.
24232         * posix/bug-regex31.c: Include <stdlib.h>.
24234         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24236         * nis/nss_compat/compat-spwd.c
24237         (getspent_next_nss_netgr): Remove unused variable.
24238         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24240         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24241         nonmembers" output to use the right array.
24243         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24245         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24247         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24248         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24249         * catgets/gencat.c (read_input_file): Likewise.
24250         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24252         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24253         variable definition inside #if's controlling its use.
24255         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24257         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24259         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24261         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24262         unreachable code.
24264         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24266         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24267         * configure: Regenerated.
24269         * Makerules: Revert last change.
24270         * elf/Makefile: Likewise.
24272 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24274         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24275         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24276         (reloc-link): Likewise.
24278 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24280         * elf/Makefile: Add rules to build pldd.
24281         * elf/pldd.c: New file.
24282         * elf/pldd-xx.c: New file.
24284 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24286         * version.h: Update for 2.15 development version.
24288 2011-06-07  David S. Miller  <davem@davemloft.net>
24290         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24291         ifuncs.
24292         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24293         elf_machine_lazy_rel): Likewise.
24294         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24295         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24296         elf_machine_lazy_rel): Likewise.
24297         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24298         dl_hwcap via passed in argument.
24299         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24300         Likewise.
24302 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24304         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24306 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24308         [BZ #12849]
24309         * manual/fdl-1.1.texi: New file, verbatim from:
24310         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24311         * manual/lgpl-2.1.texi: New file, verbatim from:
24312         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24313         * manual/Makefile (licenses): New variable, list those new file names.
24314         (texis): Use it.
24315         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24317         * manual/fdl.texi: File removed.
24318         * manual/lesser.texi: File removed.
24319         * manual/libc.texinfo (Copying, Documentation License):
24320         Use new @include file names, put @appendix directive before @include.
24322 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24324         [BZ #12841]
24325         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24326         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24327         (mq_open): Add __NTH.
24329 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24332         Assume Intel Core i3/i5/i7 processor if AVX is available.
24334 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24336         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24337         typo.
24339 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24341         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24342         memory.  Use alloca_account.  Fix memory leak when retrying.
24344 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24346         * version.h (RELEASE): Bump for 2.14 release.
24347         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24349         * config.make.in (RANLIB): Remove entry.
24351 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24353         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24354         (libc.pot): Work around missing support for .ksh extension in xgettext.
24356         [BZ #12684]
24357         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24358         if both request failed.
24359         (send_dg): In case of server errors clear resplen or *resplen2.
24361         [BZ #12454]
24362         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24363         when there are multiple maps.
24364         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24365         (_dl_fini): Remove test here.
24367         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24369 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24371         [BZ #12350]
24372         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24373         bit from old_res_options.
24374         (gaih_inet): Likewise.
24376         [BZ #11099]
24377         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24378         as signed.
24380         * resolv/res_init.c (res_setoptions): Make the code more compact.
24382         [BZ #11558]
24383         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24384         set RES_USEVC.
24386         [BZ #11634]
24387         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24389         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24391         [BZ #11781]
24392         * malloc/malloc.h: Declare malloc hook variables as volatile.
24394         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24395         in last patch.
24397         [BZ #11799]
24398         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24399         raise in the comment.
24400         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24401         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24402         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24404 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24406         [BZ #12811]
24407         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24408         grow the buffers more if it already has to be sufficient.
24409         (build_wcs_upper_buffer): Likewise.
24410         * posix/regexec.c (check_matching): Likewise.
24411         (clean_state_log_if_needed): Likewise.
24412         (extend_buffers): Don't enlarge buffers beyond size of the input
24413         buffer.
24414         Patches mostly by Emil Wojak <emil@wojak.eu>.
24415         * posix/bug-regex32.c: New file.
24416         * posix/Makefile (tests): Add bug-regex32.
24418         * locale/findlocale.c (_nl_find_locale): Return right away if
24419         _nl_explode_name failed.
24420         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24422         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24424         * debug/xtrace.sh: Unify messages.
24425         * malloc/memusage.sh: Likewise.
24427         [BZ #12813]
24428         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24429         time symbol from vDSO.  Substitute with vsyscall if not available.
24430         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24431         __vdso_time.
24433         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24434         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24435         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24436         Add sendmmsg and internal_sendmmsg.
24437         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24438         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24439         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24441         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24442         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24443         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24445 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24447         [BZ #12813]
24448         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24449         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24450         available.
24451         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24452         __vdso_getcpu.
24454         [BZ #12814]
24455         * iconvdata/Makefile (tests): Add bug-iconv9.
24456         * iconvdata/bug-iconv9.c: New file.
24458 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24460         [BZ #12814]
24461         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24463 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24465         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24466         (struct user_regs_struct): Change intcs field back to cs.
24468 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24470         * po/ja.po: Update from translation team.
24472 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24474         [BZ #12795]
24475         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24476         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24478 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24480         * stdlib/longlong.h: Update from GCC.
24482 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24484         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24485         parameter name.
24486         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24487         Add parameter name.
24488         (__sysconf): Pass it down.
24490 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24492         [BZ #12671]
24493         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24494         some situations.
24495         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24496         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24497         add in in __libc_use_alloca calls.  Adjust callers.
24498         (glob): Use malloc in some situations.
24500         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24501         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24502         pltexit.
24504 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24506         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24507         and CLOCK_BOOTTIME_ALARM.
24509         [BZ #12782]
24510         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24511         is returned.
24513         * string/_strerror.c (__strerror_r): Print negative errors as signed
24514         numbers.
24516         [BZ #12777]
24517         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24518         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24519         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24521         * configure.in: Fix typo in redirection and correct removal of test
24522         files in two cases.
24524         [BZ #12788]
24525         * locale/setlocale.c (new_composite_name): Fix test to check for
24526         identical name of all categories.
24528         [BZ #12792]
24529         * libio/filedoalloc.c (local_isatty): New function.
24530         (_IO_file_doallocate): Use local_isatty.
24531         * stdio-common/perror.c (perror): In case a new stream is used
24532         forward the stream error.
24533         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24534         error flag.
24536 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24538         [BZ #11869]
24539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24540         alloca.
24541         * include/alloca.h (extend_alloca_account): Define.
24543         [BZ #11857]
24544         * posix/regex.h: Fix comments with documentation of user-accessible
24545         fields after compilation and describe correct free'ing of pattern
24546         after re_compile_pattern.
24547         Patch by Reuben Thomas <rrt@sc3d.org>.
24549 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24551         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24552         and -mno-altivec to prevent the compiler from using Altivec and/or
24553         VSX instructions when the corresponding registers are not available.
24555 2011-05-19  Andreas Schwab  <schwab@redhat.com>
24557         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24559 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
24561         * libio/freopen.c (freopen): Use __dup2, not dup2.
24562         * libio/freopen64.c (freopen64): Likewise.
24564 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24566         [BZ #12775]
24567         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24568         * math/Makefile (tests): Add test-powl.
24569         (CFLAGS-test-powl.c): Define.
24570         * math/test-powl.c: New file.
24572 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24574         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24576 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
24578         [BZ #11837]
24579         * iconvdata/gb18030.c: Update to GB18020-2005.
24581 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
24583         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24584         RE_SYNTAX_POSIX_AWK): Update to match recent development.
24585         Patch by Aharon Robbins <arnold@skeeve.com>.
24587         [BZ #11892]
24588         * stdlib/putenv.c (putenv): Don't always create copy of the variable
24589         on the stack.
24591         [BZ #11895]
24592         * misc/pselect.c (__pselect): Handle timeout value errors hidden
24593         through underflows.
24595         [BZ #12766]
24596         * misc/error.c (error_at_line): Ensure file_name and old_file_name
24597         point to strings before performing equality test for error_one_per_line
24598         mode.
24600         [BZ #11697]
24601         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24603         [BZ #11820]
24604         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24605         (struct user_fpregs_struct): Avoid __uint*_t types.
24607         [BZ #6420]
24608         * malloc/mtrace.c (tr_where): Add additional parameter to point to
24609         symbol info.  Use it instead of calling _dl_addr locally.
24610         (lock_and_info): New function.
24611         (tr_freehook): Call lock_and_info and pass symbol info as additional
24612         parameter to tr_where.
24613         (tr_mallochook): Likewise.
24614         (tr_reallochook): Likewise.
24615         (tr_memalignhook): Likewise.
24617         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
24618         used and couldn't be at all thread-safe.
24620 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
24622         * libio/freopen.c (freopen): Don't close old file descriptor
24623         before the new one is opened.  Instead dup the new file descriptor
24624         to the old one after the new stream is created.
24625         * libio/freopen64.c (freopen64): Likewise.
24626         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24627         * libio/fileops.c (_IO_new_file_close_it): Handle new
24628         _IO_FLAGS2_NOCLOSE flag.
24629         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24630         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24631         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24632         _IO_FLAGS2_NOCLOSE flag.
24633         * include/unistd.h: Add hidden_proto for dup3.
24634         Define __have_dup3.
24635         * io/dup3.c: Define hidden symbol.
24636         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24638         [BZ #7101]
24639         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24640         when an incomplete long option is used.
24641         * posix/tst-getopt_long1.c: New file.
24642         * posix/Makefile (tests): Add tst-getopt_long1.
24644         [BZ #10138]
24645         * scripts/config.guess: Update from autoconf-2.68.
24646         * scripts/config.sub: Likewise.
24648         [BZ #10157]
24649         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24650         tests into ...
24651         (has_cpuclock): ...this.  New function.
24652         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24653         macro here based on has_cpuclock code.
24655         [BZ #10149]
24656         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24657         First byte (not low byte) is now always NUL.
24658         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24661         Use non-cancelable interfaces.
24663         [BZ #9809]
24664         * locale/iso-639.def: Add entry for Sorani.
24666         [BZ #11901]
24667         * include/stdlib.h: Move include protection to the right place.
24668         Define abort_msg_s.  Declare __abort_msg with it.
24669         * stdlib/abort.c (__abort_msg): Adjust type.
24670         * assert/assert.c (__assert_fail_base): New function.  Majority
24671         of code from __assert_fail.  Allocate memory for __abort_msg with
24672         mmap.
24673         (__assert_fail): Now call __assert_fail_base.
24674         * assert/assert-perr.c: Remove bulk of implementation.  Use
24675         __assert_fail_base.
24676         * include/assert.hL Declare __assert_fail_base.
24677         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24678         mmap.
24679         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24681 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
24683         [BZ #11952]
24684         [BZ #12453]
24685         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24686         until all modules are registered in the DTV.
24687         * elf/Makefile: Add rules to build and run tst-tls19.
24688         * elf/tst-tls19.c: New file.
24689         * elf/tst-tls19mod1.c: New file.
24690         * elf/tst-tls19mod2.c: New file.
24691         * elf/tst-tls19mod3.c: New file.
24692         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24694         [BZ #12083]
24695         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24696         correctly.
24698         [BZ #12601]
24699         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24700         two-byte sequence errors.
24701         * iconvdata/Makefile (tests): Add bug-iconv8.
24702         * iconvdata/bug-iconv8.c: New file.
24704         [BZ #12626]
24705         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24706         buf2 definition.
24708         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24710         [BZ #12432]
24711         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24712         (dummy_getcfa): New function.
24713         (init): Get _Unwind_GetCFA address, use dummy if not found.
24714         (backtrace_helper): In recursion check, also check whether CFA changes.
24715         (__backtrace): Completely initialize arg.
24717         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24718         storing incomplete byte sequence in state object.  Avoid testing for
24719         guaranteed too small input if we know there is enough data available.
24721 2011-05-11  Andreas Schwab  <schwab@redhat.com>
24723         * Makeconfig (+link-pie): Indent.
24724         * Rules (binaries-pie): Define if $(have-fpie) and
24725         $(build-shared).
24726         (binaries-shared): Also filter out $(binaries-pie).
24727         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24728         * nscd/Makefile (others-pie): Add nscd.
24729         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24730         ($(objpfx)nscd): Remove command override.
24731         * login/Makefile (others-pie): Add pt_chown.
24732         ($(objpfx)pt_chown): Remove command override.
24733         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24734         remove command overrides.
24736 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
24738         * libio/tst_putwc.c: Fix error messages.
24740         [BZ #12724]
24741         * libio/fileops.c (_IO_new_file_close_it): Always flush when
24742         currently writing and seek to current position when not.
24743         * libio/Makefile (tests): Add bug-fclose1.
24744         * libio/bug-fclose1.c: New file.
24746 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
24748         [BZ #12511]
24749         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24750         don't set DF_1_NODELETE here.
24751         (do_lookup_x): When entering new entry test for copy relocation
24752         and if necessary set DF_1_NODELETE flag.
24753         * elf/tst-unique4.cc: New file.
24754         * elf/tst-unique4.h: New file.
24755         * elf/tst-unique4lib.cc: New file.
24756         * elf/Makefile: Add rules to build and run tst-unique4.
24757         Patch by Piotr Bury <pbury@goahead.com>.
24759 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
24761         [BZ #12052]
24762         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24764         [BZ #12625]
24765         * misc/mntent_r.c (addmntent): Flush the stream after the output
24767         [BZ #12393]
24768         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24769         (is_trusted_path_normalize): Skip initial colon.  Append slash
24770         to empty buffer.  Duplicate is_trusted_path code but allow
24771         constructed patch to be prefix.
24772         (is_dst): Allow $ORIGIN followed by /.
24773         (_dl_dst_substitute): Correct clearing of check_for_trusted.
24774         Correct testing of result of is_trusted_path_normalize
24775         (decompose_rpath): Fix warning.
24777 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
24779         [BZ #11257]
24780         * grp/initgroups.c (internal_getgrouplist): When we found the service
24781         list through the initgroups entry in nsswitch.conf do not always
24782         continue on a successful lookup.  Don't always use the
24783         __nss_group_database value if it is set.
24784         * nss/nsswitch.conf (initgroups): Change action for successful db
24785         lookup to continue for compatibility.
24787 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
24789         [BZ #11532]
24790         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24791         and CP774 modules.
24792         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24793         and CP774 modules.
24794         * iconvdata/tst-tables.sh: Likewise.
24795         * iconvdata/cp770.c: New file.
24796         * iconvdata/cp771.c: New file.
24797         * iconvdata/cp772.c: New file.
24798         * iconvdata/cp773.c: New file.
24799         * iconvdata/cp774.c: New file.
24800         * iconvdata/testdata/CP770: New file.
24801         * iconvdata/testdata/CP770..UTF8: New file.
24802         * iconvdata/testdata/CP771: New file.
24803         * iconvdata/testdata/CP771..UTF8: New file.
24804         * iconvdata/testdata/CP772: New file.
24805         * iconvdata/testdata/CP772..UTF8: New file.
24806         * iconvdata/testdata/CP773: New file.
24807         * iconvdata/testdata/CP773..UTF8: New file.
24808         * iconvdata/testdata/CP774: New file.
24809         * iconvdata/testdata/CP774..UTF8: New file.
24811         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24812         END CHARMAP line.
24813         * iconvdata/gen-8bit-gap.sh: Likewise.
24814         * iconvdata/gen-8bit.sh: Likewise.
24816         * locale/iso-639.def: Add ary entry.
24818         [BZ #11258]
24819         * locale/C-translit.h.in: Add U20A1 transliteration.
24821         [BZ #12178]
24822         * locale/iso-639.def: Add wae entry.
24823         Patch by Kevin Bortis <bortis@translate-wae.ch>.
24825         [BZ #12545]
24826         * locale/programs/localedef.c (construct_output_path): Use ssize_t
24827         for n.
24829         [BZ #12711]
24830         * locale/C-translit.h.in: Add entry for U20B9.
24831         Patch by pravin.d.s@gmail.com.
24833 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
24835         [BZ #12713]
24836         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24837         ENAMETOOLONG use generic getcwd.
24838         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
24839         in rtld.  Use *stat64.
24840         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24841         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24842         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24843         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24844         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24845         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24846         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24847         __fstatat64 macros.
24848         * include/dirent.h: Add libc_hidden_proto for rewinddir.
24849         * dirent/rewinddir.c: Add libc_hidden_def.
24850         * sysdeps/mach/hurd/rewinddir.c: Likewise.
24851         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
24853         * include/dirent.h (__alloc_dir): Add flags parameter.
24854         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24855         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24856         __alloc_dir.
24857         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
24858         from fdopendir if O_CLOEXEC is already set.
24860 2011-03-15  Alan Modra  <amodra@gmail.com>
24862         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24863         l_tls_firstbyte_offset non-zero.  Save padding offset in
24864         l_tls_firstbyte_offset for later use.
24865         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24866         freeing static tls block.
24868 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
24870         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24871         where #ifdef was intended.  The intent is to prevent ARG_MAX from
24872         being defined by the kernel headers.
24874 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
24876         [BZ #12734]
24877         * resolv/resolv.h: Define RES_NOTLDQUERY.
24878         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24879         no-tld-query and set RES_NOTLDQUERY.
24880         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24881         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24882         modern BIND to search name as TLD unless forbidden.
24884 2011-05-07  Petr Baudis  <pasky@suse.cz>
24885             Ulrich Drepper  <drepper@gmail.com>
24887         [BZ #12393]
24888         * elf/dl-load.c (fillin_rpath): Move trusted path check...
24889         (is_trusted_path): ...to here.
24890         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24891         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24892         using is_trusted_path_normalize() in setuid scripts.
24894 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24896         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24897         __BEGIN/__END_DECLS.
24899 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
24901         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24902         NSS_STATUS_NOTFOUND if no record was found.
24904 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24906         * sunrpc/Makefile (headers): Add rpc/netdb.h.
24907         (headers-not-in-tirpc): Remove rpc/netdb.h
24908         * resolv/netdb.h: Revert last change.
24910 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24912         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24913         circular dependency between libgcc.a and libc.a.
24915 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24917         * resolv/netdb.h: Don't include <rpc/netdb.h>.
24918         * nis/Makefile: Don't install rpcsvc/*.
24919         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24920         instead of <rpc/types.h>.
24921         (MAXHOSTNAMELEN): Define.
24923 2011-05-03  Andreas Schwab  <schwab@redhat.com>
24925         * elf/ldconfig.c (add_dir): Don't crash on empty path.
24927 2011-04-28  Maciej Babinski  <mbabinski@google.com>
24929         [BZ #12714]
24930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24931         gethostbyname4_r when IPv6 results are possible.
24933 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
24935         [BZ #12723]
24936         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24937         _PC_PIPE_BUF handling.
24939 2011-04-30  Bruno Haible  <bruno@clisp.org>
24941         [BZ #12717]
24942         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24943         * resolv/netdb.h (getnameinfo): Change type of flags parameter
24944         to 'int'.
24945         * inet/getnameinfo.c (getnameinfo): Likewise.
24947 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
24949         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24950         to groups setting in database lookup.
24951         * nss/nsswitch.conf: Add initgroups entry.
24953 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
24955         [BZ #12685]
24956         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24957         mode string.
24958         Patch by Eric Blake <eblake@redhat.com>.
24960 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
24962         * sunrpc/Makefile (need-export-routines): Add svc_run.
24963         (routines): Remove svc_run.
24964         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24965         * sunrpc/clnt_perr.c (clnt_perrno): Export.
24966         * sunrpc/svc_run.c (svc_run): Likewise.
24967         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24969 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
24971         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24972         problem in reallocation in last patch.
24974 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
24976         * sunrpc/Makefile: Move inclusion of Rules.
24978 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24980         * nss/nss_files/files-initgroups.c: New file.
24981         * nss/Makefile (libnss_files-routines): Add files-initgroups.
24982         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24983         _nss_files_initgroups_dyn.
24985 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
24987         * elf/elf.h (R_ARM_IRELATIVE): Define.
24989 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24991         * po/ru.po: Update from translation team.
24993 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24995         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24996         dependencies.
24998 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25000         [BZ #12653]
25001         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25002         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25003         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25004         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25005         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25007 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25009         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25010         differing bytes.
25011         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25012         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25013         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25015 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25017         [BZ #12420]
25018         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25019         storing it.
25020         * stdlib/bug-getcontext.c: New file.
25021         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25023 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25025         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25026         instructions into .machine "z9-109".
25027         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25028         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25030 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25032         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25033         between environment variables and auxiliary vector.
25035 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25037         * Makefile: Add rules to build linkobj/libc.so.
25038         * include/libc-symbols.h: Define libc_hidden_nolink.
25039         * include/rpc/auth.h: Mark functions which are to be hidden.
25040         * include/rpc/auth_des.h: Likewise.
25041         * include/rpc/auth_unix.h: Likewise.
25042         * include/rpc/clnt.h: Likewise.
25043         * include/rpc/des_crypt.h: Likewise.
25044         * include/rpc/key_prot.h: Likewise.
25045         * include/rpc/pmap_clnt.h: Likewise.
25046         * include/rpc/pmap_prot.h: Likewise.
25047         * include/rpc/pmap_rmt.h: Likewise.
25048         * include/rpc/rpc_msg.h: Likewise.
25049         * include/rpc/svc.h: Likewise.
25050         * include/rpc/svc_auth.h: Likewise.
25051         * include/rpc/xdr.h: Likewise.
25052         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25053         * nss/Makefile: Likewise.
25054         * sunrpc/Makefile: Don't install headers.  Build library with normal
25055         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25056         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25057         for the compat linking library.  Remove use of INTDEF/INTUSE.
25058         * sunrpc/auth_none.c: Likewise.
25059         * sunrpc/auth_unix.c: Likewise.
25060         * sunrpc/authdes_prot.c: Likewise.
25061         * sunrpc/authuxprot.c: Likewise.
25062         * sunrpc/clnt_gen.c: Likewise.
25063         * sunrpc/clnt_perr.c: Likewise.
25064         * sunrpc/clnt_raw.c: Likewise.
25065         * sunrpc/clnt_simp.c: Likewise.
25066         * sunrpc/clnt_tcp.c: Likewise.
25067         * sunrpc/clnt_udp.c: Likewise.
25068         * sunrpc/clnt_unix.c: Likewise.
25069         * sunrpc/des_crypt.c: Likewise.
25070         * sunrpc/des_soft.c: Likewise.
25071         * sunrpc/get_myaddr.c: Likewise.
25072         * sunrpc/key_call.c: Likewise.
25073         * sunrpc/key_prot.c: Likewise.
25074         * sunrpc/netname.c: Likewise.
25075         * sunrpc/pm_getmaps.c: Likewise.
25076         * sunrpc/pm_getport.c: Likewise.
25077         * sunrpc/pmap_clnt.c: Likewise.
25078         * sunrpc/pmap_prot.c: Likewise.
25079         * sunrpc/pmap_prot2.c: Likewise.
25080         * sunrpc/pmap_rmt.c: Likewise.
25081         * sunrpc/publickey.c: Likewise.
25082         * sunrpc/rpc_cmsg.c: Likewise.
25083         * sunrpc/rpc_common.c: Likewise.
25084         * sunrpc/rpc_dtable.c: Likewise.
25085         * sunrpc/rpc_prot.c: Likewise.
25086         * sunrpc/rpc_thread.c: Likewise.
25087         * sunrpc/rtime.c: Likewise.
25088         * sunrpc/svc.c: Likewise.
25089         * sunrpc/svc_auth.c: Likewise.
25090         * sunrpc/svc_authux.c: Likewise.
25091         * sunrpc/svc_raw.c: Likewise.
25092         * sunrpc/svc_run.c: Likewise.
25093         * sunrpc/svc_simple.c: Likewise.
25094         * sunrpc/svc_tcp.c: Likewise.
25095         * sunrpc/svc_udp.c: Likewise.
25096         * sunrpc/svc_unix.c: Likewise.
25097         * sunrpc/svcauth_des.c: Likewise.
25098         * sunrpc/xcrypt.c: Likewise.
25099         * sunrpc/xdr.c: Likewise.
25100         * sunrpc/xdr_array.c: Likewise.
25101         * sunrpc/xdr_float.c: Likewise.
25102         * sunrpc/xdr_intXX_t.c: Likewise.
25103         * sunrpc/xdr_mem.c: Likewise.
25104         * sunrpc/xdr_rec.c: Likewise.
25105         * sunrpc/xdr_ref.c: Likewise.
25106         * sunrpc/xdr_sizeof.c: Likewise.
25107         * sunrpc/xdr_stdio.c: Likewise.
25109 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25111         [BZ #12650]
25112         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25113         * sysdeps/ia64/dl-tls.h: Likewise.
25114         * sysdeps/powerpc/dl-tls.h: Likewise.
25115         * sysdeps/s390/dl-tls.h: Likewise.
25116         * sysdeps/sh/dl-tls.h: Likewise.
25117         * sysdeps/sparc/dl-tls.h: Likewise.
25118         * sysdeps/x86_64/dl-tls.h: Likewise.
25119         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25121 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25123         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25124         rpath element also skip the following colon.
25125         (expand_dynamic_string_token): Add is_path parameter and pass
25126         down to DL_DST_REQUIRED and _dl_dst_substitute.
25127         (decompose_rpath): Call expand_dynamic_string_token with
25128         non-zero is_path.  Ignore empty rpaths.
25129         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25130         with zero is_path.
25132 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25135         Make cancelable.
25137 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25139         [BZ #12655]
25140         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25141         Patch by Filipe David Manana <fdmanana@apache.org>.
25143 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25145         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25146         Maintain aligned stack.
25147         (CHECK_RSP): Remove unused macro.
25149 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25151         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25152         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25154 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25156         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25158         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25160 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25162         [BZ #12518]
25163         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25164         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25165         * sysdeps/x86_64/memmove.c: New file.
25166         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25167         (memcpy): Renamed to ...
25168         (__new_memcpy): This.
25169         (memcpy): Provide GLIBC_2_14 memcpy.
25170         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25171         (memcpy): Provide GLIBC_2_2_5 memcpy.
25173 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25175         [BZ #12631]
25176         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25178 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25180         * misc/syncfs.c: New file.
25181         * misc/Makefile (routines): Add syncfs.
25182         * posix/unistd.h: Declare syncfs.
25183         * sysdeps/unix/syscalls.list: Add syncfs.
25185 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25187         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25188         open_by_handle_at.
25189         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25190         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25191         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25192         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25194         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25195         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25197 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25199         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25200         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25201         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25202         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25203         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25204         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25207         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25208         sync_file_range.c with -fexceptions.
25209         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25210         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25211         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25212         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25213         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25214         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25216         sync_file_range as cancellation point
25217         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25218         now a wrapper around __call_sync_file_range with cancellation handling.
25219         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25220         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25221         function name to __call_sync_file_range.
25222         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25223         Add call_sync_file_range.
25225 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25228         bits/timex.h.
25230 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25232         * iconv/iconv.h: Fix typo in comment.
25233         * io/fcntl.h: Likewise.
25234         * libio/stdio.h: Likewise.
25235         * posix/spawn.h: Likewise.
25236         * posix/unistd.h: Likewise.
25237         * stdlib/stdlib.h: Likewise.
25238         * time/time.h: Likewise.
25239         * wcsmbs/wchar.h: Likewise.
25241         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25242         open_by_handle): Add.
25243         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25244         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25245         Augment a few comments.
25246         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25248         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25250         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25251         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25252         open_by_handle.
25254         * io/fcntl.h (AT_EMPTY_PATH): Define.
25256 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25258         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25259         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25260         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25261         to...
25262         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25263         * Versions.def: Add GLIBC_2.14.
25264         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25265         Export.
25267 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25269         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25270         round counter.
25271         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25273 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25275         [BZ #12597]
25276         * string/test-strncmp.c (do_page_test): New function.
25277         (check2): Likewise.
25278         (test_main): Call check2.
25279         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25281 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25283         [BZ #12587]
25284         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25285         Handle cache information in CPU leaf 4.
25286         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25288 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25290         [BZ #12583]
25291         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25292         character representation.
25293         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25295 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25297         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25298         END(__isnan) to END(__isnanf) to match function entry point/label
25299         EALIGN(__isnanf,...).
25301 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25303         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25305 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25307         [BZ #12510]
25308         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25309         copy from the symbol referenced in the relocation to initialize the
25310         used variable.
25311         Patch by Piotr Bury <pbury@goahead.com>.
25312         * elf/Makefile: Add rules to build and tst-unique3.
25313         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25314         * elf/tst-unique3.cc: New file.
25315         * elf/tst-unique3.h: New file.
25316         * elf/tst-unique3lib.cc: New file.
25317         * elf/tst-unique3lib2.cc: New file.
25319         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25321 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25323         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25324         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25325         to _start.
25327 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25329         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25330         to-be-loaded object along a path to loader is ld.so.
25332 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25333             Ulrich Drepper  <drepper@gmail.com>
25335         * sysdeps/x86_64/memset.S: After aligning destination, code
25336         branches to different locations depending on the value of
25337         misalignment, when multiarch is enabled. Fix this.
25339 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25341         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25342         Set _x86_64_preferred_memory_instruction for AMD processsors.
25343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25344         Set bit_Prefer_SSE_for_memop for AMD processors.
25346 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25348         * libio/fmemopen.c (fmemopen): Optimize a bit.
25350 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25352         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25354 2011-03-03  Roland McGrath  <roland@redhat.com>
25356         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25358 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25360         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25361         __bzero_ultra1 instead of __memset_ultra1.
25363 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25364             Ulrich Drepper  <drepper@gmail.com>
25366         [BZ #12509]
25367         * include/link.h (struct link_map): Add l_orig_initfini.
25368         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25369         returning unsuccessfully.
25370         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25371         close of a file loaded at startup, restore the original l_initfini
25372         list.
25373         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25374         list, store the pointer.
25375         * elf/Makefile ($(objpfx)noload-mem): New rule.
25376         (noload-ENV): Define.
25377         (tests): Add $(objpfx)noload-mem.
25378         * elf/noload.c: Include <memcheck.h>.
25379         (main): Call mtrace.  Close all opened handles.
25381 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25383         [BZ #12454]
25384         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25385         dependencies are missing.
25387 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25389         Fix __if_freereq crash: Unlike the generic version which uses free,
25390         Hurd needs munmap.
25391         * sysdeps/mach/hurd/ifreq.h: New file.
25393 2011-01-27  Petr Baudis  <pasky@suse.cz>
25394             Ulrich Drepper  <drepper@gmail.com>
25396         [BZ 12445]#
25397         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25398         to extend_alloca().
25399         * stdio-common/bug23.c: New file.
25400         * stdio-common/Makefile (tests): Add bug23.
25402 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25403             Ulrich Drepper  <drepper@gmail.com>
25405         [BZ #12489]
25406         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25407         before performing relro protection.  At old place add assertion
25408         to make sure nothing changed.
25410 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25411             Glauber de Oliveira Costa  <glommer@gmail.com>
25413         * elf/elf.h: Add new ARM TLS relocs.
25415 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25418         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25419         cast from r3.
25420         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25421         'tests' variable.
25422         * sysdeps/wordsize-64/tst-writev.c: New file.
25424 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25426         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25427         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25428         insns in _dl_start to prevent a TOC reference before relocs are
25429         resolved.
25431 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25433         [BZ #12469]
25434         * Makeconfig: Remove RANLIB definition.
25435         * Makerules: Don't use RANLIB.
25436         * aclocal.m4: Remove ranlib test.
25437         * configure.in: No need to check for ranlib.
25438         * elf/rtld-Rules: Don't use RANLIB.
25440 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25442         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25443         protection macro.
25444         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25445         inclusion protection macro.
25447         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25448         SIGRTMIN and SIGRTMAX and print information in that case only when
25449         SIGRTMIN is defined.
25451 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25453         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25454         arginfo fn returning -1.
25456         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25457         and thousands string is zero terminated.
25459 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25461         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25462         sysdeps/unix/sysv/linux/bits/socket.h.
25464 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25466         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25467         (__CPU_COUNT): Remove old macros.
25468         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25469         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25470         (__CPU_ALLOC, __CPU_FREE): Add macros.
25471         (__sched_cpualloc, __sched_cpufree): Add declarations.
25473 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25475         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25476         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25477         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25478         (readdhstai): Return value of addhstaiX call.
25479         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25480         (addgrbyX): Return value returned by cache_addgr.
25481         (readdgrbyname): Return value returned by addgrbyX.
25482         (readdgrbygid): Likewise.
25483         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25484         (addpwbyX): Return value returned by cache_addpw.
25485         (readdpwbyname): Return value returned by addhstbyX.
25486         (readdpwbyuid): Likewise.
25487         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25488         (addservbyX): Return value returned by cache_addserv.
25489         (readdservbyname): Return value returned by addservbyX:
25490         (readdservbyport): Likewise.
25491         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25492         (addhstbyX): Return value returned by cache_addhst.
25493         (readdhstbyname): Return value returned by addhstbyX.
25494         (readdhstbyaddr): Likewise.
25495         (readdhstbynamev6): Likewise.
25496         (readdhstbyaddrv6): Likewise.
25497         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25498         (readdinitgroups): Return value returned by addinitgroupsX.
25499         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25500         (prune_cache): Keep track of timeout value of re-added entries.
25501         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25502         * nscd/nscd.h: Adjust prototypes of readd* functions.
25504 2011-02-04  Roland McGrath  <roland@redhat.com>
25506         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25507         (nis_stats): Likewise.
25508         * nis/nis_modify.c (nis_modify): Likewise.
25509         * nis/nis_remove.c (nis_remove): Likewise.
25510         * nis/nis_add.c (nis_add): Likewise.
25512         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25514         * posix/fnmatch_loop.c: Add some consts.
25516         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25518 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25520         [BZ #12460]
25521         * config.make.in (config-cflags-novzeroupper): Define.
25522         * configure.in: Substitute libc_cv_cc_novzeroupper.
25523         * elf/Makefile (AVX-CFLAGS): Define.
25524         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25525         (CFLAGS-tst-auditmod4a.c): Likewise.
25526         (CFLAGS-tst-auditmod4b.c): Likewise.
25527         (CFLAGS-tst-auditmod6b.c): Likewise.
25528         (CFLAGS-tst-auditmod6c.c): Likewise.
25529         (CFLAGS-tst-auditmod7b.c): Likewise.
25530         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25532 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25534         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25535         function to the callback.
25536         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25538 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25540         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25541         of errno.
25543 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25545         [BZ #11724]
25546         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25547         of constructors.
25548         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25549         of destructors.
25550         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25552         [BZ #11724]
25553         * elf/Makefile: Add rules to build and run new test.
25554         * elf/tst-initorder.c: New file.
25555         * elf/tst-initorder.exp: New file.
25556         * elf/tst-initordera1.c: New file.
25557         * elf/tst-initordera2.c: New file.
25558         * elf/tst-initordera3.c: New file.
25559         * elf/tst-initordera4.c: New file.
25560         * elf/tst-initorderb1.c: New file.
25561         * elf/tst-initorderb2.c: New file.
25562         * elf/tst-order-a1.c: New file.
25563         * elf/tst-order-a2.c: New file.
25564         * elf/tst-order-a3.c: New file.
25565         * elf/tst-order-a4.c: New file.
25566         * elf/tst-order-b1.c: New file.
25567         * elf/tst-order-b2.c: New file.
25568         * elf/tst-order-main.c: New file.
25569         New test case by George Gensure <werkt0@gmail.com>.
25571 2010-10-01  Andreas Schwab  <schwab@redhat.com>
25573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25574         decoding ACE if AI_CANONIDN.
25576 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
25578         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25580 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
25582         * version.h (RELEASE): Bump for 2.13 release.
25583         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25585         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25587         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25588         MADV_NOHUGEPAGE.
25589         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25590         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25591         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25592         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25593         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25594         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25596         * posix/getconf.c: Update copyright year.
25597         * catgets/gencat.c: Likewise.
25598         * csu/version.c: Likewise.
25599         * debug/catchsegv.sh: Likewise.
25600         * debug/xtrace.sh: Likewise.
25601         * elf/ldconfig.c: Likewise.
25602         * elf/ldd.bash.in: Likewise.
25603         * elf/sprof.c (print_version): Likewise.
25604         * iconv/iconv_prog.c: Likewise.
25605         * iconv/iconvconfig.c: Likewise.
25606         * locale/programs/locale.c: Likewise.
25607         * locale/programs/localedef.c: Likewise.
25608         * malloc/memusage.sh: Likewise.
25609         * malloc/mtrace.pl: Likewise.
25610         * nscd/nscd.c (print_version): Likewise.
25611         * nss/getent.c: Likewise.
25613         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25614         PF_CAIF, and PF_ALG.
25615         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25617 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
25619         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25620         (modules-names): Use them.
25621         (ifunc-test-modules, ifunc-pie-tests): Define.
25622         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25623         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25624         (test-extras): Likewise.
25625         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25626         $(compile-command.c).
25627         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25628         (all-built-dso): Define.
25629         (check-textrel.out, check-execstack.out): Depend on it.
25631         * configure.in: Don't override --enable-multi-arch.
25633 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
25635         [BZ #6812]
25636         * nscd/hstcache.c (tryagain): Define.
25637         (cache_addhst): Return tryagain not notfound for temporary errors.
25638         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25639         failed.
25641 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
25643         [BZ #10563]
25644         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25645         to make the syscall.
25646         * sysdeps/unix/sysv/linux/setgroups.c: New file.
25648         [BZ #12378]
25649         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25650         and fall back to matching as normal character if the string ends before
25651         the matching ']' is found.  This is what POSIX requires.
25652         * posix/testfnm.c: Adjust test result.
25653         * posix/globtest.sh: Adjust test result.  Add new test.
25654         * posix/tst-fnmatch.input: Likewise.
25655         * posix/tst-fnmatch2.c: Add new test.
25657 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
25659         * elf/Makefile (check-execstack): Revert last change.  Depend on
25660         check-execstack.h.
25661         (check-execstack.h): New target.
25662         (generated): Add check-execstack.h.
25663         * elf/check-execstack.c: Include "check-execstack.h".
25664         (main): Revert last change.
25665         (handle_file): Return zero if GNU_STACK is absent and
25666         DEFAULT_STACK_PERMS doesn't include PF_X.
25668 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25670         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25671         in child fails because the descriptor is already closed.
25672         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25673         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25674         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25676         [BZ #12397]
25677         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25678         syscall.
25680         [BZ #10484]
25681         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25682         temporary buffer used to handle multi lookups locally.
25683         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25685 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25687         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25688         loader is ld.so.
25690 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
25692         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25693         alignment for SSE2.
25695 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25697         [BZ #12394]
25698         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25699         characters.  When rounding increased number of integer digits recompute
25700         number of groups.
25701         * stdio-common/tst-grouping.c: New file.
25702         * stdio-common/Makefile: Add rules to build and run tst-grouping.
25704 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
25706         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25707         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
25709         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25710         void.
25711         * bits/select.h: Likewise.
25713 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
25715         * po/ja.po: Update from translation team.
25717 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
25719         [BZ #11155]
25720         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25721         implementation just like for lxstat, fxstatat, et al.
25723 2010-12-27  Jim Meyering  <meyering@redhat.com>
25725         [BZ #12348]
25726         * posix/regexec.c (build_trtable): Return failure indication upon
25727         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
25729 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
25731         [BZ #12201]
25732         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25733         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25734         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25735         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25737         [BZ #12207]
25738         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25740         [BZ #12204]
25741         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25742         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25744 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25746         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25747         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25748         script has SORT_BY_INIT_PRIORITY.
25749         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25750         NO_CTORS_DTORS_SECTIONS is defined.
25751         * elf/soinit.c: Likewise.
25752         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25753         NO_CTORS_DTORS_SECTIONS is defined.
25754         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25755         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25756         * sysdeps/sh/init-first.c: Likewise.
25757         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25759 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
25761         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25762         always use the slow path.
25764 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
25766         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25767         similar rule which adds the sysdep directories to the header search in
25768         order to pick up the correct platform stackinfo.h.
25769         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25770         perform test if it is, otherwise return successfully without testing.
25771         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25772         DEFAULT_STACK_PERMS define in stackinfo.h.
25773         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25774         defined in stackinfo.h.
25775         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25776         DEFAULT_STACK_PERMS defined in stackinfo.h.
25777         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25778         * sysdeps/ia64/stackinfo.h: Likewise.
25779         * sysdeps/s390/stackinfo.h: Likewise.
25780         * sysdeps/sh/stackinfo.h: Likewise.
25781         * sysdeps/sparc/stackinfo.h: Likewise.
25782         * sysdeps/x86_64/stackinfo.h: Likewise.
25783         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25784         PF_X for powerpc64.  Retain PF_X for powerpc32.
25786 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
25788         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25789         accurately.
25790         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25791         GETDENTS_64BIT_ALIGNED.
25793 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
25795         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25797 2010-12-10  Andreas Schwab  <schwab@redhat.com>
25799         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25800         _GNU_SOURCE.
25802         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25803         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25804         Remove __restrict.
25805         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25806         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25808 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
25810         [BZ #11655]
25811         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25812         are initialized.
25814 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
25816         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25818 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
25820         * po/it.po: Update from translation team.
25822 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25824         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25825         unused codes.
25827 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
25829         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25831 2010-11-24  Andreas Schwab  <schwab@redhat.com>
25833         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25834         specially.
25835         (gaih_getanswer_slice): Likewise.
25837 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
25839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25841 2010-05-31  Petr Baudis  <pasky@suse.cz>
25843         [BZ #11149]
25844         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25845         silently even in the chroot mode.
25847 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
25849         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25850         last patch a bit.  Pretty printing
25852 2010-05-31  Petr Baudis <pasky@suse.cz>
25854         [BZ #10085]
25855         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25856         initialization of skip_initgroups_dyn.
25858 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
25860         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25861         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25863 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
25865         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25867 2010-11-11  Andreas Schwab  <schwab@redhat.com>
25869         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25870         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25871         (tst-fnmatch-ENV): Set MALLOC_TRACE.
25872         ($(objpfx)tst-fnmatch-mem): New rule.
25873         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25874         * posix/tst-fnmatch.c (main): Call mtrace.
25876 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
25878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25879         Support Intel processor model 6 and model 0x2c.
25881 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
25883         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25884           signed comparison.
25886 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
25888         [BZ #12205]
25889         * string/test-strncasecmp.c (check_result): New function.
25890         (do_one_test): Use it.
25891         (check1): New function.
25892         (test_main): Use it.
25893         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25894         Support strcasecmp and strncasecmp.
25896 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
25898         [BZ #12194]
25899         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25900         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25902 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25904         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25905         IFUNC support.
25906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25907         memset-x86-64.
25908         * sysdeps/x86_64/multiarch/bzero.S: New file.
25909         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25910         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25911         * sysdeps/x86_64/multiarch/memset.S: New file.
25912         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25914         Set bit_Prefer_SSE_for_memop for Intel processors.
25915         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25916         Define.
25917         (index_Prefer_SSE_for_memop): Define.
25918         (HAS_PREFER_SSE_FOR_MEMOP): Define.
25920 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
25922         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25923         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25925 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
25927         [BZ #12191]
25928         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25929         (__x86_64_raw_data_cache_size_half): Likewise.
25930         (__x86_64_raw_shared_cache_size): Likewise.
25931         (__x86_64_raw_shared_cache_size_half): Likewise.
25933         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25934         (__x86_64_raw_data_cache_size_half): Likewise.
25935         (__x86_64_raw_shared_cache_size): Likewise.
25936         (__x86_64_raw_shared_cache_size_half): Likewise.
25937         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25938         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25939         and __x86_64_raw_shared_cache_size_half.  Round
25940         __x86_64_data_cache_size_half, __x86_64_data_cache_size
25941         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25942         to multiple of 256 bytes.
25944 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
25946         [BZ #12167]
25947         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25948         of inacessible symlinks.  Verify result of symlink before returning it.
25949         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25950         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25952 2010-10-28  Erich Ritz  <erichritz@gmail.com>
25954         * math/math.h (isinf): Fix typo in comment.
25956 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
25958         * po/da.po: Update from translation team.
25960 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
25962         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25963         is added to the list.
25965 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25966             Ulrich Drepper  <drepper@gmail.com>
25968         * elf/dl-object.c (_dl_new_object): Don't append the new object to
25969         the global list here.  Move code to...
25970         (_dl_add_to_namespace_list): ...here.  New function.
25971         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25972         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25973         * elf/dl-load.c (lose): Don't remove the element from the list.
25974         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25975         (_dl_map_object): Likewise.
25977 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
25979         [BZ #12159]
25980         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25981         into all bytes of SSE register.
25982         Patch by Richard Li <richardpku@gmail.com>.
25984 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
25986         [BZ #12140]
25987         * malloc/malloc.c (_int_free): Fill correct number of bytes when
25988         perturbing.
25990 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
25992         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25993         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25994         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25995         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25997         submachine.
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26000 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26002         * include/dlfcn.h (__RTLD_SECURE): Define.
26003         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26004         mode & __RTLD_SECURE instead.
26005         (open_path): Rename preloaded parameter to secure.
26006         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26007         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26008         * elf/dl-deps.c (openaux): Likewise.
26009         * elf/rtld.c (struct map_args): Remove is_preloaded.
26010         (map_doit): Don't use it.
26011         (dl_main): Likewise.
26012         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26013         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26015 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26017         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26018         (sysd-rules-targets): Remove duplicates.
26019         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26020         rtld-%.$o dependency.
26022 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26024         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26025         _dl_map_object do it.
26027 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26029         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26030         fast fma builtins, define the macros in the C99 standard.
26031         (FP_FAST_FMAF): Likewise.
26032         (FP_FAST_FMAL): Likewise.
26033         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26035         * bits/mathdef.h: Update copyright year.
26036         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26038 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26040         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26041         builtins, define the macros in the C99 standard.
26042         (FP_FAST_FMAF): Likewise.
26043         (FP_FAST_FMAL): Likewise.
26044         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26045         multiply/add.
26046         (FP_FAST_FMAF): Likewise.
26048 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26050         [BZ #3268]
26051         * math/libm-test.inc (fma_test): Some new testcases.
26052         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26053         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26054         y and infinite z.  Do multiplication by C already in long double.
26055         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26057         y and infinite z.  Do bitwise or of inexact bit into u.d.
26058         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26059         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26060         * sysdeps/i386/fpu/s_fma.S: Removed.
26061         * sysdeps/i386/fpu/s_fmal.S: Removed.
26063 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26065         [BZ #3268]
26066         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26068         computation is not scheduled after fetestexcept.  Fix value
26069         of minimum denormal long double.
26071 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26073         [BZ #3268]
26074         * math/libm-test.inc (fma_test): Add some more tests.
26075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26076         correctly.
26078 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26080         * scripts/data/localplt-s390-linux-gnu.data: New file.
26081         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26083 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26085         [BZ #3268]
26086         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26087         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26088         instead of dbl-64.
26089         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26090         inlines.
26091         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26093         if one of x and y is very large and the other is subnormal.
26094         * sysdeps/s390/fpu/s_fmaf.c: New file.
26095         * sysdeps/s390/fpu/s_fma.c: New file.
26096         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26097         * sysdeps/powerpc/fpu/s_fma.S: New file.
26098         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26099         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26100         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26102 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26104         [BZ #3268]
26105         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26106         fma tests.
26107         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26108         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26109         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26110         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26111         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26112         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26113         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26115 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26117         [BZ #12078]
26118         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26119         * posix/bug-regex31.input: Add test case.
26121 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26123         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26124         * posix/bug-regex31.input: New file.
26126         [BZ #12078]
26127         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26128         (parse_sub_exp): Fix last change, use postorder.
26130         * posix/bug-regex31.c: New file.
26131         * posix/Makefile: Add rules to build and run bug-regex31.
26133         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26135         [BZ #12078]
26136         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26138         [BZ #12108]
26139         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26140         to have entries in sys_siglist.
26142         [BZ #12093]
26143         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26144         be NULL.
26146 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26148         [BZ #3268]
26149         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26150         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26151         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26152         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26153         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26154         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26155         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26156         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26157         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26158         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26159         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26160         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26161         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26162         * math/ftestexcept.c (fetestexcept): Likewise.
26163         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26164         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26165         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26166         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26167         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26168         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26169         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26171 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26173         [BZ #12107]
26174         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26175         newline.
26177 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26179         * string/bug-strstr1.c: New file.
26180         * string/Makefile: Add rules to build and run bug-strstr1.
26182 2010-10-05  Eric Blake  <eblake@redhat.com>
26184         [BZ #12092]
26185         * string/str-two-way.h (two_way_long_needle): Always clear memory
26186         when skipping input due to the shift table.
26188 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26190         [BZ #12005]
26191         * malloc/mcheck.c: Handle large requests.
26193         [BZ #12077]
26194         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26195         for strncmp and strncasecmp.
26196         * string/stratcliff.c: Add tests for strcmp and strncmp.
26197         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26199 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26201         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26202         __set_fpscr.
26204 2010-09-30  Andreas Jaeger  <aj@suse.de>
26206         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26207         (CGROUP_SUPER_MAGIC): Define.
26208         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26209         Handle btrfs and cgroup file systems.
26210         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26211         Likewise.
26213 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26215         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26216         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26218 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26220         [BZ #12067]
26221         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26222         trying to locate the ELF header.
26224 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26226         [BZ #11611]
26227         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26228         Mask out sign-bit copies when constructing f_fsid.
26230 2010-09-24  Petr Baudis <pasky@suse.cz>
26232         * debug/stack_chk_fail_local.c: Add missing licence exception.
26233         * debug/warning-nop.c: Likewise.
26235 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26237         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26238         implementing getdents64 using getdents syscall, set d_type if
26239         __ASSUME_GETDENTS32_D_TYPE.
26241 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26243         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26244         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26246 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26248         [BZ #12037]
26249         * posix/unistd.h: Undo change of feature selection for ftruncate from
26250         2010-01-11.
26252 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26254         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26255         detection.
26257 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26259         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26260         fanotify_mark.
26261         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26263 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26265         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26266         variables after CHECK_SP call.
26267         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26269 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26270             Ulrich Drepper  <drepper@redhat.com>
26272         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26273         re-relocationg ld.so.
26274         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26275         _dl_init_paths call.
26276         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26277         here anymore.
26279 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26281         * resolv/res_init.c (__res_vinit): Count the default server we added.
26283 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26284             Ulrich Drepper  <drepper@redhat.com>
26286         [BZ #11968]
26287         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26288         (____longjmp_chk): Use %ebx for saving value across system call.
26289         Add unwind info.
26291 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26293         * manual/Makefile: Don't mix pattern rules with normal rules.
26295 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26297         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26298         operation.
26299         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26300         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26301         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26302         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26303         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26304         Likewise.
26306 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26308         [BZ #11979]
26309         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26310         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26312 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26314         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26315         * sysdeps/x86_64/addmul_1.S: Likewise.
26316         * sysdeps/x86_64/lshift.S: Likewise.
26317         * sysdeps/x86_64/mul_1.S: Likewise.
26318         * sysdeps/x86_64/rshift.S: Likewise.
26319         * sysdeps/x86_64/sub_n.S: Likewise.
26320         * sysdeps/x86_64/submul_1.S: Likewise.
26322 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26324         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26325         Define __sched_param instead of SCHED_* and sched_param when
26326         <bits/sched.h> is included with __need_schedparam defined.
26327         * bits/sched.h [__need_schedparam]
26328         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26329         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26330         (__defined_schedparam): Define to 1.
26331         (__sched_param): New structure, identical to sched_param.
26332         (__need_schedparam): Undefine.
26334 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26336         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26337         (epoll_create1): Declare.
26339         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26341 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26343         [BZ #7066]
26344         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26345         shifting retval into place.
26347 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26349         * nis/rpcsvc/nis.h: Update copyright notice.
26350         * nis/rpcsvc/nis.x: Likewise.
26351         * nis/rpcsvc/nis_callback.h: Likewise.
26352         * nis/rpcsvc/nis_callback.x: Likewise.
26353         * nis/rpcsvc/nis_object.x: Likewise.
26354         * nis/rpcsvc/nis_tags.h: Likewise.
26355         * nis/rpcsvc/yp.h: Likewise.
26356         * nis/rpcsvc/yp.x: Likewise.
26357         * nis/rpcsvc/ypupd.h: Likewise.
26358         * nis/yp_xdr.c: Likewise.
26359         * nis/ypupdate_xdr.c: Likewise.
26361         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26362         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26363         (pmap_getport): Use __libc_rpc_getport.
26364         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26365         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26366         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26368 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26371         fanotify_mark.
26373 2010-08-27  Roland McGrath  <roland@redhat.com>
26375         * sysdeps/i386/i686/multiarch/Makefile
26376         (CFLAGS-varshift.c): New variable.
26378 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26380         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26381         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26383         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26385         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26387 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26389         * sysdeps/x86_64/strlen.S: Unroll the loop.
26390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26391         strlen-sse2 strlen-sse2-bsf.
26392         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26393         __strlen_no_bsf if bit_Slow_BSF is set.
26394         (__strlen_sse42): Removed.
26395         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26396         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26398 2010-08-25  Roland McGrath  <roland@redhat.com>
26400         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26401         * sysdeps/x86_64/multiarch/varshift.c: New file.
26402         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26403         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26404         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26405         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26407 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26410         strlen-sse2 strlen-sse2-bsf.
26411         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26412         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26413         (__strlen_sse2): Removed.
26414         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26415         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26417         bit_Slow_BSF for Atom.
26418         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26419         (index_Slow_BSF): Define.
26420         (HAS_SLOW_BSF): Define.
26422 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26424         [BZ #10851]
26425         * resolv/res_init.c (__res_vinit): When no server address at all
26426         is given default to loopback.
26428 2010-08-24  Roland McGrath  <roland@redhat.com>
26430         * configure.in: Remove config-name.h generation.
26431         * configure: Regenerated.
26432         * config-name.in: File removed.
26433         * scripts/config-uname.sh: New file.
26434         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26435         ($(objdir)config-name.h): New target.
26437         * sunrpc/rpc_parse.h: Avoid nested comment.
26439 2010-08-24  Richard Henderson  <rth@redhat.com>
26440             Ulrich Drepper  <drepper@redhat.com>
26441             H.J. Lu  <hongjiu.lu@intel.com>
26443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26445         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26446         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26447         _mm_alignr_epi8 with _mm_loadu_si128.
26448         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26449         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26450         (__m128i_shift_right): Removed.
26451         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26452         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26453         * sysdeps/x86_64/multiarch/varshift.h: New file.
26454         * sysdeps/x86_64/multiarch/varshift.S: New file.
26456 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26458         * configure.in: Move assembler checks to before sysdep dir checking.
26460 2010-08-20  Petr Baudis  <pasky@suse.cz>
26462         * LICENSES: Sync the sunrpc license.
26464 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26466         * sunrpc/auth_des.c: Update copyright notice once again.
26467         * sunrpc/auth_none.c: Likewise.
26468         * sunrpc/auth_unix.c: Likewise.
26469         * sunrpc/authdes_prot.c: Likewise.
26470         * sunrpc/authuxprot.c: Likewise.
26471         * sunrpc/bindrsvprt.c: Likewise.
26472         * sunrpc/clnt_gen.c: Likewise.
26473         * sunrpc/clnt_perr.c: Likewise.
26474         * sunrpc/clnt_raw.c: Likewise.
26475         * sunrpc/clnt_simp.c: Likewise.
26476         * sunrpc/clnt_tcp.c: Likewise.
26477         * sunrpc/clnt_udp.c: Likewise.
26478         * sunrpc/clnt_unix.c: Likewise.
26479         * sunrpc/des_crypt.c: Likewise.
26480         * sunrpc/des_soft.c: Likewise.
26481         * sunrpc/get_myaddr.c: Likewise.
26482         * sunrpc/getrpcport.c: Likewise.
26483         * sunrpc/key_call.c: Likewise.
26484         * sunrpc/key_prot.c: Likewise.
26485         * sunrpc/openchild.c: Likewise.
26486         * sunrpc/pm_getmaps.c: Likewise.
26487         * sunrpc/pm_getport.c: Likewise.
26488         * sunrpc/pmap_clnt.c: Likewise.
26489         * sunrpc/pmap_prot.c: Likewise.
26490         * sunrpc/pmap_prot2.c: Likewise.
26491         * sunrpc/pmap_rmt.c: Likewise.
26492         * sunrpc/rpc/auth.h: Likewise.
26493         * sunrpc/rpc/auth_unix.h: Likewise.
26494         * sunrpc/rpc/clnt.h: Likewise.
26495         * sunrpc/rpc/des_crypt.h: Likewise.
26496         * sunrpc/rpc/key_prot.h: Likewise.
26497         * sunrpc/rpc/netdb.h: Likewise.
26498         * sunrpc/rpc/pmap_clnt.h: Likewise.
26499         * sunrpc/rpc/pmap_prot.h: Likewise.
26500         * sunrpc/rpc/pmap_rmt.h: Likewise.
26501         * sunrpc/rpc/rpc.h: Likewise.
26502         * sunrpc/rpc/rpc_des.h: Likewise.
26503         * sunrpc/rpc/rpc_msg.h: Likewise.
26504         * sunrpc/rpc/svc.h: Likewise.
26505         * sunrpc/rpc/svc_auth.h: Likewise.
26506         * sunrpc/rpc/types.h: Likewise.
26507         * sunrpc/rpc/xdr.h: Likewise.
26508         * sunrpc/rpc_clntout.c: Likewise.
26509         * sunrpc/rpc_cmsg.c: Likewise.
26510         * sunrpc/rpc_common.c: Likewise.
26511         * sunrpc/rpc_cout.c: Likewise.
26512         * sunrpc/rpc_dtable.c: Likewise.
26513         * sunrpc/rpc_hout.c: Likewise.
26514         * sunrpc/rpc_main.c: Likewise.
26515         * sunrpc/rpc_parse.c: Likewise.
26516         * sunrpc/rpc_parse.h: Likewise.
26517         * sunrpc/rpc_prot.c: Likewise.
26518         * sunrpc/rpc_sample.c: Likewise.
26519         * sunrpc/rpc_scan.c: Likewise.
26520         * sunrpc/rpc_scan.h: Likewise.
26521         * sunrpc/rpc_svcout.c: Likewise.
26522         * sunrpc/rpc_tblout.c: Likewise.
26523         * sunrpc/rpc_util.c: Likewise.
26524         * sunrpc/rpc_util.h: Likewise.
26525         * sunrpc/rpcinfo.c: Likewise.
26526         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26527         * sunrpc/rpcsvc/key_prot.x: Likewise.
26528         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26529         * sunrpc/rpcsvc/mount.x: Likewise.
26530         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26531         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26532         * sunrpc/rpcsvc/rex.x: Likewise.
26533         * sunrpc/rpcsvc/rstat.x: Likewise.
26534         * sunrpc/rpcsvc/rusers.x: Likewise.
26535         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26536         * sunrpc/rpcsvc/spray.x: Likewise.
26537         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26538         * sunrpc/rtime.c: Likewise.
26539         * sunrpc/svc.c: Likewise.
26540         * sunrpc/svc_auth.c: Likewise.
26541         * sunrpc/svc_authux.c: Likewise.
26542         * sunrpc/svc_raw.c: Likewise.
26543         * sunrpc/svc_run.c: Likewise.
26544         * sunrpc/svc_simple.c: Likewise.
26545         * sunrpc/svc_tcp.c: Likewise.
26546         * sunrpc/svc_udp.c: Likewise.
26547         * sunrpc/svc_unix.c: Likewise.
26548         * sunrpc/svcauth_des.c: Likewise.
26549         * sunrpc/xcrypt.c: Likewise.
26550         * sunrpc/xdr.c: Likewise.
26551         * sunrpc/xdr_array.c: Likewise.
26552         * sunrpc/xdr_float.c: Likewise.
26553         * sunrpc/xdr_mem.c: Likewise.
26554         * sunrpc/xdr_rec.c: Likewise.
26555         * sunrpc/xdr_ref.c: Likewise.
26556         * sunrpc/xdr_sizeof.c: Likewise.
26557         * sunrpc/xdr_stdio.c: Likewise.
26559         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26560         handling.
26562 2010-08-19  Andreas Schwab  <schwab@redhat.com>
26564         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26566 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
26568         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26569         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26570         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26571         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26572         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26573         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26574         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26575         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26576         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26577         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26578         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26579         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26580         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26581         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26583 2010-07-26  Anton Blanchard  <anton@samba.org>
26585         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26586         * malloc/arena.c (heap_trim): Likewise.
26588 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
26590         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26591         here.  Not...
26592         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26593         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26595 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26597         * sysdeps/i386/elf/Makefile: New file.
26599 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26601         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26602         from fanotify_init.
26603         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26604         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26606 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
26608         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26609         of strncasecmp_l.
26610         * sysdeps/multiarch/strcmp.S: Likewise.
26612 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
26614         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26615         strncase_l-nonascii.
26616         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26617         Add strncase_l-ssse3.
26618         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26619         * sysdeps/x86_64/strcmp.S: Likewise.
26620         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26621         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26622         * sysdeps/x86_64/strncase.S: New file.
26623         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26624         * sysdeps/x86_64/strncase_l.S: New file.
26625         * string/Makefile (strop-tests): Add strncasecmp.
26626         * string/test-strncasecmp.c: New file.
26628         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26629         warning.
26631         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26632         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26634 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26636         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26638 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
26640         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26641         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26642         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26644 2010-05-01  Alan Modra  <amodra@gmail.com>
26646         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26647         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26648         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26649         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26650         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26651         tidying.  Don't tail-call __sigjmp_save for static lib.
26652         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26653         save location.
26654         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26655         (CALL_MCOUNT): Add eh info, and nop after bl.
26656         (TAIL_CALL_SYSCALL_ERROR): New macro.
26657         (PSEUDO_RET): Use it.
26658         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26659         Correct save location of integer regs and cr.
26660         (_dl_profile_resolve): Correct cr save location.  Delete nops
26661         after bl when SHARED.  Reduce cfi size a little by better
26662         placement of cfi directives.
26663         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26664         make a stack frame.  Instead use parm save area as a temp.
26665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26666         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
26667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26668         Don't make a stack frame for parent, use parm save area.
26669         Increase child stack frame to 112 bytes.  Don't save unused reg,
26670         and adjust reg usage.  Set up cfi on error recovery and
26671         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26673         (__makecontext): Add dummy nop after jump to exit.
26674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26675         Use correct parm save area and cr save, reduce stack frame.
26676         Correct cfi for possible PSEUDO_RET frame setup.
26677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26678         Branch to local label emitted by PSEUDO_RET rather than
26679         __syscall_error.
26681 2010-08-12  Andreas Schwab  <schwab@redhat.com>
26683         [BZ #11904]
26684         * locale/programs/locale.c (print_assignment): New function.
26685         (show_locale_vars): Use it.
26687 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
26689         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26690         field.
26691         (struct statfs64): Likewise.
26692         (_STATFS_F_FLAGS): Define.
26693         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26694         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26695         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26696         (ST_VALID): Define locally.
26697         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26698         __statvfs_getflags, use the provided value.
26699         * sysdeps/unix/sysv/linux/kernel-features.h: Define
26700         __ASSUME_STATFS_F_FLAGS.
26702         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26704         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26705         Add sys/fanotify.h.
26706         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26707         fanotify_mask for GLIBC_2.13.
26708         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26709         fanotify_init and fanotify_mark.
26710         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26711         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26713         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26714         Add prlimit.
26715         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26716         prlimit64 for GLIBC_2.13.
26717         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26718         prlimit64.
26719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26720         syscall.
26721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26722         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26723         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26724         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26725         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
26726         add prlimit alias.
26727         * sysdeps/unix/sysv/linux/prlimit.c: New file.
26729         [BZ #11903]
26730         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26731         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26733         * nss/Makefile: Add rules to build and run tst-nss-test1.
26734         * shlib-versions: Add entry for libnss_test1.
26735         * nss/nss_test1.c: New file.
26736         * nss/tst-nss-test1.c: New file.
26738         * nss/nsswitch.c (__nss_database_custom): Define new variable.
26739         (__nss_configure_lookup): Set appropriate entry in
26740         __nss_configure_lookup to true.
26741         * nss/nsswitch.h: Define enum with indeces of databases in
26742         databases and __nss_database_custom arrays.  Declare
26743         __nss_database_custom.
26744         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26745         to avoid using nscd when custom rules are installed.
26746         * nss/getXXbyYY_r.c: Likewise.
26747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26749         * nss/nss_files/files-parse.c: Whitespace fixes.
26751 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
26753         [BZ #11883]
26754         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26755         * posix/fnmatch_loop.c: Likewise.
26757 2010-07-17  Andi Kleen  <ak@linux.intel.com>
26759         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26760         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26761         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26762         * Versions.def [GLIBC_2.13]: Add.
26764 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
26766         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26767         Also fail if tpwd after pwuid call is NULL.
26769 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26771         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26772         when converting to ms.
26774 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26776         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26777         EOPNOTSUPP errors with ENOTTY.
26778         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26779         EOPNOTSUPP errors with ENOTTY.
26781 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
26783         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26784         Add strcasecmp_l-ssse3.
26785         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26786         strcasecmp.
26787         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26788         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26789         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26791 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
26793         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26795         * string/Makefile (strop-tests): Add strcasecmp.
26796         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26797         strcasecmp_l-nonascii.
26798         (gen-as-const-headers): Add locale-defines.sym.
26799         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26800         * sysdeps/x86_64/strcasecmp.S: New file.
26801         * sysdeps/x86_64/strcasecmp_l.S: New file.
26802         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26803         * sysdeps/x86_64/locale-defines.sym: New file.
26804         * string/test-strcasecmp.c: New file.
26806         * string/test-strcasestr.c: Test both ends of the range of characters.
26807         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26809 2010-07-29  Roland McGrath  <roland@redhat.com>
26811         [BZ #11856]
26812         * manual/locale.texi (Yes-or-No Questions): Fix example code.
26814 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
26816         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26817         for ld.so.
26819 2010-07-27  Andreas Schwab  <schwab@redhat.com>
26821         * manual/memory.texi (Malloc Tunable Parameters): Document
26822         M_PERTURB.
26824 2010-07-26  Roland McGrath  <roland@redhat.com>
26826         [BZ #11840]
26827         * configure.in (-fgnu89-inline check): Set and substitute
26828         gnu89_inline, not libc_cv_gnu89_inline.
26829         * configure: Regenerated.
26830         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26832 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
26834         * string/test-strnlen.c: New file.
26835         * string/Makefile (strop-tests): Add strnlen.
26836         * string/tester.c (test_strnlen): Add a few more test cases.
26837         * string/tst-strlen.c: Better error reporting.
26839         * sysdeps/x86_64/strnlen.S: New file.
26841 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
26843         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26844         lower-latency instructions.
26846 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
26848         * string/test-strcasestr.c: New file.
26849         * string/test-strstr.c: New file.
26850         * string/Makefile (strop-tests): Add strstr and strcasestr.
26851         * string/str-two-way.h: Don't undefine MAX.
26852         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26854 2010-07-21  Andreas Schwab  <schwab@redhat.com>
26856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26857         strcasestr-nonascii.
26858         (CFLAGS-strcasestr-nonascii.c): Define.
26859         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26860         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26861         Remove unused attribute.
26863 2010-07-20  Roland McGrath  <roland@redhat.com>
26865         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26866         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
26867         ld.so.cache was broken.  With it, there is no way to disable dsocaps
26868         like LD_HWCAP_MASK can disable hwcaps.
26870 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26872         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26874 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
26876         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26877         call in strcasestr.
26878         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26879         __strcasestr_sse42_nonascii.
26880         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26881         strcasestr-nonascii.c.
26882         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26884 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
26886         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26887         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26888         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26889         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26891 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
26893         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26894         fcntl.
26896 2010-07-06  Andreas Schwab  <schwab@redhat.com>
26898         [BZ #11577]
26899         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26900         dl_signal_cerror.
26902 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
26904         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26905         _PC_PIPE_BUF using F_GETPIPE_SZ.
26907 2010-07-05  Roland McGrath  <roland@redhat.com>
26909         * manual/arith.texi (Rounding Functions): Fix rint description
26910         implicit in round description.
26912 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
26914         * elf/Makefile: Fix linking for a few tests to make recent linker
26915         happy.
26917 2010-06-30  Andreas Schwab  <schwab@redhat.com>
26919         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26920         $(common-objpfx)libc_nonshared.a.
26922 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
26924         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26925         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26926         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26927         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26928         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26929         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26930         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26931         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26946         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26947         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26948         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26949         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26950         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26951         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26952         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26953         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26954         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26955         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26956         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26957         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26973 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26975         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26976         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
26977         * string/memmove.c (memmove): Renamed to ...
26978         (MEMMOVE): ...this.  Default to memmove.
26979         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26980         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26981         (END_CHK): Define.
26982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26983         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26984         mempcpy-ssse3-back memmove-ssse3-back.
26985         * sysdeps/x86_64/multiarch/bcopy.S: New file .
26986         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26987         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26988         * sysdeps/x86_64/multiarch/memcpy.S: New file.
26989         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26990         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26991         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26992         * sysdeps/x86_64/multiarch/memmove.c: New file.
26993         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26994         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26995         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26996         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26997         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26998         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26999         Define.
27000         (index_Fast_Copy_Backward): Define.
27001         (HAS_ARCH_FEATURE): Define.
27002         (HAS_FAST_REP_STRING): Define.
27003         (HAS_FAST_COPY_BACKWARD): Define.
27005 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27007         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27008         Restore proper fallback handling.
27010 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27012         [BZ #11701]
27013         * posix/group_member.c (__group_member): Correct checking loop.
27015         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27016         OOM in getpwuid_r correctly.  Return error number when the caller
27017         should return, otherwise -1.
27018         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27019         call returning > 0 value.
27020         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27022 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27024         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27025         libc_nonshared.a from targets in modules-names.
27027 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27029         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27030         requires it.
27032 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27034         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27035         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27036         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27037         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27039 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27041         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27043 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27045         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27046         and F_GETPIPE_SZ.
27047         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27048         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27049         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27051         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27052         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27054 2010-06-14  Roland McGrath  <roland@redhat.com>
27056         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27058 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27060         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27061         __REDIRECT followed by __THROW.
27062         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27063         * posix/getopt.h (getopt): Likewise.
27065 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27067         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27068         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27069         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27070         in AT_FLAGS.
27071         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27072         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27074 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27076         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27078 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27080         [BZ #11640]
27081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27082         Properly check family and model.
27084 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27086         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27088 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27090         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27092 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27094         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27095         symbol reference.
27097 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27099         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27100         symbol reference.
27102 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27104         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27105         and internal_recvmmsg.
27106         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27107         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27108         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27109         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27111         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27112         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27113         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27115 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27117         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27119 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27121         POWER7 optimizations.
27122         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27123         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27125 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27127         * version.h: Update for 2.13 development version.
27129 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27131         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27132         exceptions.  Return 0.
27134 2010-05-07  Roland McGrath  <roland@redhat.com>
27136         * elf/ldconfig.c (main): Add a const.
27138 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27140         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27141         (args_options): Add no-idn option.
27142         (ahosts_keys_int): Add idn_flags to ai_flags.
27143         (parse_option): Handle 'i' option to clear idn_flags.
27145         * malloc/malloc.c (_int_free): Possible race in the most recently
27146         added check.  Only act on the data if no current modification
27147         happened.
27149 See ChangeLog.17 for earlier changes.