ARM: Use r10 instead of r9.
[glibc.git] / ChangeLog
blob1e4179675972551f9bc61428360a1cd1384353ce
1 2013-03-13  Ondřej Bílka  <neleai@seznam.cz>
3         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4         definining bcopy.
6         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7         Remove Prefer_SSE_for_memop.
8         * sysdeps/x86_64/multiarch/init-arch.h: Remove
9         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10         HAS_PREFER_SSE_FOR_MEMOP.
12         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13         memset-x86-64.
15         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16         Remove zero, memset ifunc support.
18         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23 2013-03-11  Andreas Schwab  <schwab@suse.de>
25         [BZ #15234]
26         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27         by SHLIB_COMPAT.
28         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29         (GLIBC_2.16): Remove pthread_atfork.
31 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34         (ptestcases.h): Likewise.
36 2013-03-08  Roland McGrath  <roland@hack.frob.com>
38         * Makeconfig ($(common-objpfx)config.status): Depend on
39         sysdeps/*/preconfigure{,.in} too.
41 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44         (__free_hook): Use void * instead of __malloc_ptr_t.
45         (__malloc_hook): Likewise.
46         (__realloc_hook): Likewise.
47         (__memalign_hook): Likewise.
48         (__after_morecore_hook): Likewise.
49         * malloc/arena.c (save_malloc_hook): Likewise.
50         (save_free_hook): Likewise.
51         * malloc/hooks.c (malloc_hook_ini): Likewise.
52         (realloc_hook_ini): Likewise.
53         (memalign_hook_ini): Likewise.
54         * malloc/malloc.c (malloc_hook_ini): Likewise.
55         (realloc_hook_ini): Likewise.
56         (memalign_hook_ini): Likewise.
57         (__free_hook): Likewise.
58         (__malloc_hook): Likewise.
59         (__realloc_hook): Likewise.
60         (__memalign_hook): Likewise.
61         (__libc_malloc): Likewise.
62         (__libc_free): Likewise.
63         (__libc_realloc): Likewise.
64         (__libc_memalign): Likewise.
65         (__libc_valloc): Likewise.
66         (__libc_pvalloc): Likewise.
67         (__libc_calloc): Likewise.
68         (__posix_memalign): Likewise.
69         * malloc/morecore.c (__sbrk): Likewise.
70         (__default_morecore): Likewise.
72         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
74         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
75         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
76         __malloc_ptrdiff_t.
78         * malloc/malloc.h (__malloc_size_t): Remove macro.
79         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
80         __malloc_size_t.
81         (old_memalign_hook): Likewise.
82         (old_realloc_hook): Likewise.
83         (struct hdr): Likewise.
84         (flood): Likewise.
85         (mallochook): Likewise.
86         (memalignhook): Likewise.
87         (reallochook): Likewise.
88         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
89         (tr_old_realloc_hook): Likewise.
90         (tr_old_memalign_hook): Likewise.
91         (tr_mallochook): Likewise.
92         (tr_reallochook): Likewise.
93         (tr_memalignhook): Likewise.
95 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
97         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
98         default_ldbl_pack and using as default implementation.
99         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
100         implementation.
101         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
102         redundant definition.
103         (ldbl_insert_mantissa): Likewise.
104         (ldbl_canonicalize): Likewise.
105         (ldbl_nearbyint): Likewise.
106         (ldbl_pack): Rename to ldbl_pack_ppc.
107         (ldbl_unpack): Rename to ldbl_unpack_ppc.
108         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
109         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
111 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
114         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
115         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
116         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
118         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
119         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
120         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
122 2013-03-07  Andreas Jaeger  <aj@suse.de>
124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
125         bits/mman-linux.h.
127 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
129         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
130         Include mpa.h and declare __MPEXP.
131         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
132         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
133         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
134         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
135         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
136         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
137         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
139         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
140         (__slowpow): Use long double EXPL and LOGL functions to
141         compute POW.
142         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
143         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
144         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
145         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
146         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
147         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
150         intermediate variable to calculate exponent.
151         (__sqr): Likewise.
152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
153         Likewise.
154         (__sqr): Likewise.
156         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
157         [!NO__SQR]: Define __sqr.
158         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
159         and NO__SQR.  Remove all code except __mul and __sqr.  Include
160         sysdeps/ieee754/dbl-64/mpa.c.
161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
163         [BZ #12723]
164         * posix/Makefile (tests): Add tst-pathconf.
165         * posix/tst-pathconf.c: New test case.
166         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
167         _PC_PIPE_BUF.
168         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
170 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
172         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
174 2013-03-06  Andreas Jaeger  <aj@suse.de>
176         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
177         definition via __MAP_ANONYMOUS.
179         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
180         it's not part of Linux headers.
182         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
183         (MAP_HUGE_MASK): Define.
185         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
186         Define.
187         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
188         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
189         Define.
190         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
191         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
192         Define.
193         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
194         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
195         Define.
196         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
198         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
199         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
200         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
201         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
202         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
203         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
205         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
206         Handle f2fs.
208         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
209         Handle f2fs and efivarfs.
211         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
212         f2fs.
214         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
215         (EFIVARFS_MAGIC): Add.
216         (F2FS_LINK_MAX): Add.
218 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
220         * stdio-common/vfprintf.c: Replace __builtin_expect with
221         __glibc_unlikely.
223 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
225         [BZ #13550]
226         * sysdeps/generic/bp-sym.h: Remove file.
227         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
228         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
229         <bp-sym.h> and <bp-asm.h>.
230         (__longjmp): Don't use BP_SYM.
231         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
232         and <bp-asm.h>.
233         (memcpy): Don't use BP_SYM.
234         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
235         <bp-sym.h> and <bp-asm.h>.
236         (memcpy): Don't use BP_SYM.
237         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
238         <bp-asm.h>.
239         (memcpy): Don't use BP_SYM.
240         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
241         <bp-asm.h>.
242         (memset): Don't use BP_SYM.
243         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
244         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
245         (__bzero): Don't use BP_SYM.
246         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
247         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
248         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
249         <bp-sym.h> and <bp-asm.h>.
250         (memcmp): Don't use BP_SYM.  Remove comment about bounded
251         pointers.
252         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
253         <bp-sym.h> and <bp-asm.h>.
254         (memcpy): Don't use BP_SYM.
255         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
256         <bp-sym.h> and <bp-asm.h>.
257         (memset): Don't use BP_SYM.
258         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
259         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
260         (__bzero): Don't use BP_SYM.
261         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
262         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
263         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
264         <bp-sym.h> and <bp-asm.h>.
265         (strncmp): Don't use BP_SYM.  Remove comment about bounded
266         pointers.
267         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
268         <bp-sym.h> and <bp-asm.h>.
269         (memcpy): Don't use BP_SYM.
270         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
271         <bp-sym.h> and <bp-asm.h>.
272         (memset): Don't use BP_SYM.
273         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
274         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
275         (__bzero): Don't use BP_SYM.
276         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
277         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
278         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
279         <bp-sym.h> and <bp-asm.h>.
280         (__memchr): Don't use BP_SYM.
281         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
282         <bp-sym.h> and <bp-asm.h>.
283         (memcmp): Don't use BP_SYM.  Remove comment about bounded
284         pointers.
285         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
286         <bp-sym.h> and <bp-asm.h>.
287         (memcpy): Don't use BP_SYM.
288         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
289         <bp-sym.h> and <bp-asm.h>.
290         (__mempcpy): Don't use BP_SYM.
291         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
292         <bp-sym.h> and <bp-asm.h>.
293         (__memrchr): Don't use BP_SYM.
294         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
295         <bp-sym.h> and <bp-asm.h>.
296         (memset): Don't use BP_SYM.
297         (__bzero): Likewise.
298         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
299         <bp-sym.h> and <bp-asm.h>.
300         (__rawmemchr): Don't use BP_SYM.
301         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
302         <bp-sym.h> and <bp-asm.h>.
303         (__STRCMP): Don't use BP_SYM.
304         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
305         <bp-sym.h> and <bp-asm.h>.
306         (strchr): Don't use BP_SYM.
307         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
308         <bp-sym.h> and <bp-asm.h>.
309         (__strchrnul): Don't use BP_SYM.
310         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
311         <bp-sym.h> and <bp-asm.h>.
312         (strlen): Don't use BP_SYM.
313         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
314         <bp-sym.h> and <bp-asm.h>.
315         (strncmp): Don't use BP_SYM.  Remove comment about bounded
316         pointers.
317         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
318         <bp-sym.h> and <bp-asm.h>.
319         (__strnlen): Don't use BP_SYM.
320         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
321         <bp-sym.h> and <bp-asm.h>.
322         (__GI__setjmp): Don't use BP_SYM.
323         (_setjmp): Likewise.
324         (__sigsetjmp): Likewise.
325         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
326         (L(start_addresses)): Don't use BP_SYM.
327         (_start): Likewise.
328         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
329         <bp-asm.h>.
330         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
331         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
332         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
333         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
334         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
335         <bp-asm.h>.
336         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
337         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
338         about bounded pointers.
339         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
340         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
341         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
342         <bp-asm.h>.
343         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
344         about bounded pointers.  Remove GKM FIXME comments.
345         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
346         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
347         <bp-asm.h>.
348         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
349         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
350         Remove GKM FIXME comments.
351         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
352         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
353         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
354         <bp-asm.h>.
355         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
356         about bounded pointers.  Remove GKM FIXME comment.
357         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
358         and <bp-asm.h>.
359         (strncmp): Don't use BP_SYM.  Remove comment about bounded
360         pointers.
361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
362         <bp-sym.h> and <bp-asm.h>.
363         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
365         <bp-sym.h> and <bp-asm.h>.
366         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
367         comment.
369 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
371         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
372         call free(NULL).
374 2013-03-05  David S. Miller  <davem@davemloft.net>
376         * po/es.po: Update from translation team.
378 2013-03-05  Andreas Jaeger  <aj@suse.de>
380         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
381         <bits/mman-linux.h>.
382         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
383         is fine.
384         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
385         <bits/mman-linux.h> to end of file.
386         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
387         is fine.
388         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
389         <bits/mman-linux.h> to end of file.
390         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
391         is fine.
392         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
393         <bits/mman-linux.h> to end of file.
395         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
396         (MCL_CURRENT, MCL_FUTURE): Define here.
398 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
400         [BZ #15232]
401         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
402         attribute_hidden.
403         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
405 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
407         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
408         fourth parameter needed for rt_sigprocmask syscall.
409         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
410         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
411         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
412         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
413         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
414         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
416 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
418         [BZ #13550]
419         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
420         comment about bounded pointers.
421         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
422         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
424 2013-03-04  Andreas Jaeger  <aj@suse.de>
426         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
427         common definitions.
429         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
430         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
431         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
432         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
433         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
434         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
436 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
438         [BZ #15055]
439         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
440         __ieee754_sqrl instead of __sqrl.
442 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
444         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
445         * sysdeps/powerpc/fpu_control.h: ... here.
446         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
447         * sysdeps/powerpc/bits/fenvinline.h: ... here.
448         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
449         * sysdeps/powerpc/bits/mathinline.h: ... here.
451 2013-03-01  Roland McGrath  <roland@hack.frob.com>
453         * elf/dl-hwcaps.c (_dl_important_hwcaps):
454         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
455         to just [NEED_DL_SYSINFO_DSO].
456         * elf/dl-support.c: Likewise.
457         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
458         * elf/rtld.c (dl_main): Likewise.
459         * elf/setup-vdso.h (setup_vdso): Likewise.
460         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
461         * sysdeps/unix/sysv/linux/dl-sysdep.c
462         (_dl_discover_osversion): Likewise.
464 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
466         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
467         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
469 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
471         * NEWS: Mention libm performance improvements and non-x86 PI
472         futex support.
474         * csu/libc-start.c (__pthread_initialize_minimal): Change
475         function arguments.
476         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
478 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
480         [BZ #13550]
481         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
482         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
483         <bp-sym.h> and <bp-asm.h>.
484         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
485         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
486         and <bp-asm.h>.
487         (memcpy): Don't use BP_SYM.
488         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
489         <bp-asm.h>.
490         (__mpn_add_n): Don't use BP_SYM.
491         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
492         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
493         and <bp-asm.h>.
494         (__mpn_addmul_1): Don't use BP_SYM.
495         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
496         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
497         <bp-sym.h>.
498         (_setjmp): Don't use BP_SYM.
499         (__novmx_setjmp): Likewise.
500         (__GI__setjmp): Likewise.
501         (__vmx_setjmp): Likewise.
502         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
503         <bp-sym.h>.
504         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
505         (__bzero): Don't use BP_SYM.
506         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
507         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
508         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
509         <bp-sym.h> and <bp-asm.h>.
510         (memcpy): Don't use BP_SYM.
511         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
512         <bp-sym.h> and <bp-asm.h>.
513         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
514         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
515         <bp-sym.h> and <bp-asm.h>.
516         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
517         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
518         <bp-asm.h>.
519         (__mpn_lshift): Don't use BP_SYM.
520         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
521         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
522         <bp-asm.h>.
523         (memset): Don't use BP_SYM.
524         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
525         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
526         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
527         <bp-asm.h>.
528         (__mpn_mul_1): Don't use BP_SYM.
529         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
530         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
531         <bp-sym.h> and <bp-asm.h>.
532         (memcmp): Don't use BP_SYM.
533         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
534         <bp-sym.h> and <bp-asm.h>.
535         (memcpy): Don't use BP_SYM.
536         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
537         <bp-sym.h> and <bp-asm.h>.
538         (memset): Don't use BP_SYM.
539         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
540         <bp-sym.h> and <bp-asm.h>.
541         (strncmp): Don't use BP_SYM.
542         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
543         <bp-sym.h> and <bp-asm.h>.
544         (memcpy): Don't use BP_SYM.
545         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
546         <bp-sym.h> and <bp-asm.h>.
547         (memset): Don't use BP_SYM.
548         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
549         <bp-sym.h> and <bp-asm.h>.
550         (__memchr): Don't use BP_SYM.
551         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
552         <bp-sym.h> and <bp-asm.h>.
553         (memcmp): Don't use BP_SYM.
554         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
555         <bp-sym.h> and <bp-asm.h>.
556         (memcpy): Don't use BP_SYM.
557         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
558         <bp-sym.h> and <bp-asm.h>.
559         (__mempcpy): Don't use BP_SYM.
560         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
561         <bp-sym.h> and <bp-asm.h>.
562         (__memrchr): Don't use BP_SYM.
563         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
564         <bp-sym.h> and <bp-asm.h>.
565         (memset): Don't use BP_SYM.
566         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
567         <bp-sym.h> and <bp-asm.h>.
568         (__rawmemchr): Don't use BP_SYM.
569         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
570         <bp-sym.h> and <bp-asm.h>.
571         (__STRCMP): Don't use BP_SYM.
572         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
573         <bp-sym.h> and <bp-asm.h>.
574         (strchr): Don't use BP_SYM.
575         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
576         <bp-sym.h> and <bp-asm.h>.
577         (__strchrnul): Don't use BP_SYM.
578         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
579         <bp-sym.h> and <bp-asm.h>.
580         (strlen): Don't use BP_SYM.
581         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
582         <bp-sym.h> and <bp-asm.h>.
583         (strncmp): Don't use BP_SYM.
584         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
585         <bp-sym.h> and <bp-asm.h>.
586         (__strnlen): Don't use BP_SYM.
587         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
588         <bp-asm.h>.
589         (__mpn_rshift): Don't use BP_SYM.
590         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
591         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
592         <bp-sym.h> and <bp-asm.h>.
593         (__sigsetjmp): Don't use BP_SYM.
594         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
595         (L(start_addresses)): Don't use BP_SYM.
596         (_start): Likewise.
597         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
598         <bp-asm.h>.
599         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
600         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
601         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
602         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
603         <bp-asm.h>.
604         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
605         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
606         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
607         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
608         <bp-asm.h>.
609         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
610         comments.
611         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
612         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
613         <bp-asm.h>.
614         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
615         FIXME comments.
616         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
617         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
618         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
619         <bp-asm.h>.
620         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
621         comment.
622         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
623         and <bp-asm.h>.
624         (strncmp): Don't use BP_SYM,
625         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
626         <bp-asm.h>.
627         (__mpn_sub_n): Don't use BP_SYM.
628         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
629         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
630         and <bp-asm.h>.
631         (__mpn_submul_1): Don't use BP_SYM.
632         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
634         <bp-sym.h> and <bp-asm.h>.
635         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
637         <bp-sym.h> and <bp-asm.h>.
638         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
639         comment.
641 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
644         Use ZK to minimize writes to Z.
645         (sub_magnitudes): Simplify code a bit.
646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
647         Use ZK to minimize writes to Z.
648         (sub_magnitudes): Simplify code a bit.
650 2013-02-27  Roland McGrath  <roland@hack.frob.com>
652         * csu/gmon-start.c: Add special exception to license text.
654 2013-02-27  Richard Henderson  <rth@redhat.com>
656         * scripts/config.guess: Update from config.git.
657         * scripts/config.sub: Likewise.
659 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
661         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
663         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
665         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
667         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
669         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
671 2013-02-26  Roland McGrath  <roland@hack.frob.com>
673         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
674         [$(build-shared = yes].
676 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
678         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
679         (__mul): Reduce iterations for calculating mantissa.
681         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
682         MPTWO.
683         (__mpranred): Likewise.
685         [BZ #15160]
686         * malloc/memusagestat.c (main): Draw graphs for heap and stack
687         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
689 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
691         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
692         Define __attribute__.
694 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
696         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
697         unused.
698         * posix/regex_internal.h (__attribute): Remove.
699         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
700         (re_string_context_at): Likewise.
701         (bitset_not): Use __attribute__ and mark function as possibly
702         unused.
703         (bitset_merge): Likewise.
704         (bitset_mask): Likewise.
705         (re_string_char_size_at): Likewise.
706         (re_string_wchar_at): Likewise.
707         (re_string_elem_size_at): Likewise.
709 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
711         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
712         code.
713         (cc32): Likewise.
715         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
716         (__acr): Likewise.
717         (__cpy): Likewise.
718         (norm): Likewise.
719         (denorm): Likewise.
720         (__dbl_mp): Likewise.
721         (add_magnitudes): Likewise.
722         (sub_magnitudes): Likewise.
723         (__mul): Likewise.
724         (__inv): Likewise.
726         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
727         style.
729         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
730         style.
732         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
733         code.
735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
736         up changes with default code.
737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
738         Likewise.
740 2013-02-24  Allan McRae  <allan@archlinux.org>
742         * manual/socket.texi (The Internet Namespace): Order menu items
743         to match that in the file.
745         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
746         node listing of the info page menu.
748 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
750         [BZ #13550]
751         * sysdeps/i386/bp-asm.h: Remove file.
752         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
753         (PARMS): Do not use macros from bp-asm.h.
754         (S1): Likewise.
755         (S2): Likewise.
756         (SIZE): Likewise.
757         (__mpn_add_n): Do not use BP_SYM
758         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
759         "bp-asm.h".
760         (PARMS): Do not use macros from bp-asm.h.
761         (S1): Likewise.
762         (SIZE): Likewise.
763         (__mpn_addmul_1): Do not use BP_SYM
764         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
765         "bp-asm.h".
766         (PARMS): Do not use macros from bp-asm.h.
767         (SIGMSK): Likewise.
768         (_setjmp): Likewise.  Do not use BP_SYM.
769         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
770         "bp-asm.h".
771         (PARMS): Do not use macros from bp-asm.h.
772         (SIGMSK): Likewise.
773         (setjmp): Likewise.  Do not use BP_SYM.
774         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
775         "bp-asm.h".
776         (PARMS): Do not use macros from bp-asm.h.
777         (__frexp): Do not use BP_SYM.
778         (frexp): Likewise.
779         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
780         "bp-asm.h".
781         (PARMS): Do not use macros from bp-asm.h.
782         (__frexpf): Do not use BP_SYM.
783         (frexpf): Likewise.
784         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
785         "bp-asm.h".
786         (PARMS): Do not use macros from bp-asm.h.
787         (__frexpl): Do not use BP_SYM.
788         (frexpl): Likewise.
789         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
790         "bp-asm.h".
791         (PARMS): Do not use macros from bp-asm.h.
792         (__remquo): Do not use BP_SYM.
793         (remquo): Likewise.
794         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
795         "bp-asm.h".
796         (PARMS): Do not use macros from bp-asm.h.
797         (__remquof): Do not use BP_SYM.
798         (remquof): Likewise.
799         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
800         "bp-asm.h".
801         (PARMS): Do not use macros from bp-asm.h.
802         (__remquol): Do not use BP_SYM.
803         (remquol): Likewise.
804         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
805         "bp-asm.h".
806         (PARMS): Do not use macros from bp-asm.h.
807         (DEST): Likewise.
808         (SRC): Likewise.
809         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
810         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
811         "bp-asm.h".
812         (PARMS): Do not use macros from bp-asm.h.
813         (strlen): Do not use BP_SYM.
814         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
815         "bp-asm.h".
816         (PARMS): Do not use macros from bp-asm.h.
817         (S1): Likewise.
818         (S2): Likewise.
819         (SIZE): Likewise.
820         (__mpn_add_n): Do not use BP_SYM.
821         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
822         "bp-asm.h".
823         (PARMS): Do not use macros from bp-asm.h.
824         (S1): Likewise.
825         (SIZE): Likewise.
826         (__mpn_addmul_1): Do not use BP_SYM.
827         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
828         weak_alias.
829         (bzero): Likewise.
830         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
831         "bp-asm.h".
832         (PARMS): Do not use macros from bp-asm.h.
833         (S): Likewise.
834         (SIZE): Likewise.
835         (__mpn_lshift): Do not use BP_SYM.
836         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
837         "bp-asm.h".
838         (PARMS): Do not use macros from bp-asm.h.
839         (DEST): Likewise.
840         (SRC): Likewise.
841         (LEN): Likewise.
842         (memcpy): Likewise.  Do not use BP_SYM.
843         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
844         libc_hidden_def and weak_alias.
845         (mempcpy): Do not use BP_SYM in weak_alias.
846         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
847         "bp-asm.h".
848         (PARMS): Do not use macros from bp-asm.h.
849         (DEST): Likewise.
850         (LEN): Likewise.
851         [!BZERO_P] (CHR): Likewise.
852         (memset): Likewise.  Do not use BP_SYM.
853         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
854         "bp-asm.h".
855         (PARMS): Do not use macros from bp-asm.h.
856         (S1): Likewise.
857         (SIZE): Likewise.
858         (__mpn_mul_1): Do not use BP_SYM.
859         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
860         "bp-asm.h".
861         (PARMS): Do not use macros from bp-asm.h.
862         (S): Likewise.
863         (SIZE): Likewise.
864         (__mpn_rshift): Do not use BP_SYM.
865         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
866         "bp-asm.h".
867         (PARMS): Do not use macros from bp-asm.h.
868         (STR): Likewise.
869         (CHR): Likewise.
870         (strchr): Likewise.  Do not use BP_SYM.
871         (index): Do not use BP_SYM in weak_alias.
872         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
873         "bp-asm.h".
874         (PARMS): Do not use macros from bp-asm.h.
875         (DEST): Likewise.
876         (SRC): Likewise.
877         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
878         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
879         "bp-asm.h".
880         (PARMS): Do not use macros from bp-asm.h.
881         (strlen): Do not use BP_SYM.
882         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
883         "bp-asm.h".
884         (PARMS): Do not use macros from bp-asm.h.
885         (S1): Likewise.
886         (S2): Likewise.
887         (SIZE): Likewise.
888         (__mpn_sub_n): Do not use BP_SYM.
889         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
890         "bp-asm.h".
891         (PARMS): Do not use macros from bp-asm.h.
892         (S1): Likewise.
893         (SIZE): Likewise.
894         (__mpn_submul_1): Do not use BP_SYM.
895         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
896         "bp-asm.h".
897         (PARMS): Do not use macros from bp-asm.h.
898         (S1): Likewise.
899         (S2): Likewise.
900         (SIZE): Likewise.
901         (__mpn_add_n): Do not use BP_SYM.
902         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
903         weak_alias.
904         (bzero): Likewise.
905         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
906         "bp-asm.h".
907         (PARMS): Do not use macros from bp-asm.h.
908         (BLK2): Likewise.
909         (LEN): Likewise.
910         (memcmp): Do not use BP_SYM.
911         (bcmp): Do not use BP_SYM in weak_alias.
912         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
913         "bp-asm.h".
914         (PARMS): Do not use macros from bp-asm.h.
915         (DEST): Likewise.
916         (SRC): Likewise.
917         (LEN): Likewise.
918         (memcpy): Likewise.  Do not use BP_SYM.
919         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
920         "bp-asm.h".
921         (PARMS): Do not use macros from bp-asm.h.
922         (DEST): Likewise.
923         (SRC): Likewise.
924         (LEN): Likewise.
925         (memmove): Likewise.  Do not use BP_SYM.
926         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
927         "bp-asm.h".
928         (PARMS): Do not use macros from bp-asm.h.
929         (DEST): Likewise.
930         (SRC): Likewise.
931         (LEN): Likewise.
932         (__mempcpy): Likewise.  Do not use BP_SYM.
933         (mempcpy): Do not use BP_SYM in weak_alias.
934         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
935         "bp-asm.h".
936         (PARMS): Do not use macros from bp-asm.h.
937         (DEST): Likewise.
938         (LEN): Likewise.
939         [!BZERO_P] (CHR): Likewise.
940         (memset): Likewise.  Do not use BP_SYM.
941         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
942         "bp-asm.h".
943         (PARMS): Do not use macros from bp-asm.h.
944         (STR2): Likewise.
945         (strcmp): Do not use BP_SYM.
946         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
947         "bp-asm.h".
948         (PARMS): Do not use macros from bp-asm.h.
949         (STR): Likewise.
950         (DELIM): Likewise.
951         [USE_AS_STRTOK_R] (SAVE): Likewise.
952         (FUNCTION): Likewise.  Do not use BP_SYM.
953         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
954         aliases.
955         (strtok_r): Likewise.
956         (__GI___strtok_r): Likewise.
957         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
958         (PARMS): Do not use macros from bp-asm.h.
959         (S): Likewise.
960         (SIZE): Likewise.
961         (__mpn_lshift): Do not use BP_SYM.
962         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
963         (PARMS): Do not use macros from bp-asm.h.
964         (STR): Likewise.
965         (CHR): Likewise.
966         (__memchr): Do not use BP_SYM.
967         (memchr): Do not use BP_SYM in weak_alias.
968         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
969         (PARMS): Do not use macros from bp-asm.h.
970         (BLK2): Likewise.
971         (LEN): Likewise.
972         (memcmp): Do not use BP_SYM.
973         (bcmp): Do not use BP_SYM in weak_alias.
974         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
975         (PARMS): Do not use macros from bp-asm.h.
976         (S1): Likewise.
977         (SIZE): Likewise.
978         (__mpn_mul_1): Do not use BP_SYM.
979         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
980         "bp-asm.h".
981         (PARMS): Do not use macros from bp-asm.h.
982         (STR): Likewise.
983         (CHR): Likewise.
984         (__rawmemchr): Do not use BP_SYM.
985         (rawmemchr): Do not use BP_SYM in weak_alias.
986         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
987         (PARMS): Do not use macros from bp-asm.h.
988         (S): Likewise.
989         (SIZE): Likewise.
990         (__mpn_rshift): Do not use BP_SYM.
991         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
992         (PARMS): Do not use macros from bp-asm.h.
993         (SIGMSK): Likewise.
994         (__sigsetjmp): Likewise.  Do not use BP_SYM.
995         * sysdeps/i386/start.S: Do not include "bp-sym.h".
996         (_start): Do not use BP_SYM.
997         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
998         (PARMS): Do not use macros from bp-asm.h.
999         (DEST): Likewise.
1000         (SRC): Likewise.
1001         (__stpcpy): Likewise.  Do not use BP_SYM.
1002         (stpcpy): Do not use BP_SYM in weak_alias.
1003         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1004         "bp-asm.h".
1005         (PARMS): Do not use macros from bp-asm.h.
1006         (DEST): Likewise.
1007         (SRC): Likewise.
1008         (LEN): Likewise.
1009         (__stpncpy): Likewise.  Do not use BP_SYM.
1010         (stpncpy): Do not use BP_SYM in weak_alias.
1011         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1012         (PARMS): Do not use macros from bp-asm.h.
1013         (STR): Likewise.
1014         (CHR): Likewise.
1015         (strchr): Likewise.  Do not use BP_SYM.
1016         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1017         "bp-asm.h".
1018         (PARMS): Do not use macros from bp-asm.h.
1019         (STR): Likewise.
1020         (CHR): Likewise.
1021         (__strchrnul): Likewise.  Do not use BP_SYM.
1022         (strchrnul): Do not use BP_SYM in weak_alias.
1023         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1024         "bp-asm.h".
1025         (PARMS): Do not use macros from bp-asm.h.
1026         (STOP): Likewise.
1027         (strcspn): Do not use BP_SYM.
1028         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1029         "bp-asm.h".
1030         (PARMS): Do not use macros from bp-asm.h.
1031         (STR): Likewise.
1032         (STOP): Likewise.
1033         (strpbrk): Likewise.  Do not use BP_SYM.
1034         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1035         "bp-asm.h".
1036         (PARMS): Do not use macros from bp-asm.h.
1037         (STR): Likewise.
1038         (CHR): Likewise.
1039         (strrchr): Likewise.  Do not use BP_SYM.
1040         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1041         (PARMS): Do not use macros from bp-asm.h.
1042         (SKIP): Likewise.
1043         (strspn): Do not use BP_SYM.
1044         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1045         (PARMS): Do not use macros from bp-asm.h.
1046         (STR): Likewise.
1047         (DELIM): Likewise.
1048         (SAVE): Likewise.
1049         (FUNCTION): Likewise.  Do not use BP_SYM.
1050         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1051         aliases.
1052         (strtok_r): Likewise.
1053         (__GI___strtok_r): Likewise.
1054         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1055         (PARMS): Do not use macros from bp-asm.h.
1056         (S1): Likewise.
1057         (S2): Likewise.
1058         (SIZE): Likewise.
1059         (__mpn_sub_n): Do not use BP_SYM.
1060         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1061         "bp-asm.h".
1062         (PARMS): Do not use macros from bp-asm.h.
1063         (S1): Likewise.
1064         (SIZE): Likewise.
1065         (__mpn_submul_1): Do not use BP_SYM.
1066         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1067         <bp-sym.h>.
1068         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1069         and <bp-asm.h>.
1070         (PARMS): Do not use macros from bp-asm.h.
1071         (FLAGS): Likewise.
1072         (PTID): Likewise.
1073         (TLS): Likewise.
1074         (CTID): Likewise.
1075         (__clone): Do not use BP_SYM.
1076         (clone): Do not use BP_SYM in weak_alias.
1077         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1078         and <bp-asm.h>.
1079         (PARMS): Do not use macros from bp-asm.h.
1080         (LEN): Likewise.
1081         (__mmap64): Do not use BP_SYM.
1082         (mmap64): Do not use BP_SYM in weak_alias.
1083         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1084         <bp-sym.h> and <bp-asm.h>.
1085         (PARMS): Do not use macros from bp-asm.h.
1086         (__posix_fadvise64_l64): Do not use BP_SYM.
1087         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1088         (PARMS): Do not use macros from bp-asm.h.
1089         (NSOPS): Likewise.
1090         (semtimedop): Do not use BP_SYM.
1091         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1092         and <bp-asm.h>.
1094 2013-02-21  Allan McRae  <allan@archlinux.org>
1096         * manual/message.texi (Charset conversion in gettext):
1097         Move @end statement to beginning of line.
1099 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1101         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1102         static.
1103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1104         Likewise.
1106         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1107         (denorm): Likewise.
1108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1111 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1113         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1114         tail-call to the resolved function if pltexit isn't needed.
1116 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1118         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1119         or Y being zero as being unlikely.
1120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1121         Likewise.
1123 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1125         * manual/nss.texi (System Databases and Name Service Switch):
1126         Remove frobnicate @pxref.
1128 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1130         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1131         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1133 2013-02-20  Petr Machata  <pmachata@redhat.com>
1135         * elf/elf.h (R_ARM_TARGET1): New macro.
1136         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1137         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1138         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1139         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1140         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1141         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1142         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1143         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1144         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1145         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1146         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1147         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1148         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1149         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1150         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1151         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1152         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1153         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1154         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1155         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1156         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1157         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1158         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1159         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1160         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1161         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1162         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1163         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1164         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1165         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1166         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1167         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1168         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1169         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1170         (R_ARM_THM_GOT_BREL12): Likewise.
1171         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1172         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1173         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1174         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1175         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1176         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1177         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1178         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1179         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1181 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1183         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1184         __attribute_used__ to __attribute__ ((unused)).
1186 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1188         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1189         powerpc mpa.c.
1190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1191         comment formatting.
1192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1194 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1196         [BZ #13550]
1197         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1198         Remove macro.
1199         (ENTER): Remove both macro definitions.
1200         (LEAVE): Likewise.
1201         (CHECK_BOUNDS_LOW): Likewise.
1202         (CHECK_BOUNDS_HIGH): Likewise.
1203         (CHECK_BOUNDS_BOTH): Likewise.
1204         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1205         (RETURN_BOUNDED_POINTER): Likewise.
1206         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1207         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1208         (POP_ERRNO_LOCATION_RETURN): Likewise.
1209         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1210         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1211         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1212         macros.
1213         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1214         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1215         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1216         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1217         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1218         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1219         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1220         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1221         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1222         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1223         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1224         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1225         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1226         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1227         removed macros.
1228         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1229         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1230         macros.
1231         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1232         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1233         * sysdeps/i386/i586/memset.S (memset): Likewise.
1234         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1235         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1236         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1237         macros.
1238         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1239         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1240         Change uses of L(2) to L(out).
1241         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1242         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1243         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1244         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1245         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1246         removed macros.
1247         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1248         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1249         macros.
1250         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1251         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1252         (RETURN): Do not use macro LEAVE.
1253         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1254         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1255         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1256         * sysdeps/i386/i686/memset.S (memset): Likewise.
1257         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1258         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1259         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1260         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1261         Likewise.
1262         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1263         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1264         L(1_2) and L(1_3) into L(1).
1265         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1266         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1267         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1268         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1269         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1270         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1271         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1272         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1273         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1274         macros.
1275         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1276         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1277         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1278         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1279         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1280         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1281         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1282         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1283         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1284         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1285         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1286         * sysdeps/i386/strspn.S (strspn): Likewise.
1287         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1288         conditional code.
1289         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1290         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1291         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1292         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1293         L(1_3) into L(1_1).
1294         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1295         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1296         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1297         macros.
1298         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1300 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1302         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1303         macro.
1305 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1307         * math/atest-exp.c (exp_mpn): Remove ROUND.
1308         * math/atest-exp2.c (exp_mpn): Likewise.
1309         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1311         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1312         * stdlib/tst-tls-atexit-lib.c: Likewise.
1313         * stdlib/tst-tls-atexit.c: Likewise.
1315 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1317         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1318         and __attribute_alloc_size__.
1320 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1322         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1323         __attribute_alloc_size__.
1324         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1325         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1327 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1329         * include/programs/xmalloc.h: New file.
1330         * catgets/gencat.c: Include it.
1331         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1332         * elf/pldd.c: Likewise.
1333         * iconv/iconv_charmap.c: Likewise.
1334         * iconv/iconvconfig.c: Likewise.
1335         * iconv/strtab.c: Likewise.
1336         * locale/programs/locale.c: Likewise.
1337         * locale/programs/localedef.h: Likewise.
1338         * locale/programs/simple-hash.c: Likewise.
1339         * nscd/nscd.h: Likewise.
1340         * nss/makedb.c: Likewise.
1341         * sysdeps/generic/ldconfig.h: Likewise.
1343 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1345         * Versions.def: Add GLIBC_2.18.
1346         * include/link.h (struct link_map): New member l_tls_dtor_count.
1347         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1348         (__call_tls_dtors): Likewise.
1349         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1350         __cxa_thread_atexit_impl.
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1352         Likewise.
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1356         Likewise.
1357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1358         Likewise.
1359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1361         Likewise.
1362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1363         Likewise.
1364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1366         Likewise.
1367         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1368         (tests): Add test case tst-tls-atexit.
1369         (modules-names): Add shared library for tst-tls-atexit.
1370         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1371         (GLIBC_PRIVATE): Add __call_tls_dtors.
1372         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1373         for libstdc++.
1374         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1375         * stdlib/tst-tls-atexit.c: New test case.
1376         * stdlib/tst-tls-atexit-lib.c: New test case.
1378         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1380         * elf/Versions (ld): Add _dl_find_dso_for_object.
1381         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1382         * elf/dl-open.c (_dl_find_dso_for_object): New function.
1383         (dl_open_worker): Use _dl_find_dso_for_object.
1384         * elf/dl-sym.c (do_sym): Likewise.
1385         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1387 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1389         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1390         Syntactic changes only.
1391         (_dl_runtime_profile): Do a tail-call to the resolved function.
1393 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
1395         [BZ #13550]
1396         * sysdeps/x86_64/bp-asm.h: Remove file.
1397         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1398         <bp-sym.h> and <bp-asm.h>.
1399         (__clone): Do not use BP_SYM.
1400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1401         <bp-sym.h> and <bp-asm.h>.
1402         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1403         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1404         "bp-asm.h".
1405         (_setjmp): Do not use BP_SYM.
1406         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1407         "bp-asm.h".
1408         (setjmp): Do not use BP_SYM.
1409         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1410         libc_hidden_def.
1411         (mempcpy): Do not use BP_SYM in weak_alias.
1412         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1413         "bp-asm.h".
1414         (strchr): Do not use BP_SYM.
1415         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1416         "bp-asm.h".
1417         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1418         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1419         (_start): Do not use BP_SYM.
1420         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1421         "bp-asm.h".
1422         (strcat): Do not use BP_SYM.
1423         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1424         "bp-asm.h".
1425         (STRCMP): Do not use BP_SYM.
1426         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1427         "bp-asm.h".
1428         (STRCPY): Do not use BP_SYM.
1429         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1430         "bp-asm.h".
1431         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1432         "bp-asm.h".
1433         (FUNCTION): Do not use BP_SYM.
1434         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1435         weak_alias.
1436         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1438 2013-02-17  Andreas Jaeger  <aj@suse.de>
1440         * time/Versions: Sort entries.
1441         * string/Versions: Likewise.
1442         * resolv/Versions: Likewise.
1443         * posix/Versions: Likewise.
1444         * iconv/Versions: Likewise.
1445         * elf/Versions: Likewise.
1446         * wcsmbs/Versions: Likewise.
1448 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1450         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1451         loop termination condition.
1453         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1454         variable to calculate EZ.
1455         (__sqr): Likewise.
1457         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1458         the lower precision input.
1460 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
1462         [BZ #13550]
1463         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1464         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1465         (run-via-rtld-prefix): Do not handle %-bp tests.
1466         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1467         (all-object-suffixes): Remove .ob.
1468         (bppfx): Remove variable.
1469         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1470         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1471         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1472         [$(build-bounded) = yes] (libtype.ob): Likewise.
1473         * Makerules (elide-routines.ob): Remove variable.
1474         (do-tests-clean): Do not handle *-bp.out.
1475         (common-mostlyclean): Do not handle *-bp and *-bp.out.
1476         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1477         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1478         (tests): Do not include $(tests-bp.out).
1479         (xtests): Do not include $(xtests-bp.out).
1480         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1481         [$(build-bounded) = yes] ($(addprefix
1482         $(objpfx),$(binaries-bounded))): Remove rule.
1483         ($(objpfx)%-bp.out): Remove rule.
1484         * config.make.in (build-bounded): Remove variable.
1485         * crypt/Makefile [$(build-bounded) = yes]
1486         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1487         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1488         append to variable.
1489         [$(build-bounded) = yes] (install-lib): Likewise.
1490         [$(build-bounded) = yes] (generated): Likewise.
1491         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1492         Remove rule.
1493         * intl/Makefile [$(build-bounded) = yes]
1494         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1495         * math/Makefile [$(build-bounded) = yes]
1496         ($(tests:%=$(objpfx)%-bp): Likewise.
1497         * misc/Makefile [$(build-bounded) = yes]
1498         ($(objpfx)tst-tsearch-bp): Likewise.
1499         * nptl/Makeconfig (bounded-thread-library): Remove variable.
1500         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1501         Remove dependency.
1502         * string/Makefile (o-objects.ob): Remove variable.
1503         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1504         (CFLAGS-.ob): Remove variable.
1505         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1506         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1507         both definitions of variable.
1508         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1509         (ASFLAGS-.ob): Remove variable.
1511 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
1513         [BZ #13550]
1514         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1515         Remove __BOUNDED_POINTERS__ from condition.
1516         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1517         * string/bits/string2.h [!__NO_STRING_INLINES &&
1518         !__BOUNDED_POINTERS__]: Likewise.
1519         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1520         Likewise.
1521         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1522         Remove conditional code.
1523         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1524         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1525         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1526         condition.
1528         [BZ #13550]
1529         * csu/libc-start.c: Do not include <bp-sym.h>.
1530         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1531         * elf/dl-open.c: Do not include <bp-sym.h>.
1532         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1533         * math/fegetenv.c: Do not include <bp-sym.h>.
1534         (fegetenv): Do not use BP_SYM in versioned symbols.
1535         * nptl/sysdeps/pthread/bits/libc-lockP.h
1536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1537         <bp-sym.h>.
1538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1539         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1541         (__pthread_mutex_destroy): Likewise.
1542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1543         (__pthread_mutex_lock): Likewise.
1544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1545         (__pthread_mutex_trylock): Likewise.
1546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1547         (__pthread_mutex_unlock): Likewise.
1548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1549         (__pthread_mutexattr_init): Likewise.
1550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1551         (__pthread_mutexattr_destroy): Likewise.
1552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1553         (__pthread_mutexattr_settype): Likewise.
1554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1555         (__pthread_rwlock_init): Likewise.
1556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1557         (__pthread_rwlock_destroy): Likewise.
1558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1559         (__pthread_rwlock_rdlock): Likewise.
1560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1561         (__pthread_rwlock_tryrdlock): Likewise.
1562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1563         (__pthread_rwlock_wrlock): Likewise.
1564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1565         (__pthread_rwlock_trywrlock): Likewise.
1566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1567         (__pthread_rwlock_unlock): Likewise.
1568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1569         (__pthread_key_create): Likewise.
1570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1571         (__pthread_setspecific): Likewise.
1572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1573         (__pthread_getspecific): Likewise.
1574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1575         Likewise.
1576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1577         (_pthread_cleanup_push_defer): Likewise.
1578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1579         (_pthread_cleanup_pop_restore): Likewise.
1580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1581         (pthread_setcancelstate): Likewise.
1582         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1583         <bp-sym.h>.
1584         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1585         (memchr): Do not use BP_SYM in weak_alias.
1586         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1587         (fegetenv): Do not use BP_SYM in versioned symbols.
1588         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1589         (fesetenv): Do not use BP_SYM in versioned symbols.
1590         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1591         (feupdateenv): Do not use BP_SYM in versioned symbols.
1592         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1593         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1594         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1595         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1596         (open64): Do not use BP_SYM in weak_alias.
1597         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1598         (fegetenv): Do not use BP_SYM in versioned symbols.
1599         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1600         (fesetenv): Do not use BP_SYM in versioned symbols.
1601         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1602         (feupdateenv): Do not use BP_SYM in versioned symbols.
1603         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1604         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1605         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1606         (feraiseexcept): Do not use BP_SYM in versioned symbols.
1607         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1608         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1609         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1610         <bp-sym.h>.
1611         (__libc_start_main): Do not use BP_SYM.
1613 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1616         redundant return line.
1617         (norm): Likewise.
1618         (denorm): Likewise.
1619         (dbl_mp): Likewise.
1620         (sub_magnitudes): Likewise.
1621         (__add): Likewise.
1622         (__sub): Likewise.
1623         (__mul): Likewise.
1624         (__inv): Likewise.
1625         (__dvd): Likewise.
1626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1627         (norm): Likewise.
1628         (denorm): Likewise.
1629         (dbl_mp): Likewise.
1630         (sub_magnitudes): Likewise.
1631         (__add): Likewise.
1632         (__sub): Likewise.
1633         (__mul): Likewise.
1634         (__inv): Likewise.
1635         (__dvd): Likewise.
1637         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1638         instead of __mul.
1639         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1640         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1641         (cc32): Likewise.
1643         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1644         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1646         of __mul for squares.
1647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1648         function
1649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1650         Likewise.
1651         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1652         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1654 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
1656         [BZ #13550]
1657         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1658         code.
1659         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1660         prototype or function definition.  Rename ubp_* variables and
1661         parameters.  Remove argv definitions conditional on
1662         [__BOUNDED_POINTERS__].
1663         * debug/backtrace.c (__backtrace): Do not use __unbounded.
1664         * elf/dl-runtime.c (_dl_fixup): Likewise.
1665         * include/set-hooks.h (RUN_HOOK): Likewise.
1666         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1667         definition.
1668         * string/strcpy.c (strcpy): Do not use __unbounded.
1669         * sysdeps/generic/frame.h (struct layout): Likewise.
1670         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1671         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1672         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1673         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1674         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1675         (__backtrace): Likewise.
1676         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1677         use __ptrvalue.
1678         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1679         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1680         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1681         Likewise.
1682         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1683         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1684         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1685         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1686         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1687         Do not use __unbounded.
1688         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1689         Rename __unboundedrlimits parameter to rlimits in prototype.
1690         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1691         Do not use __unbounded.
1692         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1693         not use __ptrvalue.
1694         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1695         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1696         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1697         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1698         __ptrvalue or __unbounded.
1699         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1700         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1701         use __unbounded.
1702         (__new_msgctl): Do not use __ptrvalue.
1703         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1704         __unbounded.
1705         (__libc_msgrcv): Do not use __ptrvalue.
1706         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1707         startup_info): Do not use __unbounded.
1708         (__libc_start_main): Likewise.  Rename ubp_* variables and
1709         parameters.  Remove argv definitions conditional on
1710         [__BOUNDED_POINTERS__].
1711         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1712         __ptrvalue.
1713         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1714         use __unbounded.
1715         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1716         or __ptrvalue.
1717         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1718         use __unbounded.
1719         (__new_shmctl): Do not use __ptrvalue.
1720         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1721         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1724         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1725         (__libc_sigaction): Likewise.
1726         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1727         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1728         Likewise.
1729         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1731 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
1733         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1735         * string/mempcpy.c: Implement by calling memcpy.
1737 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1742         evaluation.
1744         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1745         values in the mantissa.
1747         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1748         minimize writes to Z.
1749         (sub_magnitudes): Simplify code a bit.
1751 2013-02-12  Roland McGrath  <roland@hack.frob.com>
1753         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1754         from the message.  The linker prefixes all warnings with that already.
1756 2013-02-12  Andreas Schwab  <schwab@suse.de>
1758         [BZ #15078]
1759         * posix/regexec.c (extend_buffers): Add parameter min_len.
1760         (check_matching): Pass minimum needed length.
1761         (clean_state_log_if_needed): Likewise.
1762         (get_subexp): Likewise.
1763         * posix/Makefile (tests): Add bug-regex34.
1764         (bug-regex34-ENV): Define.
1765         * posix/bug-regex34.c: New file.
1767         [BZ #11561]
1768         * posix/regcomp.c (parse_bracket_exp): When looking up collating
1769         elements compare against the byte sequence of it, not its name.
1770         * posix/Makefile (tests): Add bug-regex35.
1771         (bug-regex35-ENV): Define.
1772         * posix/bug-regex35.c: New file.
1774 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1776         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
1777         comment.
1778         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1779         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1780         (CHECK_EOL): Add undef.
1782 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
1784         * bits/stdlib-bsearch.h: New file.
1785         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1786         * stdlib/stdlib.h: Likewise.
1788 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1790         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1791         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1792         declaration.
1793         * manual/search.texi (Array Search Function): Add missing const in
1794         lfind prototype.
1795         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1796         declaration to use rlim_t.
1797         (Basic Scheduling Functions): Remove erroneous const from
1798         sched_getparam prototype.  Remove erroneous * from
1799         sched_get_priority_max and sched_get_priority_min prototypes.
1800         (Resource Usage): Fix summary @comment on vtimes to refer to
1801         sys/vtimes.h rather than vtimes.h.
1802         Add missing *s in vtimes prototype.
1803         (Limits on Resources): Fix ulimit prototype to return long int.
1804         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1805         prototypes to use long int rather than double.
1806         (BSD Random): Fix initstate and setstate to use char *, not void *.
1807         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1808         prototype to make second argument 'struct aiocb64 *const[]'.
1809         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1810         (Status of AIO Operations): Remove erroneous const in aio_return and
1811         aio_return64 prototypes.
1812         (Synchronizing I/O): Fix sync prototype to return void.
1813         * manual/startup.texi (Suboptions): Remove an erroneous const in
1814         getsubopt prototype.
1815         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1816         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1817         use size_t rather than int.
1818         (Scanning All Users): Likewise for getpwent_r.
1819         (Setting Groups): Add missing const to setgroups prototype.
1820         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1821         * manual/socket.texi (Host Names): Fix gethostbyaddr and
1822         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1823         'const void *' rather than 'const char *'.
1824         (Host Address Functions): Likewise for inet_ntop.
1825         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1826         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1827         ssize_t for return value.
1828         (Sending Data): Likewise for send, sendto, sendmsg.
1829         (Socket Option Functions): Add a missing const in setsockopt prototype.
1830         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1831         use wchar_t for the argument.
1832         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1833         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1834         take no arguments.
1835         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1836         double/float/long double for second argument.
1837         Fix return types of significand, significandf, significandl.
1838         * manual/filesys.texi (Setting Permissions): Use mode_t for second
1839         argument in fchmod prototype.
1840         (File Owner): Use uid_t and gid_t in fchown prototype.
1841         (File Times): Add const to utimes, futimes, and lutimes prototypes.
1842         (Making Special Files): Use mode_t and dev_t in mknod prototype.
1843         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1844         use 'const struct dirent **' as argument types to CMP function pointer
1845         argument.
1846         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1847         (File Times): Fix summary magic @comment for struct utimbuf and utime
1848         to refer to utime.h, not time.h.
1849         * manual/string.texi (Argz Functions): Add missing const in
1850         argz_extract and argz_next prototypes.
1851         (Finding Tokens in a String): Likewise for basename.
1852         (String/Array Comparison): Fix typo in wcscasecmp prototype.
1853         (Copying and Concatenation): Fix typo in wmemmove prototype.
1854         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1855         (Signal Stack): Remove erroneous const in sigstack prototype.
1856         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1857         prototype.
1858         (Simple Calendar Time): Likewise for stime.
1859         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1860         prototype.
1861         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1862         say sys/sysctl.h instead.
1863         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1864         and vsyslog prototypes.
1866 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1868         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1869         Remove.
1871 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1873         * misc/sys/mman.h: Fix typo in mremap comment.
1875 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1877         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1878         the '\0' terminator.
1880 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1882         [BZ #13550]
1883         * debug/segfault.c: Don't include <bp-checks.h>.
1884         * sysdeps/generic/bp-checks.h: Remove file.
1885         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1886         (__GETDENTS): Don't use CHECK_N.
1887         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1888         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1889         (__getgroups): Don't use CHECK_N.
1890         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1891         (setgroups): Don't use CHECK_N.
1892         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1893         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1894         (__libc_msgrcv): Don't use CHECK_N.
1895         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1896         (__libc_msgsnd): Don't use CHECK_N.
1897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1898         <bp-checks.h>.
1899         (__libc_pread): Don't use CHECK_N.
1900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1901         include <bp-checks.h>.
1902         (__libc_pread64): Don't use CHECK_N.
1903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1904         include <bp-checks.h>.
1905         (__libc_pwrite): Don't use CHECK_N.
1906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1907         include <bp-checks.h>.
1908         (__libc_pwrite64): Don't use CHECK_N.
1909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1910         <bp-checks.h>.
1911         (__libc_pread): Don't use CHECK_N.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1913         include <bp-checks.h>.
1914         (__libc_pread64): Don't use CHECK_N.
1915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1916         include <bp-checks.h>.
1917         (__libc_pwrite): Don't use CHECK_N.
1918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1919         include <bp-checks.h>.
1920         (__libc_pwrite64): Don't use CHECK_N.
1921         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1922         (do_pread): Don't use CHECK_N.
1923         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1924         (do_pread64): Don't use CHECK_N.
1925         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1926         (do_pwrite): Don't use CHECK_N.
1927         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1928         (do_pwrite64): Don't use CHECK_N.
1929         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1930         (__libc_readv): Don't use CHECK_N.
1931         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1932         (semop): Don't use CHECK_N.
1933         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1934         <bp-checks.h>.
1935         (semtimedop): Don't use CHECK_N.
1936         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1937         (__libc_pread): Don't use CHECK_N.
1938         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1939         <bp-checks.h>.
1940         (__libc_pread64): Don't use CHECK_N.
1941         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1942         <bp-checks.h>.
1943         (__libc_pwrite): Don't use CHECK_N.
1944         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1945         <bp-checks.h>.
1946         (__libc_pwrite64): Don't use CHECK_N.
1947         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1948         <bp-checks.h>.
1949         (__libc_msgrcv): Don't use CHECK_N.
1950         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1951         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
1952         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1953         (__libc_writev): Don't use CHECK_N.
1955 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1957         * string/strcpy.c: Removed unused variable.
1959         * Makeconfig (+sysdep-includes): Define with := rather than =.
1960         Use an existing include/ subdir of each sysdeps dir before it.
1962 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1964         * nscd/connection.c (register_traced_file): Comment function.
1965         [HAVE_INOTIFY] (union __inev): Define.
1966         [HAVE_INOTIFY] (inotify_check_files): New function.
1967         [HAVE_INOTIFY] (clear_db_cache): Likewise.
1968         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1969         clear_db_cache.
1970         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1972 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1974         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1975         loaded if not already and that a failure is permanent.
1977 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1979         [BZ #15006]
1980         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1981         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1983 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1985         [BZ #13550]
1986         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1987         (CHECK_1_NULL_OK): Likewise.
1988         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1989         (__fxstat): Do not use CHECK_1.
1990         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1991         <bp-checks.h>.
1992         (___fxstat64): Do not use CHECK_1.
1993         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1994         <bp-checks.h>.
1995         (__fxstatat): Do not use CHECK_1.
1996         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1997         <bp-checks.h>.
1998         (__fxstatat64): Do not use CHECK_1.
1999         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2000         <bp-checks.h>.
2001         (__fxstat): Do not use CHECK_1.
2002         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2003         <bp-checks.h>.
2004         (__fxstatat): Do not use CHECK_1.
2005         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2006         <bp-checks.h>.
2007         (__getresgid): Do not use CHECK_1.
2008         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2009         <bp-checks.h>.
2010         (__getresuid): Do not use CHECK_1.
2011         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2012         <bp-checks.h>.
2013         (__lxstat): Do not use CHECK_1.
2014         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2015         <bp-checks.h>.
2016         (__old_msgctl): Do not use CHECK_1.
2017         (__new_msgctl): Likewise.
2018         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2019         <bp-checks.h>.
2020         (__new_setrlimit): Do not use CHECK_1.
2021         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2022         <bp-checks.h>.
2023         (__old_shmctl): Do not use CHECK_1.
2024         (__new_shmctl): Likewise.
2025         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2026         <bp-checks.h>.
2027         (__xstat): Do not use CHECK_1.
2028         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2029         (__lxstat): Do not use CHECK_1.
2030         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2031         <bp-checks.h>.
2032         (___lxstat64): Do not use CHECK_1.
2033         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2034         (__old_msgctl): Do not use CHECK_1.
2035         (__new_msgctl): Likewise.
2036         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2037         <bp-checks.h>.
2038         (__gettimeofday): Do not use CHECK_1.
2039         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2040         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2041         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2042         <bp-checks.h>.
2043         (__gettimeofday): Do not use CHECK_1.
2044         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2045         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2046         (__new_shmctl): Do not use CHECK_1.
2047         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2048         <bp-checks.h>.
2049         (do_sigtimedwait): Do not use CHECK_1.
2050         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2051         <bp-checks.h>.
2052         (do_sigwaitinfo): Do not use CHECK_1.
2053         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2054         <bp-checks.h>.
2055         (msgctl): Do not use CHECK_1.
2056         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2057         <bp-checks.h>.
2058         (shmctl): Do not use CHECK_1.
2059         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2060         (ustat): Do not use CHECK_1.
2061         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2062         <bp-checks.h>.
2063         (__fxstat): Do not use CHECK_1.
2064         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2065         <bp-checks.h>.
2066         (__fxstatat): Do not use CHECK_1.
2067         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2068         <bp-checks.h>.
2069         (__lxstat): Do not use CHECK_1.
2070         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2071         <bp-checks.h>.
2072         (__xstat): Do not use CHECK_1.
2073         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2074         (__xstat): Do not use CHECK_1.
2075         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2076         (___xstat64): Do not use CHECK_1.
2078         [BZ #13550]
2079         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2080         definitions.
2081         (CHECK_BOUNDS_HIGH): Likewise.
2082         * string/strcpy.c: Do not include <bp-checks.h>.
2083         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2085 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2087         * nscd/nscd-client.h (__nscd_drop_map_ref):
2088         Add __attribute__ ((unused)).
2089         * nis/nss-nisplus.h (niserr2nss): Likewise.
2091         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2092         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2094         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2095         Remove inline keyword.
2096         * include/rounding-mode.h (round_away): Likewise.
2097         * libio/wfileops.c (adjust_wide_data): Likewise.
2098         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2099         (__m128i_strloadu_tolower): Likewise.
2100         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2101         (__m128i_strloadu_tolower): Likewise.
2102         * time/mktime.c (ydhms_diff): Likewise.
2103         * locale/elem-hash.h (elem_hash): Likewise.
2104         * locale/setlocale.c (setdata): Likewise.
2105         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2106         (re_string_wchar_at): Likewise.
2107         (bitset_not, bitset_merge, bitset_mask): Likewise.
2108         [!(__GNUC__ > 3)] (inline): Remove macro.
2109         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2110         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2111         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2112         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2113         * string/memcmp.c (memcmp_bytes): Likewise.
2114         * locale/programs/locarchive.c (compute_hashval): Likewise.
2115         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2116         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2117         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2118         * nss/getent.c (print_rpc, print_protocols): Likewise.
2119         (print_passwd, print_group, print_aliases): Likewise.
2120         * nis/nss-nisplus.h (niserr2nss): Likewise.
2121         * nscd/connections.c (restart_p): Likewise.
2122         Change return type to bool.
2124 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2126         * Makeconfig (all-Depend-files): Add existing
2127         $(sorted-subdirs:=/Depend) files.
2128         (all-subdirs): Remove nss.
2129         * sysdeps/unix/inet/Subdirs: Add it here instead.
2130         * hesiod/Depend: New file.
2132         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2133         instead of calling alloca.
2135         * io/lseek.c (__lseek): Rename to __libc_lseek.
2136         Define __lseek as an alias.
2138         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2140 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2142         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2143         else clause and remove check for non-standard endianness.
2145 2013-02-04  David S. Miller  <davem@davemloft.net>
2147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2149 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2151         [BZ #13550]
2152         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2153         (__ubp_memchr): Remove prototype.
2154         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2155         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2156         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2157         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2158         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2159         Remove alias.
2160         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2161         (__ubp_memchr): Likewise.
2162         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2163         (__ubp_memchr): Likewise.
2164         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2165         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2166         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2167         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2168         CHECK_STRING.
2169         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2170         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2171         (__getcwd): Do not use CHECK_STRING.
2172         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2173         <bp-checks.h>.
2174         (__real_chown): Do not use CHECK_STRING.
2175         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2176         <bp-checks.h>.
2177         (fchownat): Do not use CHECK_STRING.
2178         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2179         CHECK_STRING.
2180         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2181         <bp-checks.h>.
2182         (__lchown): Do not use CHECK_STRING.
2183         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2184         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2185         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2186         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2188         include <bp-checks.h>.
2189         (truncate64): Do not use CHECK_STRING.
2190         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2191         <bp-checks.h>.
2192         (__real_chown): Do not use CHECK_STRING.
2193         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2194         <bp-checks.h>.
2195         (__lchown): Do not use CHECK_STRING.
2196         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2197         <bp-checks.h>.
2198         (__chown): Do not use CHECK_STRING.
2199         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2200         <bp-checks.h>.
2201         (truncate64): Do not use CHECK_STRING.
2202         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2203         Likewise.
2204         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2205         (__xmknod): Do not use CHECK_STRING.
2206         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2207         <bp-checks.h>.
2208         (__xmknodat): Do not use CHECK_STRING.
2209         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2210         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2212 2013-02-04  Andreas Schwab  <schwab@suse.de>
2214         [BZ #14142]
2215         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2216         * include/netdb.h: Likewise for h_errno.
2217         * elf/tst-stackguard1.c: Include <tls.h>.
2219 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2221         * elf/link.h (struct link_map): Extend the l_addr comment.
2222         * include/link.h (struct link_map): Likewise.
2224 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2226         [BZ #13550]
2227         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2228         (BOUNDED_1): Remove macro.
2229         * debug/backtrace.c: Don't include <bp-checks.h>.
2230         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2231         (__backtrace): Likewise.
2232         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2233         <bp-checks.h>.
2234         (__backtrace): Don't use BOUNDED_1.
2235         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2236         <bp-checks.h>.
2237         (__backtrace): Don't use BOUNDED_1.
2238         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2239         (__backtrace): Don't use BOUNDED_1.
2240         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2241         (shmat): Don't use BOUNDED_N.
2243 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2245         [BZ #13550]
2246         * sysdeps/generic/bp-start.h: Remove file.
2247         * csu/libc-start.c: Don't include <bp-start.h>.
2248         (LIBC_START_MAIN): Set up __environ directly instead of using
2249         INIT_ARGV_and_ENVIRON.
2250         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2251         <bp-start.h>.
2253         [BZ #13550]
2254         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2255         definitions.
2256         (CHECK_FCNTL): Likewise.
2257         (CHECK_N_PAGES): Likewise.
2259         [BZ #13550]
2260         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2261         definitions.
2262         (CHECK_SIGSET_NULL_OK): Likewise.
2263         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2264         <bp-checks.h>.
2265         (sigpending): Don't use CHECK_SIGSET.
2266         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2267         <bp-checks.h>.
2268         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2269         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2270         <bp-checks.h>.
2271         (do_sigsuspend): Don't use CHECK_SIGSET.
2272         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2273         use CHECK_SIGSET.
2274         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2275         (do_sigwait): Don't use CHECK_SIGSET.
2276         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2277         use CHECK_SIGSET.
2278         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2279         include <bp-checks.h>.
2280         (sigpending): Don't use CHECK_SIGSET.
2281         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2282         include <bp-checks.h>.
2283         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2284         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2285         <bp-checks.h>.
2286         (sigpending): Don't use CHECK_SIGSET.
2287         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2288         <bp-checks.h>.
2289         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2291         [BZ #13550]
2292         * sysdeps/generic/bp-semctl.h: Remove file.
2293         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2294         <bp-checks.h> and <bp-semctl.h>.
2295         (__old_semctl): Don't use CHECK_SEMCTL.
2296         (__new_semctl): Likewise.
2297         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2298         and <bp-semctl.h>.
2299         (__old_semctl): Don't use CHECK_SEMCTL.
2300         (__new_semctl): Likewise.
2301         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2302         <bp-checks.h> and <bp-semctl.h>.
2303         (__old_semctl): Don't use CHECK_SEMCTL.
2304         (__new_semctl): Likewise.
2305         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2306         <bp-checks.h> and <bp-semctl.h>.
2307         (semctl): Don't use CHECK_SEMCTL.
2309         [BZ #13550]
2310         * Makerules (elide-bp-thunks): Remove variable.
2311         (elide-routines.oS): Don't use $(elide-bp-thunks).
2312         (elide-routines.os): Likewise.
2313         (elide-routines.o): Likewise.
2314         (elide-routines.op): Likewise.
2315         (elide-routines.og): Likewise.
2316         (objects): Don't use $(bp-thunks).
2317         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2318         include.
2319         (common-generated): Do not add s-proto-bp.d.
2320         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2321         (int): Likewise.
2322         (typ): Likewise.
2323         Do not generate makefile rules for bounded-pointer thunks.
2324         * sysdeps/generic/bp-thunks.h: Remove file.
2325         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2326         * sysdeps/unix/s-proto-bp.S: Likewise.
2328         [BZ #15062]
2329         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2330         parts of result separately when argument is not close to line from
2331         -i to i and one part of argument is small.
2332         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2333         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2334         * math/libm-test.inc (cacos_test): Add more tests.
2335         (casin_test): Likewise.
2336         (casinh_test): Likewise.
2337         * sysdeps/i386/fpu/libm-test-ulps: Update.
2338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2340 2013-01-31  David S. Miller  <davem@davemloft.net>
2342         * po/de.po: Update from translation team.
2344 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2346         * time/tzfile.c: Include stdint.h for SIZE_MAX.
2348 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
2350         * configure.in (_AC_PROG_CC_C89): New definition.
2351         * configure: Regenerate.
2353         * configure.in (AC_PROG_CPP): New definition.
2354         * configure: Regenerate.
2356 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2358         * debug/tst-backtrace.h: New file.
2359         * debug/tst-backtrace2.c: Include tst-backtrace.h.
2360         (ret): Remove variable.
2361         (x): Likewise.
2362         (FAIL): Remove macro.
2363         (NO_INLINE): Likewise.
2364         (fn1): Use match function instead of strstr.
2365         * debug/tst-backtrace3.c: Include tst-backtrace.h.
2366         (ret): Remove variable.
2367         (x): Likewise.
2368         (FAIL): Remove macro.
2369         (NO_INLINE): Likewise.
2370         (fn): Use match function instead of strstr.
2371         * debug/tst-backtrace4.c: Include tst-backtrace.h.
2372         (ret): Remove variable.
2373         (x): Likewise.
2374         (FAIL): Remove macro.
2375         (NO_INLINE): Likewise.
2376         (handle_signal): Use match function instead of strstr.
2377         * debug/tst-backtrace5.c: Include tst-backtrace.h.
2378         (ret): Remove variable.
2379         (x): Likewise.
2380         (FAIL): Remove macro.
2381         (NO_INLINE): Likewise.
2382         (handle_signal): Use match function instead of strstr.
2384 2013-01-23  Roland McGrath  <roland@hack.frob.com>
2386         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2388 2013-01-23  David S. Miller  <davem@davemloft.net>
2390         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2391         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2392         argument of CAS if possible.
2393         * sysdeps/sparc/sparc64/bits/atomic.h
2394         (__arch_compare_and_exchange_val_32_acq): Likewise.
2395         (__arch_compare_and_exchange_val_64_acq): Likewise.
2397 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
2399         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2400         * sysdeps/posix/ulimit.c: ... this.
2401         Include <limits.h>.
2402         * sysdeps/unix/bsd/ulimit.c: Remove file.
2404 2013-01-23  Adam Conrad  <adconrad@0c3.net>
2406         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2407         (LDFLAGS-tst-array5): Likewise.
2409 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2411         [BZ #15036]
2412         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2413         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2414         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2415         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2417 2013-01-21  David S. Miller  <davem@davemloft.net>
2419         * sysdeps/sparc/backtrace.c: New file.
2420         * sysdeps/sparc/sparc32/backtrace.h: New file.
2421         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2422         * sysdeps/sparc/sparc64/backtrace.h: New file.
2423         * sysdeps/sparc/sparc64/backtrace.c: Delete.
2424         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2425         -funwind-tables.
2427 2013-01-21  Andreas Schwab  <schwab@suse.de>
2429         [BZ #15020]
2430         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2431         closed its stdout.
2433 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
2435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2436         "mpa2.h".
2437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2439 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
2440             Mark Mitchell  <mark@codesourcery.com>
2441             Tom de Vries  <tom@codesourcery.com>
2442             Paul Pluzhnikov  <ppluzhnikov@google.com>
2444         * debug/tst-backtrace2.c: New file.
2445         * debug/tst-backtrace3.c: Likewise.
2446         * debug/tst-backtrace4.c: Likewise.
2447         * debug/tst-backtrace5.c: Likewise.
2448         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2449         (CFLAGS-tst-backtrace3.c): Likewise.
2450         (CFLAGS-tst-backtrace4.c): Likewise.
2451         (CFLAGS-tst-backtrace5.c): Likewise.
2452         (LDFLAGS-tst-backtrace2): Likewise.
2453         (LDFLAGS-tst-backtrace3): Likewise.
2454         (LDFLAGS-tst-backtrace4): Likewise.
2455         (LDFLAGS-tst-backtrace5): Likewise.
2456         (tests): Add new tests tst-backtrace2, tst-backtrace3,
2457         tst-backtrace4 and tst-backtrace5.
2459 2013-01-18  Anton Blanchard  <anton@samba.org>
2460             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2462         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2463         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2464         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2465         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2467         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2468         "+r" and remove output regs list as redundant.  Add explicit inline
2469         asm to specify register of return val to work around compiler codegen
2470         bug.  Remove (int) cast on return value.  Add return type parameter to
2471         use in macro so that this macro does not truncate return value for
2472         64-bit values.
2473         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2474         pass to INTERNAL_VSYSCALL_NCS.
2475         (INLINE_VSYSCALL): Add 'long int' as return type to
2476         INTERNAL_VSYSCALL_NCS macro invocation.
2477         (INTERNAL_VSYSCALL): Add 'long int' as return type to
2478         INTERNAL_VSYSCALL_NCS macro invocation.
2479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2481 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2483         [BZ #14496]
2484         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2485         Fix application of SIMD FP exception mask.
2487         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2488         mp_no from a power of two.
2489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2490         __mpexp_twomm1.  Use __pow_mp.
2492         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2493         multiplication.
2495 2013-01-17  David S. Miller  <davem@davemloft.net>
2497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2499 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2501         [BZ #15023]
2502         * include/complex.h: Condition contents on [!_COMPLEX_H].
2503         (__kernel_casinhf): New prototype.
2504         (__kernel_casinh): Likewise.
2505         (__kernel_casinhl): Likewise.
2506         * math/Makefile (libm_calls): Add k_casinh.
2507         * math/k_casinh.c: New file.
2508         * math/k_casinhf.c: Likewise.
2509         * math/k_casinhl.c: Likewise.
2510         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2511         finite nonzero arguments.
2512         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2513         finite nonzero arguments.
2514         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2515         finite nonzero arguments.
2516         * math/s_casinh.c: Do not include <float.h>.
2517         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2518         * math/s_casinhf.c: Do not include <float.h>.
2519         (__casinhf): Move code for finite nonzero arguments to
2520         k_casinhf.c.
2521         * math/s_casinhl.c: Do not include <float.h>.
2522         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2523         redefine.
2524         (__casinhl): Move code for finite nonzero arguments to
2525         k_casinhl.c.
2526         * math/libm-test.inc (cacos_test): Add more tests.
2527         * sysdeps/i386/fpu/libm-test-ulps: Update.
2528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
2532         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2533         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2534         [!HAVE_MREMAP]: Remove [defined linux] case.
2535         * malloc/arena.c: Do not include <malloc-sysdep.h>.
2537 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2539         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2541 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
2543         * elf/elf.h (R_386_SIZE32): New relocation.
2544         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2545         R_386_SIZE32.
2546         (elf_machine_rela): Likewise.
2547         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2548         R_X86_64_SIZE64 and R_X86_64_SIZE32.
2550 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2552         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2553         (FP_FAST_FMA): Do not define.
2554         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2555         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2556         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2557         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2558         !_SOFT_FLOAT]: Likewise.
2559         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2560         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2561         value.
2562         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2563         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2564         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2565         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2566         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2567         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2568         file.
2570 2013-01-16  Andreas Schwab  <schwab@suse.de>
2572         [BZ #14327]
2573         * include/stdlib.h (__mktemp): Add declaration.
2574         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2575         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2577 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2579         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2580         definitions.
2581         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2582         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2583         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2584         definitions here.
2585         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2586         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2587         definitions.
2588         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2589         and ONE.
2590         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2591         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2592         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2593         definitions.
2594         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2595         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2596         definitions.
2597         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2599         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2601 2013-01-15  David S. Miller  <davem@davemloft.net>
2603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2604         trunc{,f} to libm-sysdep_routes.
2605         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2607         file.
2608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2610         file.
2611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2612         file.
2613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2615         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2616         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2617         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2618         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2619         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2620         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2623         nearbyint{,f} to libm-sysdep_routes.
2624         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2626         New file.
2627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2628         file.
2629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2630         New file.
2631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2632         file.
2633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2635         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2636         file.
2637         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2638         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2639         file.
2640         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2641         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2642         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2644         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2645         libc_feholdexcept and libc_fesetenv.
2647 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
2649         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2651 2013-01-14  David S. Miller  <davem@davemloft.net>
2653         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2654         (SPARC_ASM_VIS2_IFUNC): Likewise.
2655         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2657         use of 'siam' instruction.
2658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2659         Likewise.
2660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2661         Likewise.
2662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2663         Likewise.
2664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2669         file.
2670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2671         file.
2672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2673         file.
2674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2675         file.
2676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2681         new VIS2 routines.
2682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2685         Likewise.
2686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2691         routines to libm-sysdep_routines.
2692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2695         fdim/fdimf to libm-sysdep_routines.
2696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2697         file.
2698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2700         file.
2701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2704         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2705         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2706         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2707         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2709 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2711         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2712         to optimize copies.
2714         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2719         local variable MPTWO.
2720         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2721         Likewise.
2723 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2725         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2726         GLOB_NOESCAPE.
2728 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2730         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2732 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2734         * manual/pattern.texi (glob_t): Document gl_flags.
2735         (glob64_t): Likewise.
2737 2013-01-11  David S. Miller  <davem@davemloft.net>
2739         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2740         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2741         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
2742         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2743         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2744         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2745         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2746         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2747         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2748         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2749         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2750         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2751         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2753         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2754         sparc V9 rather than using V8 code.
2755         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2756         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2758         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2759         Move to...
2760         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2761         Here.
2763 2013-01-11  Roland McGrath  <roland@hack.frob.com>
2765         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2766         not in the main loop.
2767         * configure: Regenerated.
2769 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
2771         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2772         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2773         to just #else.
2774         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
2775         [!__GLIBC_HAVE_LONG_LONG] case.
2776         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2777         condition to just #else.
2778         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2779         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2780         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2781         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2782         unconditional.
2783         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2784         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2785         #elif condition to just #else.
2786         * sysdeps/unix/sysv/linux/sys/sysmacros.h
2787         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2788         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2789         #elif condition to just #else.
2791 2013-01-11  Steve Ellcey  <sellcey@mips.com>
2793         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2794         (EF_MIPS_ARCH_64): Fix value.
2795         (EF_MIPS_ARCH_32R2): New.
2796         (EF_MIPS_ARCH_64R2): New.
2798 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2800         * Makeconfig (+link-pie-before-libc): New.
2801         (+link-pie-after-libc): Likewise.
2802         (+link-pie-tests): Likewise.
2803         (+link-pie): Rewritten.
2804         (link-before-libc): Remove $(config-LDFLAGS).
2805         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2806         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2807         (config-LDFLAGS): Renamed to ...
2808         (rtld-LDFLAGS): This.
2809         (rtld-tests-LDFLAGS): New macro.
2810         (link-libc-rpath-link): Likewise.
2811         (link-libc-tests-rpath-link): Likewise.
2812         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2813         (link-libc): Prepand $(link-libc-rpath-link).
2814         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2815         (test-program-prefix): New macro.
2816         (test-via-rtld-prefix): Likewise.
2817         (test-program-cmd): Likewise.
2818         (host-test-program-cmd): Likewise.
2819         * Makefile ($(common-objpfx)testrun.sh): Replace
2820         $(run-program-prefix) with $(test-program-prefix).
2821         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2822         $(rtld-LDFLAGS).
2823         ($(common-objpfx)shlib.lds): Likewise.
2824         (build-module-helper): Likewise.
2825         ($(common-objpfx)format.lds): Likewise.
2826         * Rules (binaries-pie-tests): New.
2827         (binaries-pie-notests): Likewise.
2828         (binaries-pie): Rewritten.
2829         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2830         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2831         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2832         (make-test-out): Replace $(host-built-program-cmd) with
2833         $(host-test-program-cmd).
2834         * config.make.in (build-hardcoded-path-in-tests): New variable.
2835         * configure.in (--enable-hardcoded-path-in-tests): New configure
2836         option.
2837         (hardcoded_path_in_tests): New AC_SUBST.
2838         * configure: Regenerated.
2839         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2840         $(built-program-cmd) with $(test-program-cmd).
2841         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2842         (test_program_cmd): This.
2843         * elf/Makefile ($(objpfx)order.out): Run test with
2844         $(test-program-prefix).
2845         ($(objpfx)order2.out): Likewise.
2846         ($(objpfx)tst-initorder.out): Likewise.
2847         ($(objpfx)tst-initorder2.out): Likewise.
2848         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2849         $(test-program-cmd).
2850         ($(objpfx)tst-array1-static.out): Likewise.
2851         ($(objpfx)tst-array2.out): Likewise.
2852         ($(objpfx)tst-array3.out): Likewise.
2853         ($(objpfx)tst-array4.out): Likewise.
2854         ($(objpfx)tst-array5.out): Likewise.
2855         ($(objpfx)tst-array5-static.out): Likewise.
2856         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2857         $(test-program-cmd).
2858         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2859         $(run-program-prefix) with $(test-program-prefix).
2860         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2861         (test_program_prefix): This.
2862         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2863         $(run-program-prefix) with $(test-program-prefix).
2864         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2865         (test_program_prefix): This.
2866         * iconvdata/tst-tables.sh: Likewise.
2867         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2868         $(run-program-prefix) with $(test-program-prefix).
2869         ($(objpfx)tst-translit.out): Likewise.
2870         ($(objpfx)tst-gettext2.out): Likewise.
2871         ($(objpfx)tst-gettext4.out): Likewise.
2872         ($(objpfx)tst-gettext6.out): Likewise.
2873         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2874         (test_program_prefix): This.
2875         * intl/tst-gettext2.sh: Likewise.
2876         * intl/tst-gettext4.sh  Likewise.
2877         * intl/tst-gettext6.sh: Likewise.
2878         * intl/tst-translit.sh: Likewise.
2879         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2880         with $(test-program-cmd).
2881         * libio/Makefile ($(objpfx)test-freopen.out): Replace
2882         $(run-program-prefix) with $(test-program-prefix).
2883         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2884         (test_program_prefix): This.
2885         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2886         $(run-program-prefix) with $(test-program-prefix).
2887         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2888         (test_program_prefix): This.
2889         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2890         * posix/Makefile ($(objpfx)globtest.out): Replace
2891         $(run-via-rtld-prefix) and $(test-wrapper) with
2892         $(test-program-prefix) and $(test-via-rtld-prefix).
2893         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2894         $(test-program-prefix).
2895         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2896         $(host-test-program-cmd).
2897         (tst-spawn-ARGS): Likewise.
2898         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2899         $(test-program-prefix).
2900         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2901         (test_via_rtld_prefix): This.
2902         (test_wrapper): Renamed to ...
2903         (test_program_prefix): This.
2904         (run_program_prefix): Replaced by test_program_prefix.
2905         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2906         (test_program_prefix): This.
2907         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2908         with $(host-test-program-cmd).
2909         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2910         $(run-program-prefix) with $(test-program-prefix).
2911         ($(objpfx)tst-printf.out): Likewise.
2912         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2913         $(test-program-cmd).
2914         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2915         (test_program_prefix): This.
2916         * stdio-common/tst-unbputc.sh: Likewise.
2917         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2918         $(run-program-prefix) with $(test-program-prefix).
2919         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2920         (test_program_prefix): This.
2921         * string/Makefile ($(objpfx)tst-svc.out):  Replace
2922         $(built-program-cmd) with $(test-program-cmd).
2924 2013-01-11  Andreas Jaeger  <aj@suse.de>
2926         [BZ #15003]
2927         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2928         value. Sync with Linux 3.7.
2930 2013-01-10  David S. Miller  <davem@davemloft.net>
2932         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2933         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2934         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2936 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2938         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2939         never set.
2940         * configure: Regenerated.
2942 2013-01-10  David S. Miller  <davem@davemloft.net>
2944         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2945         sparc V9 rather than using V8 code.
2946         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2947         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2949 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2951         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2952         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2953         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2954         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2955         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2956         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2957         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2958         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2959         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2960         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2961         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2962         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2963         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2964         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2965         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2966         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2967         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2968         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2969         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2970         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2971         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2972         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2973         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2974         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2975         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2976         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2977         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2979 2013-01-10  David S. Miller  <davem@davemloft.net>
2981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2983 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2985         * posix/Makefile (tests-static): New variable.
2986         (tests): Add $(tests-static).
2987         (tst-exec-static-ARGS): New variable.
2988         (tst-spawn-static-ARGS): Likewise.
2989         * posix/tst-exec-static.c: New file.
2990         * posix/tst-spawn-static.c: Likewise.
2991         * posix/tst-exec.c: Support run directly.
2992         * posix/tst-spawn.c: Likewise.
2994 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
2996         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2997         long.
2998         * math/bits/mathcalls.h (llrint): Likewise.
2999         (llround): Likewise.
3000         * stdlib/stdlib.h (struct drand48_data): Likewise.
3001         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3002         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3003         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3004         Likewise.
3005         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3006         Likewise.
3007         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3008         (elf_greg_t): Likewise.
3009         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3010         (__jmp_buf): Likewise.
3011         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3012         definitions.
3013         (llrint): Likewise, for all definitions.
3014         (llrintl): Likewise.
3016         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3017         Remove [__GNUC__] condition.
3018         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3019         condition to just [__USE_ISOC99].
3020         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3022 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3024         [BZ #14200]
3025         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3026         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3027         defined.
3028         (_POSIX_V6_ILP32_OFF32): Likewise.
3029         (_XBS5_ILP32_OFF32): Likewise.
3030         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3031         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3033 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3035         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3037         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3038         doubles __mpexp_twomm1.  Adjust usage.
3039         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3040         Remove.
3042 2013-01-10  Andreas Schwab  <schwab@suse.de>
3044         [BZ #14964]
3045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3046         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3048 2013-01-09  David S. Miller  <davem@davemloft.net>
3050         [BZ #15003]
3051         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3052         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3053         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3054         TCP_FASTOPEN): Define.
3055         (tcp_repair_opt): New structure.
3056         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3057         enum values.
3058         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3059         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3060         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3061         (tcp_cookie_transactions): New structure.
3063 2013-01-09  Anton Blanchard  <anton@samba.org>
3065         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3066         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3067         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3068         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3070 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3072         * include/features.h (__USE_ANSI): Remove.
3074 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3076         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3078         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3080 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3082         * sysdeps/s390/fpu/libm-test-ulps: Update.
3084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3086         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3087         (__acr): Likewise.
3088         (__cpy): Likewise.
3089         (norm): Likewise.
3090         (denorm): Likewise.
3091         (__mp_dbl): Likewise.
3092         (__dbl_mp): Likewise.
3093         (add_magnitudes): Likewise.
3094         (sub_magnitudes): Likewise.
3095         (__add): Likewise.
3096         (__sub): Likewise.
3097         (__mul): Likewise.
3098         (__inv): Likewise.
3099         (__dvd): Likewise.
3100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3101         (__acr): Likewise.
3102         (__cpy): Likewise.
3103         (norm): Likewise.
3104         (denorm): Likewise.
3105         (__mp_dbl): Likewise.
3106         (__dbl_mp): Likewise.
3107         (add_magnitudes): Likewise.
3108         (sub_magnitudes): Likewise.
3109         (__add): Likewise.
3110         (__sub): Likewise.
3111         (__mul): Likewise.
3112         (__inv): Likewise.
3113         (__dvd): Likewise.
3114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3115         (__acr): Likewise.
3116         (__cpy): Likewise.
3117         (norm): Likewise.
3118         (denorm): Likewise.
3119         (__mp_dbl): Likewise.
3120         (__dbl_mp): Likewise.
3121         (add_magnitudes): Likewise.
3122         (sub_magnitudes): Likewise.
3123         (__add): Likewise.
3124         (__sub): Likewise.
3125         (__mul): Likewise.
3126         (__inv): Likewise.
3127         (__dvd): Likewise.
3129 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3131         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3132         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3133         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3134         2 && __USE_EXTERN_INLINES]: Likewise.
3136 2013-01-08  Andreas Jaeger  <aj@suse.de>
3138         [BZ# 14985]
3139         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3140         Remove.
3141         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3142         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3144 2013-01-07  Anton Blanchard  <anton@samba.org>
3146         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3147         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3148         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3149         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3150         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3151         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3152         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3153         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3155         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3156         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3157         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3158         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3159         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3160         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3161         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3162         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3164         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3165         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3166         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3167         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3168         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3169         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3170         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3171         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3172         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3173         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3175         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3176         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3178         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3179         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3180         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3181         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3182         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3183         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3184         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3185         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3186         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3187         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3188         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3190 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3192         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3193         (__MALLOC_PMT): Likewise.
3194         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3195         [__GNUC__], only on [_LIBC].
3196         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3197         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3198         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3199         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3200         forward declaration.
3201         (realloc_hook_ini): Likewise.
3202         (memalign_hook_ini): Likewise.
3203         (__libc_memalign): Do not use __MALLOC_PMT in variable
3204         declaration.
3205         (__libc_valloc): Likewise.
3206         (__libc_pvalloc): Likewise.
3207         (__libc_calloc): Likewise.
3208         (__posix_memalign): Likewise.
3210         [BZ #14996]
3211         * math/s_casinh.c: Include <float.h>.
3212         (__casinh): Do not do computation with squaring and square root
3213         for large arguments.
3214         * math/s_casinhf.c: Include <float.h>.
3215         (__casinhf): Do not do computation with squaring and square root
3216         for large arguments.
3217         * math/s_casinhl.c: Include <float.h>.
3218         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3219         (__casinhl): Do not do computation with squaring and square root
3220         for large arguments.
3221         * math/libm-test.inc (casin_test): Add more tests.
3222         (casinh_test): Likewise.
3223         * sysdeps/i386/fpu/libm-test-ulps: Update.
3224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3226 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3228         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3229         (__x86_64_raw_data_cache_size): Likewise.
3230         (__x86_64_data_cache_size_half): Likewise.
3231         (__x86_64_raw_data_cache_size_half): Likewise.
3232         (__x86_64_shared_cache_size): Likewise.
3233         (__x86_64_raw_shared_cache_size): Likewise.
3234         (__x86_64_shared_cache_size_half): Likewise.
3235         (__x86_64_raw_shared_cache_size_half): Likewise.
3236         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3237         to ...
3238         (__x86_data_cache_size): This.
3239         (__x86_64_raw_data_cache_size): Renamed to ...
3240         (__x86_raw_data_cache_size): This.
3241         (__x86_64_data_cache_size_half): Renamed to ...
3242         (__x86_data_cache_size_half): This.
3243         (__x86_64_raw_data_cache_size_half): Renamed to ...
3244         (__x86_raw_data_cache_size_half): This.
3245         (__x86_64_shared_cache_size): Renamed to ...
3246         (__x86_shared_cache_size): This.
3247         (__x86_64_raw_shared_cache_size): Renamed to ...
3248         (__x86_raw_shared_cache_size): This.
3249         (__x86_64_shared_cache_size_half): Renamed to ...
3250         (__x86_shared_cache_size_half): This.
3251         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3252         (__x86_raw_shared_cache_size_half): This.
3253         * sysdeps/x86_64/memcpy.S: Updated.
3254         * sysdeps/x86_64/memset.S: Likewise.
3255         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3256         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3257         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3259 2013-01-04  David S. Miller  <davem@davemloft.net>
3261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3263 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3265         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3266         1 to avoid redefinition warning.
3267         (__USE_GNU): Don't define.
3268         (init_signaling_nan): Protoize.
3270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3272 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3274         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3276         (__cpymn): Likewise.
3277         (norm): Remove commented code.
3278         (denorm): Likewise.
3279         (__mp_dbl): Likewise.
3280         (__inv): Likewise.
3281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3282         (__cpymn): Likewise.
3283         (norm): Remove commented code.
3284         (denorm): Likewise.
3285         (__mp_dbl): Likewise.
3286         (__inv): Likewise.
3288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3289         mp_no value for 1.0 and 2.0.
3290         (norm): Use RADIXI instead of radixi.d.
3291         (denorm): Likewise.
3292         (__mul): Use 0.0 instead of zero.d.
3293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3294         mp_no value for 1.0 and 2.0.
3295         (norm): Use RADIXI instead of radixi.d.
3296         (denorm): Likewise.
3297         (__mul): Use 0.0 instead of zero.d.
3299 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3301         [BZ #14994]
3302         * math/s_casinh.c (__casinh): Reduce finite argument to first
3303         quadrant then set signs of results at the end.
3304         * math/s_casinhf.c (__casinhf): Likewise.
3305         * math/s_casinhl.c (__casinhl): Likewise.
3306         * math/libm-test.inc (casin_test): Add more tests.
3307         (casinh_test): Likewise.
3308         * sysdeps/i386/fpu/libm-test-ulps: Update.
3309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3311 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3313         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3315         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3317         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3318         declarations.
3319         (denorm): Likewise.
3320         (__mp_dbl): Likewise.
3321         (__inv): Likewise.
3323         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3324         and adjust the header comment.
3326         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3327         variable name from declaration.
3329 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3332         Initialize COMMON_CPUID_INDEX_7 element.
3333         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3334         (CPUID_RTM): Likewise.
3335         (HAS_RTM): Likewise.
3336         (COMMON_CPUID_INDEX_7): New enum.
3338 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
3340         [BZ #14981]
3341         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3342         size is zero, record memory as freed.
3344 2013-01-03  Andreas Jaeger  <aj@suse.de>
3346         * po/ia.po: Add new Interlingua translation.
3348 2012-01-03  Allan McRae  <allan@archlinux.org>
3350         * locale/programs/localedef.c: Fix description of '--posix' flag.
3352 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
3354         * NEWS: Update dates in second copyright notice.
3355         * README: Update copyright dates in example.
3356         * manual/libc.texinfo: Update copyright dates.
3357         * scripts/test-installation.pl: Update copyright date in --version
3358         output.
3360         * hurd/ctty-input.c: Fix copyright notice formatting.
3361         * hurd/ctty-output.c: Likewise.
3362         * hurd/dtable.c: Likewise.
3363         * hurd/hurd-raise.c: Likewise.
3364         * hurd/hurdprio.c: Likewise.
3365         * hurd/msgportdemux.c: Likewise.
3366         * misc/sys/file.h: Likewise.
3367         * misc/sys/ioctl.h: Likewise.
3368         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3369         * sysdeps/mach/hurd/chdir.c: Likewise.
3370         * sysdeps/mach/hurd/fchdir.c: Likewise.
3371         * sysdeps/mach/hurd/rename.c: Likewise.
3372         * sysdeps/mach/hurd/rmdir.c: Likewise.
3373         * sysdeps/mach/hurd/seekdir.c: Likewise.
3374         * sysdeps/mach/hurd/setsid.c: Likewise.
3375         * sysdeps/posix/wait3.c: Likewise.
3377         * All files with FSF copyright notices: Update copyright dates
3378         using scripts/update-copyrights.
3379         * intl/plural.c: Regenerated.
3380         * locale/programs/charmap-kw.h: Likewise.
3381         * locale/programs/locfile-kw.h: Likewise.
3383 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3386         four values.
3388         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3389         calculation loop and add branch prediction.
3391         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3392         check access beyond bounds of m1np.
3394         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3395         MPTWO.
3396         (__inv): Remove local variable MPTWO to use the global
3397         constant.
3398         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3399         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3400         variable MPTWO.
3401         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3402         MP3HALFS static const.
3404 2013-01-01  David S. Miller  <davem@davemloft.net>
3406         * po/ca.po: Update from translation team.
3408 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
3410         * scripts/update-copyrights: New file.
3411         * Makeconfig: Reformat copyright notice.
3412         * ctype/ctype.h: Likewise.
3413         * debug/swprintf_chk.c: Likewise.
3414         * elf/dl-cache.c: Likewise.
3415         * elf/dl-debug.c: Likewise.
3416         * elf/dl-object.c: Likewise.
3417         * grp/initgroups.c: Likewise.
3418         * hurd/Makefile: Likewise.
3419         * hurd/hurd/signal.h: Likewise.
3420         * hurd/hurdfault.c: Likewise.
3421         * hurd/hurdioctl.c: Likewise.
3422         * hurd/hurdlookup.c: Likewise.
3423         * hurd/intr-msg.c: Likewise.
3424         * iconv/gconv_open.c: Likewise.
3425         * libio/swprintf.c: Likewise.
3426         * locale/lc-ctype.c: Likewise.
3427         * locale/nl_langinfo.c: Likewise.
3428         * mach/Machrules: Likewise.
3429         * mach/Makefile: Likewise.
3430         * malloc/obstack.h: Likewise.
3431         * manual/Makefile: Likewise.
3432         * manual/tsort.awk: Likewise.
3433         * misc/bits/stab.def: Likewise.
3434         * nis/nis_print_group_entry.c: Likewise.
3435         * nis/nis_table.c: Likewise.
3436         * nis/nss_compat/compat-pwd.c: Likewise.
3437         * nis/nss_compat/compat-spwd.c: Likewise.
3438         * po/Makefile: Likewise.
3439         * posix/fnmatch.c: Likewise.
3440         * posix/regex.h: Likewise.
3441         * resolv/Makefile: Likewise.
3442         * resolv/nss_dns/dns-network.c: Likewise.
3443         * resolv/res_hconf.c: Likewise.
3444         * scripts/gen-sorted.awk: Likewise.
3445         * soft-fp/soft-fp.h: Likewise.
3446         * stdio-common/printf.h: Likewise.
3447         * stdlib/monetary.h: Likewise.
3448         * stdlib/random.c: Likewise.
3449         * stdlib/random_r.c: Likewise.
3450         * sysdeps/generic/Makefile: Likewise.
3451         * sysdeps/gnu/Makefile: Likewise.
3452         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3453         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3454         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3456         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3457         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3458         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3459         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3460         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3461         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3462         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3463         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3464         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3465         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3466         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3467         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3468         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3470         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3471         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3472         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3473         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3474         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3475         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3476         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3477         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3478         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3479         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3480         * sysdeps/mach/hurd/errnos.awk: Likewise.
3481         * sysdeps/mach/hurd/fork.c: Likewise.
3482         * sysdeps/mach/hurd/getcwd.c: Likewise.
3483         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3484         * sysdeps/mach/hurd/mmap.c: Likewise.
3485         * sysdeps/mach/hurd/utimes.c: Likewise.
3486         * sysdeps/mach/hurd/xmknod.c: Likewise.
3487         * sysdeps/posix/profil.c: Likewise.
3488         * sysdeps/posix/readdir_r.c: Likewise.
3489         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3490         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3491         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3492         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3493         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3494         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3495         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3496         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3498         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3499         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3500         * sysdeps/pthread/lio_listio.c: Likewise.
3501         * sysdeps/sparc/dl-procinfo.h: Likewise.
3502         * sysdeps/unix/i386/sysdep.S: Likewise.
3503         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3504         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3505         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3506         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3508         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3509         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3510         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3511         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3512         * sysdeps/wordsize-32/divdi3.c: Likewise.
3513         * time/sys/time.h: Likewise.
3514         * wcsmbs/Makefile: Likewise.
3516 2013-01-01  David S. Miller  <davem@davemloft.net>
3518         * po/fr.po: Update from translation team.
3520         * catgets/gencat.c: Update copyright year.
3521         * csu/version.c: Likewise.
3522         * debug/catchsegv.sh: Likewise.
3523         * debug/pcprofiledump.c: Likewise.
3524         * debug/xtrace.sh: Likewise.
3525         * elf/ldconfig.c: Likewise.
3526         * elf/ldd.bash.in: Likewise.
3527         * elf/pldd.c: Likewise.
3528         * elf/sotruss.ksh: Likewise.
3529         * elf/sprof.c: Likewise.
3530         * iconv/iconv_prog.c: Likewise.
3531         * iconv/iconvconfig.c: Likewise.
3532         * locale/programs/locale.c: Likewise.
3533         * locale/programs/localedef.c: Likewise.
3534         * login/programs/pt_chown.c: Likewise.
3535         * malloc/memusage.sh: Likewise.
3536         * malloc/memusagestat.c: Likewise.
3537         * malloc/mtrace.pl: Likewise.
3538         * nscd/nscd.c: Likewise.
3539         * nss/getent.c: Likewise.
3540         * nss/makedb.c: Likewise.
3541         * posix/getconf.c: Likewise.
3543 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3545         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3546         numbers.
3548 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
3550         * math/bits/mathcalls.h (modf): Use __nonnull.
3552 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3554         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3555         (split): Use macro CN instead of the bare value.
3556         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3557         could be used.
3558         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3559         instead of the bare value.
3560         (power1): Likewise.
3562 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3564         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3565         __ATAN_TWOM.
3566         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3568         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3569         their values.
3570         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3571         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3572         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3573         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3575 2012-12-28  Andreas Jaeger  <aj@suse.de>
3577         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
3578         values are from Linux 3.7.
3580         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3581         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
3583 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3585         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3586         TRUE case.
3588         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3589         (norm): Likewise.
3590         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3591         variables with preprocessor constants.
3592         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3593         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3594         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3596 2012-12-27  Bruno Haible  <bruno@clisp.org>
3598         [BZ #14317]
3599         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3600         only if needed.
3602 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3605         and use variable directly.
3606         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3608         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3609         MPONE.
3610         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3611         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3612         variable MPONE.
3613         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3615         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3616         include directive.  Remove local variable MPONE.
3617         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3618         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3619         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3621 2012-12-25  David S. Miller  <davem@davemloft.net>
3623         * version.h (RELEASE): Set to "development".
3624         (VERSION): Set to "2.17.90".
3625         * NEWS: Add 2.18 section.
3627 2012-12-21  David S. Miller  <davem@davemloft.net>
3629         * po/hr.po: Update from translation team.
3631 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3633         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3635 2012-12-19  Steve Ellcey  <sellcey@mips.com>
3637         * NEWS:  Mention new memcpy for MIPS.
3639 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3641         * manual/contrib.texi (Contributors): Spelling correction.
3643 2012-12-15  David S. Miller  <davem@davemloft.net>
3645         * po/ru.po: Update from translation team.
3647 2012-12-13  David S. Miller  <davem@davemloft.net>
3649         * NEWS: Mention IFUNC testsuite enhancements.
3651         * po/pl.po: Update from translation team.
3652         * po/bg.po: Likewise.
3654         * manual/contrib.texi (Contributors): Update entries for Hongjiu
3655         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
3657 2012-12-11  David S. Miller  <davem@davemloft.net>
3659         * po/sv.po: Update from translation team.
3661         * po/vi.po: Update from translation team.
3663         * po/cs.po: Update from translation team.
3665         * po/de.po: Update from translation team.
3666         * po/eo.po: Likewise.
3667         * po/nl.po: Likewise.
3669 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3671         [BZ #14246]
3672         * manual/argp.texi (Argp Helper Functions): Move node to follow
3673         Argp Parsing State.
3675         [BZ #14872]
3676         * manual/conf.texi (Limits on File System Capacity): Mention if
3677         terminating null is included in the max size.
3679 2012-12-10  Andreas Jaeger  <aj@suse.de>
3681         * po/cs.po: Update from translation team.
3683 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3685         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3686         void pointer and cast to uintptr_t.
3687         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3688         path.
3689         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3690         * sysdeps/s390/s390-64/memset.S: Likewise.
3692 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
3694         [BZ #14833]
3695         * menual/message.texi (Message Translation): Fix typos.
3696         (Helper programs for gettext): Likewise.
3698 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
3700         [BZ #14898]
3701         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3702         Change to -1.
3704 2012-12-07  David S. Miller  <davem@davemloft.net>
3706         * po/libc.pot: Update.
3708 2012-12-07  Richard Henderson  <rth@redhat.com>
3710         [BZ #10114]
3711         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3712         normal/normal case to before the switch.
3713         (_FP_DIV): Likewise.
3715 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
3716             Mike Frysinger  <vapier@gentoo.org>
3718         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3719         check for __NR_fadvise64_64.
3721 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
3723         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3724         0, not just to plain "0" as a statement.
3725         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3726         with cw.
3728 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
3730         * NEWS: Use sourceware.org in Bugzilla URL.
3732 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3735         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3737         * stdio-common/tst-put-error.c (do_test): Add newline to the
3738         padded test to ensure flush.
3740 2012-12-05  Jeff Law  <law@redhat.com>
3742         * sunrpc/etc.rpc (fedfs_admin): Add entry.
3744 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
3746         * README: Don't refer to ports add-on as distributed separately.
3747         Mention AArch64 in list of systems supported in the ports add-on.
3749         * LICENSES: Add more non-FSF copyright and license notices.
3751         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3752         ((unused)).
3754         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3756         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3757         10000 as width of padded output.
3759 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3761         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3763         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3764         variable LX with __attribute__ ((unused)).
3765         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3766         Likewise.
3767         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3768         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3769         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3770         with __attribute__ ((unused)).
3772 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
3774         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3776 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3778         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3779         (CFLAGS-nldbl-acos.c): New variable.
3780         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3781         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3782         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3783         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3784         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3785         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3786         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3787         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3788         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3789         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3790         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3791         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3792         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3793         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3794         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3795         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3796         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3797         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3798         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3799         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3800         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3801         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3802         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3803         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3804         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3805         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3806         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3807         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3808         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3809         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3810         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3811         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3812         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3813         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3814         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3815         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3816         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3817         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3818         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3819         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3820         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3821         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3822         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3823         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3824         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3825         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3826         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3827         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3828         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3829         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3830         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3831         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3832         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3833         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3834         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3835         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3836         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3837         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3838         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3839         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3840         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3841         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3842         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3843         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3844         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3845         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3846         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3847         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3848         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3849         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3850         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3851         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3852         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3853         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3854         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3855         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3856         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3857         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3858         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3859         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3860         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3861         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3862         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3863         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3864         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3865         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3866         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3867         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3868         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3869         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3870         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3871         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3872         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3873         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3874         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3875         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3876         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3879         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3881         [BZ #14914]
3882         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3883         whole low double instead of just low 47 bits when splitting values
3884         into two parts.
3886 2012-12-03  Allan McRae  <allan@archlinux.org>
3888         * manual/stdio.texi (Predefined Printf Handlers): Remove
3889         @hsep and @vsep usage.
3891 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
3893         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3894         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3896 2012-12-03  Jeff Law  <law@redhat.com>
3898         * time/sys/time.h (settimeofday): Do not mark TV argument
3899         as __nonnull.
3901 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
3903         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3904         when currently writing and seek to current position when not.
3905         * libio/Makefile (tests): Remove bug-fclose1.
3906         * libio/bug-fclose1.c: Delete.
3908 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
3910         * manual/arith.texi (feenableexcept): Fix typo.
3911         (fedisableexcept): Likewise.
3913 2012-11-30  Roland McGrath  <roland@hack.frob.com>
3915         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3916         second, differently-typed declaration, rather than a cast.
3918 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3920         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3921         * include/rpc/svc.h: ... here.
3923 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
3925         [BZ #13013]
3926         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3927         depending n and resplen2 to catch cases where answer
3928         equals answerp2.
3930 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
3932         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3933         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3935 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
3937         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3939 2012-11-29  Roland McGrath  <roland@hack.frob.com>
3941         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3943 2012-11-28  Jeff Law  <law@redhat.com>
3945         [BZ #13761]
3946         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3947         dataset_temporary.  Track alloca usage into alloca_used.
3948         If dataset is large allocate and release it via malloc/free.
3950 2012-06-04  Florian Weimer  <fweimer@redhat.com>
3952         [BZ #14197]
3953         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3955 2012-11-28  David S. Miller  <davem@davemloft.net>
3957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3959 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3961         [BZ #14803]
3962         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3963         of pi/2 rounded to nearest to 64 bits.
3964         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3965         nearest to 64 bits.
3966         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3967         bits.
3969 2012-11-28  Jeff Law <law@redhat.com>
3970             Martin Osvald <mosvald@redhat.com>
3972         [BZ #14889]
3973         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3974         * sunrpc/svc.c: Include time.h.
3975         (__svc_accept_failed): New function.
3976         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3977         any reason other than EINTR, call __svc_accept_failed.
3978         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3979         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3981 2012-11-28  Andreas Schwab  <schwab@suse.de>
3983         * scripts/abilist.awk: Also handle indirect functions in .opd
3984         section.
3986 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3988         [BZ #13881]
3989         * sysdeps/x86/fpu/powl_helper.c: New file.
3990         * sysdeps/x86/fpu/Makefile: Likewise.
3991         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3992         (p3): New object.
3993         (__ieee754_powl): Use __powl_helper for finite arguments except
3994         integer exponents below 8.
3995         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3996         (p3): New object.
3997         (__ieee754_powl): Use __powl_helper for finite arguments except
3998         integer exponents below 8.
3999         * math/libm-test.inc (pow_test): Add more tests and enable some
4000         previously disabled tests.
4001         * sysdeps/i386/fpu/libm-test-ulps: Update.
4002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4004 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4005             Carlos O'Donell  <carlos_odonell@mentor.com>
4007         * nss/makedb.c (is_prime): Assert that input is odd and greater
4008         than 4.  Note that fact in a comment too.
4009         (next_prime): Add 4 to input.
4011 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4013         [BZ #11741]
4014         * libio/Makefile (tests): Add test case tst-fwrite-error.
4015         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4016         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4017         * libio/tst-fwrite-error.c: New test case.
4019 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4021         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4022         before casting to void *.
4023         * include/libc-internal.h (__pointer_type): New macro.
4024         (__integer_if_pointer_type_sub): Likewise.
4025         (__integer_if_pointer_type): Likewise.
4026         (cast_to_integer): Likewise.
4027         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4028         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4029         before casting to atomic64_t.
4030         (atomic_exchange_acq): Likewise.
4031         (__arch_exchange_and_add_body): Likewise.
4032         (__arch_add_body): Likewise.
4033         (atomic_add_negative): Likewise.
4034         (atomic_add_zero): Likewise.
4036 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4038         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4039         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4040         (add_fdes): Likewise.
4041         (linear_search_fdes): Likewise.
4042         (binary_search_unencoded_fdes): Likewise.
4044 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4046         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4048 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4050         * configure.in: Autodetect C++ header directories.
4051         * configure: Regenerated.
4053 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4055         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4057 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4061 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4063         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4064         LDBL_MANT_DIG == 106]: Disable some tests.
4065         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4066         Likewise.
4067         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4068         Likewise.
4070         [BZ #14871]
4071         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4072         input for small inputs.  Return +/- pi/2 for large inputs.
4073         * math/libm-test.inc (atan_test): Add more tests.
4075         * sysdeps/generic/unwind-dw2-fde-glibc.c
4076         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4077         __attribute__ ((unused)).
4079         [BZ #14645]
4080         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4081         x * y if x and y are nonzero and z is zero.
4083         [BZ #14811]
4084         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4085         nonzero exponents with absolute value below 0x1p-117 to +/-
4086         0x1p-117.
4088         [BZ #14869]
4089         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4090         up arguments below 2**-450, not just those below 2**-500.
4091         * math/libm-test.inc (hypot_test): Add another test.
4093         [BZ #14868]
4094         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4095         Return a+b for ratio over 2**120, not 2**60.
4096         * math/libm-test.inc (hypot_test): Add another test.
4098         * math/libm-test.inc (clog_test): Use
4099         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4100         (clog10_test): Likewise.
4102         [BZ #6778]
4103         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4105 2012-11-22  Andreas Schwab  <schwab@suse.de>
4107         * sysdeps/i386/fpu/libm-test-ulps: Update.
4109 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4111         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4112         printf output with newline.
4114 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4116         [BZ #14865]
4117         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4118         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4119         -z nodlopen, -z initfirst and -z execstack support.
4120         * configure: Regenerated.
4122         * elf/elf.h (DF_1_NODIRECT): New macro.
4123         (DF_1_IGNMULDEF): Likewise.
4124         (DF_1_NOKSYMS): Likewise.
4125         (DF_1_NOHDR): Likewise.
4126         (DF_1_EDITED): Likewise.
4127         (DF_1_NORELOC): Likewise.
4128         (DF_1_SYMINTPOSE): Likewise.
4129         (DF_1_GLOBAUDIT): Likewise.
4130         (DF_1_SINGLETON): Likewise.
4131         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4132         DT_1_SUPPORTED_MASK bits.
4133         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4135 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4137         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4139 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4141         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4142         macro.
4144         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4145         (sendmmsg): Move declarations...
4146         * socket/sys/socket.h: ... here.
4147         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4148         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4149         include it from...
4150         * socket/recvmmsg.c: ... this new file.
4151         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4152         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4153         definition of __sendmmsg hidden.
4154         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4155         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4156         Move ENOSYS stub into and include it from...
4157         * socket/sendmmsg.c: ... this new file.
4158         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4159         (sysdep_routines): Move recvmmsg and sendmmsg...
4160         * socket/Makefile (routines): ... here.
4161         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4162         (GLIBC_PRIVATE): Add __sendmmsg.
4163         * include/sys/socket.h (__sendmmsg): Add declarations.
4164         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4165         sendmmsg.
4167 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4169         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4170         variable I1 with __attribute__ ((unused)).
4171         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4173 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4175         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4176         DUMMY variables with __attribute__ ((unused)).
4178         * bits/byteswap.h: Include <bits/types.h>.
4179         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4181 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4183         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4184         string_t.  Do not manually set errno.
4185         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4186         length with __strnlen.  Make sure to both set errno and return it on
4187         failure.
4189 2012-11-19  David S. Miller  <davem@davemloft.net>
4191         With help from Joseph Myers.
4192         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4193         very large arguments properly.
4194         * math/libm-test.inc (atan_test): New tests.
4195         (atan2_test): New tests.
4196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4199 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4201         [BZ #14856]
4202         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4203         Define to 3.
4205         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4206         [POSIX] (EADDRNOTAVAIL): Likewise.
4207         [POSIX] (EAFNOSUPPORT): Likewise.
4208         [POSIX] (EALREADY): Likewise.
4209         [POSIX] (ECONNABORTED): Likewise.
4210         [POSIX] (ECONNREFUSED): Likewise.
4211         [POSIX] (ECONNRESET): Likewise.
4212         [POSIX] (EDESTADDRREQ): Likewise.
4213         [POSIX] (EDQUOT): Likewise.
4214         [POSIX] (EHOSTUNREACH): Likewise.
4215         [POSIX] (EIDRM): Likewise.
4216         [POSIX] (EISCONN): Likewise.
4217         [POSIX] (ELOOP): Likewise.
4218         [POSIX] (EMULTIHOP): Likewise.
4219         [POSIX] (ENETDOWN): Likewise.
4220         [POSIX] (ENETUNREACH): Likewise.
4221         [POSIX] (ENOBUFS): Likewise.
4222         [POSIX] (ENODATA): Likewise.
4223         [POSIX] (ENOLINK): Likewise.
4224         [POSIX] (ENOMSG): Likewise.
4225         [POSIX] (ENOPROTOOPT): Likewise.
4226         [POSIX] (ENOSR): Likewise.
4227         [POSIX] (ENOSTR): Likewise.
4228         [POSIX] (ENOTCONN): Likewise.
4229         [POSIX] (ENOTSOCK): Likewise.
4230         [POSIX] (EOPNOTSUPP): Likewise.
4231         [POSIX] (EOVERFLOW): Likewise.
4232         [POSIX] (EPROTO): Likewise.
4233         [POSIX] (EPROTONOSUPPORT): Likewise.
4234         [POSIX] (EPROTOTYPE): Likewise.
4235         [POSIX] (ESTALE): Likewise.
4236         [POSIX] (ETIME): Likewise.
4237         [POSIX] (ETXTBSY): Likewise.
4238         [POSIX] (EWOULDBLOCK): Likewise.
4239         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4240         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4241         [POSIX] (SEEK_CUR): Likewise.
4242         [POSIX] (SEEK_END): Likewise.
4243         [POSIX || UNIX98] (mode_t): Do not require.
4244         [POSIX] (off_t): Likewise.
4245         [POSIX] (pid_t): Likewise.
4246         [POSIX] (sys/stat.h): Do not allow header.
4247         [POSIX] (unistd.h): Likewise.
4248         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4249         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4250         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4251         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4252         require.
4253         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4254         sigevent): Specify elements.
4255         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4256         entry.
4257         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4258         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4260         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4261         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4262         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4263         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4264         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4265         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4266         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4267         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4268         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4269         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4270         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4271         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4272         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4273         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4274         Likewise.
4275         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4276         Likewise.
4277         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4278         Likewise.
4279         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4280         Likewise.
4281         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4282         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4283         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4284         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4285         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4286         Specify lower bound on value.
4287         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4288         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4289         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4290         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4291         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4292         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4293         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4294         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4295         value.
4296         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4297         as optional.
4298         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4299         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4300         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4301         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4302         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4303         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4304         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4305         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4306         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4307         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4308         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4309         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4310         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4311         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4312         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4313         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4314         entry.
4315         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4316         optional.
4317         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4318         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4319         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4320         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4321         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4322         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4323         Likewise.
4324         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4325         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4326         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4327         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4328         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4329         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4330         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4331         as optional.
4332         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4333         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4334         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4335         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4336         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4337         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4338         specify as optional.
4339         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4340         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4341         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4342         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4343         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4344         [XPG3] (NL_LANGMAX): Likewise.
4345         [POSIX || XPG3] (NL_MSGMAX): Likewise.
4346         [POSIX || XPG3] (NL_NMAX): Likewise.
4347         [POSIX || XPG3] (NL_SETMAX): Likewise.
4348         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4349         [XPG3] (NZERO): Likewise.
4350         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4351         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4352         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4353         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4354         (REG_ERANGE): Expect.
4355         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4356         optional-constant.
4357         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4358         Use (void) in prototype.
4359         [POSIX] (*_t): Allow.
4360         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4361         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4362         (WRDE_BADVAL): Expect.
4364         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4365         expect.
4366         [XPG3 || XPG4] (O_RSYNC): Likewise.
4367         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4368         Likewise.
4369         [XPG3 || XPG4] (pthread_sigmask): Likewise.
4370         [XPG3 || XPG4] (sigqueue): Likewise.
4371         [XPG3 || XPG4] (sigtimedwait): Likewise.
4372         [XPG3 || XPG4] (sigwaitinfo): Likewise.
4373         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4374         [XPG3 || XPG4] (vsnprintf): Likewise.
4375         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4376         Likewise.
4377         [XPG3 || XPG4] (blksize_t): Likewise.
4378         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4379         Likewise.
4380         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4381         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4382         [XPG3 || XPG4] (struct itimerspec): Likewise.
4383         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4384         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4385         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4386         [XPG3 || XPG4] (clockid_t): Likewise.
4387         [XPG3 || XPG4] (timer_t): Likewise.
4388         [XPG3 || XPG4] (clock_getres): Likewise.
4389         [XPG3 || XPG4] (clock_gettime): Likewise.
4390         [XPG3 || XPG4] (clock_settime): Likewise.
4391         [XPG3 || XPG4] (nanosleep): Likewise.
4392         [XPG3 || XPG4] (timer_create): Likewise.
4393         [XPG3 || XPG4] (timer_delete): Likewise.
4394         [XPG3 || XPG4] (timer_gettime): Likewise.
4395         [XPG3 || XPG4] (timer_getoverrun): Likewise.
4396         [XPG3 || XPG4] (timer_settime): Likewise.
4397         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4398         [XPG3 || XPG4] (getlogin_r): Likewise.
4399         [XPG3 || XPG4] (pread): Likewise.
4400         [XPG3 || XPG4] (pthread_atfork): Likewise.
4401         [XPG3 || XPG4] (pwrite): Likewise.
4403         [BZ #14835]
4404         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4405         <bits/siginfo.h>.
4407 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4409         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4410         finalizing MALLSTREAM.
4412         * sysdeps/mach/hurd/syncfs.c: New file.
4414 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4416         [BZ #14719]
4417         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4418         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4419         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4420         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4421         (_nss_dns_gethostbyname4_r): Likewise.
4422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4423         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4425 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
4427         [BZ #13763]
4428         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4430 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
4432         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4433         * elf/cache.c (print_entry): Print ",AArch64" for
4434         FLAG_AARCH64_LIB64
4436         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4437         * elf/cache.c (print_entry): Print ",hard-float" for
4438         FLAG_ARM_LIBHF.
4440 2012-11-18  David S. Miller  <davem@davemloft.net>
4442         With help from Joseph Myers.
4443         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4444         cutoff to 2**-13.
4445         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4446         cutoff to 2**-25.
4447         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4448         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4449         small.
4450         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4451         * math/libm-test.inc (y0_test): New tests.
4452         (y1_test): New tests.
4453         * sysdeps/i386/fpu/libm-test-ulps: Update.
4454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4457 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
4459         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4460         64-bit targets.
4461         * configure: Regenerated.
4463 2012-11-17  David S. Miller  <davem@davemloft.net>
4465         [BZ #14811]
4466         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4467         nonzero exponents with absolute value below 0x1p-128 to +/-
4468         0x1p-128.
4470 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
4472         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4474         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4476         * posix/getconf-speclist.c: New file.
4477         * posix/posix-envs.def: Likewise.
4478         * posix/confstr.c (START_ENV_GROUP): New macro.
4479         (END_ENV_GROUP): Likewise.
4480         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4481         (KNOWN_PRESENT_ENV_STRING): Likewise.
4482         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4483         (UNKNOWN_ENVIRONMENT): Likewise.
4484         (confstr): Include posix-envs.def instead of handling
4485         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4486         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4487         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4488         (END_ENV_GROUP): Likewise.
4489         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4490         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4491         (UNKNOWN_ENVIRONMENT): Likewise.
4492         (__sysconf): Include posix-envs.def instead of handling associated
4493         cases directly here.
4494         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4495         preprocessing getconf-speclist.c rather than running getconf or
4496         generating empty file.
4498 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
4500         * scripts/check-local-headers.sh: Ignore 'mach' headers.
4502 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
4504         [BZ #14672]
4505         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4507 2012-11-16  David S. Miller  <davem@davemloft.net>
4509         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4510         smaller than LDBL_EPSILON/2.0L, just return xm1.
4512 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
4514         * elf/tst-array1.c (init): Set constructor priority to 1000.
4515         (fini): Set destructor priority to 1000.
4516         * elf/tst-array2dep.c: Likewise.
4518 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4520         [BZ #11741]
4521         * libio/fileops.c (_IO_new_file_write): Correctly return error.
4522         (_IO_new_file_xsputn): Also return EOF if none of the input
4523         data was written when overflow failed.
4524         * libio/iopadn.c (_IO_padn): Likewise.
4525         * libio/iowpadn.c (_IO_wpadn): Likewise.
4526         * stdio-common/tst-put-error.c: Add copyright notice.
4527         (do_test): Add case for printing padded string.
4528         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4529         _IO_padn returned error.
4530         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4531         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4532         return EOF.
4534 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4536         * libio/libioP.h: Add comment note that the references to C++
4537         bits are now obsolete.
4539 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4541         * math/libm-test.inc (check_complex): Use asprintf.
4543 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
4545         * debug/pcprofiledump.c (print_version): Update copyright year.
4546         * malloc/memusagestat.c (print_version): Likewise.
4548 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4550         [BZ #14831]
4551         * elf/Makefile (tests): Add tst-audit8.
4552         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4553         ($(objpfx)tst-audit8.out): New target.
4554         (tst-audit8-ENV): New variable.
4555         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4556         audit if l_reloc_result is NULL.
4557         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4558         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4559         * elf/tst-audit8.c: New file.
4561 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4563         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4564         * misc/Makefile (CFLAGS-select.c): Define.
4565         * posix/Makefile (CFLAGS-pause.c): Define.
4567 2012-11-13  David S. Miller  <davem@davemloft.net>
4569         * crypt/Makefile: Move test targets after toplevel Rules
4570         inclusion.  Grab any necessary sysdep routines when linking.
4571         * crypt/md5.c (md5_process_block): Remove define, we will always
4572         name it __md5_process_block.
4573         (md5_finish_ctx): Update md5_process_block call.
4574         (md5_stream): Likewise.
4575         (md5_process_bytes): Likewise.
4576         (md5_process_block): Rename to __md5_process_block and move to ...
4577         * crypt/md5-block.c: ... here.
4578         * crypt/sha256.c (sha256_process_block): Move to ...
4579         * crypt/sha256-block.c: ... here.
4580         * crypt/sha512.c (sha512_process_block): Move to ...
4581         * crypt/sha512-block.c: ... here.
4582         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4583         path.
4584         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4585         * sysdeps/sparc/sparc64/multiarch/Makefile
4586         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4587         crypt subdir.
4588         (localedef-aux): Add md5 crypto assembler when in locale subdir.
4589         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4590         multiarch changes.
4591         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4592         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4593         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4594         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4595         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4596         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4597         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4598         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4599         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4600         file.
4601         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4602         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4603         file.
4604         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4606 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
4608         * timezone/tzselect.ksh: Update from tzcode git revision
4609         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4610         * timezone/zdump.c: Likewise.
4611         * timezone/zic.c: Likewise.
4612         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4613         in TZVERSION setting, not $(PKGVERSION).
4614         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
4615         REPORT_BUGS_TO settings.
4617         [BZ #14838]
4618         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4619         macro.
4621 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4623         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4624         detection to immediately after _FP_ROUND().
4625         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4626         bits are 0.
4628 2012-11-11  David S. Miller  <davem@davemloft.net>
4630         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4631         inttypes.h
4632         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4633         __close rather than their public counterparts.
4635 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
4637         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4638         file.
4639         [UNIX98] (sem_timedwait): Do not expect.
4640         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4641         [XPG4 || UNIX98] (sockatmark): Do not expect.
4642         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4643         (clock_getcpuclockid): Do not expect.
4644         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4645         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4646         Do not expect.
4647         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4648         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4649         [UNIX98] (vwscanf): Likewise.
4650         [UNIX98] (vswscanf): Likewise.
4652 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
4654         * timezone/version.h: Remove file.
4655         * timezone/README: Do not refer to version.h.
4656         * timezone/Makefile ($(objpfx)zic.o): New dependency on
4657         $(objpfx)version.h.
4658         ($(objpfx)zdump.o): Likewise.
4659         ($(objpfx)version.h): New target.
4661         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4662         2012i.
4663         * timezone/README: Don't mention modification to tzselect.ksh.
4664         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4665         work on unmodified tzselect.ksh.  Substitute version numbers in
4666         tzselect.ksh.
4668         * Makefile (format-me): Remove.
4669         (INSTALL): Adjust indentation.  Use commands directly instead of
4670         using $(format-me).
4672         * aclocal.m4 (ACX_PKGVERSION): New macro.
4673         (ACX_BUGURL): Likewise.
4674         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4675         (PKGVERSION): New AC_DEFINE_UNQUOTED.
4676         (REPORT_BUGS_TO): Likewise.
4677         * configure: Regenerated.
4678         * config.h.in (PKGVERSION): New macro.
4679         (REPORT_BUGS_TO): Likewise.
4680         * config.make.in (PKGVERSION): New variable.
4681         (PKGVERSION_TEXI): Likewise.
4682         (REPORT_BUGS_TO): Likewise.
4683         (REPORT_BUGS_TEXI): Likewise.
4684         * Makefile (format-me): Use -I$(common-objpfx)manual.
4685         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4686         ($(common-objpfx)manual/%): New target.
4687         (manual/%): Remove target.
4688         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4689         (print_version): Use PKGVERSION.
4690         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4691         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4692         and REPORT_BUGS_TO.
4693         ($(objpfx)xtrace): Likewise.
4694         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4695         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4696         (print_version): Use PKGVERSION.
4697         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4698         (do_version): Use PKGVERSION.
4699         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4700         REPORT_BUGS_TO.
4701         (common-ldd-rewrite): Likewise.
4702         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4703         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4704         (print_version): Use PKGVERSION.
4705         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4706         * elf/pldd.c (argp_program_bug_address): Remove variable.
4707         (more_help): New function.
4708         (argp): Use more_help.
4709         (print_version): Use PKGVERSION.
4710         * elf/sln.c (main): Use PKGVERSION.
4711         (usage): Use REPORT_BUGS_TO.
4712         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4713         (top level): Use PKGVERSION.
4714         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4715         (print_version): Use PKGVERSION.
4716         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4717         (print_version): Use PKGVERSION.
4718         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4719         (print_version): Use PKGVERSION.
4720         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4721         (print_version): Use PKGVERSION.
4722         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4723         (print_version): Use PKGVERSION.
4724         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4725         (print_version): Use PKGVERSION.
4726         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4727         and BUGURL.
4728         ($(objpfx)memusage): Likewise.
4729         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4730         (do_version): Use PKGVERSION.
4731         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4732         (print_version): Use PKGVERSION.
4733         * malloc/mtrace.pl ($PACKAGE): Remove variable.
4734         ($PKGVERSION): New variable.
4735         ($REPORT_BUGS_TO): Likewise.
4736         (usage): Use $REPORT_BUGS_TO.
4737         (top level): Use $PKGVERSION.
4738         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4739         ($(objpfx)pkgvers.texi): New rule.
4740         ($(objpfx)stamp-pkgvers): Likewise.
4741         * manual/install.texi: Include pkgvers.texi.
4742         (--with-pkgversion): Document new configure option.
4743         (--with-bugurl): Likewise.
4744         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4745         than necessarily for this particular distribution.  Use
4746         REPORT_BUGS_TO for where to report bugs.
4747         * INSTALL: Regenerated.
4748         * manual/libc.texinfo: Include pkgvers.texi.
4749         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4750         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4751         (print_version): Use PKGVERSION.
4752         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4753         (print_version): Use PKGVERSION.
4754         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4755         (print_version): Use PKGVERSION.
4756         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4757         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4758         macro.
4759         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4760         (print_version): Use PKGVERSION.
4761         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4762         (print_version): Use PKGVERSION.
4763         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4764         and PKGVERSION.
4766         * timezone/checktab.awk: Update from tzcode 2012i.
4767         * timezone/ialloc.c: Likewise.
4768         * timezone/private.h: Likewise.
4769         * timezone/scheck.c: Likewise.
4770         * timezone/tzfile.h: Likewise.
4771         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4772         (TZVERSION): Hardcode tzcode version number.
4773         * timezone/zdump.c: Update from tzcode 2012i.
4774         * timezone/zic.c: Likewise.
4775         * timezone/version.h: New file.
4776         * timezone/README: Describe version.h.  Update upstream location.
4778         [BZ #14824]
4779         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4780         (mktemp): Enable declaration.
4781         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4782         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4783         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4784         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4785         Likewise.
4786         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4787         Likewise.
4788         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4789         Likewise.
4790         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4791         Likewise.
4792         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4793         Likewise.
4794         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4795         Likewise.
4797         [BZ #14821]
4798         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4799         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
4800         for copies of such integer values.
4801         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4802         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4804 2012-11-09  Andreas Jaeger  <aj@suse.de>
4806         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4807         definitions and declarations that are provided by
4808         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4810 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4812         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4813         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4814         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4815         definition.
4817 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4819         * elf/elf.h: Update comment before AArch64 relocations.
4821 2012-11-07  David S. Miller  <davem@davemloft.net>
4823         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4824         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4825         (__start_context): Declare.
4826         (__makecontext_ret): Delete.
4827         (__makecontext): Hook up __start_context instead of
4828         __makecontext_ret.
4829         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4830         (sysdep_routines): Add __start_context when in stdlib.
4832 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4834         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4835         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4836         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
4837         hardcoded "nm".
4838         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
4839         (READELF): New variable.  Use it instead of hardcoded "readelf".
4841 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4843         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4844         * sysdeps/x86/Makefile: Here.
4845         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4846         * sysdeps/x86/tst-xmmymm.sh: This.
4848 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4850         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4851         expectations.
4852         [UNIX98] (pthread_barrier_t): Do not expect.
4853         [UNIX98] (pthread_barrierattr_t): Likewise.
4854         [UNIX98] (pthread_spinlock_t): Likewise.
4855         [UNIX98] (pthread_barrier_destroy): Likewise.
4856         [UNIX98] (pthread_barrier_init): Likewise.
4857         [UNIX98] (pthread_barrier_wait): Likewise.
4858         [UNIX98] (pthread_barrierattr_destroy): Likewise.
4859         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4860         [UNIX98] (pthread_barrierattr_init): Likewise.
4861         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4862         [UNIX98] (pthread_getcpuclockid): Likewise.
4863         [UNIX98] (pthread_mutex_timedlock): Likewise.
4864         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4865         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4866         [UNIX98] (pthread_sigmask): Likewise.
4867         [UNIX98] (pthread_spin_destroy): Likewise.
4868         [UNIX98] (pthread_spin_init): Likewise.
4869         [UNIX98] (pthread_spin_lock): Likewise.
4870         [UNIX98] (pthread_spin_trylock): Likewise.
4871         [UNIX98] (pthread_spin_unlock): Likewise.
4872         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4873         Do not expect.
4874         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4875         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4876         [XPG3 || XPG4] (pthread_cond_t): Likewise.
4877         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4878         [XPG3 || XPG4] (pthread_key_t): Likewise.
4879         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4880         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4881         [XPG3 || XPG4] (pthread_once_t): Likewise.
4882         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4883         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4884         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4885         [XPG3 || XPG4] (pthread_t): Likewise.
4887         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4888         not expect.
4889         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4891         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4892         Change function return type to int.
4894         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4895         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4896         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4897         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4898         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4899         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4900         [!POSIX] (posix_madvise): Likewise.
4901         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4902         && !UNIX98].
4903         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4904         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4905         (mode_t): Likewise.
4906         (posix_mem_offset): Likewise.
4907         (posix_typed_mem_get_info): Likewise.
4908         (posix_typed_mem_open): Likewise.
4910         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4911         Change condition to [XOPEN2K8].
4913         * conform/conformtest.pl: Preprocess allow-header data with -x c
4914         instead of from stdin.
4915         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4916         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4917         [C99-based standards] (cerfc): Likewise.
4918         [C99-based standards] (cexp2): Likewise.
4919         [C99-based standards] (cexpm1): Likewise.
4920         [C99-based standards] (clog10): Likewise.
4921         [C99-based standards] (clog1p): Likewise.
4922         [C99-based standards] (clog2): Likewise.
4923         [C99-based standards] (clgamma): Likewise.
4924         [C99-based standards] (ctgamma): Likewise.
4925         [C99-based standards] (cerff): Likewise.
4926         [C99-based standards] (cerfcf): Likewise.
4927         [C99-based standards] (cexp2f): Likewise.
4928         [C99-based standards] (cexpm1f): Likewise.
4929         [C99-based standards] (clog10f): Likewise.
4930         [C99-based standards] (clog1pf): Likewise.
4931         [C99-based standards] (clog2f): Likewise.
4932         [C99-based standards] (clgammaf): Likewise.
4933         [C99-based standards] (ctgammaf): Likewise.
4934         [C99-based standards] (cerfl): Likewise.
4935         [C99-based standards] (cerfcl): Likewise.
4936         [C99-based standards] (cexp2l): Likewise.
4937         [C99-based standards] (cexpm1l): Likewise.
4938         [C99-based standards] (clog10l): Likewise.
4939         [C99-based standards] (clog1pl): Likewise.
4940         [C99-based standards] (clog2l): Likewise.
4941         [C99-based standards] (clgammal): Likewise.
4942         [C99-based standards] (ctgammal): Likewise.
4943         * conform/data/inttypes.h-data [C99-based standards]: Include
4944         stdint.h-data.  Remove all expectations for stdint.h contents.
4945         [C99-based standards] (PRI*): Do not allow.
4946         [C99-based standards] (SCN*): Likewise.
4947         [C99-based standards] (*_t): Likewise.
4948         [C99-based-standards] (PRId8): Expect macro.
4949         [C99-based-standards] (PRIi8): Likewise.
4950         [C99-based-standards] (PRIo8): Likewise.
4951         [C99-based-standards] (PRIu8): Likewise.
4952         [C99-based-standards] (PRIx8): Likewise.
4953         [C99-based-standards] (PRIX8): Likewise.
4954         [C99-based-standards] (SCNd8): Likewise.
4955         [C99-based-standards] (SCNi8): Likewise.
4956         [C99-based-standards] (SCNo8): Likewise.
4957         [C99-based-standards] (SCNu8): Likewise.
4958         [C99-based-standards] (SCNx8): Likewise.
4959         [C99-based-standards] (PRIdLEAST8): Likewise.
4960         [C99-based-standards] (PRIiLEAST8): Likewise.
4961         [C99-based-standards] (PRIoLEAST8): Likewise.
4962         [C99-based-standards] (PRIuLEAST8): Likewise.
4963         [C99-based-standards] (PRIxLEAST8): Likewise.
4964         [C99-based-standards] (PRIXLEAST8): Likewise.
4965         [C99-based-standards] (SCNdLEAST8): Likewise.
4966         [C99-based-standards] (SCNiLEAST8): Likewise.
4967         [C99-based-standards] (SCNoLEAST8): Likewise.
4968         [C99-based-standards] (SCNuLEAST8): Likewise.
4969         [C99-based-standards] (SCNxLEAST8): Likewise.
4970         [C99-based-standards] (PRIdFAST8): Likewise.
4971         [C99-based-standards] (PRIiFAST8): Likewise.
4972         [C99-based-standards] (PRIoFAST8): Likewise.
4973         [C99-based-standards] (PRIuFAST8): Likewise.
4974         [C99-based-standards] (PRIxFAST8): Likewise.
4975         [C99-based-standards] (PRIXFAST8): Likewise.
4976         [C99-based-standards] (SCNdFAST8): Likewise.
4977         [C99-based-standards] (SCNiFAST8): Likewise.
4978         [C99-based-standards] (SCNoFAST8): Likewise.
4979         [C99-based-standards] (SCNuFAST8): Likewise.
4980         [C99-based-standards] (SCNxFAST8): Likewise.
4981         [C99-based-standards] (PRId16): Likewise.
4982         [C99-based-standards] (PRIi16): Likewise.
4983         [C99-based-standards] (PRIo16): Likewise.
4984         [C99-based-standards] (PRIu16): Likewise.
4985         [C99-based-standards] (PRIx16): Likewise.
4986         [C99-based-standards] (PRIX16): Likewise.
4987         [C99-based-standards] (SCNd16): Likewise.
4988         [C99-based-standards] (SCNi16): Likewise.
4989         [C99-based-standards] (SCNo16): Likewise.
4990         [C99-based-standards] (SCNu16): Likewise.
4991         [C99-based-standards] (SCNx16): Likewise.
4992         [C99-based-standards] (PRIdLEAST16): Likewise.
4993         [C99-based-standards] (PRIiLEAST16): Likewise.
4994         [C99-based-standards] (PRIoLEAST16): Likewise.
4995         [C99-based-standards] (PRIuLEAST16): Likewise.
4996         [C99-based-standards] (PRIxLEAST16): Likewise.
4997         [C99-based-standards] (PRIXLEAST16): Likewise.
4998         [C99-based-standards] (SCNdLEAST16): Likewise.
4999         [C99-based-standards] (SCNiLEAST16): Likewise.
5000         [C99-based-standards] (SCNoLEAST16): Likewise.
5001         [C99-based-standards] (SCNuLEAST16): Likewise.
5002         [C99-based-standards] (SCNxLEAST16): Likewise.
5003         [C99-based-standards] (PRIdFAST16): Likewise.
5004         [C99-based-standards] (PRIiFAST16): Likewise.
5005         [C99-based-standards] (PRIoFAST16): Likewise.
5006         [C99-based-standards] (PRIuFAST16): Likewise.
5007         [C99-based-standards] (PRIxFAST16): Likewise.
5008         [C99-based-standards] (PRIXFAST16): Likewise.
5009         [C99-based-standards] (SCNdFAST16): Likewise.
5010         [C99-based-standards] (SCNiFAST16): Likewise.
5011         [C99-based-standards] (SCNoFAST16): Likewise.
5012         [C99-based-standards] (SCNuFAST16): Likewise.
5013         [C99-based-standards] (SCNxFAST16): Likewise.
5014         [C99-based-standards] (PRId32): Likewise.
5015         [C99-based-standards] (PRIi32): Likewise.
5016         [C99-based-standards] (PRIo32): Likewise.
5017         [C99-based-standards] (PRIu32): Likewise.
5018         [C99-based-standards] (PRIx32): Likewise.
5019         [C99-based-standards] (PRIX32): Likewise.
5020         [C99-based-standards] (SCNd32): Likewise.
5021         [C99-based-standards] (SCNi32): Likewise.
5022         [C99-based-standards] (SCNo32): Likewise.
5023         [C99-based-standards] (SCNu32): Likewise.
5024         [C99-based-standards] (SCNx32): Likewise.
5025         [C99-based-standards] (PRIdLEAST32): Likewise.
5026         [C99-based-standards] (PRIiLEAST32): Likewise.
5027         [C99-based-standards] (PRIoLEAST32): Likewise.
5028         [C99-based-standards] (PRIuLEAST32): Likewise.
5029         [C99-based-standards] (PRIxLEAST32): Likewise.
5030         [C99-based-standards] (PRIXLEAST32): Likewise.
5031         [C99-based-standards] (SCNdLEAST32): Likewise.
5032         [C99-based-standards] (SCNiLEAST32): Likewise.
5033         [C99-based-standards] (SCNoLEAST32): Likewise.
5034         [C99-based-standards] (SCNuLEAST32): Likewise.
5035         [C99-based-standards] (SCNxLEAST32): Likewise.
5036         [C99-based-standards] (PRIdFAST32): Likewise.
5037         [C99-based-standards] (PRIiFAST32): Likewise.
5038         [C99-based-standards] (PRIoFAST32): Likewise.
5039         [C99-based-standards] (PRIuFAST32): Likewise.
5040         [C99-based-standards] (PRIxFAST32): Likewise.
5041         [C99-based-standards] (PRIXFAST32): Likewise.
5042         [C99-based-standards] (SCNdFAST32): Likewise.
5043         [C99-based-standards] (SCNiFAST32): Likewise.
5044         [C99-based-standards] (SCNoFAST32): Likewise.
5045         [C99-based-standards] (SCNuFAST32): Likewise.
5046         [C99-based-standards] (SCNxFAST32): Likewise.
5047         [C99-based-standards] (PRId64): Likewise.
5048         [C99-based-standards] (PRIi64): Likewise.
5049         [C99-based-standards] (PRIo64): Likewise.
5050         [C99-based-standards] (PRIu64): Likewise.
5051         [C99-based-standards] (PRIx64): Likewise.
5052         [C99-based-standards] (PRIX64): Likewise.
5053         [C99-based-standards] (SCNd64): Likewise.
5054         [C99-based-standards] (SCNi64): Likewise.
5055         [C99-based-standards] (SCNo64): Likewise.
5056         [C99-based-standards] (SCNu64): Likewise.
5057         [C99-based-standards] (SCNx64): Likewise.
5058         [C99-based-standards] (PRIdLEAST64): Likewise.
5059         [C99-based-standards] (PRIiLEAST64): Likewise.
5060         [C99-based-standards] (PRIoLEAST64): Likewise.
5061         [C99-based-standards] (PRIuLEAST64): Likewise.
5062         [C99-based-standards] (PRIxLEAST64): Likewise.
5063         [C99-based-standards] (PRIXLEAST64): Likewise.
5064         [C99-based-standards] (SCNdLEAST64): Likewise.
5065         [C99-based-standards] (SCNiLEAST64): Likewise.
5066         [C99-based-standards] (SCNoLEAST64): Likewise.
5067         [C99-based-standards] (SCNuLEAST64): Likewise.
5068         [C99-based-standards] (SCNxLEAST64): Likewise.
5069         [C99-based-standards] (PRIdFAST64): Likewise.
5070         [C99-based-standards] (PRIiFAST64): Likewise.
5071         [C99-based-standards] (PRIoFAST64): Likewise.
5072         [C99-based-standards] (PRIuFAST64): Likewise.
5073         [C99-based-standards] (PRIxFAST64): Likewise.
5074         [C99-based-standards] (PRIXFAST64): Likewise.
5075         [C99-based-standards] (SCNdFAST64): Likewise.
5076         [C99-based-standards] (SCNiFAST64): Likewise.
5077         [C99-based-standards] (SCNoFAST64): Likewise.
5078         [C99-based-standards] (SCNuFAST64): Likewise.
5079         [C99-based-standards] (SCNxFAST64): Likewise.
5080         [C99-based-standards] (PRIdMAX): Likewise.
5081         [C99-based-standards] (PRIiMAX): Likewise.
5082         [C99-based-standards] (PRIoMAX): Likewise.
5083         [C99-based-standards] (PRIuMAX): Likewise.
5084         [C99-based-standards] (PRIxMAX): Likewise.
5085         [C99-based-standards] (PRIXMAX): Likewise.
5086         [C99-based-standards] (SCNdMAX): Likewise.
5087         [C99-based-standards] (SCNiMAX): Likewise.
5088         [C99-based-standards] (SCNoMAX): Likewise.
5089         [C99-based-standards] (SCNuMAX): Likewise.
5090         [C99-based-standards] (SCNxMAX): Likewise.
5091         [C99-based-standards] (PRIdPTR): Likewise.
5092         [C99-based-standards] (PRIiPTR): Likewise.
5093         [C99-based-standards] (PRIoPTR): Likewise.
5094         [C99-based-standards] (PRIuPTR): Likewise.
5095         [C99-based-standards] (PRIxPTR): Likewise.
5096         [C99-based-standards] (PRIXPTR): Likewise.
5097         [C99-based-standards] (SCNdPTR): Likewise.
5098         [C99-based-standards] (SCNiPTR): Likewise.
5099         [C99-based-standards] (SCNoPTR): Likewise.
5100         [C99-based-standards] (SCNuPTR): Likewise.
5101         [C99-based-standards] (SCNxPTR): Likewise.
5102         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5103         allow.
5104         * conform/data/stdint.h-data: Update comments to clarify
5105         requirements.
5106         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5107         type.
5108         [C99-based standards] (INT8_MAX): Likewise.
5109         [C99-based standards] (INT16_MIN): Likewise.
5110         [C99-based standards] (INT16_MAX): Likewise.
5111         [C99-based standards] (INT32_MIN): Likewise.
5112         [C99-based standards] (INT32_MAX): Likewise.
5113         [C99-based standards] (INT64_MIN): Likewise.
5114         [C99-based standards] (INT64_MAX): Likewise.
5115         [C99-based standards] (UINT8_MAX): Likewise.
5116         [C99-based standards] (UINT16_MAX): Likewise.
5117         [C99-based standards] (UINT32_MAX): Likewise.
5118         [C99-based standards] (UINT64_MAX): Likewise.
5119         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5120         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5121         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5122         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5123         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5124         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5125         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5126         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5127         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5128         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5129         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5130         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5131         [C99-based standards] (INT_FAST8_MIN): Likewise.
5132         [C99-based standards] (INT_FAST8_MAX): Likewise.
5133         [C99-based standards] (INT_FAST16_MIN): Likewise.
5134         [C99-based standards] (INT_FAST16_MAX): Likewise.
5135         [C99-based standards] (INT_FAST32_MIN): Likewise.
5136         [C99-based standards] (INT_FAST32_MAX): Likewise.
5137         [C99-based standards] (INT_FAST64_MIN): Likewise.
5138         [C99-based standards] (INT_FAST64_MAX): Likewise.
5139         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5140         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5141         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5142         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5143         [C99-based standards] (INTPTR_MIN): Likewise.
5144         [C99-based standards] (INTPTR_MAX): Likewise.
5145         [C99-based standards] (UINTPTR_MAX): Likewise.
5146         [C99-based standards] (INTMAX_MIN): Likewise.
5147         [C99-based standards] (INTMAX_MAX): Likewise.
5148         [C99-based standards] (UINTMAX_MAX): Likewise.
5149         [C99-based standards] (PTRDIFF_MIN): Likewise.
5150         [C99-based standards] (PTRDIFF_MAX): Likewise.
5151         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5152         [C99-based standards] (SIZE_MAX): Likewise.
5153         [C99-based standards] (WCHAR_MAX): Likewise.
5154         [C99-based standards] (WINT_MAX): Likewise.
5155         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5156         constraint on value.
5157         [C99-based standards] (WCHAR_MIN): Likewise.
5158         [C99-based standards] (WINT_MIN): Likewise.
5159         [C99-based standards] (*_t): Allow.
5160         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5161         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5162         Include math.h-data and complex.h-data.  Remove all expectations
5163         of math.h and complex.h contents.
5164         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5165         at end of line.
5166         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5167         (struct tm): Expect tag.
5168         [C99-based-standards] (wcstof): Expect function.
5169         [C99-based-standards] (wcstold): Likewise.
5170         [C99-based-standards] (wcstoll): Likewise.
5171         [C99-based-standards] (wcstoull): Likewise.
5172         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5173         macro-int-constant.  Specify type.
5174         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5175         constraint on value.
5176         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5177         Specify type.
5178         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5179         Specify value.
5180         [ISO C standards]: Do not allow headers.
5181         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5182         wcs[abcdefghijklmnopqrstuvwxyz]*.
5183         [ISO C standards] (*_t): Do not allow.
5184         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5185         Expect function.
5186         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5187         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5188         Specify type.
5189         [ISO C standards]: Do not allow headers.
5190         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5191         is[abcdefghijklmnopqrstuvwxyz]*.
5192         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5193         to[abcdefghijklmnopqrstuvwxyz]*.
5194         [ISO C standards] (*_t): Do not allow.
5195         * conform/data/stdalign.h-data: New file.
5196         * conform/data/stdbool.h-data: Likewise.
5197         * conform/data/stdnoreturn.h-data: Likewise.
5199 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5201         [BZ #14815]
5202         * manual/filesys.texi (Directory Entries): Typo fix.
5203         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5205 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5207         * elf/elf.h (EM_AARCH64): New macro.
5208         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5209         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5210         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5211         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5212         (R_AARCH64_TLSDESC): Likewise.
5213         (NT_ARM_TLS): Likewise.
5214         (NT_ARM_HW_BREAK): Likewise.
5215         (NT_ARM_HW_WATCH): Likewise.
5217 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5219         [BZ #14811]
5220         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5221         (__ieee754_powl): Saturate nonzero exponents with absolute value
5222         below 0x1p-79 to +/- 0x1p-79.
5223         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5224         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5225         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5226         nonzero exponents with absolute value below 0x1p-32 to +/-
5227         0x1p-32.
5228         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5229         (__ieee754_powl): Saturate nonzero exponents with absolute value
5230         below 0x1p-79 to +/- 0x1p-79.
5231         * math/libm-test.inc (pow_test): Add more tests.
5233 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5235         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5236         _dl_s390_cap_flags with kernel. Increase string length.
5237         (_dl_s390_platforms): Add z196 and zEC12.
5239 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5241         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5242         Change XOPEN21K to XOPEN2K.
5244 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5246         * string/memmove.c: Use memcpy when possible.
5248 2012-11-06  Andreas Jaeger  <aj@suse.de>
5250         * po/eo.po: Update from translation team.
5252 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5254         [BZ #14793]
5255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5256         exponent and small x and y exponents, scale x or y up.  Increase
5257         by 2 the exponent used in scaling up.
5258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5260         * math/libm-test.inc (fma_test): Add more tests.
5261         (fma_test_towardzero): Likewise.
5262         (fma_test_downward): Likewise.
5263         (fma_test_upward): Likewise.
5265 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5267         [BZ #14805]
5268         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5269         fenv_t *.
5271         [BZ #14801]
5272         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5273         namespace for names of struct fields.
5274         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5275         fenv_t fields.
5276         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5277         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5279 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5281         [BZ #3665]
5282         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5284 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5286         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5287         PTR_DEMANGLE.
5289         [BZ #5246]
5290         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5291         PTR_DEMANGLE.
5293 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5295         [BZ #14797]
5296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5297         definitely overflow as x * y not x * y + z.
5298         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5299         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5300         * math/libm-test.inc (fma_test): Add more tests.
5301         (fma_test_towardzero): Likewise.
5302         (fma_test_downward): Likewise.
5303         (fma_test_upward): Likewise.
5305 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5307         [BZ #157]
5309         * include/stub-tag.h: Remove file.
5310         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5311         '#include' of it.
5312         * manual/maint.texi (Porting): Don't reference it.
5313         * Makerules ($(objpfx)stubs): Likewise.
5314         * dirent/closedir.c: Don't include <stub-tag.h>.
5315         * dirent/dirfd.c: Likewise.
5316         * dirent/fdopendir.c: Likewise.
5317         * dirent/getdents.c: Likewise.
5318         * dirent/getdents64.c: Likewise.
5319         * dirent/opendir.c: Likewise.
5320         * dirent/readdir.c: Likewise.
5321         * dirent/readdir64.c: Likewise.
5322         * dirent/readdir64_r.c: Likewise.
5323         * dirent/readdir_r.c: Likewise.
5324         * dirent/rewinddir.c: Likewise.
5325         * dirent/seekdir.c: Likewise.
5326         * dirent/telldir.c: Likewise.
5327         * gmon/profil.c: Likewise.
5328         * grp/setgroups.c: Likewise.
5329         * inet/if_index.c: Likewise.
5330         * io/access.c: Likewise.
5331         * io/chdir.c: Likewise.
5332         * io/chmod.c: Likewise.
5333         * io/chown.c: Likewise.
5334         * io/close.c: Likewise.
5335         * io/dup.c: Likewise.
5336         * io/dup2.c: Likewise.
5337         * io/dup3.c: Likewise.
5338         * io/euidaccess.c: Likewise.
5339         * io/faccessat.c: Likewise.
5340         * io/fchdir.c: Likewise.
5341         * io/fchmod.c: Likewise.
5342         * io/fchmodat.c: Likewise.
5343         * io/fchown.c: Likewise.
5344         * io/fchownat.c: Likewise.
5345         * io/fcntl.c: Likewise.
5346         * io/flock.c: Likewise.
5347         * io/fstatfs.c: Likewise.
5348         * io/fstatfs64.c: Likewise.
5349         * io/fstatvfs.c: Likewise.
5350         * io/fstatvfs64.c: Likewise.
5351         * io/futimens.c: Likewise.
5352         * io/fxstat.c: Likewise.
5353         * io/fxstat64.c: Likewise.
5354         * io/fxstatat.c: Likewise.
5355         * io/fxstatat64.c: Likewise.
5356         * io/getcwd.c: Likewise.
5357         * io/isatty.c: Likewise.
5358         * io/lchmod.c: Likewise.
5359         * io/lchown.c: Likewise.
5360         * io/link.c: Likewise.
5361         * io/linkat.c: Likewise.
5362         * io/lseek.c: Likewise.
5363         * io/lseek64.c: Likewise.
5364         * io/lxstat64.c: Likewise.
5365         * io/mkdir.c: Likewise.
5366         * io/mkdirat.c: Likewise.
5367         * io/mkfifo.c: Likewise.
5368         * io/mkfifoat.c: Likewise.
5369         * io/open.c: Likewise.
5370         * io/open64.c: Likewise.
5371         * io/openat.c: Likewise.
5372         * io/openat64.c: Likewise.
5373         * io/pipe.c: Likewise.
5374         * io/pipe2.c: Likewise.
5375         * io/poll.c: Likewise.
5376         * io/posix_fadvise.c: Likewise.
5377         * io/posix_fadvise64.c: Likewise.
5378         * io/posix_fallocate.c: Likewise.
5379         * io/posix_fallocate64.c: Likewise.
5380         * io/read.c: Likewise.
5381         * io/readlink.c: Likewise.
5382         * io/readlinkat.c: Likewise.
5383         * io/rmdir.c: Likewise.
5384         * io/sendfile.c: Likewise.
5385         * io/sendfile64.c: Likewise.
5386         * io/statfs.c: Likewise.
5387         * io/statfs64.c: Likewise.
5388         * io/statvfs.c: Likewise.
5389         * io/statvfs64.c: Likewise.
5390         * io/symlink.c: Likewise.
5391         * io/symlinkat.c: Likewise.
5392         * io/ttyname.c: Likewise.
5393         * io/ttyname_r.c: Likewise.
5394         * io/umask.c: Likewise.
5395         * io/unlink.c: Likewise.
5396         * io/unlinkat.c: Likewise.
5397         * io/utime.c: Likewise.
5398         * io/utimensat.c: Likewise.
5399         * io/write.c: Likewise.
5400         * io/xmknod.c: Likewise.
5401         * io/xmknodat.c: Likewise.
5402         * io/xstat.c: Likewise.
5403         * io/xstat64.c: Likewise.
5404         * login/getpt.c: Likewise.
5405         * login/grantpt.c: Likewise.
5406         * login/unlockpt.c: Likewise.
5407         * math/e_acoshl.c: Likewise.
5408         * math/e_acosl.c: Likewise.
5409         * math/e_asinl.c: Likewise.
5410         * math/e_atan2l.c: Likewise.
5411         * math/e_atanhl.c: Likewise.
5412         * math/e_coshl.c: Likewise.
5413         * math/e_expl.c: Likewise.
5414         * math/e_fmodl.c: Likewise.
5415         * math/e_gammal_r.c: Likewise.
5416         * math/e_hypotl.c: Likewise.
5417         * math/e_j0l.c: Likewise.
5418         * math/e_j1l.c: Likewise.
5419         * math/e_jnl.c: Likewise.
5420         * math/e_lgammal_r.c: Likewise.
5421         * math/e_log10l.c: Likewise.
5422         * math/e_log2l.c: Likewise.
5423         * math/e_logl.c: Likewise.
5424         * math/e_powl.c: Likewise.
5425         * math/e_rem_pio2l.c: Likewise.
5426         * math/e_sinhl.c: Likewise.
5427         * math/e_sqrtl.c: Likewise.
5428         * math/fclrexcpt.c: Likewise.
5429         * math/fedisblxcpt.c: Likewise.
5430         * math/feenablxcpt.c: Likewise.
5431         * math/fegetenv.c: Likewise.
5432         * math/fegetexcept.c: Likewise.
5433         * math/fegetround.c: Likewise.
5434         * math/feholdexcpt.c: Likewise.
5435         * math/fesetenv.c: Likewise.
5436         * math/fesetround.c: Likewise.
5437         * math/feupdateenv.c: Likewise.
5438         * math/fgetexcptflg.c: Likewise.
5439         * math/fraiseexcpt.c: Likewise.
5440         * math/fsetexcptflg.c: Likewise.
5441         * math/ftestexcept.c: Likewise.
5442         * math/k_cosl.c: Likewise.
5443         * math/k_rem_pio2l.c: Likewise.
5444         * math/k_sinl.c: Likewise.
5445         * math/k_tanl.c: Likewise.
5446         * math/s_asinhl.c: Likewise.
5447         * math/s_atanl.c: Likewise.
5448         * math/s_cbrtl.c: Likewise.
5449         * math/s_erfl.c: Likewise.
5450         * math/s_expm1l.c: Likewise.
5451         * math/s_log1pl.c: Likewise.
5452         * math/s_tanhl.c: Likewise.
5453         * misc/acct.c: Likewise.
5454         * misc/brk.c: Likewise.
5455         * misc/chflags.c: Likewise.
5456         * misc/chroot.c: Likewise.
5457         * misc/fchflags.c: Likewise.
5458         * misc/fgetxattr.c: Likewise.
5459         * misc/flistxattr.c: Likewise.
5460         * misc/fremovexattr.c: Likewise.
5461         * misc/fsetxattr.c: Likewise.
5462         * misc/fsync.c: Likewise.
5463         * misc/ftruncate.c: Likewise.
5464         * misc/futimes.c: Likewise.
5465         * misc/futimesat.c: Likewise.
5466         * misc/getdomain.c: Likewise.
5467         * misc/getdtsz.c: Likewise.
5468         * misc/gethostid.c: Likewise.
5469         * misc/gethostname.c: Likewise.
5470         * misc/getloadavg.c: Likewise.
5471         * misc/getpagesize.c: Likewise.
5472         * misc/getsysstats.c: Likewise.
5473         * misc/getxattr.c: Likewise.
5474         * misc/gtty.c: Likewise.
5475         * misc/ioctl.c: Likewise.
5476         * misc/lgetxattr.c: Likewise.
5477         * misc/listxattr.c: Likewise.
5478         * misc/llistxattr.c: Likewise.
5479         * misc/lremovexattr.c: Likewise.
5480         * misc/lsetxattr.c: Likewise.
5481         * misc/lutimes.c: Likewise.
5482         * misc/madvise.c: Likewise.
5483         * misc/mincore.c: Likewise.
5484         * misc/mlock.c: Likewise.
5485         * misc/mlockall.c: Likewise.
5486         * misc/mmap.c: Likewise.
5487         * misc/mprotect.c: Likewise.
5488         * misc/msync.c: Likewise.
5489         * misc/munlock.c: Likewise.
5490         * misc/munlockall.c: Likewise.
5491         * misc/munmap.c: Likewise.
5492         * misc/preadv.c: Likewise.
5493         * misc/preadv64.c: Likewise.
5494         * misc/ptrace.c: Likewise.
5495         * misc/pwritev.c: Likewise.
5496         * misc/pwritev64.c: Likewise.
5497         * misc/readv.c: Likewise.
5498         * misc/reboot.c: Likewise.
5499         * misc/remap_file_pages.c: Likewise.
5500         * misc/removexattr.c: Likewise.
5501         * misc/revoke.c: Likewise.
5502         * misc/select.c: Likewise.
5503         * misc/setdomain.c: Likewise.
5504         * misc/setegid.c: Likewise.
5505         * misc/seteuid.c: Likewise.
5506         * misc/sethostid.c: Likewise.
5507         * misc/sethostname.c: Likewise.
5508         * misc/setregid.c: Likewise.
5509         * misc/setreuid.c: Likewise.
5510         * misc/setxattr.c: Likewise.
5511         * misc/sstk.c: Likewise.
5512         * misc/stty.c: Likewise.
5513         * misc/swapoff.c: Likewise.
5514         * misc/swapon.c: Likewise.
5515         * misc/sync.c: Likewise.
5516         * misc/syncfs.c: Likewise.
5517         * misc/syscall.c: Likewise.
5518         * misc/truncate.c: Likewise.
5519         * misc/ualarm.c: Likewise.
5520         * misc/usleep.c: Likewise.
5521         * misc/ustat.c: Likewise.
5522         * misc/utimes.c: Likewise.
5523         * misc/vhangup.c: Likewise.
5524         * misc/writev.c: Likewise.
5525         * posix/_exit.c: Likewise.
5526         * posix/alarm.c: Likewise.
5527         * posix/execve.c: Likewise.
5528         * posix/fexecve.c: Likewise.
5529         * posix/fork.c: Likewise.
5530         * posix/fpathconf.c: Likewise.
5531         * posix/getaddrinfo.c: Likewise.
5532         * posix/getegid.c: Likewise.
5533         * posix/geteuid.c: Likewise.
5534         * posix/getgid.c: Likewise.
5535         * posix/getgroups.c: Likewise.
5536         * posix/getlogin.c: Likewise.
5537         * posix/getlogin_r.c: Likewise.
5538         * posix/getpgid.c: Likewise.
5539         * posix/getpid.c: Likewise.
5540         * posix/getppid.c: Likewise.
5541         * posix/getresgid.c: Likewise.
5542         * posix/getresuid.c: Likewise.
5543         * posix/getsid.c: Likewise.
5544         * posix/getuid.c: Likewise.
5545         * posix/glob64.c: Likewise.
5546         * posix/nanosleep.c: Likewise.
5547         * posix/pathconf.c: Likewise.
5548         * posix/pause.c: Likewise.
5549         * posix/posix_madvise.c: Likewise.
5550         * posix/pread.c: Likewise.
5551         * posix/pread64.c: Likewise.
5552         * posix/pwrite.c: Likewise.
5553         * posix/pwrite64.c: Likewise.
5554         * posix/sched_getaffinity.c: Likewise.
5555         * posix/sched_getp.c: Likewise.
5556         * posix/sched_gets.c: Likewise.
5557         * posix/sched_primax.c: Likewise.
5558         * posix/sched_primin.c: Likewise.
5559         * posix/sched_rr_gi.c: Likewise.
5560         * posix/sched_setaffinity.c: Likewise.
5561         * posix/sched_setp.c: Likewise.
5562         * posix/sched_sets.c: Likewise.
5563         * posix/sched_yield.c: Likewise.
5564         * posix/setgid.c: Likewise.
5565         * posix/setlogin.c: Likewise.
5566         * posix/setpgid.c: Likewise.
5567         * posix/setresgid.c: Likewise.
5568         * posix/setresuid.c: Likewise.
5569         * posix/setsid.c: Likewise.
5570         * posix/setuid.c: Likewise.
5571         * posix/sleep.c: Likewise.
5572         * posix/spawni.c: Likewise.
5573         * posix/sysconf.c: Likewise.
5574         * posix/times.c: Likewise.
5575         * posix/wait.c: Likewise.
5576         * posix/wait3.c: Likewise.
5577         * posix/wait4.c: Likewise.
5578         * posix/waitpid.c: Likewise.
5579         * resolv/gai_sigqueue.c: Likewise.
5580         * resource/getpriority.c: Likewise.
5581         * resource/getrlimit.c: Likewise.
5582         * resource/getrusage.c: Likewise.
5583         * resource/nice.c: Likewise.
5584         * resource/setpriority.c: Likewise.
5585         * resource/setrlimit.c: Likewise.
5586         * resource/ulimit.c: Likewise.
5587         * rt/aio_cancel.c: Likewise.
5588         * rt/aio_fsync.c: Likewise.
5589         * rt/aio_read.c: Likewise.
5590         * rt/aio_sigqueue.c: Likewise.
5591         * rt/aio_suspend.c: Likewise.
5592         * rt/aio_write.c: Likewise.
5593         * rt/clock_getres.c: Likewise.
5594         * rt/clock_gettime.c: Likewise.
5595         * rt/clock_nanosleep.c: Likewise.
5596         * rt/clock_settime.c: Likewise.
5597         * rt/lio_listio.c: Likewise.
5598         * rt/mq_close.c: Likewise.
5599         * rt/mq_getattr.c: Likewise.
5600         * rt/mq_notify.c: Likewise.
5601         * rt/mq_open.c: Likewise.
5602         * rt/mq_receive.c: Likewise.
5603         * rt/mq_send.c: Likewise.
5604         * rt/mq_setattr.c: Likewise.
5605         * rt/mq_timedreceive.c: Likewise.
5606         * rt/mq_timedsend.c: Likewise.
5607         * rt/mq_unlink.c: Likewise.
5608         * rt/shm_open.c: Likewise.
5609         * rt/shm_unlink.c: Likewise.
5610         * rt/timer_create.c: Likewise.
5611         * rt/timer_delete.c: Likewise.
5612         * rt/timer_getoverr.c: Likewise.
5613         * rt/timer_gettime.c: Likewise.
5614         * rt/timer_settime.c: Likewise.
5615         * setjmp/__longjmp.c: Likewise.
5616         * setjmp/setjmp.c: Likewise.
5617         * signal/kill.c: Likewise.
5618         * signal/killpg.c: Likewise.
5619         * signal/raise.c: Likewise.
5620         * signal/sigaction.c: Likewise.
5621         * signal/sigaltstack.c: Likewise.
5622         * signal/sigblock.c: Likewise.
5623         * signal/sigignore.c: Likewise.
5624         * signal/sigintr.c: Likewise.
5625         * signal/signal.c: Likewise.
5626         * signal/sigpause.c: Likewise.
5627         * signal/sigpending.c: Likewise.
5628         * signal/sigqueue.c: Likewise.
5629         * signal/sigreturn.c: Likewise.
5630         * signal/sigset.c: Likewise.
5631         * signal/sigsetmask.c: Likewise.
5632         * signal/sigstack.c: Likewise.
5633         * signal/sigsuspend.c: Likewise.
5634         * signal/sigtimedwait.c: Likewise.
5635         * signal/sigvec.c: Likewise.
5636         * signal/sigwait.c: Likewise.
5637         * signal/sigwaitinfo.c: Likewise.
5638         * signal/sysv_signal.c: Likewise.
5639         * socket/accept.c: Likewise.
5640         * socket/accept4.c: Likewise.
5641         * socket/bind.c: Likewise.
5642         * socket/connect.c: Likewise.
5643         * socket/getpeername.c: Likewise.
5644         * socket/getsockname.c: Likewise.
5645         * socket/getsockopt.c: Likewise.
5646         * socket/isfdtype.c: Likewise.
5647         * socket/listen.c: Likewise.
5648         * socket/recv.c: Likewise.
5649         * socket/recvfrom.c: Likewise.
5650         * socket/recvmsg.c: Likewise.
5651         * socket/send.c: Likewise.
5652         * socket/sendmsg.c: Likewise.
5653         * socket/sendto.c: Likewise.
5654         * socket/setsockopt.c: Likewise.
5655         * socket/shutdown.c: Likewise.
5656         * socket/sockatmark.c: Likewise.
5657         * socket/socket.c: Likewise.
5658         * socket/socketpair.c: Likewise.
5659         * stdio-common/ctermid.c: Likewise.
5660         * stdio-common/cuserid.c: Likewise.
5661         * stdio-common/remove.c: Likewise.
5662         * stdio-common/rename.c: Likewise.
5663         * stdio-common/renameat.c: Likewise.
5664         * stdio-common/tempname.c: Likewise.
5665         * stdlib/getcontext.c: Likewise.
5666         * stdlib/makecontext.c: Likewise.
5667         * stdlib/setcontext.c: Likewise.
5668         * stdlib/swapcontext.c: Likewise.
5669         * stdlib/system.c: Likewise.
5670         * streams/fattach.c: Likewise.
5671         * streams/fdetach.c: Likewise.
5672         * streams/getmsg.c: Likewise.
5673         * streams/getpmsg.c: Likewise.
5674         * streams/putmsg.c: Likewise.
5675         * streams/putpmsg.c: Likewise.
5676         * sysdeps/unix/bsd/getpt.c: Likewise.
5677         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5678         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5679         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5681         Likewise.
5682         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5683         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5684         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5685         * sysvipc/msgctl.c: Likewise.
5686         * sysvipc/msgget.c: Likewise.
5687         * sysvipc/msgrcv.c: Likewise.
5688         * sysvipc/msgsnd.c: Likewise.
5689         * sysvipc/semctl.c: Likewise.
5690         * sysvipc/semget.c: Likewise.
5691         * sysvipc/semop.c: Likewise.
5692         * sysvipc/semtimedop.c: Likewise.
5693         * sysvipc/shmat.c: Likewise.
5694         * sysvipc/shmctl.c: Likewise.
5695         * sysvipc/shmdt.c: Likewise.
5696         * sysvipc/shmget.c: Likewise.
5697         * termios/tcdrain.c: Likewise.
5698         * termios/tcflow.c: Likewise.
5699         * termios/tcflush.c: Likewise.
5700         * termios/tcgetattr.c: Likewise.
5701         * termios/tcgetpgrp.c: Likewise.
5702         * termios/tcsendbrk.c: Likewise.
5703         * termios/tcsetattr.c: Likewise.
5704         * termios/tcsetpgrp.c: Likewise.
5705         * time/adjtime.c: Likewise.
5706         * time/clock.c: Likewise.
5707         * time/getitimer.c: Likewise.
5708         * time/gettimeofday.c: Likewise.
5709         * time/setitimer.c: Likewise.
5710         * time/settimeofday.c: Likewise.
5711         * time/stime.c: Likewise.
5712         * time/time.c: Likewise.
5714 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
5716         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5717         /usr/old/bin.
5719         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5720         instead of spaces.
5721         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5723 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
5725         [BZ #14796]
5726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5727         FE_TONEAREST before applying Dekker multiplication and Knuth
5728         addition.  Clear inexact exceptions and check for exact zero
5729         results afterwards.
5730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5731         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5732         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5733         * math/libm-test.inc (fma_test): Add more tests.
5734         (fma_test_towardzero): Likewise.
5735         (fma_test_downward): Likewise.
5736         (fma_test_upward): Likewise.
5737         * sysdeps/generic/math_private.h (default_libc_fesetround): New
5738         function.
5739         (libc_fesetround): New macro.
5740         (libc_fesetroundf): Likewise.
5741         (libc_fesetroundl): Likewise.
5742         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5743         function.
5744         (libc_fesetround_387): Likewise.
5745         (libc_fesetroundf): New macro.
5746         (libc_fesetround): Likewise.
5747         (libc_fesetroundl): Likewise.
5748         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5749         function.
5750         (libc_fesetroundf): New macro.
5751         (libc_fesetround): Likewise.
5752         (libc_fesetroundl): Likewise.
5753         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5754         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5755         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5756         libm_hidden_ver.
5757         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5758         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5759         libm_hidden_def.
5760         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5761         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5762         libm_hidden_ver.
5763         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5764         libm_hidden_def.
5766         [BZ #3439]
5767         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5768         integer constant usable in #if and use that to give value to enum
5769         constant.
5770         (FE_DIVBYZERO): Likewise.
5771         (FE_UNDERFLOW): Likewise.
5772         (FE_OVERFLOW): Likewise.
5773         (FE_INVALID): Likewise.
5774         (FE_INVALID_SNAN): Likewise.
5775         (FE_INVALID_ISI): Likewise.
5776         (FE_INVALID_IDI): Likewise.
5777         (FE_INVALID_ZDZ): Likewise.
5778         (FE_INVALID_IMZ): Likewise.
5779         (FE_INVALID_COMPARE): Likewise.
5780         (FE_INVALID_SOFTWARE): Likewise.
5781         (FE_INVALID_SQRT): Likewise.
5782         (FE_INVALID_INTEGER_CONVERSION): Likewise.
5783         (FE_TONEAREST): Likewise.
5784         (FE_TOWARDZERO): Likewise.
5785         (FE_UPWARD): Likewise.
5786         (FE_DOWNWARD): Likewise.
5787         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5788         (FE_DIVBYZERO): Likewise.
5789         (FE_OVERFLOW): Likewise.
5790         (FE_UNDERFLOW): Likewise.
5791         (FE_INEXACT): Likewise.
5792         (FE_TONEAREST): Likewise.
5793         (FE_DOWNWARD): Likewise.
5794         (FE_UPWARD): Likewise.
5795         (FE_TOWARDZERO): Likewise.
5796         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5797         (FE_UNDERFLOW): Likewise.
5798         (FE_OVERFLOW): Likewise.
5799         (FE_DIVBYZERO): Likewise.
5800         (FE_INVALID): Likewise.
5801         (FE_TONEAREST): Likewise.
5802         (FE_TOWARDZERO): Likewise.
5803         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5804         (FE_OVERFLOW): Likewise.
5805         (FE_UNDERFLOW): Likewise.
5806         (FE_DIVBYZERO): Likewise.
5807         (FE_INEXACT): Likewise.
5808         (FE_TONEAREST): Likewise.
5809         (FE_TOWARDZERO): Likewise.
5810         (FE_UPWARD): Likewise.
5811         (FE_DOWNWARD): Likewise.
5812         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5813         (FE_DIVBYZERO): Likewise.
5814         (FE_OVERFLOW): Likewise.
5815         (FE_UNDERFLOW): Likewise.
5816         (FE_INEXACT): Likewise.
5817         (FE_TONEAREST): Likewise.
5818         (FE_DOWNWARD): Likewise.
5819         (FE_UPWARD): Likewise.
5820         (FE_TOWARDZERO): Likewise.
5822 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
5824         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5826 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
5828         * scripts/cross-test-ssh.sh (command): Use newlines to separate
5829         commands.  Quote $PWD.
5830         (blacklist_exports): Don't use remove_newlines.  Replace "declare
5831         -x" by "export".
5832         (remove_newlines): Remove.
5834 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
5836         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5837         * stdlib/stdlib.h (atof): Moved to ...
5838         * include/bits/stdlib-float.h: Here.  New file.
5839         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5840         * stdlib/bits/stdlib-float.h: New file.
5841         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5842         -mno-sse -mno-mmx.
5843         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5844         <xmmintrin.h>.
5846 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5848         * conform/conformtest.pl (@headers): Add fenv.h.
5849         * conform/data/fenv.h-data: New file.
5850         * include/fenv.h [_ISOMAC]: Disable all contents of file except
5851         include of <math/fenv.h>.
5853         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5854         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5855         && !UNIX98].  Enables tests for XOPEN2K8.
5856         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5857         POSIX2008]: Likewise.
5859         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5860         (struct rusage): Do not expect type or its members.
5862         [BZ #3439]
5863         * math/math.h (FP_NAN): Define macro to integer constant usable in
5864         #if and use that to give value to enum constant.
5865         (FP_INFINITE): Likewise.
5866         (FP_ZERO): Likewise.
5867         (FP_SUBNORMAL): Likewise.
5868         (FP_NORMAL): Likewise.
5870 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
5872         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5873         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5874         arguments.
5876 2012-11-02  Roland McGrath  <roland@hack.frob.com>
5878         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5879         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5880         autoconf-time if not.
5881         * configure.in: Remove AC_PREREQ.
5883 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5885         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5886         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5887         of the internal implementation.
5889 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5891         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5892         except include of <misc/sys/syslog.h>.
5894 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5897         function returns with a NULL context exit with zero.
5899 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5901         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5903 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
5905         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5906         (run_program_cmd): This.
5907         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5908         (tst_langinfo): New variable.  Use it.
5910 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
5912         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5913         floating point opcodes.
5915 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5917         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5918         variable.
5920         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5922         * sysdeps/mach/hurd/powerpc: Remove directory.
5923         * sysdeps/mach/powerpc: Likewise.
5925 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5927         * scripts/check-local-headers.sh: Ignore c++ headers.
5929 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5931         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5932         __libc_cleanup_region_start argument.
5934 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
5936         [BZ #14784]
5937         [BZ #14785]
5938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5939         x * y using scaling, not as x * y + z.
5940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5942         * math/libm-test.inc (fma_test): Add more tests.
5943         (fma_test_towardzero): Likewise.
5944         (fma_test_downward): Likewise.
5945         (fma_test_upward): Likewise.
5947 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5949         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5951 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5953         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5954         New variable.
5956 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
5958         * rt/tst-shm.c (worker): Correct checking for mmap failure.
5960 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5963         Fix sort order.
5964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5965         Likewise.
5967 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5970         Fix the order of the list for glibc 2.17.
5971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5972         Likewise.
5974 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5978 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5980         [BZ #14610]
5981         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5982         for low part of x being zero before using __atanl (y).
5983         * math/libm-test.inc (atan2_test): Add another test.
5985         * manual/install.texi (Configuring and compiling): Document
5986         general use of test-wrapper and test-wrapper-env.
5987         * INSTALL: Regenerated.
5989         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5990         (__fma): Do not extract and scale down low bits on after-rounding
5991         systems when result rounded to normal precision would have normal
5992         exponent.
5993         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5994         (__fmal): Do not extract and scale down low bits on after-rounding
5995         systems when result rounded to normal precision would have normal
5996         exponent.
5997         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5998         (__fmal): Do not extract and scale down low bits on after-rounding
5999         systems when result rounded to normal precision would have normal
6000         exponent.
6001         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6002         macro.
6003         (fma_test): Add more tests.
6004         (fma_test_towardzero): Likewise.
6005         (fma_test_downward): Likewise.
6006         (fma_test_upward): Likewise.
6008 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6010         * sysdeps/i386/tininess.h: Renamed to ...
6011         * sysdeps/x86/tininess.h: This.
6012         * sysdeps/x86_64/tininess.h: Removed.
6014 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6016         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6017         input.  Use $(build-program-cmd).
6018         ($(objpfx)tst-array1-static.out): Likewise.
6019         ($(objpfx)tst-array2.out): Likewise.
6020         ($(objpfx)tst-array3.out): Likewise.
6021         ($(objpfx)tst-array4.out): Likewise.
6022         ($(objpfx)tst-array5.out): Likewise.
6023         ($(objpfx)tst-array5-static.out): Likewise.
6025 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6027         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6028         if defined.
6030         * nss/nsswitch.h (nss_interface_function): Provide new
6031         macro for use with NSS functions.
6032         * grp/initgroups.c: Use new macro.
6033         * nss/getXXbyYY.c: Likewise.
6034         * nss/getXXbyYY_r.c: Likewise.
6035         * nss/getXXent.c: Likewise.
6036         * nss/getXXent_r.c: Likewise.
6037         * sysdeps/posix/getaddrinfo.c: Likewise.
6039 2012-10-30  Andreas Jaeger  <aj@suse.de>
6041         * po/ru.po: Update Russion translation from translation project.
6043 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6045         [BZ #14152]
6046         [BZ #14783]
6047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6048         result and shift together with sticky bit instead of replicating
6049         round-to-nearest rounding.
6050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6051         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6052         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6053         missing underflow exceptions.
6054         (fma_test_towardzero): Add more tests.
6055         (fma_test_downward): Likewise.
6056         (fma_test_upward): Likewise.
6058         [BZ #14047]
6059         * sysdeps/generic/tininess.h: New file.
6060         * sysdeps/i386/tininess.h: Likewise.
6061         * sysdeps/sh/tininess.h: Likewise.
6062         * sysdeps/x86_64/tininess.h: Likewise.
6063         * stdlib/tst-strtod-underflow.c: Likewise.
6064         * stdlib/tst-tininess.c: Likewise.
6065         * stdlib/strtod_l.c: Include <tininess.h>.
6066         (round_and_return): Do not set errno for exact underflow cases.
6067         Force an underflow exception when setting errno for underflow.
6068         Determine underflow based on rounding to normal precision if
6069         TININESS_AFTER_ROUNDING.
6070         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6071         ERANGE for exact underflow cases.
6072         * stdlib/Makefile (tests): Add tst-tininess and
6073         tst-strtod-underflow.
6074         ($(objpfx)tst-tininess): Use $(link-libm).
6075         ($(objpfx)tst-strtod-underflow): Likewise.
6077 2012-10-30  Andreas Jaeger  <aj@suse.de>
6079         [BZ#14767]
6080         * elf/Makefile (tests): Remove conditional for have-initfini-array
6081         since this is now always required and the variable does not exist
6082         anymore.
6083         (tests-static): Likewise.
6084         (modules-names): Likewise.
6086         * po/eo.po: Add Esperanto translation from translation project.
6088         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6089         merged with constructor/destructor.
6090         (init_array): Likewise.
6091         * elf/tst-array2dep.c (fini_array): Likewise.
6092         (init_array): Likewise.
6094 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6096         * manual/message.texi: Delete @cartouche tags.
6098 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6100         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6101         EOPNOTSUPP.
6102         * sysdeps/mach/hurd/fsync.c: Likewise.
6104         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6105         [_POSIX_REALTIME_SIGNALS]: Change condition to
6106         [_POSIX_REALTIME_SIGNALS > 0].
6108 2012-10-27  Andreas Jaeger  <aj@suse.de>
6110         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6111         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6112         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6113         [__WORDSIZE != 64]: Likewise.
6115 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6117         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6118         *  iconvdata/tst-tables.sh: Likewise.
6120 2012-10-25  David S. Miller  <davem@davemloft.net>
6122         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6123         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6124         of strtoull.
6126         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6127         ifunc-impl-list.c
6128         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6129         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6130         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6131         file.
6133 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6136         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6137         __getdirentries.
6139 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6140             Jim Blandy  <jimb@codesourcery.com>
6142         * scripts/cross-test-ssh.sh: New file.
6143         * manual/install.texi (Configuring and compiling): Document use of
6144         cross-test-ssh.sh.
6145         * INSTALL: Regenerated.
6147 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6149         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6150         EOPNOTSUPP.
6152 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6154         * Makeconfig (run-program-prefix): Fix comment.
6156 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6157             Jim Blandy  <jimb@codesourcery.com>
6159         * Makeconfig (test-wrapper): New variable,
6160         (test-wrapper-env): Likewise.
6161         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6162         (run-built-tests): Define to yes.
6163         (run-program-prefix): Use $(test-wrapper).
6164         (built-program-cmd): Likewise.
6165         * Rules (make-test-out): Use $(test-wrapper-env) and
6166         $(host-built-program-cmd).
6167         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6168         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6169         tst-pathopt.sh.
6170         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6171         $(test-wrapper-env) to tst-rtld-load-self.sh.
6172         ($(objpfx)order2.out): Use $(test-wrapper).
6173         ($(objpfx)tst-initorder.out): Likewise.
6174         ($(objpfx)tst-initorder2.out): Likewise.
6175         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6176         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6177         (test_wrapper_env): New variable.  Use it to run ld.so.
6178         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6179         Use it to run ld.so.
6180         (test_wrapper_env): Likewise.
6181         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6182         $(test-wrapper) to run-iconv-test.sh.
6183         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6184         (ICONV): Use $test_wrapper.
6185         * posix/Makefile ($(objpfx)globtest.out): Pass
6186         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6187         globtest.sh, not $(run-program-prefix).
6188         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6189         (test_wrapper): Likewise.
6190         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6191         set together with run_via_rtld_prefix.
6192         (run_program_prefix): Define in terms of test_wrapper and
6193         run_via_rtld_prefix.
6195 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6197         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6198         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6199         Targets removed.
6201         [BZ #14743]
6202         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6203         Declare __clock_getres, __clock_gettime, __clock_settime,
6204         __clock_nanosleep, and __clock_getcpuclockid.
6205         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6206         Remove librt_hidden_def (clock_gettime).
6207         * sysdeps/unix/clock_gettime.c: Likewise.
6208         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6209         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6210         * rt/clock_getres.c: Define __clock_getres as an alias.
6211         * sysdeps/posix/clock_getres.c: Likewise.
6212         * rt/clock_settime.c: Define __clock_settime as an alias.
6213         * sysdeps/unix/clock_settime.c: Likewise.
6214         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6215         * sysdeps/unix/clock_nanosleep.c: Likewise.
6216         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6217         * rt/clock-compat.c: New file.
6218         * rt/Makefile (librt-routines): Add clock-compat and move
6219         $(clock-routines) to ...
6220         (routines): ... here, new variable.
6221         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6222         Don't add get_clockfreq here.
6223         * rt/Versions (libc: GLIBC_2.17): New version set.
6224         Add clock_* symbols here.
6225         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6226         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6227         (GLIBC_2.17): Add clock_* symbols.
6228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6232         Likewise.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6234         Likewise.
6235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6239         * NEWS: Mention the move.
6241         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6242         Use __open, __read, __close rather than their public counterparts.
6243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6244         (__get_clockfreq_via_cpuinfo): Likewise.
6245         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6246         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6248         * config.h.in (HAVE_IFUNC): New #undef.
6249         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6250         was successful.
6251         * configure: Regenerated.
6253 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6255         * configure.in: Move READELF check to start of file.
6256         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6257         libc_cv_asm_gnu_indirect_function in the process.
6258         * configure: Regenerated.
6260 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6262         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6263         send the output to /dev/null.
6264         (libc_cv_cc_with_libunwind): Likewise.
6265         (libc_cv_as_noexecstack): Likewise.
6266         * configure: Regenerate.
6268 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6270         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6272         * posix/globtest.sh (TMPDIR): Do not set.
6273         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6274         (testout): Likewise.
6276 2012-10-24  Andreas Jaeger  <aj@suse.de>
6278         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6279         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6280         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6281         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6282         posix_fadvise64, posix_fallocate64.
6284         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6285         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6286         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6287         Likewise.
6288         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6289         Likewise.
6290         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6292         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6293         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6294         <bits/fcntl-linux.h>.
6295         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6298         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6299         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6300         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6301         [__WORDSIZE != 64]: Likewise.
6303 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6305         * Makeconfig (run-built-tests): New variable.
6306         * Rules [$(cross-compiling) = yes]: Change condition to
6307         [$(run-built-tests) = no].
6308         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6309         to [$(run-built-tests) = yes].
6310         * elf/Makefile [$(cross-compiling) = no]: Likewise
6311         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6312         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6313         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6314         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6315         * io/Makefile [$(cross-compiling) = no]: Likewise.
6316         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6317         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6318         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6319         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6320         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6321         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6322         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6323         * string/Makefile [$(cross-compiling) = no]: Likewise.
6325         * posix/Makefile ($(objpfx)globtest.out): Pass
6326         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6327         $(rtld-installed-name).
6328         * posix/globtest.sh (elf_objpfx): Remove variable.
6329         (rtld_installed_name): Likewise.
6330         (library_path): Likewise.
6331         (run_program_prefix): New variable.  Use for running globtest
6332         binary.
6334 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6335             Joseph Myers  <joseph@codesourcery.com>
6337         * Makeconfig (host-built-program-cmd): New variable.
6338         * elf/Makefile (tst-stackguard1-ARGS): Use
6339         $(host-built-program-cmd).
6340         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6341         (tst-spawn-ARGS): Likewise.
6342         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6344 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6345             Jim Blandy  <jimb@codesourcery.com>
6347         * Makeconfig (run-via-rtld-prefix): New variable.
6348         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6349         (built-program-cmd): Likewise.
6351 2012-10-22  Andreas Jaeger  <aj@suse.de>
6353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6354         __O_RSYNC if it exists, otherwise to O_SYNC.
6356 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
6357             Joseph Myers  <joseph@codesourcery.com>
6359         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6360         /dev/null.
6361         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6362         from /dev/null
6363         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6364         /dev/null.
6366 2012-10-22  Andreas Jaeger  <aj@suse.de>
6368         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6369         Define always.
6370         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6372         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6373         bits/fcntl-linux.h.
6375         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6376         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6379         to __O_LARGEFILE.
6380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6381         to __O_LARGEFILE.
6383 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
6384             Joseph Myers  <joseph@codesourcery.com>
6386         * config.make.in (NM): New variable.
6388 2012-10-21  Andreas Jaeger  <aj@suse.de>
6390         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6391         definitions and declarations that are provided by
6392         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6394 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6396         [BZ #14683]
6397         * elf/Makefile (tests-static): Add tst-leaks1-static.
6398         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6399         ($(objpfx)tst-leaks1-static): New rule.
6400         ($(objpfx)tst-leaks1-static-mem): Likewise.
6401         (tst-leaks1-static-ENV): New macro.
6402         * elf/dl-open.c (dl_open_worker): Check the main application
6403         only if SHARED is defined.
6404         * elf/tst-leaks1-static.c: New file.
6406 2012-10-20  Andreas Jaeger  <aj@suse.de>
6408         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6409         generic values for Linux.
6410         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6411         and declarations that are provided by <bits/fcntl-linux.h> and
6412         include <bits/fcntl-linux.h>.
6413         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6414         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6416 2012-10-20  Roland McGrath  <roland@hack.frob.com>
6418         * io/fcntl.h: Move include of <bits/types.h> to the top and
6419         include it unconditionally.
6421 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6423         * wcsmbs/Makefile (tests-ifunc): New variable.
6424         (tests): Add $(tests-ifunc).
6425         * wcsmbs/test-wcschr-ifunc.c: New file.
6426         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6427         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6428         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6429         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6430         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6432         * string/Makefile (tests-ifunc): New variable.
6433         (tests): Add $(tests-ifunc).
6434         * string/test-memccpy.c (TEST_NAME): New macro.
6435         * string/test-memchr.c (TEST_NAME): Likewise.
6436         * string/test-memcmp.c (TEST_NAME): Likewise.
6437         * string/test-memcpy.c (TEST_NAME): Likewise.
6438         * string/test-memmem.c (TEST_NAME): Likewise.
6439         * string/test-memmove.c (TEST_NAME): Likewise.
6440         * string/test-memset.c (TEST_NAME): Likewise.
6441         * string/test-rawmemchr.c (TEST_NAME): Likewise.
6442         * string/test-stpcpy.c (TEST_NAME): Likewise.
6443         * string/test-stpncpy.c (TEST_NAME): Likewise.
6444         * string/test-strcasecmp.c (TEST_NAME): Likewise.
6445         * string/test-strcasestr.c (TEST_NAME): Likewise.
6446         * string/test-strcat.c (TEST_NAME): Likewise.
6447         * string/test-strchr.c (TEST_NAME): Likewise.
6448         * string/test-strcmp.c(TEST_NAME): Likewise.
6449         * string/test-strcpy.c (TEST_NAME): Likewise.
6450         * string/test-strcspn.c (TEST_NAME): Likewise.
6451         * string/test-strlen.c (TEST_NAME): Likewise.
6452         * string/test-strncasecmp.c (TEST_NAME): Likewise.
6453         * string/test-strncmp.c (TEST_NAME): Likewise.
6454         * string/test-strncpy.c (TEST_NAME): Likewise.
6455         * string/test-strnlen.c (TEST_NAME): Likewise.
6456         * string/test-strpbrk.c (TEST_NAME): Likewise.
6457         * string/test-strrchr.c (TEST_NAME): Likewise.
6458         * string/test-strspn.c (TEST_NAME): Likewise.
6459         * string/test-strstr.c (TEST_NAME): Likewise.
6460         * string/test-bcopy-ifunc.c: New file.
6461         * string/test-bzero-ifunc.c: Likewise.
6462         * string/test-memccpy-ifunc.c: Likewise.
6463         * string/test-memchr-ifunc.c: Likewise.
6464         * string/test-memcmp-ifunc.c: Likewise.
6465         * string/test-memcpy-ifunc.c: Likewise.
6466         * string/test-memmem-ifunc.c: Likewise.
6467         * string/test-memmove-ifunc.c: Likewise.
6468         * string/test-mempcpy-ifunc.c: Likewise.
6469         * string/test-memset-ifunc.c: Likewise.
6470         * string/test-rawmemchr-ifunc.c: Likewise.
6471         * string/test-stpcpy-ifunc.c: Likewise.
6472         * string/test-stpncpy-ifunc.c: Likewise.
6473         * string/test-strcasecmp-ifunc.c: Likewise.
6474         * string/test-strcasestr-ifunc.c: Likewise.
6475         * string/test-strcat-ifunc.c: Likewise.
6476         * string/test-strchr-ifunc.c: Likewise.
6477         * string/test-strchrnul-ifunc.c: Likewise.
6478         * string/test-strcmp-ifunc.c: Likewise.
6479         * string/test-strcpy-ifunc.c: Likewise.
6480         * string/test-strcspn-ifunc.c: Likewise.
6481         * string/test-strlen-ifunc.c: Likewise.
6482         * string/test-strncasecmp-ifunc.c: Likewise.
6483         * string/test-strncat-ifunc.c: Likewise.
6484         * string/test-strncmp-ifunc.c: Likewise.
6485         * string/test-strncpy-ifunc.c: Likewise.
6486         * string/test-strnlen-ifunc.c: Likewise.
6487         * string/test-strpbrk-ifunc.c: Likewise.
6488         * string/test-strrchr-ifunc.c: Likewise.
6489         * string/test-strspn-ifunc.c: Likewise.
6490         * string/test-strstr-ifunc.c: Likewise.
6492         * debug/Makefile (tests-ifunc): New variable.
6493         (tests): Add $(tests-ifunc).
6494         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6495         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6496         * debug/test-stpcpy_chk-ifunc.c: New file.
6497         * debug/test-strcpy_chk-ifunc.c: Likewise.
6499 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6501         [BZ #13601]
6502         * elf/dl-load.c (open_verify): Retry read if the entire ELF
6503         header is not read in.
6505 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
6507         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
6508         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
6509         directly.  Pass built executable to script as
6510         $(built-program-cmd).
6511         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
6512         $testprogram without using LD_LIBRARY_PATH and $ldso.
6514         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6515         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6516         $(rtld-installed-name).
6517         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6518         (rtld_installed_name): Likewise.
6519         (library_path): Likewise.
6520         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
6521         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6522         $(run-program-prefix) to tst-tables.sh.
6523         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
6524         it to run tst-table-from and tst-table-to.
6525         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6526         Pass it to tst-table.sh.
6527         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6528         $(run-program-prefix) to tst-gettext.sh.
6529         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6530         tst-translit.sh.
6531         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6532         tst-gettext2.sh.
6533         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
6534         to run tst-gettext.
6535         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
6536         to run tst-gettext2.
6537         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
6538         to run tst-translit.
6539         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6540         $(run-program-prefix) to tst-mtrace.sh.
6541         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
6542         to run tst-mtrace.
6543         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6544         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6545         $(rtld-installed-name).
6546         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6547         (rtld_installed_name): Likewise.
6548         (run_program_prefix): New variable.  Use it to run wordexp-test.
6550         * Makeconfig (ARCH): Remove all definitions.
6551         (machine): Likewise.
6552         [ARCH]: Remove conditional code.
6553         [!objdir]: Give error.
6554         [!objdir] (objpfx): Remove.
6555         [!objdir] (common-objpfx): Likewise.
6556         [!objdir] (common-objdir): Likewise.
6557         * configure.in (config_makefile): Remove.  Hardcode Makefile in
6558         AC_CONFIG_FILES call.
6559         * configure: Regenerated.
6561         [BZ #13888]
6562         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6563         or TMPDIR.
6564         (testout): Likewise.
6566         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6567         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6568         $(rtld-installed-name).
6569         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6570         (rtld_installed_name): Likwise.
6571         (runit): Remove function.
6572         (run_getconf): New variable,  Use it for running getconf binary.
6574 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
6576         [BZ #14716]
6577         * string/test-memmem.c (check_result): New function.
6578         (do_one_test): Use it.
6579         (check1): New function.
6580         (test_main): Use it.
6582 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
6584         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6586 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
6588         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6589         (_G_LSEEK64): Likewise.
6590         (_G_MMAP64): Likewise.
6591         (_G_FSTAT64): Likewise.
6592         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6593         (_G_LSEEK64): Likewise.
6594         (_G_MMAP64): Likewise.
6595         (_G_FSTAT64): Likewise.
6596         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6597         unconditional.  Call __mmap64 directly.
6598         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6599         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
6600         __lseek64 directly.
6601         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6602         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
6603         __mmap64 directly.
6604         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6605         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6606         __lseek64 directly.
6607         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6608         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6609         __lseek64 directly.
6610         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6611         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
6612         __lseek64 directly.
6613         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6614         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
6615         __fxstat64 directly.
6616         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6617         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6618         unconditional.
6619         (freopen64) [!_G_OPEN64]: Remove conditional code.
6620         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6621         unconditional.
6622         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6623         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6624         unconditional.
6625         (ftello64) [!_G_LSEEK64]: Remove conditional code.
6626         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6627         unconditional.
6628         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6629         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6630         unconditional.
6631         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6632         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6633         unconditional.
6634         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6635         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6636         unconditional.
6637         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6638         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6639         unconditional.
6640         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6642 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6644         [BZ #12140]
6645         * manual/memory.texi (Malloc Tunable Parameters): Add note
6646         about free list pointers overwriting some perturb bytes.
6647         Wording suggested by Roland McGrath.
6649 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
6651         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6652         (lgamma_test): Likewise.
6653         (tgamma_test): Likewise.
6655 2012-10-16  Florian Weimer  <fweimer@redhat.com>
6657         [BZ #14700]
6658         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6659         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6661 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
6663         * NEWS: Mention BZ #14716.
6664         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6665         when removing AVAILABLE1_USES_J macro.
6667 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6669         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6670         (__bswap_64): __uint64_t for unsigned 64-bit int.
6672 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
6674         * include/string.h (memmem): Declare libc hidden alias.
6675         * string/memmem.c (memmem): Define libc hidden alias.
6676         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6677         __read, __close instead of open, read, close.
6679 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
6681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6682         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6683         global and hidden.
6684         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6685         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6686         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6687         Likewise.
6688         (__rawmemchr_sse2): Likewise.
6689         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6690         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6691         (__strchr_sse2): Likewise.
6692         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6693         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6694         (__strcasecmp_sse2): Likewise.
6695         (__strncasecmp_sse2): Likewise.
6696         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6697         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6698         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6699         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6700         (__strrchr_sse2): Likewise.
6701         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6702         ifunc-impl-list.c.
6703         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6704         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6705         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6706         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6707         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6708         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6709         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6710         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6711         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6712         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6713         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6714         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6715         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6716         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6717         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6718         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6719         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6720         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6721         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6722         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6723         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6724         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6725         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6726         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6727         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6728         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6729         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6730         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6731         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6732         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6734         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6735         global and hidden.
6736         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6737         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6738         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6739         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6740         Likewise.
6741         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6742         Likewise.
6743         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6744         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6745         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6746         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6747         ifunc-impl-list.c.
6748         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6749         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6750         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6751         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6752         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6753         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6754         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6755         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6756         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6757         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6758         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6759         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6760         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6761         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6762         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6763         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6764         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6765         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6766         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6767         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6768         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6769         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6770         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6771         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6772         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6773         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6774         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6775         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6776         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6777         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6778         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6779         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6780         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6781         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6782         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6783         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6784         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6785         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6786         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6787         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6788         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6790         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6791         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6792         * include/ifunc-impl-list.h: New file.
6793         * misc/ifunc-impl-list.c: Likewise.
6794         * misc/Makefile (routines): Add ifunc-impl-list.
6795         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6796         * string/test-string.h: Include <ifunc-impl-list.h>.
6797         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6798         impl_array): New variables.
6799         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6800         are defined.
6801         (test_init): Call __libc_ifunc_impl_list to initialize
6802         func_list if TEST_IFUNC and TEST_NAME are defined.
6804         * string/Makefile (strop-tests): Add bcopy and bzero.
6805         * string/test-bcopy.c: New file.
6806         * string/test-bzero.c: Likewise.
6807         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6808         defined.
6809         * string/test-memset.c: Support bzero test if TEST_BZERO is
6810         defined.
6811         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6812         __libc_memmove.
6813         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6814         __libc_memset.
6815         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6816         of memset.
6818 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
6820         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6821         * configure: Regenerated.
6823         * Makeconfig (+link-static-before-libc): Don't include
6824         $(link-static-libc).
6826         * libio/libio.h (_IO_pos_t): Remove.
6828 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6830         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
6831         McGrath.
6833 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6835         * crypt/crypt-entry.c: Include fips-private.h.
6836         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6837         * crypt/md5c-test.c (main): Tolerate disabled MD5.
6838         * sysdeps/unix/sysv/linux/fips-private.h: New file.
6839         * sysdeps/generic/fips-private.h: New file, dummy fallback.
6841 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6843         * crypt/crypt-private.h: Include stdbool.h.
6844         (_ufc_setup_salt_r): Return bool.
6845         * crypt/crypt-entry.c: Include errno.h.
6846         (__crypt_r): Return NULL with EINVAL for bad salt.
6847         * crypt/crypt_util.c (bad_for_salt): New.
6848         (_ufc_setup_salt_r): Check that salt is long enough and within
6849         the specified alphabet.
6850         * crypt/badsalttest.c: New file.
6851         * crypt/Makefile (tests): Add it.
6852         ($(objpfx)badsalttest): New.
6854 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
6856         * NEWS: Add entry for BZ #14602.
6858 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6860         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6861         type-generic.
6862         * math/libm-test.inc: Update comment listing what functions and
6863         macros are tested.
6864         (isgreater_test): New function.
6865         (isgreaterequal_test): Likewise.
6866         (isless_test): Likewise.
6867         (islessequal_test): Likewise.
6868         (islessgreater_test): Likewise.
6869         (isunordered_test): Likewise.
6870         (main): Call the new functions.
6872 2012-10-09  Roland McGrath  <roland@hack.frob.com>
6874         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6875         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6876         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6877         * sysdeps/i386/configure: Regenerated.
6878         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6879         * sysdeps/mach/configure: Regenerated.
6880         * sysdeps/mach/hurd/configure: Regenerated.
6881         * sysdeps/powerpc/configure: Regenerated.
6882         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6883         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6884         * sysdeps/s390/s390-32/configure: Regenerated.
6885         * sysdeps/s390/s390-64/configure: Regenerated.
6886         * sysdeps/sh/configure: Regenerated.
6887         * sysdeps/sparc/configure: Regenerated.
6888         * sysdeps/unix/sysv/linux/configure: Regenerated.
6889         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6890         * sysdeps/x86_64/configure: Regenerated.
6892         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6893         defined.  Don't check if MAP is NULL.
6895 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6897         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6898         (_G_stat64): Likewise.
6899         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6900         (_G_stat64): Likewise.
6901         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6902         instead of struct _G_stat64.
6903         * libio/fileops.c (mmap_remap_check): Likewise.
6904         (decide_maybe_mmap): Likewise.
6905         (_IO_new_file_seekoff): Likewise.
6906         (_IO_file_stat): Likewise.
6907         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6908         _G_off64_t.
6909         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6910         instead of struct _G_stat64.
6911         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6913 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
6915         [BZ #14602]
6916         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6917         Replace with ...
6918         (CHECK_EOL): New macro.
6919         (two_way_short_needle): Check beginning of haystack for EOL.  Use
6920         CHECK_EOL.
6921         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6922         Replace with CHECK_EOL.
6923         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6924         Replace with CHECK_EOL.
6926 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
6928         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6929         type-generic.
6930         * math/libm-test.inc: Update comment listing what functions and
6931         macros are tested.
6932         (finite_test): New function.
6933         (isinf_test): Likewise.
6934         (isnan_test): Likewise.
6935         (fpclassify_test): Test subnormal input.
6936         (isfinite_test): Likewise.
6937         (isnormal_test): Likewise.
6938         (main): Call the new functions.
6940 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
6942         [BZ #14660]
6943         * Makerules (%.dynsym): Force C locale when running
6944         $(OBJDUMP) --dynamic-syms.
6946 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6948         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6949         <stdint.h>.
6951 2012-10-06  David S. Miller  <davem@davemloft.net>
6953         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6954         upper 32-bits of the length value in %o2 since we use branch-on-register
6955         tests which consider the entire 64-bit register.
6957 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
6959         * string/test-strstr.c (check2): Add a test for page boundary.
6961 2012-10-05  David S. Miller  <davem@davemloft.net>
6963         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6964         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6965         file.
6966         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6967         sysdep_routines.
6968         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6969         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6970         and bzero when HWCAP_SPARC_CRYPTO is present.
6972 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
6974         [BZ #14602]
6975         * string/test-strstr.c (check2): New function.
6976         (test_main): Call check2.
6978         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6979         and bug-strchr1.
6980         * string/bug-strcasestr1.c (do_test): Moved to ...
6981         * string/test-strcasestr.c (check1): Here.  New function.
6982         (do_one_test): Break out result checking code into ...
6983         (check_result): This.  New function.
6984         (do_one_test): Call check_result.
6985         (test_main): Call check1.
6986         * string/bug-strchr1.c (do_test): Moved to ...
6987         * string/test-strchr.c (check1): Here.  New function.
6988         (do_one_test): Break out result checking code into ...
6989         (check_result): This.  New function.
6990         (do_one_test): Call check_result.
6991         (test_main): Call check1.
6992         * string/bug-strstr1.c (main): Moved to ...
6993         * string/test-strstr.c (check1): Here.  New function.
6994         (do_one_test): Break out result checking code into ...
6995         (check_result): This.  New function.
6996         (do_one_test): Call check_result.
6997         (test_main): Call check1.
6998         * string/bug-strcasestr1.c: Removed.
6999         * string/bug-strchr1.c: Likewise.
7000         * string/bug-strstr1.c: Likewise.
7002         * elf/Makefile (dl-routines): Add hwcaps.
7003         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7004         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7005         (_dl_important_hwcaps): Moved to ...
7006         * elf/dl-hwcaps.c: Here.  New file.
7007         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7009         [BZ #14557]
7010         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7011         if IS_IN_rtld isn't defined.
7013         * elf/dl-support.c (_dl_sysinfo_map): New.
7014         Include "get-dynamic-info.h" and "setup-vdso.h".
7015         (_dl_non_dynamic_init): Call setup_vdso.
7016         * elf/dynamic-link.h: Don't include <assert.h>.
7017         (elf_get_dynamic_info): Moved to ...
7018         * elf/get-dynamic-info.h: Here.  New file.
7019         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7020         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7021         * elf/setup-vdso.h: Here.  New file.
7022         * elf/rtld.c: Include "setup-vdso.h".
7023         (dl_main): Call setup_vdso.
7025 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7027         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7028         creal in comment listing functions tested.  List finite, isinf,
7029         isnan, isless, islessequal, isgreater, isgreaterequal,
7030         islessgreater, isunordered, lgamma_r and pow10 as functions and
7031         macros not tested.  Mention which functions not tested are aliases
7032         for other functions.  Fix typo.  Note that signs of NaNs are not
7033         tested.
7035         * scripts/config.guess: Update from config.git.
7036         * scripts/config.sub: Likewise.
7038 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7040         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7041         * misc/madvise.c (madvise): Renamed to __madvise.
7042         Make madvise a weak alias.
7043         * include/sys/mman.h: Declare __madvise.
7044         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7045         * sysdeps/unix/syscalls.list
7046         (madvise): Make __madvise the strong name, and madvise a weak alias.
7047         * sysdeps/unix/sysv/linux/syscalls.list
7048         (madvise, mmap): Remove redundant entries.
7049         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7050         * malloc/malloc.c (mtrim): Likewise.
7051         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7053 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7055         * sysdeps/mach/hurd/dl-cache.c: File removed.
7056         * config.h.in (USE_LDCONFIG): New #undef.
7057         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7058         * configure: Regenerated.
7059         * elf/Makefile (dl-routines): Add dl-cache only under
7060         [$(use-ldconfig) = yes].
7061         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7062         cache on [USE_LDCONFIG].
7063         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7064         [USE_LDCONFIG].
7065         * elf/rtld.c (dl_main): Likewise.
7067 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7069         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7070         _SC_LEVEL4_CACHE_LINESIZE.
7072 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7074         * sysdeps/unix/bsd/confstr.h: File removed.
7076 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7078         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7079         sys/sdt-config.h.
7081 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7083         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7084         Make 'mapoff' field ElfW(Off) rather than off_t.
7086 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7088         * nscd/Makefile: Remove nscd-cflags and all its users.
7089         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7090         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7092         [BZ #10631]
7093         * malloc.c (malloc_printerr): Clarify error message.
7095 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7097         [BZ #14648]
7098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7099         Set bit_FMA_Usable if FMA is supported.
7100         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7101         macro.
7102         (bit_FMA4_Usable): Updated.
7103         (index_FMA_Usable): New macro.
7104         (CPUID_FMA): Likewise
7105         (HAS_FMA): Defined with bit_FMA_Usable.
7107 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7109         * bits/types.h (__swblk_t): Type removed.
7110         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7111         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7112         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7113         (__SWBLK_T_TYPE): Likewise.
7114         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7115         (__SWBLK_T_TYPE): Likewise.
7116         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7117         (__SWBLK_T_TYPE): Likewise.
7118         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7119         (__SWBLK_T_TYPE): Likewise.
7121 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7122             Honza Horak <hhorak@redhat.com>
7124         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7125         (xdr_mapname): Use YPMAXMAP as maxsize.
7126         (xdr_peername): Use YPMAXPEER as maxsize.
7127         (xdr_keydat): Use YPAXRECORD as maxsize.
7128         (xdr_valdat): Use YPMAXRECORD as maxsize.
7130 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7132         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7134         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7135         * csu/init-first.c: ... here.
7136         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7137         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7138         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7139         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7140         * sysdeps/i386/init-first.c: File removed.
7141         * sysdeps/sh/init-first.c: File removed.
7143 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7145         [BZ #14645]
7146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7147         if x * y might underflow to zero and z is zero.
7148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7150         * math/libm-test.inc (min_subnorm_value): New variable.
7151         (fma_test): Add more tests.
7152         (fma_test_towardzero): Likewise.
7153         (fma_test_downward): Likewise
7154         (fma_test_upward): Likewise.
7155         (initialize): Set min_subnorm_value.
7157 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7159         [BZ #14638]
7160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7161         0 + 0.
7162         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7163         mode for addition resulting in exact zero.
7164         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7165         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7166         exact 0 + 0.
7167         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7168         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7169         * math/libm-test.inc (fma_test): Add more tests.
7170         (fma_test_towardzero): New function.
7171         (fma_test_downward): Likewise.
7172         (fma_test_upward): Likewise.
7173         (main): Call the new functions.
7175 2012-09-28  David S. Miller  <davem@davemloft.net>
7177         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7179 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7181         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7182         instead of SIGALRM.
7184         * sysdeps/gnu/_G_config.h: Moved to ...
7185         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7186         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7187         * sysdeps/generic/_G_config.h: ... here.
7189         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7191         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7193         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7194         Conditionalize target on [libnss_test1.so-version].
7196         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7198         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7199         (elfobjdir): Move out of conditionals.
7201         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7202         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7203         (__nss_lookup_function): Conditionalize label remove_from_tree on
7204         [!DO_STATIC_NSS || SHARED], matching its only use.
7206 2012-09-28  David S. Miller  <davem@davemloft.net>
7208         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7209         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7210         file.
7211         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7212         sysdep_routines.
7213         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7215         when HWCAP_SPARC_CRYPTO is present.
7217 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7219         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7221 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7223         [BZ #6530]
7224         * stdio-common/vfprintf.c (process_string_arg): Revert
7225         2000-07-22 change.
7227 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7229         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7230         for testcase.
7231         * stdio-common/tst-sprintf.c: Include <locale.h>
7232         (main): Test sprintf's handling of incomplete multibyte
7233         characters.
7235 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7237         * elf/dl-runtime.c (VERSYMIDX): Removed.
7238         * elf/dl-version.c (VERSYMIDX): Likewise.
7239         * elf/do-rel.h (VERSYMIDX): Likewise.
7240         (VALIDX): Likewise.
7241         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7242         * elf/rtld.c (VALIDX): Likewise.
7243         (ADDRIDX): Likewise.
7244         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7245         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7246         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7247         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7248         (VALIDX): Likewise.
7249         (ADDRIDX): Likewise.
7251 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7253         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7255 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7257         [BZ #11438]
7258         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7259         to global scope.
7260         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7261         addresses are in the same scope as 192.0.2/24.
7262         * posix/gai.conf: Document new scope table defaults.
7264 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7266         [BZ #5298]
7267         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7268         for ftell.  Compute offsets from write pointers instead.
7269         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7271 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7273         [BZ #14543]
7274         * libio/Makefile (tests): New test case tst-fseek.
7275         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7276         combination works in wide mode.
7277         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7278         state when the external buffer state changes.
7280 2012-09-27  David S. Miller  <davem@davemloft.net>
7282         [BZ #14376]
7283         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7284         pass reloc->r_addend in as the 'high' argument to
7285         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7289 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7291         * rt/tst-aio2.c: Include <pthread.h>.
7292         * rt/tst-aio3.c: Likewise.
7294 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7296         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7298 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7300         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7301         contents on [SHARED].
7303 2012-09-26  Marek Polacek  <polacek@redhat.com>
7305         [BZ #14530]
7306         [BZ #13741]
7307         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7308         for C++ and GCC <4.3 as well as for non GCC compilers.
7310 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7314 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7316         * Makefile.in (all, install): Declare with .PHONY.
7317         Reported by Michael Hope <michael.hope@linaro.org>.
7319 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7321         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7322         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7323         system header.
7324         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7325         Likewise.
7326         (sydep_routines): Add the new and the internal functions.
7327         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7328         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7330         (GLIBC_2.17): Add the new function.
7331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7332         (GLIBC_2.17): Likewise.
7333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7334         (GLIBC_2.17): Likewise.
7335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7336         (GLIBC_2.17): Likewise.
7337         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7339 2012-09-25  Alan Modra  <amodra@gmail.com>
7341         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7342         Add release barrier before setting once_control to say
7343         initialisation is done.  Add hints on lwarx.  Use macro in
7344         place of isync.
7345         (clear_once_control): Add release barrier.
7347 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7349         [BZ #13629]
7350         * math/s_clog.c (__clog): Handle more values close to |z| = 1
7351         specially.
7352         * math/s_clog10.c (__clog10): Likewise.
7353         * math/s_clog10f.c (__clog10f): Likewise.
7354         * math/s_clog10l.c (__clog10l): Likewise.
7355         * math/s_clogf.c (__clogf): Likewise.
7356         * math/s_clogl.c (__clogl): Likewise.
7357         * math/Makefile (libm-calls): Add x2y2m1.
7358         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7359         (__x2y2m1): Likewise.
7360         (__x2y2m1l): Likewise.
7361         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7362         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7363         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7364         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7365         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7366         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7367         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7368         * sysdeps/i386/fpu/libm-test-ulps: Update.
7369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7371         [BZ #14621]
7372         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7373         int as type of variable DEPTH.
7374         (glob): Use size_t instead of int as type of variables NEWCOUNT
7375         and OLD_PATHC.
7377 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7379         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7380         Add s_sincosf-sse2.
7381         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7382         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7383         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7384         macros for using routine as __sincosf_ia32.
7385         Use macro for function declaration and weak_alias.
7386         * sysdeps/i386/fpu/libm-test-ulps: Update.
7388         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7391         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7392         subnormal argument.
7393         * math/s_cexpf.c (__cexpf): Likewise.
7394         * math/s_csinf.c (__csinf): Likewise.
7395         * math/s_csinhf.c (__csinhf): Likewise.
7396         * math/s_ctanf.c (__ctanf): Likewise.
7397         * math/s_ctanhf.c (__ctanhf): Likewise.
7398         * math/s_ccosh.c (__ccoshf): Likewise.
7399         * math/s_cexp.c (__cexpl): Likewise.
7400         * math/s_csin.c (__csin): Likewise.
7401         * math/s_csinh.c (__csinh): Likewise.
7402         * math/s_ctan.c (__ctan): Likewise.
7403         * math/s_ctanh.c (ctanh): Likewise.
7404         * math/s_ccoshl.c (__ccoshl): Likewise.
7405         * math/s_cexpl.c (__cexpl): Likewise.
7406         * math/s_csinl.c (__csinl): Likewise.
7407         * math/s_csinhl.c (__csinhl): Likewise.
7408         * math/s_ctanl.c (__ctanl): Likewise.
7409         * math/s_ctanhl.c (__ctanhl): Likewise.
7411 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7413         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7414         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7415         (_IO_off_t): Define to __off_t, not _G_off_t.
7416         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7417         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7418         (_IO_wint_t): Define to wint_t, not _G_wint_t.
7419         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7420         type of __dummy and __dummy2 fields.
7421         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7422         (_G_ssize_t): Likewise.
7423         (_G_off_t): Likewise.
7424         (_G_pid_t): Likewise.
7425         (_G_uid_t): Likewise.
7426         (_G_wchar_t): Likewise.
7427         (_G_wint_t): Likewise.
7428         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7429         (_G_ssize_t): Likewise.
7430         (_G_off_t): Likewise.
7431         (_G_pid_t): Likewise.
7432         (_G_uid_t): Likewise.
7433         (_G_wchar_t): Likewise.
7434         (_G_wint_t): Likewise.
7435         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7436         (_G_ssize_t): Likewise.
7437         (_G_off_t): Likewise.
7438         (_G_pid_t): Likewise.
7439         (_G_uid_t): Likewise.
7440         (_G_wchar_t): Likewise.
7441         (_G_wint_t): Likewise.
7443 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7445         * malloc/arena.c: Include malloc-sysdep.h.
7446         (shrink_heap): Use check_may_shrink_heap to decide if madvise
7447         is sufficient to shrink the heap or an unmap is needed.
7448         * sysdeps/generic/malloc-sysdep.h: New file.  Define
7449         new function check_may_shrink_heap.
7450         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
7451         new function check_may_shrink_heap.
7453 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7455         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7456         comments.
7458 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
7460         * catgets/test-gencat.sh: Add "set -e".
7461         * elf/tst-pathopt.sh: Likewise.
7462         * grp/tst_fgetgrent.sh: Likewise.
7463         * iconvdata/run-iconv-test.sh: Likewise.
7464         * intl/tst-gettext.sh: Likewise.
7465         * intl/tst-gettext2.sh: Likewise.
7466         * intl/tst-gettext4.sh: Likewise.
7467         * intl/tst-gettext6.sh: Likewise.
7468         * intl/tst-translit.sh: Likewise.
7469         * io/ftwtest-sh: Likewise.
7470         * libio/test-freopen.sh: Likewise.
7471         * malloc/tst-mtrace.sh: Likewise.
7472         * posix/globtest.sh: Likewise.
7473         * posix/tst-getconf.sh: Likewise.
7474         * posix/wordexp-tst.sh: Likewise.
7475         * stdio-common/tst-printf.sh: Likewise.
7476         * stdio-common/tst-unbputc.sh: Likewise.
7477         * stdlib/tst-fmtmsg.sh: Likewise.
7478         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7479         * catgets/Makefile: Do not specify -e option when running
7480         testsuite shell scripts.
7481         * elf/Makefile: Likewise.
7482         * grp/Makefile: Likewise.
7483         * iconvdata/Makefile: Likewise.
7484         * intl/Makefile: Likewise.
7485         * io/Makefile: Likewise.
7486         * libio/Makefile: Likewise.
7487         * malloc/Makefile: Likewise.
7488         * posix/Makefile: Likewise.
7489         * stdio-common/Makefile: Likewise.
7490         * stdlib/Makefile: Likewise.
7491         * sysdeps/x86_64/Makefile: Likewise.
7493         * io/ftwtest-sh: Add copyright header.
7494         * posix/globtest.sh: Likewise.
7495         * posix/tst-getconf.sh: Likewise.
7496         * posix/wordexp-tst.sh: Likewise.
7497         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7499 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
7501         [BZ #13679]
7502         * Makeconfig (+link): Defined as $(+link-static) if
7503         $(build-shared) isn't yes.
7504         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7505         isn't yes.
7506         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7508         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7510         [BZ #14562]
7511         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7512         new chunk size with MALLOC_ALIGN_MASK.
7514 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
7516         [BZ #5044]
7517         * stdio-common/printf_fphex.c: Include <stdbool.h> and
7518         <rounding-mode.h>.
7519         (__printf_fphex): Determine rounding using get_rounding_mode and
7520         round_away.
7521         * stdio-common/tst-printf-round.c (struct hex_test): New
7522         structure.
7523         (hex_tests): New variable.
7524         (test_hex_in_one_mode): New function.
7525         (do_test): Also run tests for hex float output.
7527 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
7529         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7530         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7531         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7532         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7533         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7534         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7535         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7536         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7538 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
7540         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7541         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7542         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7543         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7545 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
7547         [BZ #14579]
7548         * elf/rtld.c (dl_main): Limit the check for self loading to normal
7549         mode only.
7550         * elf/tst-rtld-load-self.sh: New test.
7551         * elf/Makefile: Run it.
7553 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
7555         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7556         (tst-writev-ENV): Remove.
7557         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7559 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
7561         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7563 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
7565         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7566         unconditional.
7567         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7568         Likewise.
7569         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7570         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7571         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7572         Likewise.
7574 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7576         [BZ #14587]
7577         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7578         * config.make.in (have-cpp-asm-debuginfo): Removed.
7579         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7580         * configure: Regenerated.
7582 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
7584         [BZ #5044]
7585         * stdio-common/printf_fp.c: Include <stdbool.h> and
7586         <rounding-mode.h>.
7587         (___printf_fp): Determine rounding using get_rounding_mode and
7588         round_away.
7589         * stdio-common/tst-printf-round.c: New file.
7590         * stdio-common/Makefile (tests): Add tst-printf-round.
7591         (link-libm): New variable.
7592         ($(objpfx)tst-printf-round): Depend in $(link-libm).
7594 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
7596         [BZ #14576]
7597         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7598         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7599         Likewise.
7600         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7601         Likewise.
7603 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
7605         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7606         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7607         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7608         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7610 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
7612         [BZ #14518]
7613         * include/rounding-mode.h: New file.
7614         * sysdeps/generic/get-rounding-mode.h: Likewise.
7615         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7616         * stdlib/strtod_l.c: Include <rounding-mode.h>.
7617         (MAX_VALUE): New macro.
7618         (MIN_VALUE): Likewise.
7619         (overflow_value): New function.
7620         (underflow_value): Likewise.
7621         (round_and_return): Use overflow_value and underflow_value to
7622         determine return values in overflow and underflow cases.  Use
7623         round_away to determine rounding depending on rounding mode.
7624         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7625         determine return values in overflow and underflow cases.
7626         * stdlib/tst-strtod-round.c: Include <fenv.h>.
7627         (struct test_results): New structure.
7628         (struct test): Use struct test_results to store expected results
7629         for all rounding modes.
7630         (TEST): Include expected results for all rounding modes.
7631         (test_in_one_mode): New function.
7632         (do_test): Use test_in_one_mode to compute and check results.
7633         Check results for all rounding modes.
7634         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7635         $(link-libm).
7637 2012-12-09  Allan McRae  <allan@archlinux.org>
7639         * sysdeps/i386/fpu/libm-test-ulps: Update
7641 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
7643         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7644         (_G_int32_t): Likewise.
7645         (_G_uint16_t): Likewise.
7646         (_G_uint32_t): Likewise.
7647         (_G_HAVE_BOOL): Likewise.
7648         (_G_HAVE_ATEXIT): Likewise.
7649         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7650         (_G_HAVE_IO_FILE_OPEN): Likewise.
7651         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7652         (_G_int32_t): Likewise.
7653         (_G_uint16_t): Likewise.
7654         (_G_uint32_t): Likewise.
7655         (_G_HAVE_BOOL): Likewise.
7656         (_G_HAVE_ATEXIT): Likewise.
7657         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7658         (_G_HAVE_IO_FILE_OPEN): Likewise.
7659         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7660         (_G_int32_t): Likewise.
7661         (_G_uint16_t): Likewise.
7662         (_G_uint32_t): Likewise.
7663         (_G_HAVE_BOOL): Likewise.
7664         (_G_HAVE_ATEXIT): Likewise.
7665         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7666         (_G_HAVE_IO_FILE_OPEN): Likewise.
7668 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
7670         * csu/libc-tls.c: Update copyright years.
7672 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
7674         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7675         [!_G_USING_THUNKS]: Remove conditional code.
7676         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7677         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7679         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7680         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7681         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7682         (_G_VTABLE_LABEL_PREFIX): Likewise.
7683         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7684         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7685         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7686         (_G_VTABLE_LABEL_PREFIX): Likewise.
7687         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7688         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7689         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7690         (_G_VTABLE_LABEL_PREFIX): Likewise.
7691         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7693 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
7695         * libio/Makefile: Include ../Makeconfig before tests.
7696         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7697         only if $(build-shared) is yes.
7699         * iconv/gconv_db.c: Update copyright years.
7701 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7703         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7704         unwind info if defined PIC. Fix special cases description.
7705         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7707         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7708         DP_HI_MASK entry.
7709         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7711 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
7713         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7715         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7716         is NULL.
7718         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7719         (LDLIBS-tst-chk4): This.
7720         (LDFLAGS-tst-chk5): Renamed to ...
7721         (LDLIBS-tst-chk5): This.
7722         (LDFLAGS-tst-chk6): Renamed to ...
7723         (LDLIBS-tst-chk6): This.
7724         (LDFLAGS-tst-lfschk4): Renamed to ...
7725         (LDLIBS-tst-lfschk4): This.
7726         (LDFLAGS-tst-lfschk5): Renamed to ...
7727         (LDLIBS-tst-lfschk5): This.
7728         (LDFLAGS-tst-lfschk6): Renamed to ...
7729         (LDLIBS-tst-lfschk6): This.
7731         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7732         on $(common-objpfx)soversions.mk.
7734 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
7736         [BZ #10014]
7737         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7738         example host name.
7740 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7742         * malloc/arena.c (arena_get_retry): New function that gets
7743         another arena for the caller to try its request on.
7744         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7745         current arena cannot fulfill the request.
7746         (__libc_memalign): Likewise.
7747         (__libc_memalign): Likewise.
7748         (__libc_pvalloc): Likewise.
7749         (__libc_calloc): Likewise.
7751 2012-09-05  John Tobey  <john.tobey@gmail.com>
7753         [BZ #13542]
7754         * manual/arith.texi (Operations on Complex): Fix description
7755         of carg branch cut.
7757 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7759         [BZ #10014]
7760         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7761         host name.
7763         [BZ #10038]
7764         * manual/memory.texi (Memory): Make order of menu items match
7765         order of sections.
7767 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7769         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7770         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
7771         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7773 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7775         * csu/libc-tls.c (static_dtv): Renamed to ...
7776         (_dl_static_dtv): This.  Make it global.
7777         (_dl_initial_dtv): Removed.
7778         (__libc_setup_tls): Updated.
7779         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7780         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7781         DL_INITIAL_DTV.
7783 2012-09-06  Petr Machata  <pmachata@redhat.com>
7785         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7786         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7787         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7788         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7790 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7792         [BZ #14545]
7793         * csu/libc-tls.c (_dl_initial_dtv): New variable.
7794         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7795         freeing dtv[-1].
7797 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7799         [BZ #14544]
7800         * Makeconfig (link-static-before-libc): Replace $(+prector)
7801         with $(+prectorT).
7802         (link-static-after-libc): Replace $(+postctor) with
7803         $(+postctorT).
7804         (link-bounded): Replace $(+prector)/$(+postctor) with
7805         $(+prectorT)/$(+postctorT).
7806         (+prectorT): New macro.
7807         (+postctorT): Likewise.
7809 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7811         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7812         (round_str): Handle values above the maximum for IBM long double
7813         as inexact.
7814         * stdlib/tst-strtod-round.c (tests): Regenerated.
7816 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7818         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7819         assembler flag.
7820         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7821         zarch_nohighgprs around the zarch optimized routines.
7822         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7823         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7824         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7825         for zarch.
7827 2012-09-05  David S. Miller  <davem@davemloft.net>
7829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7831         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7832         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7833         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7834         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7835         entries.
7837 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7839         * malloc/arena.c: Fold copyright years.
7840         * malloc/mcheck.c, malloc/memusage.c: Likewise.
7842 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7844         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7846 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7848         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
7850 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7852         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7853         change internal state upon failure.
7855 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7857         * malloc/mcheck.c (mcheck_check_all): Fix typo.
7858         * malloc/memusage.c (mmap): Likewise.
7859         (mmap64, mremap): Likewise.  Adjust name in comment.
7861 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7863         * libio/fileops.c: Fix typos in comments.
7864         * libio/oldfileops.c: Likewise.
7865         * libio/wfileops.c: Likewise.
7867 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7869         [BZ #1349]
7870         * malloc/Makefile (tests): Add tst-malloc-usable test case.
7871         (tst-malloc-usable-ENV): Set environment for test case.
7872         * malloc/hooks.c (malloc_check_get_size): New function to get
7873         requested size.
7874         * malloc/malloc.c (musable): Use malloc_check_get_size.
7875         * malloc/tst-malloc-usable.c: New test case.
7877 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7879         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7881 2012-09-05  Allan McRae  <allan@archlinux.org>
7883         [BZ #13966]
7884         * configure.in (CXX_SYSINCLUDES): Use compiler output to
7885         determine header location.
7886         * configure: Regenerated.
7888 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7890         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7891         float format.
7892         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7893         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7894         format.
7895         (test): Regenerate.
7897 2012-09-04  David S. Miller  <davem@davemloft.net>
7899         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7900         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7901         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7903 2012-09-04  Florian Weimer  <fweimer@redhat.com>
7905         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7906         failures.
7908         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7910 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
7912         [BZ #9914]
7913         * libio/iogetdelim.c: Include <limits.h>.
7914         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7915         + len + 1 would overflow.
7917 2012-09-03  Andreas Jaeger  <aj@suse.de>
7919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7920         * sysdeps/i386/fpu/libm-test-ulps: Update.
7922 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7924         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7925         Add s_sinf-sse2, s_conf-sse2.
7927         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7928         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7929         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7930         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7932         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7933         for using routine as __sinf_ia32.
7934         Use macro for function declaration and weak_alias.
7935         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7936         for using routine as __cosf_ia32.
7937         Use macro for function declaration and weak_alias.
7939         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7940         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7942         * sysdeps/x86_64/fpu/s_sinf.S: New file.
7943         * sysdeps/x86_64/fpu/s_cosf.S: New file.
7944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7946         * math/libm-test.inc (cos_test): Add more test cases.
7947         (sin_test): Likewise.
7948         (sincos_test): Likewise.
7950 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7952         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7953         (IFUNC_RESOLVE): Make pointers to the specialized implementations
7954         hidden.
7955         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7957 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
7959         [BZ #14538]
7960         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7961         first element of the GOT.
7962         (elf_machine_load_address): Return the difference between
7963         the runtime address of _DYNAMIC and elf_machine_dynamic ().
7965 2012-09-01  Allan McRae  <allan@archlinux.org>
7967         [BZ #13412]
7968         * configure.in (AWK): Require gawk version 3.0 or later.
7969         * configure: Regenerated.
7971 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
7973         * sysdeps/unix/sysv/linux/kernel-features.h
7974         (__ASSUME_POSIX_CPU_TIMERS): Remove.
7975         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7976         [__NR_clock_getres]: Make code unconditional.
7977         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7978         (clock_getcpuclockid): Remove code left unreachable by removal of
7979         conditionals.
7980         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7981         code unconditional.
7982         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7983         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7984         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7985         Make code unconditional.
7986         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7987         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7988         * sysdeps/unix/sysv/linux/clock_settime.c
7989         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7990         conditional code.
7991         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7992         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7994 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
7996         [BZ #14476]
7997         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7998         scripts/test-installation.pl.
8000         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8001         and $ld_so_version if it is set.
8003 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8005         [BZ #14516]
8006         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8007         failure if reading from procfs failed.
8008         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8010 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8012         * sysdeps/unix/sysv/linux/kernel-features.h
8013         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8014         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8015         Remove conditional code.
8016         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8017         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8018         Remove conditional code.
8019         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8020         * sysdeps/unix/sysv/linux/i386/fxstat.c
8021         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8022         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8023         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8024         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8025         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8026         * sysdeps/unix/sysv/linux/i386/lxstat.c
8027         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8028         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8029         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8030         Remove conditional code.
8031         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8032         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8033         Remove conditional code.
8034         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8035         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8036         <kernel-features.h>.
8037         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8038         Remove.
8039         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8040         Remove conditional code.
8041         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8042         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8043         Remove conditional.
8045 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8047         [BZ #5400]
8048         * NEWS: Add fixed bug number.
8050 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8052         [BZ #14519]
8053         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8054         underflowing exponent in case of negative sign.
8055         * stdlib/tst-strtod-round-data: Add more tests.
8056         * stdlib/tst-strtod-round.c (tests): Regenerated.
8058         [BZ #3479]
8059         * stdlib/strtod_l.c (NDIG): Remove.
8060         (HEXNDIG): Likewise.
8061         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8062         smallest representable value.
8063         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8064         lie within an exact representation of 1/2 ulp of the result.
8065         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8066         unconditionally.
8067         (TENS_P9_IDX): Define unconditionally.
8068         (TENS_P9_SIZE): Likewise.
8069         (TENS_P10_IDX): Likewise.
8070         (TENS_P10_SIZE): Likewise.
8071         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8072         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8073         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8074         entries for 10^2^13 and 10^2^14.
8075         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8076         (TENS_P13_IDX): Define.
8077         (TENS_P13_SIZE): Likewise.
8078         (TENS_P14_IDX): Likewise.
8079         (TENS_P14_SIZE): Likewise.
8080         (_fpioconst_pow10): Change array size to
8081         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8082         unconditional.
8083         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8084         1024]: Add entries for 10^2^13 and 10^2^14.
8085         [LAST_POW10 > _LAST_POW10]: Remove #error.
8086         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8087         (_fpioconst_pow10): Change array size to
8088         FPIOCONST_POW10_ARRAY_SIZE.
8089         * stdlib/gen-fpioconst.c: New file.
8090         * stdlib/gen-tst-strtod-round.c: Likewise.
8091         * stdlib/tst-strtod-round-data: Likewise.
8092         * stdlib/tst-strtod-round.c: Likewise.
8093         * stdlib/Makefile (tests): Add tst-strtod-round.
8095         [BZ #14459]
8096         * stdlib/strtod_l.c: Include <stdint.h>.
8097         (NDEBUG): Do not define.
8098         (round_and_return): Change EXPONENT parameter to type intmax_t.
8099         Rearrange calculations to avoid internal overflow possibilities.
8100         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8101         Rearrange calculations to avoid internal overflow possibilities.
8102         Assert that number fits inside MPNSIZE limbs.
8103         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8104         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8105         calculations and add assertions to avoid internal overflow
8106         possibilities.  Add casts to avoid signed/unsigned operations.
8107         * stdlib/tst-strtod-overflow.c: New file.
8108         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8110 2012-08-25  Marek Polacek  <polacek@redhat.com>
8112         * time/time.h: Fix some typos in comments.
8114 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8116         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8117         * posix/tst-rfc3484-2.c: Likewise.
8118         * posix/tst-rfc3484-3.c: Likewise.
8120 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8122         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8123         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8125 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8127         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8128         #include of fxstatat64.c.
8130 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8132         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8133         * shadow/getspent_r.c: Likewise.
8134         * shadow/getspnam.c: Likewise.
8135         * shadow/getspnam_r.c: Likewise.
8136         * gshadow/getsgent.c: Likewise.
8137         * gshadow/getsgent_r.c: Likewise.
8138         * gshadow/getsgnam.c: Likewise.
8139         * gshadow/getsgnam_r.c: Likewise.
8140         * inet/getnetbyad.c: Likewise.
8141         * inet/getnetbyad_r.c: Likewise.
8142         * inet/getnetbynm.c: Likewise.
8143         * inet/getnetbynm_r.c: Likewise.
8144         * inet/getnetent.c: Likewise.
8145         * inet/getnetent_r.c: Likewise.
8146         * inet/getproto.c: Likewise.
8147         * inet/getproto_r.c: Likewise.
8148         * inet/getprtent.c: Likewise.
8149         * inet/getprtent_r.c: Likewise.
8150         * inet/getprtname.c: Likewise.
8151         * inet/getprtname_r.c: Likewise.
8152         * inet/getrpcbyname.c: Likewise.
8153         * inet/getrpcbyname_r.c: Likewise.
8154         * inet/getrpcbynumber.c: Likewise.
8155         * inet/getrpcbynumber_r.c: Likewise.
8156         * inet/getrpcent.c: Likewise.
8157         * inet/getrpcent_r.c: Likewise.
8158         * inet/getaliasent.c: Likewise.
8159         * inet/getaliasent_r.c: Likewise.
8160         * inet/getaliasname.c: Likewise.
8161         * inet/getaliasname_r.c: Likewise.
8162         * nscd/getgrgid_r.c: Likewise.
8163         * nscd/getgrnam_r.c: Likewise.
8164         * nscd/gethstbyad_r.c: Likewise.
8165         * nscd/gethstbynm3_r.c: Likewise.
8166         * nscd/getpwnam_r.c: Likewise.
8167         * nscd/getpwuid_r.c: Likewise.
8168         * nscd/getsrvbynm_r.c: Likewise.
8169         * nscd/getsrvbypt_r.c: Likewise.
8170         * nscd/gai.c: Likewise.
8172         * configure.in (build_nscd): New substituted variable, set
8173         by --disable-build-nscd and defaults to $use_nscd.
8174         * configure: Regenerated.
8175         * config.make.in (build-nscd): New substituted variable.
8176         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8177         Change conditional to require [$(build-nscd) = yes] as well.
8178         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8180         [BZ# 13696]
8181         * configure.in (use_nscd): New substituted variable, set by
8182         --disable-nscd.  If enabled, define USE_NSCD.
8183         * configure: Regenerated.
8184         * config.h.in: Add USE_NSCD.
8185         * config.make.in (use-nscd): New substituted variable.
8186         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8187         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8188         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8189         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8190         (CFLAGS-getgrnam_r.c): Likewise.
8191         (CFLAGS-initgroups.c): Likewise.
8192         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8193         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8194         Variables removed.
8195         * inet/getnetgrent_r.c
8196         (nscd_setnetgrent): New function, broken out of ...
8197         (setnetgrent): ... here.  Call it.
8198         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8199         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8200         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8201         * nscd/Makefile (routines, aux): Move definitions after include of
8202         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8203         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8204         Conditionalize on [USE_NSCD].
8205         (is_nscd, nscd_init_cb): Likewise.
8206         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8207         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8208         * nss/nss_db/db-init.c: Likewise.
8209         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8210         [USE_NSCD].
8211         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8212         (make_request): Use it.
8213         (cache_valid_p): New function.
8214         (__check_pf): Use it.
8215         * NEWS: Add item for --disable-nscd.
8217 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8219         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8220         to support sed >= 4.2.1-20-ga9bf076.
8221         * configure: Regenerated.
8223 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8225         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8226         Conditionalize whole body on [IREL].
8228 2012-08-22  Jeff Law <law@redhat.com>
8230         [BZ #14505]
8231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8232         if the family is PF_UNSPEC.
8234 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8236         * Makerules (lib-version): Rename from V.
8237         (install-lib-nosubdir): Change V to lib-version.
8239 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8241         [BZ #14252]
8242         * powerpc32/power6/wcschr.c: New file.
8243         * powerpc32/power6/wcscpy.c: New file.
8244         * powerpc32/power6/wcsrchr.c: New file.
8245         * powerpc64/power6/wcschr.c: New file.
8246         * powerpc64/power6/wcscpy.c: New file.
8247         * powerpc64/power6/wcsrchr.c: New file.
8249 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8251         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8252         (two_way_short_needle): Use it.
8253         * string/strstr.c (AVAILABLE1_USES_J): Define.
8254         * string/strcasestr.c: Likewise.
8256         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8257         array references.
8258         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8260         [BZ #11607]
8261         * NEWS: Add an entry.
8262         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8263         define their defaults.
8264         (two_way_short_needle): Detect end-of-string on-the-fly.
8265         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8266         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8267         * string/bug-strcasestr1.c: New test.
8268         * string/Makefile: Run it.
8270 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8272         [BZ #11607]
8273         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8274         the first character.
8276 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8278         * csu/elf-init.c (__libc_csu_irel): Function removed.
8279         * csu/libc-start.c (apply_irel): New function.
8280         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8282 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8284         * sysdeps/unix/sysv/linux/kernel-features.h
8285         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8286         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8287         <kernel-features.h>.
8288         [__NR_fadvise64_64]: Make code unconditional.
8289         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8290         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8291         !__NR_fadvise64_64)]: Likewise.
8292         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8293         !__NR_fadvise64_64))]: Likewise.
8294         [__NR_fadvise64]: Make code unconditional.
8295         [!__NR_fadvise64]: Remove conditional code.
8296         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8297         <kernel-features.h>.
8298         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8299         unconditional.
8300         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8301         conditional code.
8302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8303         not include <kernel-features.h>.
8304         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8305         unconditional.
8306         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8307         conditional code.
8308         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8309         include <kernel-features.h>.
8310         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8311         unconditional.
8312         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8313         conditional code.
8315 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8317         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8318         slight instruction rearrangements per scrollpipe analysis.
8319         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8321 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8323         * manual/syslog.texi (syslog; vsyslog, closelog):
8324         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8325         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8327         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8328         DSOCAPS to match condition on defining it.
8330 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8332         * sysdeps/unix/sysv/linux/kernel-features.h
8333         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8335         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8336         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8338         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8339         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8341         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8342         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8344         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8345         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8347         * sysdeps/unix/sysv/linux/kernel-features.h
8348         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8349         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8350         unconditional.
8351         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8352         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8353         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8354         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8355         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8356         Make code unconditional.
8357         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8358         (__mmap64) [!__NR_mmap2]: Likewise.
8359         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8360         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8361         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8362         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8363         [__NR_mmap2]: Make code unconditional.
8364         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8365         (__mmap64) [!__NR_mmap2]: Likewise.
8367 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8369         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8371 2012-08-18  Andreas Jaeger  <aj@suse.de>
8373         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8375 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8377         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8378         * include/unistd.h (__have_sock_cloexec): Likewise.
8379         (__have_pipe2): Likewise.
8380         (__have_dup3): Likewise.
8382 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8384         [BZ #9685]
8385         * include/unistd.h (__have_pipe2): Change define into an extern int.
8386         (__have_dup3): Likewise.
8387         * socket/have_sock_cloexec.c: Include fcntl.h.
8388         (__have_pipe2): New variable.
8389         (__have_dup3): Likewise.
8391 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
8393         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8395 2012-08-17  Marek Polacek  <polacek@redhat.com>
8397         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8398         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8400 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8402         * configure.in: Add AC_SUBST for sysheaders.
8403         * configure: Regenerated.
8404         * config.make.in (sysheaders): New substituted variable.
8406         * sysdeps/unix/mkfifo.c: Moved ...
8407         * sysdeps/posix/mkfifo.c: ... here.
8408         * sysdeps/unix/mkfifoat.c: Moved ...
8409         * sysdeps/posix/mkfifoat.c: ... here.
8411         * sysdeps/unix/utime.c: Moved ...
8412         * sysdeps/posix/utime.c: ... here.
8414         * sysdeps/unix/time.c: Moved ...
8415         * sysdeps/posix/time.c: ... here.
8416         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8417         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8419         * sysdeps/unix/nice.c: Moved ...
8420         * sysdeps/posix/nice.c: ... here.
8422         * sysdeps/unix/alarm.c: Moved ...
8423         * sysdeps/posix/alarm.c: ... here.
8425         * intl/Makefile ($(codeset_mo)): Depend on the input file.
8427 2012-08-17  Jeff Law <law@redhat.com>
8429         * intl/Makefile (codeset_mo): New variable.
8430         ($(codeset_mo)): New target.
8431         (tst-codeset.out): Depend on that.  Remove explicit rule.
8432         (tst-gettext3.out, tst-gettext5.out): Likewise.
8433         (LOCPATH-ENV, tst-codeset-ENV): New variables.
8434         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8435         * intl/tst-codeset.sh: Remove.
8436         * intl/tst-gettext3.sh: Likewise.
8437         * intl/tst-gettext5.sh: Likewise.
8439 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8441         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
8442         * sysdeps/unix/syscalls.list: ... here.
8444         * sysdeps/posix/getaddrinfo.c
8445         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8446         (gaiconf_init, gaiconf_reload): Use them.
8447         [!_STATBUF_ST_NSEC]
8448         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8449         Define using time_t rather than struct timespec.
8451         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8452         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8453         Macros removed.
8454         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8455         [!NO_THREADS].
8456         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8457         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8458         Likewise.
8460         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8461         __libc_cleanup_push argument.
8463         * bits/param.h: New file.
8464         * misc/sys/param.h: New file.
8465         * include/sys/param.h: New file.
8466         * misc/Makefile (headers): Add bits/param.h.
8467         * sysdeps/generic/sys/param.h: File removed.
8468         * sysdeps/unix/sysv/linux/bits/param.h: New file.
8469         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8470         * sysdeps/mach/hurd/bits/param.h: New file.
8471         * sysdeps/mach/hurd/sys/param.h: File removed.
8473         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8474         last change.
8476         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8477         [_IO_MTSAFE_IO].
8478         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8479         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8480         New macros.
8482         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8483         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8484         rather than -D_IO_MTSAFE_IO conditionally.
8485         * stdio-common/Makefile (CPPFLAGS): Likewise.
8486         * wcsmbs/Makefile (CPPFLAGS): Likewise.
8487         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8488         Use $(libio-mtsafe).
8489         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8490         of -D_IO_MTSAFE_IO.
8491         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8492         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8493         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8494         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8495         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8496         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8497         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8498         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8499         (CFLAGS-fread_u_chk.c): Likewise.
8500         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8501         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8502         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8503         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8504         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8505         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8506         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8507         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8508         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8510         * libio/Makefile: Test [$(libc-reentrant) = yes]
8511         instead of [$(filter %REENTRANT, $(defines)) nonempty].
8513         * Makeconfig
8514         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8515         * sysdeps/pthread/configure: File removed.
8516         * sysdeps/pthread/Makeconfig: New file.
8517         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8518         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8520 2012-08-16  Gary Benson  <gbenson@redhat.com>
8522         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8523         unmapping the first object in a namespace.
8525 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8527         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8528         (__internal_setnetgrent): ... this.  Add internal_function to
8529         definition.  Add libc_hidden_def.
8530         (setnetgrent): Update caller.
8531         (internal_endnetgrent): Renamed to ...
8532         (__internal_endnetgrent): ... this.  Add internal_function to
8533         definition.  Add libc_hidden_def.
8534         (endnetgrent): Update caller.
8535         (internal_getnetgrent_r): Renamed to ...
8536         (__internal_getnetgrent_r): ... this.  Add internal_function to
8537         definition.  Add libc_hidden_def.
8538         (__getnetgrent_r): Update caller.
8539         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
8541 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8543         * stdlib/longlong.h: Update from GCC.
8545 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8547         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8548         on _QL, which is set by umul_ppmm but never used.
8549         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8550         variables, which are set by GMP macros but never used.
8551         * stdio-common/_itowa.c (_itowa): Likewise.
8552         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8553         * stdlib/mod_1.c (mpn_mod_1): Likewise.
8555 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
8557         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8558         struct La_sh_regs is not constant.
8559         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8560         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8561         and struct La_sparc64_regs are not constant.
8563 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8565         * sysdeps/unix/sysv/linux/kernel-features.h
8566         (__ASSUME_POSIX_TIMERS): Remove.
8567         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8568         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8569         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8570         Make code unconditional.
8571         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8572         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8573         Make code unconditional.
8574         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8575         * sysdeps/unix/sysv/linux/clock_nanosleep.c
8576         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8577         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8578         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8579         Make code unconditional.
8580         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8581         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8582         (__libc_missing_posix_timers): Remove.
8584 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8586         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8587         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8589         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8591         * elf/dl-sym.c: Include <stdlib.h>.
8593         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8594         constants, which avoids warnings in 32-bit builds.
8596         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8597         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8599         * misc/lseek.c: File moved to ...
8600         * io/lseek.c: ... here.
8602         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8604         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8605         shifting LEN more than 31 bits at once.
8607 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8609         [BZ #14195]
8610         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8611         segmentation fault for a case of two empty input strings.
8612         * string/test-strncasecmp.c (check1): Renamed to...
8613         (bz12205): ...this.
8614         (bz14195): Add new testcase for two empty input strings and N > 0.
8615         (test_main): Call new testcase, adapt for renamed function.
8617 2012-08-15  Andreas Jaeger  <aj@suse.de>
8619         [BZ #14090]
8620         * crypt/md5test2.c: New test, based on test supplied by Serge
8621         Belyshev <belyshev@depni.sinp.msu.ru>.
8622         * crypt/Makefile (xtests): Add md5test-giant..
8623         * crypt/Makefile ($(objpfx)md5test-giant): Add.
8625 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
8627         [BZ #14090]
8628         * crypt/md5.c (md5_process_block): Don't assume the buffer
8629         length is less than 2**32.
8630         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8631         length is less than 2**64.
8633 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8635         * string/str-two-way.h: Include <sys/param.h>.
8636         (MAX): Macro removed.
8638         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8639         Move #define and #undef of memmove to just before and after
8640         including <string.h>.
8642         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8643         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8644         and after including <string.h>.  Move declarations of
8645         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8646         to before #include "string/memmove.c".
8648         * include/dirent.h: Declare __getdirentries.
8650         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8651         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8653 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
8655         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8656         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8657         * sysdeps/i386/configure: Regenerated.
8658         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8659         STABS_CURRENT_FILE, and STABS_FUN.
8660         (END): Remove call to STABS_FUN_END.
8661         (STABS_CURRENT_FILE1): Delete.
8662         (STABS_CURRENT_FILE): Likewise.
8663         (STABS_FUN): Likewise.
8664         (STABS_FUN_END): Likewise.
8665         (STABS_FUN2): Likewise.
8666         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8667         * sysdeps/x86_64/configure: Regenerated.
8669 2012-08-14  Roland McGrath  <roland@hack.frob.com>
8671         * elf/dl-open.c: Include <atomic.h>.
8672         * elf/dl-lookup.c: Likewise.
8674 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
8676         * sysdeps/unix/sysv/linux/kernel-features.h
8677         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8678         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8679         unconditionally.
8680         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8681         unconditionally.
8682         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8683         condition on __ASSUME_CLONE_THREAD_FLAGS.
8685 2012-08-14  Andreas Jaeger  <aj@suse.de>
8687         * sysdeps/i386/fpu/libm-test-ulps: Update.
8689 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
8691         * include/atomic.h (atomic_exchange_and_add): Split into ...
8692         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8693         New atomic macros.
8695 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
8697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8699 2012-08-13  Jeff Law <law@redhat.com>
8701         * manual/stdio.texi (snprintf): Clarify handling of the trailing
8702         null byte in the output string.
8704 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
8706         * sysdeps/unix/sysv/linux/kernel-features.h
8707         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8708         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8709         (__ASSUME_ARG_MAX_STACK_BASED): Define.
8710         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8711         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8712         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
8713         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8715 2012-08-09  Jeff Law <law@redhat.com>
8717         [BZ #13939]
8718         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8719         When avoid_arena is set, don't retry in the that arena.  Pick the
8720         next one, whatever it might be.
8721         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8722         (arena_lock): Pass in new parameter to arena_get2.
8723         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8724         arena_get2.
8725         (__libc_malloc): Unify retrying after main arena failure with
8726         __libc_memalign version.
8727         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8729 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8731         [BZ #14166]
8732         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8733         to __redirect_strstr.
8734         (__strstr_sse42): Use typeof __redirect_strstr.
8735         (__strstr_ia32): Likewise.
8736         (__libc_strstr): New prototype.
8737         (strstr): Renamed to ...
8738         (__libc_strstr): This.
8739         (strstr): New strong alias of __libc_strstr.
8740         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8741         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8742         __redirect_time.
8743         Include <time.h>.
8744         (__libc_time): New prototype.
8745         (time_ifunc): Replace time with __libc_time.
8746         (time): New strong alias and hidden definition of __libc_time.
8747         (__GI_time): Remove strong alias.
8748         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8749         Include <stddef.h>.
8750         (memmove): Redefined to __redirect_memmove.
8751         (__memmove_sse2): Use typeof __redirect_memmove.
8752         (__memmove_ssse3): Likewise.
8753         (__memmove_ssse3_back): Likewise.
8754         (__libc_memmove): New prototype.
8755         (memmove): Renamed to ...
8756         (__libc_memmove): This.
8757         (memmove): New strong alias of __libc_memmove.
8759 2012-08-08  Mark Salter  <msalter@redhat.com>
8761         * elf/elf.h
8762         (R_MN10300_TLS_GD): Define.
8763         (R_MN10300_TLS_LD): Likewise.
8764         (R_MN10300_TLS_LDO): Likewise.
8765         (R_MN10300_TLS_GOTIE): Likewise.
8766         (R_MN10300_TLS_IE): Likewise.
8767         (R_MN10300_TLS_LE): Likewise.
8768         (R_MN10300_TLS_DTPMOD): Likewise.
8769         (R_MN10300_TLS_DTPOFF): Likewise.
8770         (R_MN10300_TLS_TPOFF): Likewise.
8771         (R_MN10300_SYM_DIFF): Likewise.
8772         (R_MN10300_ALIGN): Likewise.
8773         (R_MN10300_NUM): Update.
8775 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
8777         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8778         Remove.
8780 2012-08-08  Roland McGrath  <roland@hack.frob.com>
8782         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8784         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8785         sysdeps/unix -> sysdeps/posix move.
8786         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8788 2012-08-07      Allan McRae     <allan@archlinux.org>
8790         [BZ #14303]
8791         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8792         (SUNOS_CPP): Likewise.
8793         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8794         not found.
8795         (open_input): Call CPP using execvp.
8797 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8799         * sysdeps/unix/sysv/linux/kernel-features.h
8800         (__ASSUME_PROT_GROWSUPDOWN): Remove.
8801         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8802         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8803         (__ASSUME_WAITID_SYSCALL): Likewise.
8804         * sysdeps/unix/sysv/linux/dl-execstack.c
8805         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8806         code unconditional.
8807         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8808         conditional code.
8809         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8810         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8811         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8812         code.
8813         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8814         unconditional.
8815         [__ASSUME_WAITID_SYSCALL]: Likewise.
8816         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8818 2012-08-07  Roland McGrath  <roland@hack.frob.com>
8820         * sysdeps/unix/closedir.c: Renamed to ...
8821         * sysdeps/posix/closedir.c: ... here.
8822         * sysdeps/unix/dirfd.c: Renamed to ...
8823         * sysdeps/posix/dirfd.c: ... here.
8824         * sysdeps/unix/dirstream.h: Renamed to ...
8825         * sysdeps/posix/dirstream.h: ... here.
8826         * sysdeps/unix/fdopendir.c: Renamed to ...
8827         * sysdeps/posix/fdopendir.c: ... here.
8828         * sysdeps/unix/opendir.c: Renamed to ...
8829         * sysdeps/posix/opendir.c: ... here.
8830         * sysdeps/unix/readdir.c: Renamed to ...
8831         * sysdeps/posix/readdir.c: ... here.
8832         * sysdeps/unix/readdir_r.c: Renamed to ...
8833         * sysdeps/posix/readdir_r.c: ... here.
8834         * sysdeps/unix/rewinddir.c: Renamed to ...
8835         * sysdeps/posix/rewinddir.c: ... here.
8836         * sysdeps/unix/seekdir.c: Renamed to ...
8837         * sysdeps/posix/seekdir.c: ... here.
8838         * sysdeps/unix/telldir.c: Renamed to ...
8839         * sysdeps/posix/telldir.c: ... here.
8840         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8841         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8842         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8843         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8845         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8846         * bits/fcntl.h: ... here.
8848         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8849         not 0.
8850         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8851         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8852         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8853         (struct flock): Move l_start, l_len to the beginning.
8854         Use __pid_t for l_pid.
8855         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8856         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8857         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8858         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8859         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8860         [__USE_LARGEFILE64] (struct flock64): New type.
8861         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8863         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8864         * bits/dirent.h: ... here.
8866         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8867         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8869 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8871         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8872         Change from 2.6.0 to 2.6.16.
8873         * sysdeps/unix/sysv/linux/configure: Regenerated.
8874         * sysdeps/unix/sysv/linux/kernel-features.h
8875         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8876         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8877         version.
8878         (__ASSUME_UTIMES): Likewise.
8879         (__ASSUME_CLONE_STOPPED): Remove.
8880         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8881         architectures, not kernel version.
8882         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8883         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8884         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8885         (__ASSUME_WAITID_SYSCALL): Likewise.
8886         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8887         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8888         * README: State 2.6.16 as minimum Linux kernel version.  Do not
8889         refer to older versions.
8891 2012-08-06  Roland McGrath  <roland@hack.frob.com>
8893         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8894         Define alphasort64 as an alias.
8895         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8896         Define versionsort64 as an alias.
8897         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8898         Define scandir64 as an alias.
8899         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8900         Define scandirat64 as an alias.
8901         * dirent/alphasort64.c (alphasort64):
8902         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8903         * dirent/versionsort64.c: Likewise.
8904         * dirent/scandir64.c: Likewise.
8905         * dirent/scandirat64.c: Likewise.
8906         * sysdeps/wordsize-64/alphasort.c: File removed.
8907         * sysdeps/wordsize-64/alphasort64.c: File removed.
8908         * sysdeps/wordsize-64/scandir.c: File removed.
8909         * sysdeps/wordsize-64/scandir64.c: File removed.
8910         * sysdeps/wordsize-64/scandirat.c: File removed.
8911         * sysdeps/wordsize-64/scandirat64.c: File removed.
8912         * sysdeps/wordsize-64/versionsort.c: File removed.
8913         * sysdeps/wordsize-64/versionsort64.c: File removed.
8914         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8915         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8916         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8917         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8918         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8919         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8920         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8921         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8923         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8924         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8925         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8926         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8927         [defined __arch64__ || defined __sparcv9]
8928         (__INO_T_MATCHES_INO64_T): New macro.
8929         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8930         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8931         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8932         * sysdeps/unix/sysv/linux/bits/dirent.h
8933         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8934         (_DIRENT_MATCHES_DIRENT64): New macro.
8936         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8937         Define lockf64 as an alias.
8938         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8939         Define fseeko64 as an alias.
8940         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8941         Define ftello64 as an alias.
8942         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8943         Define _IO_fgetpos64 and fgetpos64 as aliases.
8944         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8945         Define _IO_fsetpos64 and fsetpos64 as aliases.
8946         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8947         Conditionalize body on this.
8948         * libio/fseeko64.c: Likewise.
8949         * libio/ftello64.c: Likewise.
8950         * libio/iofgetpos64.c: Likewise.
8951         * libio/iofsetpos64.c: Likewise.
8952         * sysdeps/wordsize-64/lockf.c: File removed.
8953         * sysdeps/wordsize-64/lockf64.c: File removed.
8954         * sysdeps/wordsize-64/fseeko.c: File removed.
8955         * sysdeps/wordsize-64/fseeko64.c: File removed.
8956         * sysdeps/wordsize-64/ftello.c: File removed.
8957         * sysdeps/wordsize-64/ftello64.c: File removed.
8958         * sysdeps/wordsize-64/iofgetpos.c: File removed.
8959         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8960         * sysdeps/wordsize-64/iofsetpos.c: File removed.
8961         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8962         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8963         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8964         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8965         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8966         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8967         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8968         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8969         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8970         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8971         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8973         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8974         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8975         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8976         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8977         [defined __arch64__ || defined __sparcv9]
8978         (__OFF_T_MATCHES_OFF64_T): New macro.
8979         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8980         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8981         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8982         (__OFF_T_MATCHES_OFF64_T): New macro.
8984 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8986         * stdlib/secure-getenv.c (__secure_getenv): Replace
8987         GLIBC_2_16 with GLIBC_2_17.
8989 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8991         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8992         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8994 2012-08-03  David S. Miller  <davem@davemloft.net>
8996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8998 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9000         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9001         Remove.
9002         (__ASSUME_CORRECT_SI_PID): Likewise.
9003         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9004         (__ASSUME_TMPFS_NAME): Likewise.
9005         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9006         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9007         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9008         (HAVE_AUX_SECURE): Make definition unconditional.
9009         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9010         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9012 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9014         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9015         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9016         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9017         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9018         __eloop_threshold instead of SYMLOOP_MAX.
9020         * sysdeps/generic/eloop-threshold.h: New file.
9021         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9022         of MAXSYMLINKS.
9023         * elf/chroot_canon.c (chroot_canon): Likewise.
9025 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9027         [BZ #13717]
9028         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9029         Change to 2.6.0 everywhere.
9030         * sysdeps/unix/sysv/linux/configure: Regenerated.
9031         * sysdeps/unix/sysv/linux/kernel-features.h
9032         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9033         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9034         kernel versions.
9035         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9036         (__ASSUME_FUTEX_REQUEUE): Remove.
9037         (__ASSUME_STATFS64): Define unconditionally.
9038         (__ASSUME_AT_SECURE): Likewise.
9039         (__ASSUME_CORRECT_SI_PID): Likewise.
9040         (__ASSUME_TGKILL): Define without depending on kernel version for
9041         i386.
9042         (__ASSUME_UTIMES): Likewise.
9043         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9044         kernel version.
9045         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9046         (__ASSUME_TMPFS_NAME): Likewise.
9047         * README: Update reference to Linux kernel versions.
9049 2012-08-02  Marek Polacek  <polacek@redhat.com>
9051         [BZ# 14150]
9052         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9053         libc_cv_asm_type_prefix with %.
9054         * configure: Regenerated.
9055         * include/libc-symbols.h: Remove comment about
9056         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9057         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9058         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9059         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9060         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9061         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9062         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9063         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9064         * elf/tst-unique2mod1.c: Likewise.
9065         * elf/tst-unique1mod2.c: Likewise.
9066         * elf/tst-unique1mod1.c: Likewise.
9067         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9068         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9069         Replace ASM_TYPE_DIRECTIVE with .type.
9070         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9071         * sysdeps/i386/sysdep.h: Likewise.
9072         * sysdeps/x86_64/sysdep.h: Likewise.
9073         * sysdeps/sh/sysdep.h: Likewise.
9074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9075         Do not define ASM_TYPE_DIRECTIVE.
9076         * sysdeps/powerpc/sysdep.h: Likewise.
9077         * sysdeps/powerpc/powerpc32/sysdep.h:
9078         Replace ASM_TYPE_DIRECTIVE with .type.
9079         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9080         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9081         * sysdeps/i386/fpu/e_powf.S: Likewise.
9082         * sysdeps/i386/fpu/e_expl.S: Likewise.
9083         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9084         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9085         * sysdeps/i386/fpu/e_pow.S: Likewise.
9086         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9087         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9088         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9089         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9090         * sysdeps/i386/fpu/e_log2.S: Likewise.
9091         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9092         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9093         * sysdeps/i386/fpu/e_powl.S: Likewise.
9094         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9095         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9096         * sysdeps/i386/fpu/e_logl.S: Likewise.
9097         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9098         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9099         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9100         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9101         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9102         * sysdeps/i386/fpu/e_log.S: Likewise.
9103         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9104         * sysdeps/i386/fpu/e_logf.S: Likewise.
9105         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9106         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9107         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9108         * sysdeps/i386/fpu/e_log10.S: Likewise.
9109         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9110         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9111         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9112         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9113         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9114         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9115         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9116         * sysdeps/i386/i686/strtok.S: Likewise.
9117         * sysdeps/i386/i386-mcount.S: Likewise.
9118         * sysdeps/i386/strtok.S: Likewise.
9119         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9120         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9121         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9122         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9123         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9124         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9125         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9126         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9127         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9128         * sysdeps/x86_64/_mcount.S: Likewise.
9129         * sysdeps/x86_64/strtok.S: Likewise.
9130         * sysdeps/sh/_mcount.S: Likewise.
9132 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9134         * libio/iofopen.c: Include <fcntl.h>.
9135         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9136         (_IO_fopen64, fopen64): Define as aliases.
9137         * libio/iofopen64.c: Include <fcntl.h>.
9138         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9139         Conditionalize body on this.
9140         * sysdeps/wordsize-64/iofopen.c: File removed.
9141         * sysdeps/wordsize-64/iofopen64.c: File removed.
9143 2012-08-01  Marek Polacek  <polacek@redhat.com>
9145         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9146         Use dlfcn directly instead of a variable.
9147         (binfmt-subdir): Do not define.
9148         (dlfcn): Likewise.
9150 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9152         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9153         Remove all definitions.
9154         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9155         <kernel-features.h>.
9156         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9157         (miss_F_GETOWN_EX): Remove all definitions.
9158         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9159         macro definition.
9160         [!__ASSUME_FCNTL64]: Remove conditional code.
9161         [__ASSUME_FCNTL64]: Make code unconditional.
9162         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9163         <kernel-features.h>.
9164         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9165         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9166         (lockf64) [__NR_fcntl64]: Make code unconditional.
9167         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9169         * sysdeps/unix/sysv/linux/kernel-features.h
9170         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9171         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9172         Make code unconditional.
9173         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9174         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9176         [__NR_vfork]: Make code unconditional.
9177         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9178         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9180         [__NR_vfork]: Make code unconditional.
9181         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9182         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9184 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9186         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9187         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9189         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9190         Define mkstemp64 as an alias.
9191         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9192         Define mkstemps64 as an alias.
9193         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9194         Define mkostemp64 as an alias.
9195         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9196         Define mkostemps64 as an alias.
9197         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9198         Conditionalize body on this.
9199         * misc/mkostemp64.c: Likewise.
9200         * misc/mkostemps64.c: Likewise.
9201         * misc/mkstemps64.c: Likewise.
9202         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9203         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9204         * sysdeps/wordsize-64/mkostemp.c: File removed.
9205         * sysdeps/wordsize-64/mkstemp.c: File removed.
9206         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9207         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9208         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9209         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9211         [BZ #14138]
9212         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9213         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9214         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9215         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9217         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9218         compat_symbol macros from <shlib-compat.h> rather than the underlying
9219         default_symbol_version and symbol_version macros, so that DEFAULT
9220         lines in shlib-versions are respected.
9221         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9223 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9225         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9226         Declare with warn_unused_result.
9227         (setgid, setregid, setegid, setresgid): Likewise.
9228         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9229         Likewise.
9230         * WUR-REPORT: Remove set*id functions.
9232 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9234         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9236 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9238         * include/sys/socket.h (__libc_accept, __libc_accept4):
9239         Add attribute_hidden.
9240         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9242         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9243         use of PTR_MANGLE.
9244         * inet/getnetgrent_r.c (setup): Likewise.
9246         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9248 2012-07-31  David S. Miller  <davem@davemloft.net>
9250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9252 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9254         [BZ #13629]
9255         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9256         value between 1.0 and 2.0 and smaller part has absolute value less
9257         than 1.0.
9258         * math/s_clog10.c (__clog10): Likewise.
9259         * math/s_clog10f.c (__clog10f): Likewise.
9260         * math/s_clog10l.c (__clog10l): Likewise.
9261         * math/s_clogf.c (__clogf): Likewise.
9262         * math/s_clogl.c (__clogl): Likewise.
9263         * math/libm-test.inc (clog_test): Add more tests.
9264         (clog10_test): Likewise.
9265         * sysdeps/i386/fpu/libm-test-ulps: Update.
9266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9268 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9270         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9271         Exit with zero in case no suitable GID is found, and write a
9272         message to standard error.
9274 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9276         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9277         rather than to 1.
9278         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9279         (MAXPATHLEN): Removed.
9280         (NOGROUP, NODEV): New macros.
9281         (setbit, clrbit, isset, isclr): New macros.
9282         (howmany, roundup, powerof2): New macros.
9283         (DEV_BSIZE): New macro.
9285         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9286         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9288         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9289         definition on [!__NO_LONG_DOUBLE_MATH].
9291         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9292         PTR_MANGLE and PTR_DEMANGLE.
9294         * socket/accept4.c (accept4): Rename to __libc_accept4.
9295         Define accept4 as a weak alias.
9297         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9298         on [_DIRENT_HAVE_D_TYPE].
9299         * io/ftw.c (ftw_dir): Likewise.
9301         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9303         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9305         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9306         Use the BSD numbers rather than the arbitrary ones we had.
9307         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9308         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9309         (SIGXCPU, SIGXFSZ): New macros.
9310         (_NSIG): Now 32.
9312         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9313         initializer on [_LIBC_REENTRANT].
9315         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9316         definitions inside [_POSIX_MAPPED_FILES].
9318         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9320         * dirent/opendir.c: Include <fcntl.h>.
9322         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9323         (__libc_getspecific): Likewise.
9324         (__libc_key_create): Likewise.
9326         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9327         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9328         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9329         (tmpfile64): Define as alias.
9330         * sysdeps/wordsize-64/tmpfile.c: File removed.
9331         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9332         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9333         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9335         * stdio-common/vfscanf.c: Include <stdbool.h>.
9336         * nss/makedb.c: Likewise.
9337         * stdio-common/_i18n_number.h: Likewise.
9338         * argp/argp-help.c: Likewise.
9339         * posix/wordexp.c: Likewise.
9340         * sysdeps/posix/spawni.c: Likewise.
9341         * nss/nss_files/files-initgroups.c: Likewise.
9342         * stdio-common/reg-modifier.c: Include <stdlib.h>.
9343         * nss/nss_files/files-initgroups.c: Likewise.
9344         * nss/nss_db/db-netgrp.c: Likewise.
9345         * nss/nss_db/db-initgroups.c: Likewise.
9346         * io/fchmodat.c: Include <sys/stat.h>.
9348         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9349         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9351         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9352         [HAVE_MMAP].
9354         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9355         Add multiple inclusion protection.
9357 2012-07-27  David S. Miller  <davem@davemloft.net>
9359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9361 2012-07-27  Gary Benson  <gbenson@redhat.com>
9363         [BZ #14298]
9364         * elf/rtld.c: Include <stap-probe.h>.
9365         (dl_main): Added static probes "init_start" and "init_complete".
9366         * elf/dl-load.c: Include <stap-probe.h>.
9367         (lose): Take new parameter "nsid".
9368         Added static probe "map_failed".
9369         (_dl_map_object_from_fd): Pass namespace id to lose.
9370         Added static probe "map_start".
9371         (open_verify): Pass namespace id to lose.
9372         * elf/dl-open.c: Include <stap-probe.h>.
9373         (dl_open_worker) Added static probes "map_complete", "reloc_start"
9374         and "reloc_complete".
9375         * elf/dl-close.c: Include <stap-probe.h>.
9376         (_dl_close_worker): Added static probes "unmap_start" and
9377         "unmap_complete".
9378         * elf/rtld-debugger-interface.txt: New file documenting the above.
9380 2012-07-26  Roland McGrath  <roland@hack.frob.com>
9382         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9383         rather than a string variable.
9384         * sunrpc/rpc_main.c (h_output): Likewise.
9385         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9387 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
9389         * inet/check_native.c: New file.
9391 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
9393         [BZ #13629]
9394         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9395         if larger part has absolute value 1.0.
9396         * math/s_clog10.c (__clog10): Likewise.
9397         * math/s_clog10f.c (__clog10f): Likewise.
9398         * math/s_clog10l.c (__clog10l): Likewise.
9399         * math/s_clogf.c (__clogf): Likewise.
9400         * math/s_clogl.c (__clogl): Likewise.
9401         * math/libm-test.inc (clog_test): Add more tests.
9402         (clog10_test): Likewise.
9403         * sysdeps/i386/fpu/libm-test-ulps: Update.
9404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9406         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9407         (pltexit): Likewise.
9408         (La_regs): Likewise.
9409         (La_retval): Likewise.
9410         (int_retval): Likewise.
9411         Update #error for removed macros to refer only to definitions in
9412         tst-audit.h.
9413         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9414         macro.
9415         (pltexit): Likewise.
9416         (La_regs): Likewise.
9417         (La_retval): Likewise.
9418         (int_retval): Likewise.
9419         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9420         macro.
9421         (pltexit): Likewise.
9422         (La_regs): Likewise.
9423         (La_retval): Likewise.
9424         (int_retval): Likewise.
9425         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9426         macro.
9427         (pltexit): Likewise.
9428         (La_regs): Likewise.
9429         (La_retval): Likewise.
9430         (int_retval): Likewise.
9431         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9432         macro.
9433         (pltexit): Likewise.
9434         (La_regs): Likewise.
9435         (La_retval): Likewise.
9436         (int_retval): Likewise.
9437         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9438         macro.
9439         (pltexit): Likewise.
9440         (La_regs): Likewise.
9441         (La_retval): Likewise.
9442         (int_retval): Likewise.
9443         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9444         macro.
9445         (pltexit): Likewise.
9446         (La_regs): Likewise.
9447         (La_retval): Likewise.
9448         (int_retval): Likewise.
9449         * sysdeps/generic/tst-audit.h: Update comment to refer only to
9450         macro definitions in tst-audit.h.
9451         * sysdeps/i386/tst-audit.h: New file.
9452         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9453         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9454         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9455         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9456         * sysdeps/sh/tst-audit.h: Likewise.
9457         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9458         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9459         * sysdeps/x86_64/tst-audit.h: Likewise.
9461 2012-07-26  Andreas Jaeger  <aj@suse.de>
9463         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9464         ptrace.
9466         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9467         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9468         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9469         PTRACE_O_MASK.
9470         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9471         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9472         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9474         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9475         value.
9477         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9478         _sigsys.
9479         (si_call_addr, si_syscall, si_arch): Define new macro.
9480         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9481         _sigsys.
9482         (si_call_addr, si_syscall, si_arch): Define new marcro.
9483         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9484         _sigsys.
9485         (si_call_addr, si_syscall, si_arch): Define new macro.
9486         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9487         _sigsys.
9488         (si_call_addr, si_syscall, si_arch): Define new macro.
9490 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9492         [BZ #13717]
9493         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9494         Change to 2.4.21 where previously 2.4.1.
9495         * sysdeps/unix/sysv/linux/configure: Regenerated.
9496         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9497         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9498         Linux kernel version.
9499         (__ASSUME_STD_AUXV): Remove.
9500         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9501         kernel version.
9502         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9503         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9504         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9505         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9506         (__ASSUME_NETLINK_SUPPORT): Likewise.
9507         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9508         (__no_netlink_support): Remove conditional definition.
9509         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9510         Remove.
9511         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9512         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9513         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9514         (if_nameindex_ioctl): Remove.
9515         (if_nameindex_netlink): Do not handle __no_netlink_support.
9516         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9517         code.
9518         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9519         Remove conditional code.
9520         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9521         code.
9522         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9523         unconditional.
9524         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9525         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9526         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9527         Remove.
9528         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9529         [!__ASSUME_STD_AUXV]: Remove conditional code.
9530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9531         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9532         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9534         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9535         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9536         code.
9537         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9539         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9540         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9541         conditional code.
9542         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9544         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9545         code.
9546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9547         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9548         conditional code.
9549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9550         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9551         code unconditional.
9552         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9553         conditional code.
9554         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9555         unconditional.
9556         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9557         conditional code.
9558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9559         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9560         unconditional.
9561         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9562         conditional code.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9564         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9565         code unconditional.
9566         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9567         conditional code.
9568         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9569         unconditional.
9570         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9571         conditional code.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9573         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9574         code unconditional.
9575         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9576         conditional code.
9577         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9578         unconditional.
9579         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9580         conditional code.
9582 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
9584         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9585         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9586         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9587         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9588         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9589         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9590         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9591         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9592         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9593         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9594         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9595         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9596         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9597         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9598         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9599         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9600         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9601         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9602         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9604         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9605         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9606         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9608 2012-07-25  Florian Weimer  <fweimer@redhat.com>
9610         * Versions.def: Add GLIBC_2.17.
9611         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9612         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9613         Introduce __libc_secure_getenv.
9614         * stdlib/Versions (2.17): Add secure_getenv
9615         (GLIBC_PRIVATE): Add __libc_secure_getenv.
9616         * stdlib/secure-getenv.c: Rename __secure_getenv to
9617         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
9618         symbol __secure_getenv for GLIBC_2.0.
9619         * stdlib/tst-secure-getenv.c: New.
9620         * stdlib/Makefile (tests): Add testcase.
9621         * manual/startup.texi (Environment Access): Document
9622         secure_getenv.
9623         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9624         __libc_secure_getenv.
9625         * inet/ruserpass.c (ruserpass): Likewise.
9626         * malloc/mtrace.c (mtrace): Likewise.
9627         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9628         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9629         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9630         * sysdeps/posix/tempname.c: Likewise.  Evaluate
9631         HAVE_SECURE_GETENV.
9632         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9633         __secure_getenv to __libc_secure_getenv.
9634         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9636         Likewise.
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9638         Likewise.
9639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9641         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9647 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9649         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9650         (struct La_i86_retval): Likewise.
9651         (struct La_x86_64_regs): Likewise.
9652         (struct La_x86_64_retval): Likewise.
9653         (struct La_x32_regs): Likewise.
9654         (struct La_x32_retval): Likewise.
9655         (struct La_ppc32_regs): Likewise.
9656         (struct La_ppc32_retval): Likewise.
9657         (struct La_ppc64_regs): Likewise.
9658         (struct La_ppc64_retval): Likewise.
9659         (struct La_sh_regs): Likewise.
9660         (struct La_sh_retval): Likewise.
9661         (struct La_s390_32_regs): Likewise.
9662         (struct La_s390_32_retval): Likewise.
9663         (struct La_s390_64_regs): Likewise.
9664         (struct La_s390_64_retval): Likewise.
9665         (struct La_sparc32_regs): Likewise.
9666         (struct La_sparc32_retval): Likewise.
9667         (struct La_sparc64_regs): Likewise.
9668         (struct La_sparc64_retval): Likewise.
9669         (struct audit_ifaces): Remove architecture-specific pltenter and
9670         pltexit members.
9671         * sysdeps/i386/ldsodefs.h: New file.
9672         * sysdeps/powerpc/ldsodefs.h: Likewise.
9673         * sysdeps/s390/ldsodefs.h: Likewise.
9674         * sysdeps/sh/ldsodefs.h: Likewise.
9675         * sysdeps/sparc/ldsodefs.h: Likewise.
9676         * sysdeps/x86_64/ldsodefs.h: Likewise.
9678 2012-07-25  Marek Polacek  <polacek@redhat.com>
9680         [BZ #6808]
9681         * math/libm-test.inc (yn_test): Add another test.
9682         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9683         to ERANGE when the result is +-Inf.
9684         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9685         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9686         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9687         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9689 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
9691         * conform/data/time.h-data (NULL): Use macro-constant.  Require
9692         equal to 0.
9693         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
9694         clock_t.
9695         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
9697 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
9699         * configure.in <sysdeps resolving>: Correct printing
9700         Implies_before.
9701         * configure: Regenerate.
9703 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
9705         * math/w_ilogb.c: Include <limits.h>.
9706         * math/w_ilogbl.c: Likewise.
9708 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9710         * manual/lang.texi (__va_copy): Document primarily as ISO C99
9711         va_copy.  Document allowing for unavailable va_copy only as
9712         pre-C99 compatibility.
9713         * manual/string.texi (Copying and Concatenation): Use va_copy
9714         instead of __va_copy in concat example.
9716 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
9718         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9719         (__sendto): Use create_address_port.  Initialize APORT and deallocate
9720         it if not null.
9722         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9723         with O_NOLINK passed to __file_name_lookup.
9725         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9726         with O_NOLINK passed to __file_name_lookup.
9728         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9729         negative N or less than NGIDS.
9731         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9732         type to string_t.  Set ERANGE as errno and return it if NAME is not big
9733         enough.  Use memcpy instead of strncpy.
9735 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9737         * elf/Makefile (check-data): Remove.
9738         (localplt.data): New vpath directive.
9739         ($(objpfx)check-localplt.out): Use localplt.data from vpath
9740         instead of $(check-data).
9741         * scripts/data/localplt-generic.data: Move to ...
9742         * sysdeps/generic/localplt.data: ... here.
9743         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9744         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9745         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9747         ... here.
9748         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9750         ... here.
9751         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9753         ... here.
9754         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9756         ... here.
9757         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9759         ... here.
9760         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9762         ... here.
9764 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9766         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9767         PPC32 and PPC64 files.
9768         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9769         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9771 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9773         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9774         __makecontext_ret to ...
9775         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9776         ... here and call exit if uc_link is NULL.  New file.
9777         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9778         __makecontext_ret.S.
9779         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9780         __makecontext_ret to ...
9781         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9782         ... here and call exit if uc_link is NULL.  New file.
9783         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9784         __makecontext_ret.S.
9786 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9788         * elf/elf.h (R_390_IRELATIVE): New definition.
9789         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9790         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
9791         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9792         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9793         (elf_machine_lazy_rel): Likewise.
9794         * sysdeps/s390/dl-irel.h: New file.
9795         * sysdeps/s390/s390-64/memcpy.S: New asm code.
9796         * sysdeps/s390/s390-64/memset.S: New asm code.
9797         * sysdeps/s390/s390-64/memcmp.S: New asm code.
9798         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9799         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9800         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9801         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9802         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9803         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9804         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9805         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9806         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9807         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9808         * sysdeps/s390/s390-32/memcpy.S: New asm code.
9809         * sysdeps/s390/s390-32/memset.S: New asm code.
9810         * sysdeps/s390/s390-32/memcmp.S: New asm code.
9812 2012-07-17  Marek Polacek  <polacek@redhat.com>
9814         [BZ #14349]
9815         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9816         * sysdeps/s390/s390-64/configure.in: Likewise.
9817         * sysdeps/sparc/configure.in: Likewise.
9818         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9819         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9820         * sysdeps/i386/configure.in: Likewise.
9821         * sysdeps/x86_64/configure.in: Likewise.
9822         * sysdeps/sh/configure.in: Likewise.
9823         * sysdeps/s390/s390-32/configure: Regenerated.
9824         * sysdeps/s390/s390-64/configure: Likewise.
9825         * sysdeps/x86_64/configure: Likewise.
9826         * sysdeps/sh/configure: Likewise.
9827         * sysdeps/powerpc/powerpc64/configure: Likewise.
9828         * sysdeps/powerpc/powerpc32/configure: Likewise.
9829         * sysdeps/sparc/configure: Likwise.
9830         * sysdeps/i386/configure: Likewise.
9832         * elf/dl-open.c: Comment fixes.
9834 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
9836         * Makefile [CXX] (check-data): Remove.
9837         [CXX] (c++-types.data): New vpath directive.
9838         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9839         vpath.  Do not allow for C++ type data being missing.
9840         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9841         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9842         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9843         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9844         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9845         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9846         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9848         ... here.
9849         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9851         ... here.
9852         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9854         ... here.
9855         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9857         ... here.
9858         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9860         ... here.
9861         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9863         ... here.
9864         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9866         ... here.
9867         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9870         * elf/tls-macros.h (TLS_LE): Move architecture-specific
9871         definitions to architecture-specific files.
9872         (TLS_IE): Likewise.
9873         (TLS_LD): Likewise.
9874         (TLS_GD): Likewise.
9875         * sysdeps/i386/tls-macros.h: New file.
9876         * sysdeps/powerpc/tls-macros.h: Likewise.
9877         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9878         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9879         * sysdeps/sh/tls-macros.h: Likewise.
9880         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9881         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9882         * sysdeps/x86_64/tls-macros.h: Likewise.
9884 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9886         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9887         zero value for regular exit case.
9889         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9890         (__start_context): Preserve zero value for regular exit case.
9892 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9893             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9895         * manual/setjmp.texi (setcontext): Clarify normal process
9896         termination when uc_link is the null pointer.
9897         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9898         exit call.
9900 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
9902         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9903         preprocessor.  Test for each exception mask separately.
9905 2012-07-16  Andreas Jaeger  <aj@suse.de>
9907         * po/ru.po: Update from translation team.
9909 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
9911         * conform/data/string.h-data (NULL): Use macro-constant.  Require
9912         equal to 0.
9913         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9914         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9915         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9916         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9919 2012-07-13  Andreas Jaeger  <aj@suse.de>
9921         * po/fr.po: Update from translation team.
9923 2012-07-12  Marek Polacek  <polacek@redhat.com>
9925         [BZ #14173]
9926         * math/libm-test.inc (yn_test): Add test for BZ #14173.
9927         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9928         loop condition.
9930 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
9932         [BZ #13717]
9933         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9934         Change to 2.4.1 where previously 2.4.0.
9935         * sysdeps/unix/sysv/linux/configure: Regenerated.
9936         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9937         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9938         version.
9939         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9940         (__ASSUME_AT_CLKTCK): Remove.
9941         (__ASSUME_AT_PAGESIZE): Likewise.
9942         (__ASSUME_AT_XID): Likewise.
9943         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9944         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9945         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9946         unconditionally.
9947         (HAVE_AUX_PAGESIZE): Likewise.
9948         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9949         [__ASSUME_AT_CLKTCK]: Make code unconditional.
9950         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9952 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
9954         [BZ #14307]
9955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9956         the temporary buffer used to invoke __gethostbyname2_r,
9957         __gethostbyaddr_r and gethostbyname4_r to make room for struct
9958         host_data / struct gaih_addrtuple.
9959         * resolv/nss_dns/dns-host.c (global scope): Move definition of
9960         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9961         header file nss/nsswitch.h.
9962         * nss/nsswitch.h (global scope): Add definition of implementation
9963         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9964         resolv/nss_dns/dns-host.c).
9966 2012-07-11  Andreas Jaeger  <aj@suse.de>
9968         * po/fr.po: Update from translation team.
9970         * po/sv.po: Update from translation team
9971         * po/fr.po: Another update from translation team.
9973 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9975         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9976         for subnormals or multiply small sinh result by itself.
9977         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9980 2012-07-11  David S. Miller  <davem@davemloft.net>
9982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9984 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
9986         [BZ #14347]
9987         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9988         (INTERNAL_MARK): Shift it here.
9990 2012-07-10  Marek Polacek  <polacek@redhat.com>
9992         [BZ #14151]
9993         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
9994         libc_cv_asm_global_directive with .globl.
9995         * configure: Regenerated.
9996         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9997         with .globl.
9998         * sysdeps/i386/configure: Regenerated.
9999         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10000         with .globl.
10001         * sysdeps/x86_64/configure: Regenerated.
10002         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10003         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10004         * elf/tst-unique2mod2.c: Likewise.
10005         * elf/tst-unique2mod1.c: Likewise.
10006         * elf/tst-unique1mod2.c: Likewise.
10007         * elf/tst-unique1mod1.c: Likewise.
10008         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10009         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10010         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10011         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10012         * sysdeps/mach/sysdep.h: Likewise.
10013         * sysdeps/i386/sysdep.h: Likewise.
10014         * sysdeps/i386/i386-mcount.S: Likewise.
10015         * sysdeps/x86_64/_mcount.S: Likewise.
10016         * sysdeps/x86_64/sysdep.h: Likewise.
10017         * sysdeps/sh/_mcount.S: Likewise.
10018         * sysdeps/sh/sysdep.h: Likewise.
10019         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10020         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10021         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10022         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10023         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10024         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10025         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10026         * locale/localeinfo.h: Likewise.
10027         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10028         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10030 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10032         [BZ #14336]
10033         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10034         system".
10035         * manual/message.texi (The Uniforum approach): Likewise.
10036         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10037         (glibc iconv Implementation): Likewise.
10039 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10041         [BZ #14337]
10042         * math/s_clog.c (__clog): Avoid scaling a value down where that
10043         could result in underflow.
10044         * math/s_clog10.c (__clog10): Likewise.
10045         * math/s_clog10f.c (__clog10f): Likewise.
10046         * math/s_clog10l.c (__clog10l): Likewise.
10047         * math/s_clogf.c (__clogf): Likewise.
10048         * math/s_clogl.c (__clogl): Likewise.
10049         * math/libm-test.inc (clog_test): Add more tests.
10050         (clog10_test): Likewise.
10051         * sysdeps/i386/fpu/libm-test-ulps: Update.
10052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10054 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10056         [BZ #14283]
10057         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10058         by 7 not 8 to examine high bit of fractional part.
10060         [BZ #14042]
10061         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10062         for call to __mcount_internal.
10063         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10064         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10065         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10067 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10069         [BZ #14154]
10070         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10071         approximation for values within 0x1p-13f of an odd multiple of
10072         pi/4.
10073         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10074         exception.  Add more tests.
10075         * sysdeps/i386/fpu/libm-test-ulps: Update.
10077         [BZ #6778]
10078         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10079         inputs and return -1 for them.  Do not check for +Inf in case not
10080         reachable for +Inf.
10081         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10082         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10083         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10084         and return -1 for them.  Do not check for +Inf in case not
10085         reachable for +Inf.
10086         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10087         define.
10088         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10089         and return -1 for them.  Do not check for +Inf in case not
10090         reachable for +Inf.
10091         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10092         spurious underflow.
10093         * sysdeps/i386/fpu/libm-test-ulps: Update.
10094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10096 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10098         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10100 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10102         [BZ #14157]
10103         [BZ #14331]
10104         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10105         could result in spurious underflow.  Scale down values above
10106         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10107         * math/s_csqrtf.c (__csqrtf): Likewise.
10108         * math/s_csqrtl.c (__csqrtl): Likewise.
10109         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10110         spurious underflow.
10111         * sysdeps/i386/fpu/libm-test-ulps: Update.
10112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10114 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10116         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10117         xopen-msg.sed.
10118         * catgets/xopen-msg.awk: New file.
10119         * catgets/xopen-msg.sed: Removed.
10121         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10122         po2text.sed.
10123         * intl/po2test.awk: New file.
10124         * intl/po2test.sed: Removed.
10126 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10128         [BZ #14328]
10129         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10130         or multiply small sinh result by itself.
10131         * math/s_ctanf.c (__ctanf): Likewise.
10132         * math/s_ctanh.c (__ctanh): Likewise.
10133         * math/s_ctanhf.c (__ctanhf): Likewise.
10134         * math/s_ctanhl.c (__ctanhl): Likewise.
10135         * math/s_ctanl.c (__ctanl): Likewise.
10136         * math/libm-test.inc (ctan_test_tonearest): New function.
10137         (ctan_test_towardzero): Likewise.
10138         (ctan_test_downward): Likewise.
10139         (ctan_test_upward): Likewise.
10140         (ctanh_test_tonearest): Likewise.
10141         (ctanh_test_towardzero): Likewise.
10142         (ctanh_test_downward): Likewise.
10143         (ctanh_test_upward): Likewise.
10144         (main): Call these new functions.
10145         * sysdeps/i386/fpu/libm-test-ulps: Update.
10146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10148 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10150         * .gitignore: Delete /ports entry.
10152 2012-07-03  Andreas Jaeger  <aj@suse.de>
10154         * po/bg.po: Update from translation team.
10155         * po/cs.po: Likewise.
10156         * po/de.po: Likewise.
10157         * po/hr.po: Likewise.
10158         * po/nl.pl: Likewise.
10159         * po/pl.po: Likewise.
10160         * po/vi.po: Likewise.
10162 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10164         * Makeconfig [!+link] (+link-before-libc): New variable.
10165         [!+link] (+link-after-libc): Likewise.
10166         [!+link] (+link-tests): Likewise.
10167         [!+link] (+link): Define in terms of $(+link-before-libc) and
10168         $(+link-after-libc).
10169         [!+link-static] (+link-static-before-libc): New variable.
10170         [!+link-static] (+link-static-after-libc): Likewise.
10171         [!+link-static] (+link-static-tests): Likewise.
10172         [!+link-static] (+link-static): Define in terms of
10173         $(+link-static-before-libc) and $(+link-static-after-libc).
10174         [build-shared] (link-libc-before-gnulib): New variable.
10175         [build-shared] (link-libc-tests): Likewise.
10176         [build-shared] (link-libc): Define in terms of
10177         $(link-libc-before-gnulib).
10178         [!build-shared] (link-libc-tests): New variable.
10179         (link-libc-static-tests): New variable.
10180         [!gnulib] (gnulib-arch): New variable.
10181         [!gnulib] (gnulib-tests): Likewise.
10182         [!gnulib] (static-gnulib-arch): Likewise.
10183         [!gnulib] (static-gnulib-tests): Likewise.
10184         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10185         Define with "=" instead of ":=".
10186         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10187         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10188         * Rules (binaries-all-notests): New variable.
10189         (binaries-all-tests): Likewise.
10190         (binaries-static-notests): Likewise.
10191         (binaries-static-tests): Likewise.
10192         (binaries-all): Define using $(binaries-all-notests) and
10193         $(binaries-all-tests).
10194         (binaries-static): Define using $(binaries-static-notests) and
10195         $(binaries-static-tests).
10196         (binaries-shared-tests): New variable.
10197         (binaries-shared-notests): Likewise.
10198         (binaries-shared): Remove variable.
10199         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10200         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10201         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10202         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10203         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10204         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10205         * elf/Makefile (sln-modules): New variable.
10206         (extra-objs): Add $(sln-modules:=.o).
10207         (ldconfig-modules): Add static-stubs.
10208         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10209         * elf/static-stubs.c: New file.
10211         [BZ #14283]
10212         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10213         by 7 not 8 to examine high bit of fractional part.  Use volatile
10214         variables when splitting into final array of floats if
10215         __FLT_EVAL_METHOD__ != 0.
10216         * math/libm-test.inc (cos_test): Add another test.
10217         (sin_test): Likewise.
10218         * sysdeps/i386/fpu/libm-test-ulps: Update.
10220         [BZ #14273]
10221         * math/libm-test.inc (cosh_test): Add more tests.
10223         * version.h (RELEASE): Set to "development".
10224         (VERSION): Set to "2.16.90".
10226 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10228         * NEWS: Update copyright. Remove last-updated date.
10229         Mention math library bug fixes and timezone data changes.
10230         * README: Mention GNU/Hurd, x32, and HPPA support status.
10232 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10234         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10236 2012-06-27  Andreas Jaeger  <aj@suse.de>
10238         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10240 2012-06-25  Andreas Jaeger  <aj@suse.de>
10242         * sysdeps/s390/fpu/libm-test-ulps: Update.
10244 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10245             Thomas Schwinge  <thomas@codesourcery.com>
10247         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10248         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10249         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10250         fanotify_mark.
10252 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10254         * sysdeps/mach/start.c: Remove file.
10255         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10256         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10257         * sysdeps/sh/init-first.c: Likewise.
10259         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10260         registers for frame unwinding purposes, add CFI directives.
10261         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10262         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10263         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10264         Likewise.
10266         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10267         __fortify_fail returning.
10268         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10270         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10271         sysdeps/sh/____longjmp_chk.S.
10272         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10273         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10274         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10275         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10277         * sysdeps/sh/abort-instr.h: New file.
10278         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10279         process in case exit returns.
10281         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10282         initialize the GOT register before use.
10284         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10285         calculation of ARGC > 4.
10287         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10288         meaningful names to some local labels.
10290 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10291             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10293         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10294         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10295         (__arch_compare_and_exchange_val_16_acq): Likewise.
10296         (__arch_compare_and_exchange_val_32_acq): Likewise.
10297         (atomic_exchange_and_add): Fix gUSA sequence.
10298         (atomic_add): Likewise.
10299         (atomic_add_negative): Likewise.
10300         (atomic_add_zero): Likewise.
10301         (atomic_bit_test_set): Likewise.
10303 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10305         [BZ #13579]
10306         * include/link.h (struct link_map): Add l_free_initfini.
10307         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10308         l_initfini.
10309         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10310         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10311         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10312         set.
10314 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10316         * configure.in: Use AC_LANG_SOURCE.
10317         * configure: Regenerate.
10319 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10321         * configure.in (libc_cv_localstatedir): New substituted variable.
10322         * configure: Regenerated.
10323         * config.make.in (localstatedir): New variable, substituted from
10324         libc_cv_localstatedir.
10325         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10326         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10327         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10328         * sysdeps/gnu/configure: Regenerated.
10330 2012-06-21  Jeff Law  <law@redhat.com>
10332         [BZ #14277]
10333         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10334         free.  Simplify list management for _LIBC case.
10336 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10338         [BZ #14273]
10339         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10340         Clear sign bit of 64-bit integer value before comparing against
10341         overflow value.
10343         * sysdeps/mach/configure: Regenerated.
10345 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
10347         [BZ #14278]
10348         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10350 2012-06-21  Jeff Law  <law@redhat.com>
10352         [BZ #13882]
10353         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
10354         uint16_t for elements in the "seen" array to avoid char overflows.
10355         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10356         * elf/dl-open.c (dl_open_worker): Likewise.
10358 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
10360         * scripts/list-sources.sh: Scan PORTS for translations.
10361         * po/libc.pot: Regenerated.
10363 2012-06-21  Andreas Jaeger  <aj@suse.de>
10365         [BZ #12194]
10366         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10367         warning.
10368         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10369         * bits/byteswap-16.h (__bswap_16): Likewise.
10370         * bits/byteswap.h (__bswap_constant_16): Likewise.
10372 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
10374         [BZ #14117]
10375         * sysdeps/i386/fpu_control.h: Removed.
10376         * sysdeps/x86_64/fpu_control.h: Moved to ...
10377         * sysdeps/x86/fpu_control.h: Here.
10379         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10380         (_FPU_SETCW): Likewise.
10382 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
10384         [BZ #14117]
10385         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10386         * sysdeps/x86/fpu/bits/mathinline.h: This.
10387         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10389         [BZ #14050]
10390         [BZ #14117]
10391         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10392         functions if __x86_64__ is defined.
10394 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
10396         * string/endian.h: Add !__ASSEMBLER__ condition for including
10397         conversion interfaces.
10399 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
10401         [BZ #14241]
10402         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10403         of ABS(x) in calculating zero to negative powers other than odd
10404         integers.
10405         * math/libm-test.inc (pow_test): Add more tests.
10407 2012-06-15  Andreas Jaeger  <aj@suse.de>
10409         * manual/contrib.texi (Contributors): Update entry of Liubov
10410         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10411         Machado Filho.
10413 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
10415         * string/string.h: Add __wur to GNU version of strerror_r.
10417 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
10419         [BZ #14229]
10420         * string/Makefile (tests): Add tst-strtok_r.
10421         * string/tst-strtok_r.c: New file.
10422         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10423         RAX_LP/RDX_LP on SAVE_PTR.
10425 2012-06-14  Roland McGrath  <roland@hack.frob.com>
10427         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10429 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
10431         * libm_test.inc (csqrt_test): Allow more spurious underflow
10432         exceptions.
10433         (j0_test): Likewise.
10434         (j1_test): Likewise.
10435         (y0_test): Likewise.
10436         (y1_test): Likewise.
10438 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
10440         * po/Makefile (libc.pot): Use UTF-8 charset.
10442 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
10444         [BZ #14210]
10445         Suppress sign-conversion warning from FD_SET.
10446         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10447         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10448         not unsigned long int.
10449         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10451 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
10453         [BZ #14050]
10454         [BZ #14117]
10455         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10456         __extern_always_inline instead of __extern_inline.
10457         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10458         (__signbit): Likewise.
10459         (__signbitl): Support C++ namespace.
10460         (lrintf): New inline function.
10461         (lrint): Likewise.
10462         (llrintf): Likewise.
10463         (llrint): Likewise.
10464         (fmaxf): Likewise.
10465         (fmax): Likewise.
10466         (fminf): Likewise.
10467         (fmin): Likewise.
10468         (rint): Likewise.
10469         (rintf): Likewise.
10470         (ceil): Likewise.
10471         (ceilf): Likewise.
10472         (floor): Likewise.
10473         (floorf): Likewise.
10474         (nearbyint): Likewise.
10475         (nearbyintf): Likewise.
10477 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
10479         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10480         non-default versions.
10482 2012-06-11  Roland McGrath  <roland@hack.frob.com>
10484         [BZ #14218]
10485         * manual/argp.texi (Argp): Reword argp_parse description slightly.
10487 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
10489         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10490         (FE_UPWARD, FE_DOWNWARD): Don't define.
10491         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10492         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10494         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10495         reading it.
10496         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10497         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10499 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10501         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10502         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10503         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10504         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10506 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10508         [BZ #14117]
10509         * sysdeps/i386/fpu/bits/fenv.h: Removed.
10510         * sysdeps/i386/fpu/Implies: New file.
10511         * sysdeps/x86_64/fpu/Implies: Likewise.
10512         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10513         * sysdeps/x86/fpu/bits/fenv.h: This.
10515         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10516         __SSE_MATH__.
10518 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10520         [BZ #14134]
10521         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10522         character 0xffff that matches the last element of the
10523         conversion table.
10525 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10527         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10528         fmodl commit.
10530 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10533         values higher than 25.6283.
10535 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10537         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10538         subnormal exponent extraction and add some __builtin_expect.
10539         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10540         Fix for subnormal mantissa calculation.
10542 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
10544         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10545         cpu2 is -1 and errno is not ENOSYS.
10547 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
10549         [BZ #14117]
10550         * sysdeps/i386/i486/bits/string.h: Renamed to ...
10551         * sysdeps/x86/bits/string.h: This.
10552         * sysdeps/x86_64/bits/string.h: Removed.
10554         * sysdeps/i386/i486/bits/string.h: Define inline functions only
10555         if not compiling for x86-64, but compiling for >= i486.
10557         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10558         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10560         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10561         New macro from Linux kernel 3.4.0.
10562         (FP_XSTATE_MAGIC2): Likewise.
10563         (FP_XSTATE_MAGIC2_SIZE): Likewise.
10564         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10565         (struct _fpx_sw_bytes): New struct.
10566         (struct _xsave_hdr): Likewise.
10567         (struct _ymmh_state): Likewise.
10568         (struct _xstate): Likewise.
10570         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10571         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10572         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10573         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10574         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10575         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10577         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10578         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10579         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10580         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10581         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10582         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10584 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10586         [BZ #13743]
10587         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10588         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10589         (sysdep_headers): Include sys/platform/ppc.h.
10590         * sysdeps/powerpc/test-gettimebase.c: Test for
10591         __ppc_get_timebase() to catch future ISA opcode/insn changes.
10592         * manual/Makefile (appendices): Include platform.texi.
10593         * manual/contrib.texi (Contributors): Update @node pointers.
10594         * manual/maint.texi (Maintenance): Likewise.
10595         (Platform): New node.
10596         * manual/platform.texi: New file.  Document the new features.
10598 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10599             Jakub Jelinek  <jakub@redhat.com>
10601         [BZ #14188]
10602         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10603         where __builtin_expect is unavailable.
10605 2012-06-03  David S. Miller  <davem@davemloft.net>
10607         * stdlib/longlong.h: Updated from GCC.
10609 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
10611         [BZ #14042]
10612         * sysdeps/powerpc/powerpc32/mcount.c: New file.
10613         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10614         __mcount_internal.
10615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10616         (GLIBC_2.16): Likewise.
10618 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10620         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10622 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10625         (default-abi): New variable.
10626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10627         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10628         variable.
10629         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10630         Likewise.
10631         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10632         Likewise.
10633         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10634         Likewise.
10636         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10637         definition.  Document in comment.
10639 2012-06-01  David S. Miller  <davem@davemloft.net>
10641         * stdlib/longlong.h: Updated from GCC.
10643 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10645         [BZ #14117]
10646         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10647         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10648         sys/debugreg.h sys/io.h here.
10649         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10650         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10651         sys/io.h.
10652         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10653         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10654         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10655         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10656         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10657         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10659         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10660         Define only if __x86_64__ is defined.
10662 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10664         [BZ #14048]
10665         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10666         Use int64_t for variable i.
10667         * math/libm-test.inc (fmod_test): Add more tests.
10669         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10670         z computation is not scheduled after fetestexcept.
10671         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10672         Use math_force_eval instead of asm to ensure calculation scheduled
10673         before exception test.
10674         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10675         Ensure a1 + u.d computation is not scheduled after fetestexcept.
10677 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
10679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10680         computation is not scheduled after fetestexcept.
10682 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10684         [BZ #14117]
10685         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10686         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10688 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10690         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10691         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10693 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10695         [BZ #14117]
10696         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10697         <bits/wordsize.h>.
10698         (__WCHAR_MIN): Support __WORDSIZE == 64.
10699         (__WCHAR_MAX): Likewise.
10701         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10702         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10704         [BZ #14183]
10705         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10706         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10708         [BZ #14117]
10709         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10710         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10712         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10713         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10715         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10716         Defined to 1 if __x86_64__ isn't defined.
10717         (_STAT_VER_LINUX_OLD): New.
10718         (st_atime): Remove duplicate.
10719         (st_mtime): Likewise.
10720         (st_ctime): Likewise.
10722 2012-05-31  David S. Miller  <davem@davemloft.net>
10724         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10725         entries.
10727 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
10729         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10730         gen-libm-test.pl.
10732         [BZ #14132]
10733         * elf/dl-reloc.c: Include <_itoa.h>.
10734         (_dl_reloc_bad_type): Remove use of INTUSE.
10735         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10736         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10737         * stdio-common/psiginfo.c (psiginfo): Likewise.
10738         * stdio-common/psignal.c (psignal): Likewise.
10739         * string/strsignal.c (strsignal): Likewise.
10740         * include/signal.h (_sys_siglist): Declare hidden proto.
10741         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
10742         INTVARDEF with libc_hidden_data_def.
10743         * stdio-common/itoa-udigits.c: Likewise.
10744         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10745         (_itoa_lower_digits_internal): Remove declaration.
10746         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10747         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10748         (_sys_sigabbrev_internal): Remove aliases.
10749         (_sys_siglist): Define hidden alias.
10751 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
10753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10754         bits/sysctl.h.
10756 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10758         [BZ #14117]
10759         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10760         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10762         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10763         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10764         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10765         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10766         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10767         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10769         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10770         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10771         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10773         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10774         with __addr.
10775         (insw): Likewise.
10776         (insl): Likewise.
10777         (outsb): Likewise.
10778         (outsw): Likewise.
10779         (outsl): Likewise.
10781         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10782         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10783         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10785         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10786         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10787         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10788         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10789         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10790         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10792         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10793         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10795         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10796         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10798         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10799         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10800         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10802         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10803         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10804         to ...
10805         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10807         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10808         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10809         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10811         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10812         for x86-64.
10813         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10815 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
10817         * math/math.h (M_El): Use two more decimal places.
10818         (M_LOG2El): Likewise.
10819         (M_LOG10El): Likewise.
10820         (M_LN2l): Likewise.
10821         (M_LN10l): Likewise.
10822         (M_PIl): Likewise.
10823         (M_PI_2l): Likewise.
10824         (M_PI_4l): Likewise.
10825         (M_1_PIl): Likewise.
10826         (M_2_PIl): Likewise.
10827         (M_2_SQRTPIl): Likewise.
10828         (M_SQRT2l): Likewise.
10829         (M_SQRT1_2l): Likewise.
10831 2012-05-31  David S. Miller  <davem@davemloft.net>
10833         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10834         values between float registers.
10835         * sysdeps/sparc/sparc64/memset.S: Likewise.
10836         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10838 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
10840         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10841         -D_FORTIFY_SOURCE=1.
10842         (CPPFLAGS-tst-longjmp_chk.c): Define.
10843         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10844         (CPPFLAGS-tst-longjmp_chk2.c): Define.
10845         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10846         CFLAGS-tst-wchar-h.c.
10848 2012-05-31  Marek Polacek  <polacek@redhat.com>
10850         [BZ #14132]
10851         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10852         __endmntent_internal): Remove declaration.
10853         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10854         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10855         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10857 2012-05-30  David S. Miller  <davem@davemloft.net>
10859         * sysdeps/sparc/sparc32/soft-fp/q_util.c
10860         (___Q_simulate_exceptions): Use real FP ops rather than writing
10861         into the %fsr.
10862         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10863         Likewise.
10865 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10867         [BZ #14117]
10868         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10869         * sysdeps/x86/bits/xtitypes.h: This.
10871         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10872         * sysdeps/x86/bits/wordsize.h: This.
10874         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10875         * sysdeps/x86/bits/huge_vall.h: This.
10877         * sysdeps/i386/bits/select.h: Removed.
10878         * sysdeps/x86_64/bits/select.h: Renamed to ...
10879         * sysdeps/x86/bits/select.h: This.
10881         * sysdeps/i386/bits/setjmp.h: Removed.
10882         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10883         * sysdeps/x86/bits/setjmp.h: This.
10885         * sysdeps/i386/bits/mathdef.h: Removed.
10886         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10887         * sysdeps/x86/bits/mathdef.h: This.
10889 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
10891         [BZ #14132]
10892         * include/sys/socket.h (__connect_internal)
10893         (__libc_sa_len_internal): Remove declaration.
10894         (__connect, __libc_sa_len): Declare hidden_proto.
10895         (SA_LEN): Remove use of INTUSE.
10896         * socket/connect.c: Add libc_hidden_def.
10897         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10898         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10899         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10900         alias.
10901         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10902         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10903         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10904         of adding _internal alias.
10906 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10908         [BZ #14117]
10909         * sysdeps/i386/bits/link.h: Removed.
10910         * sysdeps/i386/bits/linkmap.h: Likewise.
10911         * sysdeps/x86_64/bits/link.h: Renamed to ...
10912         * sysdeps/x86/bits/link.h: This.
10913         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10914         * sysdeps/x86/bits/linkmap.h: This.
10916         * sysdeps/i386/bits/endian.h: Removed.
10917         * sysdeps/x86_64/bits/endian.h: Renamed to ...
10918         * sysdeps/x86/bits/endian.h: This.
10920         * sysdeps/i386/bits/byteswap.h: Removed.
10921         * sysdeps/i386/bits/byteswap-16.h: Likewise.
10922         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10923         * sysdeps/x86/bits/byteswap.h: This.
10924         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10925         * sysdeps/x86/bits/byteswap-16.h: This.
10926         * sysdeps/i386/Implies: Add x86.
10927         * sysdeps/x86_64/Implies: Likewise.
10929 2012-05-30  David S. Miller  <davem@davemloft.net>
10931         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10932         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10933         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10934         (FP_TRAPPING_EXCEPTIONS): Define.
10935         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10936         (FP_TRAPPING_EXCEPTIONS): Define.
10937         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10938         subnormals only when inexact has been signalled or underflow
10939         exceptions are enabled.
10940         (_FP_PACK_CANONICAL): Likewise.
10942 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10944         [BZ #14183]
10945         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10946         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10948 2012-05-30  Richard Henderson  <rth@twiddle.net>
10950         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10951         with #ifndef NOT_IN_libc.
10953         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
10954         marked to avoid plt entry.
10956 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10958         [BZ #14112]
10959         * Makeconfig (default-abi): New macro.
10960         (abi-includes): Likewise.
10961         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
10962         $(abi-$(default-abi)-lib-soname) for soname if defined.
10963         ($(common-objpfx)gnu/lib-names.stmp): Generate from
10964         abi-variants.
10965         * Makefile (installed-stubs): Likewise.
10966         * include/stubs-biarch.h: Removed.
10967         * scripts/lib-names.awk: Only handle one library at a time.
10968         * scripts/soversions.awk: Remove WORDSIZE support.
10969         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10970         entries.
10971         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10972         Removed.
10973         (syscall-list-default-condition): Likewise.
10974         (syscall-list-default-condition): Likewise.
10975         (syscall-list-includes): Likewise.
10976         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10977         syscall-list-* with abi-*.  Handle undefined abi-variants.
10978         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10979         * sysdeps/unix/sysv/linux/i386/Implies: New file.
10980         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10981         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10982         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10983         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10984         Removed.
10985         (syscall-list-32-options): Likewise.
10986         (syscall-list-32-condition): Likewise.
10987         (syscall-list-64-options): Likewise.
10988         (syscall-list-64-condition): Likewise.
10989         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10990         macro.
10991         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10992         Renamed to ...
10993         (abi-*): This.
10994         (abi-64-ld-soname): New macro.
10995         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10996         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10997         Renamed to ...
10998         (abi-*): This.
10999         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11000         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11002 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11004         * sysdeps/unix/sysv/linux/kernel-features.h
11005         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11006         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11007         include <kernel-features.h>.
11008         [!__NR_ftruncate64]: Remove conditional code.
11009         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11010         [__NR_ftruncate64]: Make code unconditional.
11011         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11012         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11013         include <kernel-features.h>.
11014         [!__NR_ftruncate64]: Remove conditional code.
11015         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11016         [__NR_ftruncate64]: Make code unconditional.
11017         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11019         include <kernel-features.h>.
11020         [!__NR_ftruncate64]: Remove conditional code.
11021         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11022         [__NR_ftruncate64]: Make code unconditional.
11023         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11025         include <kernel-features.h>.
11026         [!__NR_ftruncate64]: Remove conditional code.
11027         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11028         [__NR_ftruncate64]: Make code unconditional.
11029         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11031         * configure.in (libc_cv_fpie): Weaken to a compile test using
11032         LIBC_TRY_CC_OPTION.
11033         * configure: Regenerated.
11035 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11041         Refreshed.
11042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11048         Refreshed.
11050 2012-05-27  David S. Miller  <davem@davemloft.net>
11052         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11053         (___Q_zero): New.
11054         (__Q_simulate_exceptions): Return void.  Change to simulate
11055         exceptions by writing into the %fsr.
11056         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11057         (__Qp_handle_exceptions): Likewise.
11058         (numbers): Delete.
11059         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11060         __Qp_handle_exceptions.
11061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11062         __Qp_handle_exceptions.
11063         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11064         as unused and give dummy FP_RND_NEAREST initializer.
11065         (FP_INHIBIT_RESULTS): Define.
11066         (___Q_simulate_exceptions): Update declaration.
11067         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11068         formatting.
11069         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11070         as unused and give dummy FP_RND_NEAREST initializer.
11071         (__Qp_handle_exceptions): Update declaration.
11072         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11073         formatting.
11075 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11077         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11078         the temporary FPU control word.
11079         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11080         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11081         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11082         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11083         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11084         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11085         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11086         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11087         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11088         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11089         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11091 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11093         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11094         fields.
11096 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11098         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11099         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11100         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11101         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11102         Likewise.
11103         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11104         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11105         Likewise.
11107 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11109         * po/h.po: Update from translation team.
11111 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11113         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11115         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11116         handling of denormals.
11117         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11118         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11119         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11120         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11121         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11122         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11124         Likewise.
11126 2012-05-26  Marek Polacek  <polacek@redhat.com>
11128         [BZ #14152]
11129         * math/libm-test.inc (fma_test): Don't always expect underflow
11130         exception.
11132 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11134         [BZ #12416]
11135         * elf/tst-execstack.c: Include stackinfo.h.
11136         (do_test): Adjust test case to ensure that pthread_getattr_np
11137         behaviour remains the same after marking stack executable.
11139 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11141         * sysdeps/unix/sysv/linux/kernel-features.h
11142         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11143         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11144         kernel-features.h.
11145         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11146         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11147         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11148         kernel-features.h.
11149         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11150         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11152 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11154         * configure.in: Define the default includes to being none.
11155         * configure: Regenerated.
11157 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11159         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11160         * sysdeps/x86_64/setjmp.S: Likewise.
11161         * sysdeps/i386/bsd-setjmp.S: Likewise.
11162         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11163         * sysdeps/i386/setjmp.S: Likewise.
11164         * sysdeps/i386/__longjmp.S: Likewise.
11165         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11166         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11168         * include/stap-probe.h: New file.
11169         * configure.in: Handle --enable-systemtap.
11170         * configure: Regenerated.
11171         * config.h.in (USE_STAP_PROBE): New #undef.
11172         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11173         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11174         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11176 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11178         [BZ #13717]
11179         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11180         to 2.4.0 where earlier.
11181         * sysdeps/unix/sysv/linux/configure: Regenerated.
11182         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11183         <kernel-features.h>.
11184         [__ASSUME_32BITUIDS]: Make code unconditional.
11185         [!__ASSUME_32BITUIDS]: Remove conditional code.
11186         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11187         <kernel-features.h>.
11188         [__ASSUME_32BITUIDS]: Make code unconditional.
11189         [!__ASSUME_32BITUIDS]: Remove conditional code.
11190         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11191         [__ASSUME_32BITUIDS]: Make code unconditional.
11192         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11193         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11194         <kernel-features.h>.
11195         [__ASSUME_32BITUIDS]: Make code unconditional.
11196         [!__ASSUME_32BITUIDS]: Remove conditional code.
11197         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11198         <kernel-features.h>.
11199         [__ASSUME_32BITUIDS]: Make code unconditional.
11200         [!__ASSUME_32BITUIDS]: Remove conditional code.
11201         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11202         <kernel-features.h>.
11203         [__ASSUME_32BITUIDS]: Make code unconditional.
11204         [!__ASSUME_32BITUIDS]: Remove conditional code.
11205         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11206         <kernel-features.h>.
11207         [__ASSUME_32BITUIDS]: Make code unconditional.
11208         [!__ASSUME_32BITUIDS]: Remove conditional code.
11209         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11210         <kernel-features.h>.
11211         [__ASSUME_32BITUIDS]: Make code unconditional.
11212         [!__ASSUME_32BITUIDS]: Remove conditional code.
11213         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11214         <kernel-features.h>.
11215         [__ASSUME_32BITUIDS]: Make code unconditional.
11216         [!__ASSUME_32BITUIDS]: Remove conditional code.
11217         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11218         <kernel-features.h>.
11219         [__ASSUME_32BITUIDS]: Make code unconditional.
11220         [!__ASSUME_32BITUIDS]: Remove conditional code.
11221         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11222         <kernel-features.h>.
11223         [__ASSUME_32BITUIDS]: Make code unconditional.
11224         [!__ASSUME_32BITUIDS]: Remove conditional code.
11225         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11226         <kernel-features.h>.
11227         [__ASSUME_32BITUIDS]: Make code unconditional.
11228         [!__ASSUME_32BITUIDS]: Remove conditional code.
11229         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11230         <kernel-features.h>.
11231         [__ASSUME_32BITUIDS]: Make code unconditional.
11232         [!__ASSUME_32BITUIDS]: Remove conditional code.
11233         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11234         <kernel-features.h>.
11235         [__NR_setresgid] (__setresgid): Do not declare.
11236         [__ASSUME_32BITUIDS]: Make code unconditional.
11237         [!__ASSUME_32BITUIDS]: Remove conditional code.
11238         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11239         <kernel-features.h>.
11240         [__NR_setresuid] (__setresuid): Do not declare.
11241         [__ASSUME_32BITUIDS]: Make code unconditional.
11242         [!__ASSUME_32BITUIDS]: Remove conditional code.
11243         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11244         <kernel-features.h>.
11245         [__ASSUME_32BITUIDS]: Make code unconditional.
11246         [!__ASSUME_32BITUIDS]: Remove conditional code.
11247         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11248         <kernel-features.h>.
11249         [__ASSUME_32BITUIDS]: Make code unconditional.
11250         [!__ASSUME_32BITUIDS]: Remove conditional code.
11251         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11252         <kernel-features.h>.
11253         [__ASSUME_32BITUIDS]: Make code unconditional.
11254         [!__ASSUME_32BITUIDS]: Remove conditional code.
11255         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11256         <kernel-features.h>.
11257         [__ASSUME_32BITUIDS]: Make code unconditional.
11258         [!__ASSUME_32BITUIDS]: Remove conditional code.
11259         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11260         <kernel-features.h>.
11261         [__ASSUME_32BITUIDS]: Make code unconditional.
11262         [!__ASSUME_32BITUIDS]: Remove conditional code.
11263         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11264         <kernel-features.h>.
11265         [__ASSUME_32BITUIDS]: Make code unconditional.
11266         [!__ASSUME_32BITUIDS]: Remove conditional code.
11267         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11268         <kernel-features.h>.
11269         [__ASSUME_32BITUIDS]: Make code unconditional.
11270         [!__ASSUME_32BITUIDS]: Remove conditional code.
11271         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11272         <kernel-features.h>.
11273         [__ASSUME_32BITUIDS]: Make code unconditional.
11274         [!__ASSUME_32BITUIDS]: Remove conditional code.
11275         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11276         <kernel-features.h>.
11277         [__ASSUME_32BITUIDS]: Make code unconditional.
11278         [!__ASSUME_32BITUIDS]: Remove conditional code.
11279         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11280         <kernel-features.h>.
11281         [__ASSUME_32BITUIDS]: Make code unconditional.
11282         [!__ASSUME_32BITUIDS]: Remove conditional code.
11283         * sysdeps/unix/sysv/linux/kernel-features.h
11284         (__ASSUME_SETRESUID_SYSCALL): Remove.
11285         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11286         (__ASSUME_32BITUIDS): Likewise.
11287         (__ASSUME_LDT_WORKS): Likewise.
11288         (__ASSUME_O_DIRECTORY): Likewise.
11289         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11290         architecture but not kernel version.
11291         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11292         (__ASSUME_MMAP2_SYSCALL): Likewise.
11293         (__ASSUME_STAT64_SYSCALL): Likewise.
11294         (__ASSUME_IPC64): Likewise.
11295         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11296         <kernel-features.h>.
11297         [__ASSUME_32BITUIDS]: Make code unconditional.
11298         [!__ASSUME_32BITUIDS]: Remove conditional code.
11299         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11300         <kernel-features.h>.
11301         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11302         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11303         132096]: Remove conditional code.
11304         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11305         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11306         <kernel-features.h>.
11307         [__ASSUME_32BITUIDS]: Make code unconditional.
11308         [!__ASSUME_32BITUIDS]: Remove conditional code.
11309         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11310         <kernel-features.h>.
11311         [__ASSUME_32BITUIDS]: Make code unconditional.
11312         [!__ASSUME_32BITUIDS]: Remove conditional code.
11313         * sysdeps/unix/sysv/linux/setegid.c: Do not include
11314         <kernel-features.h>.
11315         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11316         unconditional.
11317         (__setresgid): Do not declare.
11318         [__ASSUME_32BITUIDS]: Make code unconditional.
11319         [!__ASSUME_32BITUIDS]: Remove conditional code.
11320         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11321         <kernel-features.h>.
11322         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11323         unconditional.
11324         (__setresuid): Do not declare.
11325         [__ASSUME_32BITUIDS]: Make code unconditional.
11326         [!__ASSUME_32BITUIDS]: Remove conditional code.
11327         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11328         <kernel-features.h>.
11329         [__ASSUME_32BITUIDS]: Make code unconditional.
11330         [!__ASSUME_32BITUIDS]: Remove conditional code.
11331         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11332         <kernel-features.h>.
11333         [__ASSUME_32BITUIDS]: Make code unconditional.
11334         [!__ASSUME_32BITUIDS]: Remove conditional code.
11336 2012-05-25  Richard Henderson  <rth@twiddle.net>
11338         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11339         dl_hwcap to ifunc resolver.
11340         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11341         elf_ifunc_invoke.
11342         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11343         dl_hwcap to ifunc resolver.
11344         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11346 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11348         [BZ #14153]
11349         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11350         for |x| <= 2**-26, not 2**-57.
11351         * math/libm-test.inc (acos_test): Do not allow spurious underflow
11352         exception.
11354 2012-05-24  Jeff Law  <law@redhat.com>
11356         * stdio-common/Makefile (tests): Add bug25.
11357         * stdio-common/bug25.c: New test.
11359 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11361         [BZ #13576]
11362         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11363         multiple of MALLOC_ALIGNMENT in size.
11364         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11366 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11368         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11369         Require >= 256.
11370         (FILENAME_MAX): Use macro-int-constant.
11371         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
11372         (_IOFBF): Use macro-int-constant.
11373         (_IOLBF): Likewise.
11374         (_IONBF): Likewise.
11375         (SEEK_CUR): Likewise.
11376         (SEEK_END): Likewise.
11377         (SEEK_SET): Likewise.
11378         (TMP_MAX): Likewise.
11379         (EOF): Use macro-int-constant.  Require < 0.
11380         (NULL): Use macro-constant.  Require == 0.
11381         (stdin): Require type to be FILE *.
11382         (stdout): Likewise.
11383         (stderr): Likewise.
11384         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11385         macro-int-constant.
11386         (EXIT_SUCCESS): Likewise.
11387         (NULL): Use macro-constant.  Require == 0.
11388         (RAND_MAX): Use macro-int-constant.
11389         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11390         [C99-based standards] (strtof): Require function.
11391         [C99-based standards] (strtold): Likewise.
11392         [C99-based standards] (strtoll): Likewise.
11393         [C99-based standards] (strtoull): Likewise.
11394         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11395         [ISO || ISO99 || ISO11] (limits.h): Likewise.
11396         [ISO || ISO99 || ISO11] (math.h): Likewise.
11397         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11398         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11399         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11401 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
11403         [BZ #14132]
11404         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11405         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11406         * intl/dgettext.c (DCGETTEXT): Likewise.
11407         * intl/gettext.c (DCGETTEXT): Likewise.
11408         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11409         * posix/regex_internal.h (gettext): Likewise.
11410         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11411         Remove declaration.
11412         * include/argz.h (__argz_count_internal)
11413         (__argz_stringify_internal): Remove declaration.
11414         (__argz_count, __argz_stringify): Declare hidden proto.
11415         * intl/dcgettext.c: Remove use of INTDEF.
11416         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11417         * string/argz-stringify.c: Likewise.
11418         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11419         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11420         Declare hidden proto.
11421         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11422         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11423         Declare hidden proto.
11424         * include/stdio.h (__asprintf_internal): Don't declare.
11425         (__asprintf): Don't define as macro.  Declare hidden proto.
11426         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11427         (__fsetlocking): Declare hidden proto.
11428         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11429         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11430         hidden proto.
11431         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11432         (_IO_setlinebuf): Remove use of INTUSE.
11433         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11434         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11435         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11436         Remove declaration.
11437         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11438         (_IO_do_flush): Remove use of INTUSE.
11439         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11440         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11441         (_IO_adjust_column, _IO_least_wmarker)
11442         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11443         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11444         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11445         (_IO_default_doallocate, _IO_wdefault_doallocate)
11446         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11447         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11448         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11449         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11450         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11451         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11452         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11453         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11454         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11455         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11456         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11457         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11458         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11459         proto.
11460         (_IO_flush_all_internal, _IO_adjust_column_internal)
11461         (_IO_default_uflow_internal, _IO_default_finish_internal)
11462         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11463         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11464         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11465         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11466         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11467         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11468         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11469         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11470         (_IO_file_close_internal, _IO_file_close_it_internal)
11471         (_IO_file_underflow_internal, _IO_file_overflow_internal)
11472         (_IO_file_init_internal, _IO_file_attach_internal)
11473         (_IO_file_fopen_internal, _IO_file_read_internal)
11474         (_IO_file_sync_internal, _IO_file_seek_internal)
11475         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11476         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11477         (_IO_str_underflow_internal, _IO_str_overflow_internal)
11478         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11479         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11480         (_IO_list_all_internal, _IO_link_in_internal)
11481         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11482         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11483         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11484         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11485         (_IO_do_write_internal, _IO_padn_internal)
11486         (_IO_getline_info_internal, _IO_getline_internal)
11487         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11488         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11489         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11490         (_IO_vfscanf_internal, _IO_vfprintf_internal)
11491         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11492         (_IO_init_internal, _IO_un_link_internal): Don't declare.
11493         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11494         with libc_hidden_ver, remove use of INTUSE.
11495         * libio/genops.c: Likewise.
11496         * libio/freopen.c: Likewise.
11497         * libio/freopen64.c: Likewise.
11498         * libio/iofclose.c: Likewise.
11499         * libio/iofdopen.c: Likewise.
11500         * libio/iofflush.c: Likewise.
11501         * libio/iofflush_u.c: Likewise.
11502         * libio/iofgets.c: Likewise.
11503         * libio/iofgets_u.c: Likewise.
11504         * libio/iofopen.c: Likewise.
11505         * libio/iofopncook.c: Likewise.
11506         * libio/iofread.c: Likewise.
11507         * libio/iofread_u.c: Likewise.
11508         * libio/ioftell.c: Likewise.
11509         * libio/iofwrite.c: Likewise.
11510         * libio/iogetline.c: Likewise.
11511         * libio/iogets.c: Likewise.
11512         * libio/iogetwline.c: Likewise.
11513         * libio/iopadn.c: Likewise.
11514         * libio/iopopen.c: Likewise.
11515         * libio/ioseekoff.c: Likewise.
11516         * libio/ioseekpos.c: Likewise.
11517         * libio/iosetbuffer.c: Likewise.
11518         * libio/iosetvbuf.c: Likewise.
11519         * libio/ioungetc.c: Likewise.
11520         * libio/ioungetwc.c: Likewise.
11521         * libio/iovdprintf.c: Likewise.
11522         * libio/iovsprintf.c: Likewise.
11523         * libio/iovsscanf.c: Likewise.
11524         * libio/memstream.c: Likewise.
11525         * libio/obprintf.c: Likewise.
11526         * libio/oldfileops.c: Likewise.
11527         * libio/oldiofclose.c: Likewise.
11528         * libio/oldiofdopen.c: Likewise.
11529         * libio/oldiofopen.c: Likewise.
11530         * libio/oldiopopen.c: Likewise.
11531         * libio/oldstdfiles.c: Likewise.
11532         * libio/putc.c: Likewise.
11533         * libio/setbuf.c: Likewise.
11534         * libio/setlinebuf.c: Likewise.
11535         * libio/stdfiles.c: Likewise.
11536         * libio/strops.c: Likewise.
11537         * libio/vasprintf.c: Likewise.
11538         * libio/vscanf.c: Likewise.
11539         * libio/vsnprintf.c: Likewise.
11540         * libio/vswprintf.c: Likewise.
11541         * libio/wfiledoalloc.c: Likewise.
11542         * libio/wfileops.c: Likewise.
11543         * libio/wgenops.c: Likewise.
11544         * libio/wmemstream.c: Likewise.
11545         * libio/wstrops.c: Likewise.
11546         * libio/__fpurge.c: Likewise.
11547         * libio/__fsetlocking.c: Likewise.
11548         * assert/assert.c: Likewise.
11549         * debug/fgets_chk.c: Likewise.
11550         * debug/fgets_u_chk.c: Likewise.
11551         * debug/fread_chk.c: Likewise.
11552         * debug/fread_u_chk.c: Likewise.
11553         * debug/gets_chk.c: Likewise.
11554         * debug/obprintf_chk.c: Likewise.
11555         * debug/vasprintf_chk.c: Likewise.
11556         * debug/vdprintf_chk.c: Likewise.
11557         * debug/vsnprintf_chk.c: Likewise.
11558         * debug/vsprintf_chk.c: Likewise.
11559         * malloc/mtrace.c: Likewise.
11560         * misc/error.c: Likewise.
11561         * misc/syslog.c: Likewise.
11562         * stdio-common/asprintf.c: Likewise.
11563         * stdio-common/fxprintf.c: Likewise.
11564         * stdio-common/getw.c: Likewise.
11565         * stdio-common/isoc99_fscanf.c: Likewise.
11566         * stdio-common/isoc99_scanf.c: Likewise.
11567         * stdio-common/isoc99_vfscanf.c: Likewise.
11568         * stdio-common/isoc99_vscanf.c: Likewise.
11569         * stdio-common/isoc99_vsscanf.c: Likewise.
11570         * stdio-common/printf-prs.c: Likewise.
11571         * stdio-common/printf_fp.c: Likewise.
11572         * stdio-common/printf_fphex.c: Likewise.
11573         * stdio-common/printf_size.c: Likewise.
11574         * stdio-common/putw.c: Likewise.
11575         * stdio-common/scanf.c: Likewise.
11576         * stdio-common/sprintf.c: Likewise.
11577         * stdio-common/tmpfile.c: Likewise.
11578         * stdio-common/vfprintf.c: Likewise.
11579         * stdio-common/vfscanf.c: Likewise.
11580         * stdlib/strfmon_l.c: Likewise.
11581         * sunrpc/openchild.c: Likewise.
11582         * sunrpc/xdr_stdio.c: Likewise.
11583         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11584         * sysdeps/mach/hurd/tmpfile.c: Likewise.
11586 2012-05-24  Roland McGrath  <roland@hack.frob.com>
11588         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11590         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11591         in the third column, to generate for the shared library an IFUNC
11592         that uses _dl_vdso_vsym.
11593         * Makerules (COMPILE.c, compile-stdin.c): New variables.
11594         * Makeconfig (object-suffixes-noshared): New variable.
11596         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11597         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11598         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11599         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11601         [BZ #14132]
11602         * include/sys/time.h (__gettimeofday): Remove macro.
11603         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11604         * time/gettimeofday.c (__gettimeofday): Remove #undef.
11605         Remove INTDEF.
11606         (__gettimeofday): Add libc_hidden_def.
11607         (gettimeofday): Add libc_hidden_weak.
11608         * sysdeps/mach/gettimeofday.c: Likewise.
11609         * sysdeps/posix/gettimeofday.c: Likewise.
11610         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11611         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11612         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11613         (__gettimeofday_internal): Remove strong_alias.
11614         (__gettimeofday): Add libc_hidden_def.
11615         (gettimeofday): Add libc_hidden_weak.
11616         * sysdeps/unix/syscalls.list (gettimeofday):
11617         Remove __gettimeofday_internal alias.
11619 2012-05-24  Daniel Jacobowitz  <drow@false.org>
11620             H.J. Lu  <hongjiu.lu@intel.com>
11622         [BZ #12495]
11623         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11624         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11625         (largebin_index_32_big): New.
11626         (largebin_index): Use it for 16-byte alignment.
11627         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
11628         correction with front_misalign.
11630 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11634         Likewise.
11635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11636         Likewise.
11637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11638         Likewise.
11639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11640         Likewise.
11641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11642         Likewise.
11643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11644         Likewise.
11645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11646         Likewise.
11647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11648         Likewise.
11649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11650         Likewise.
11651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11652         Likewise.
11653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11654         Likewise.
11655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11656         Likewise.
11658         * scripts/data/c++-types-x32-linux-gnu.data: New file.
11659         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11661 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11663         [BZ #10846]
11664         [BZ #14036]
11665         * math/libm-test.inc (exp_test): Add test from bug 14036.
11666         (pow_test): Add test from bug 10846.
11668         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11669         and other flags.
11670         (special_function): Do not include flags in test name.
11671         (parse_args): Likewise.
11672         * sysdeps/i386/fpu/libm-test-ulps: Update.
11673         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11674         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11675         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11678         * math/gen-libm-test.pl (%beautify): Add entries for underflow
11679         exceptions.
11680         * math/libm-test.inc ("Philosophy"): Update comment about
11681         exception testing.
11682         (UNDERFLOW_EXCEPTION): New macro.
11683         (UNDERFLOW_EXCEPTION_OK): Likewise.
11684         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11685         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11686         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11687         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11688         (INVALID_EXCEPTION_OK): Update value.
11689         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11690         (OVERFLOW_EXCEPTION_OK): Likewise.
11691         (IGNORE_ZERO_INF_SIGN): Likewise.
11692         (test_exceptions): Handle underflow exceptions.
11693         (acos_test): Update for underflow exception expectations.
11694         (cexp_test): Likewise.
11695         (clog_test): Likewise.
11696         (clog10_test): Likewise.
11697         (csqrt_test): Likewise.
11698         (ctan_test): Likewise.
11699         (ctanh_test): Likewise.
11700         (exp_test): Likewise.
11701         (exp10_test): Likewise.
11702         (exp2_test): Likewise.
11703         (expm1_test): Likewise.
11704         (fma_test): Likewise.
11705         (j0_test): Likewise.
11706         (jn_test): Likewise.
11707         (nexttoward_test): Likewise.
11708         (pow_test): Likewise.
11709         (scalbn_test): Likewise.
11710         (scalbln_test): Likewise.
11711         (tan_test): Likewise.
11712         (y1_test): Likewise.
11713         * sysdeps/i386/fpu/libm-test-ulps: Update.
11714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11716 2012-05-23  David S. Miller  <davem@davemloft.net>
11718         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11719         (__libc_sigaction): Remove unused local variables.
11721 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11723         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11725 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
11727         mktime: avoid signed integer overflow
11728         * time/mktime.c (__mktime_internal): Do not mishandle the case
11729         where diff == INT_MIN.
11731         mktime: simplify computation of average
11732         * time/mktime.c (ranged_convert): Use new time_t_avg function
11733         instead of rolling our own (probably-slower) code.
11735         mktime: do not assume signed right shift propagates sign bit
11736         * time/mktime.c (isdst_differ): New static function.
11737         (__mktime_internal): No need to normalize tm_isdst now.
11738         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11739         tm_isdst values.
11741         mktime: merge another wrapv change from gnulib
11742         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11743         from some compilers.
11745         mktime: remove incorrect attempt at unusual arithmetics
11746         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11747         The code didn't really work on such machines anyway.
11748         (TYPE_MINIMUM): Assume two's complement.
11749         (twos_complement_arithmetic): Verify that long_int and time_t
11750         are two's complement (or unsigned, in the latter case).
11752         mktime: check signed shifts on long_int and time_t, too
11753         * time/mktime.c (SHR): Check that shifts work as desired
11754         on the types long_int and time_t too, as SHR is used on
11755         such types.
11757         mktime: do not assume 'long' is wide enough
11758         * time/mktime.c (verify): Move decl up.
11759         (long_int): New type.
11760         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11761         to remove assumption in the code that 'long' is wide enough to
11762         store year values.  This assumption is not true on x32 and on
11763         some non-glibc platforms.
11765         mktime: merge wrapv change from gnulib
11766         * time/mktime.c (WRAPV): New macro.
11767         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11768         (guess_time_tm, __mktime_internal): Do not assume that signed
11769         integer overflow wraps around; modern compilers generate code
11770         where this assumption is no longer valid.
11772 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11774         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11775         Replace "jmp L(pseudo_end)" with "ret".
11776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11777         Likewise.
11779 2012-05-23  Andreas Jaeger  <aj@suse.de>
11781         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11782         * sysdeps/unix/sysv/linux/poll.c: Remove file.
11784 2012-05-23  Andreas Jaeger  <aj@suse.de>
11785             Maximilian Attems  <max@stro.at>
11787         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11788         New macros.
11790 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11792         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11793         code so that pseudo_end is just ret and the stack pointer is
11794         correct also for static library in error case.
11796 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
11798         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11799         move to syscalls.list.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11805         * manual/install.texi (Running make install): Do not mention Linux
11806         kernel version for which pt_chown is not needed.
11807         (Linux): Do not mention problems with nscd with 2.0 kernels.
11808         * INSTALL: Regenerated.
11810 2012-05-23  Andreas Jaeger  <aj@suse.de>
11812         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11813         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11814         macro.
11815         * sysdeps/unix/sysv/linux/s390/bits/mman.h
11816         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11817         * sysdeps/unix/sysv/linux/sh/bits/mman.h
11818         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11819         * sysdeps/unix/sysv/linux/i386/bits/mman.h
11820         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11821         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11822         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11823         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11824         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11825         * sysdeps/unix/sysv/linux/bits/in.h
11826         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11828 2012-05-22  Roland McGrath  <roland@hack.frob.com>
11830         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11831         (PREPARE_VERSION): Just use assert instead, it will be elided
11832         under [NDEBUG] anyway.
11834 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11836         * sysdeps/unix/sysv/linux/Makefile: Include
11837         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11838         (sysdep_routines): Remove sysctl.
11839         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11840         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11841         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11842         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11843         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11845 2012-05-22  Andreas Jaeger  <aj@suse.de>
11847         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11848         that pseudo_end is just ret and the stack pointer is correct also
11849         for static library in error case.
11851 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11853         [BZ #14122]
11854         * nss/nsswitch.c (defconfig_entries): New variable.
11855         (__nss_database_lookup): Don't leak defconfig entries.
11856         (nss_parse_service_list): Don't leak on error paths.
11857         (free_database_entries): New function.
11858         (free_defconfig): New function.
11859         (free_mem): Move common code to free_database_entries.
11861 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11863         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11864         Add arch_prctl.
11865         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11867         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11868         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11869         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11870         New macro.
11871         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11872         (INTERNAL_SYSCALL_TYPES): Likewise.
11873         (LOAD_ARGS_TYPES_[1-6]): Likewise.
11874         (LOAD_REGS_TYPES_[1-6]): Likewise.
11875         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11876         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11878 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11880         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11881         copysignl for GLIBC_2_0.
11882         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11883         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11884         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11885         logbl for GLIBC_2_0.
11886         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11887         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11889 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11891         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11892         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11894         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11895         Use "neg %eax".
11897         * time/mktime.c: Update copyright years.
11899 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11901         mktime: merge comment-quoting-style change from gnulib
11902         * time/mktime.c: Quote 'like this' in comments.
11903         The GNU coding standards suggest that we no longer quote `like this',
11904         as "`" and "'" are typically rendered asymmetrically nowadays.
11905         The typical gnulib style is to quote 'like this' when quoting
11906         code, and "like this" when quoting English.
11908         * time/mktime.c (compile-command): Add "-I.".
11910         mktime: merge mktime-internal.h change from gnulib
11911         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11913         mktime: merge time_r change from gnulib
11914         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11916         mktime: merge DEBUG change from gnulib
11917         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11918         case system <time.h> has a #define.
11920         mktime: merge <sys/types.h> change from gnulib
11921         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11922         since <time.t> is now guaranteed to define time_t.
11924         mktime: merge HAVE_CONFIG_H change from gnulib
11925         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11927 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11930         Use "neg %eax".
11932         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11933         __rlim_t cast.
11934         (struct rusage): Use anonymous union to pad each field to
11935         __syscall_slong_t.
11937 2012-05-21  David S. Miller  <davem@davemloft.net>
11939         * Makefules (o-iterator): Remove .s cases.
11940         (compile-command.s): Delete.
11941         (COMPILE.s): Delete.
11942         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11944 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
11946         * configure.in (libc_cv_predef_stack_protector): Only consider
11947         "foobar" and "__stack_chk_fail" lines in libc_undefs.
11948         * configure: Regenerated.
11950 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11953         New macro.  Use R*LP on int and pointer.
11954         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11955         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11956         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11957         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11959         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11960         [__WORDSIZE_TIME64_COMPAT32] instead of
11961         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11962         (struct utmp): Likewise.
11963         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11964         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11965         Renamed to ...
11966         (__WORDSIZE_TIME64_COMPAT32): This.
11967         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11968         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11969         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11970         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11971         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11972         (__WORDSIZE_TIME64_COMPAT32): New macro.
11974 2012-05-21  Andreas Jaeger  <aj@suse.de>
11976         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11977         only if [SHARED]. Add prototype for __wcschr_ia32.
11979 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11981         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11982         of %rbp unmolested in the jmp_buf while mangling the low bits.
11983         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11984         unmolested high bits of %rbp while demangling the low bits.
11985         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11987 2012-05-21  Andreas Jaeger  <aj@suse.de>
11989         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11990         * sunrpc/svc_simple.c: Use it for registerrpc.
11991         * sunrpc/xcrypt.c: Use it for passwd2des.
11993         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11995 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11997         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11998         Don't define if [__SYSCALL_WORDSIZE != 32].
11999         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12000         New macro.
12002 2012-05-21  Bruno Haible  <bruno@clisp.org>
12003             Andreas Jaeger  <aj@suse.de>
12005         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12006         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12007         inptr and inend for must_buffer_ch.
12008         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12009         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12010         * stdio-common/Makefile (tests): Remove bug15.
12011         (bug15-ENV): Remove macro.
12012         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12013         anymore.
12015 2012-05-19  Andreas Jaeger  <aj@suse.de>
12016             Roland McGrath  <roland@hack.frob.com>
12018         * manual/contrib.texi: Completely rewritten. It contains now an
12019         alphabetical list of contributors and their contributions.
12021 2012-05-21  Richard Henderson  <rth@twiddle.net>
12023         * misc/getauxval.c (__getauxval): Use unsigned long int.
12024         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12025         (getauxval): Use unsigned long int.
12027 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12029         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12031 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12033         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12034         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12035         __alignof__ (long double).
12037 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12041 2012-05-20  Richard Henderson  <rth@twiddle.net>
12043         * misc/getauxval.c: New file.
12044         * misc/sys/auxv.h: New file.
12045         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12046         (routines): Add getauxval.
12047         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12048         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12049         * elf/dl-sysdep.c (_dl_auxv): Remove.
12050         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12051         * elf/dl-support.c (_dl_auxv): New variable.
12052         (_dl_aux_init): Initialize it.
12053         * manual/startup.texi (Auxiliary Vector): New node.
12054         * sysdeps/generic/bits/hwcap.h: New file.
12055         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12056         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12057         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12058         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12059         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12060         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12062         Update.
12063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12066         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12072 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12076 2012-05-19  David S. Miller  <davem@davemloft.net>
12078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12080 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12082         [BZ #14123]
12083         * math/s_ccosh.c: Include <float.h>
12084         (__ccosh): Avoid internal overflow calculating sinh and cosh
12085         values before multiplying by sin and cos values.
12086         * math/s_ccoshf.c: Likewise.
12087         * math/s_ccoshl.c: Likewise.
12088         * math/s_csin.c: Likewise.
12089         * math/s_csinf.c: Likewise.
12090         * math/s_csinl.c: Likewise.
12091         * math/s_csinh.c: Likewise.
12092         * math/s_csinhf.c: Likewise.
12093         * math/s_csinhl.c: Likewise.
12094         * math/libm-test.inc (ccos_test): Add more tests.
12095         (ccosh_test): Likewise.
12096         (csin_test): Likewise.
12097         (csinh_test): Likewise.
12098         * sysdeps/i386/fpu/libm-test-ulps: Update.
12099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12101 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12103         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12104         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12106         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12108 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12110         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12111         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12112         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12113         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12114         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12115         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12116         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12117         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12118         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12119         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12120         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12121         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12122         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12123         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12124         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12125         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12126         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12127         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12128         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12129         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12130         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12131         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12132         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12133         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12134         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12135         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12136         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12137         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12138         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12139         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12140         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12142 2012-05-18  Andreas Jaeger  <aj@suse.de>
12144         * csu/.gitignore: Delete.
12146 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12148         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12149         (timex): Use __syscall_slong_t.
12151 2012-05-18  Andreas Jaeger  <aj@suse.de>
12152             Carlos O'Donell  <carlos_odonell@mentor.com>
12154         * manual/install.texi (Configuring and compiling): Update
12155         description about files modified in the source directory.
12156         * INSTALL: Regenerated.
12158 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12160         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12161         value.  Use "or" to set return value to -1.
12162         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12163         negate return value.
12165 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12167         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12168         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12169         failure if the compiler has Graphite support disabled.
12170         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12171         Likewise.
12172         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12173         CFLAGS-memmove.c): Likewise.
12174         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12175         Likewise.
12177 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12179         * sysdeps/x86_64/x32/_itoa.h: New file.
12181         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12182         getdents system call only if kernel and user dirents have the
12183         same d_ino and d_off.
12185         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12186         LLONG_MAX != LONG_MAX.
12187         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12188         (_fitoa_word): Likewise.
12190         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12191         years.
12192         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12193         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12194         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12196         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12197         include <bits/wordsize.h>.  Check __x86_64__ instead of
12198         __WORDSIZE.
12199         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12200         if __x86_64__ is defined.  Use anonymous union on fpstate.
12202         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12203         anonymous union.
12205 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12207         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12208         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12209         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12210         Refer to _rtld_local_ro instead of _rtld_global_ro.
12211         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12212         Likewise.
12213         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12214         Likewise.
12215         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12216         Likewise.
12217         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12218         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12219         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12221         * sysdeps/powerpc/powerpc32/dl-machine.c
12222         (__elf_machine_runtime_setup) [PROF]: Don't reference
12223         _dl_prof_resolve.
12225 2012-05-18  Andreas Jaeger  <aj@suse.de>
12227         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12228         function only available for GCCs before 3.4 since GCC 3.4
12229         introduced a builtin.
12230         (lrint): Likewise.
12231         (llrintf): Likewise.
12232         (llrint): Likewise.
12233         (fmaxf): Likewise.
12234         (fmax): Likewise.
12235         (fminf): Likewise.
12236         (fmin): Likewise.
12237         (rint): Likewise.
12238         (rintf): Likewise.
12239         (nearbyint): Likewise.
12240         (nearbyintf): Likewise.
12241         (ceil): Likewise.
12242         (ceilf): Likewise.
12243         (floor): Likewise.
12244         (floorf): Likewise.
12246 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12248         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12249         on both fields and cast pointer to __syscall_ulong_t.
12251         * bits/types.h (__fsword_t): New type.
12252         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12253         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12254         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12255         (__FSWORD_T_TYPE): Likewise.
12256         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12257         (__FSWORD_T_TYPE): Likewise.
12258         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12259         (__FSWORD_T_TYPE): Likewise.
12260         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12261         (__FSWORD_T_TYPE): Likewise.
12262         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12263         __SWORD_TYPE with __fsword_t.
12264         (statfs64): Likewise.
12266 2012-05-17  David S. Miller  <davem@davemloft.net>
12268         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12270 2012-05-17  Andreas Jaeger  <aj@suse.de>
12272         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12273         warning.
12275 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12277         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12279 2012-05-17  Andreas Jaeger  <aj@suse.de>
12281         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12282         when it is used.
12284 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12286         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12288 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12290         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12291         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12293 2012-05-17  Andreas Jaeger  <aj@suse.de>
12294             Carlos O'Donell  <carlos_odonell@mentor.com>
12296         [BZ #14059]
12297         * sysdeps/x86_64/multiarch/init-arch.h
12298         (bit_YMM_Usable): Rename to...
12299         (bit_AVX_Usable): ... this.
12300         (bit_FMA4_Usable): New macro.
12301         (bit_XMM_state): New macro.
12302         (bit_YMM_state): New macro.
12303         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12304         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12305         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12306         (CPUID_OSXSAVE): New macro.
12307         (CPUID_AVX): New macro.
12308         (CPUID_FMA4): New macro.
12309         (index_YMM_Usable): Rename to...
12310         (index_AVX_Usable): ... this.
12311         (HAS_AVX): Use HAS_ARCH_FEATURE.
12312         (HAS_FMA4): Likewise.
12313         (HAS_YMM_USABLE): Remove.
12314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12315         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12316         are present.
12317         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12318         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12319         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12320         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12321         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12323 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12325         * math/libm-test.c: Support platforms without multiple rounding modes.
12326         * math/bug-nextafter.c: Support platforms without FP exceptions.
12327         * math/bug-nexttoward.c: Likewise.
12328         * math/test-fenv.c: Likewise.
12329         * math/test-misc.c: Likewise.
12330         * stdlib/bug-getcontext.c: Likewise.
12332 2012-05-17  Andreas Jaeger  <aj@suse.de>
12334         * manual/examples/search.c (critter_cmp): Change signature to
12335         avoid warnings.
12336         * manual/string.texi (Collation Functions): Likewise.
12338 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12340         * bits/types.h: Fold copyright years.
12341         * bits/typesizes.h: Likewise.
12342         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12343         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12344         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12345         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12346         * time/time.h: Likewise.
12348 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
12350         [BZ #208]
12351         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12352         in instead of returning them.  Return void.
12353         (__libc_mallinfo): Accumulate over all arenas.
12354         (__malloc_stats): Adjust for change in int_mallinfo interface.
12356 2012-05-16  Roland McGrath  <roland@hack.frob.com>
12358         [BZ #10375]
12359         * configure.in (NM): Add AC_CHECK_TOOL for it.
12360         (libc_extra_cflags): New substituted variable.
12361         Check for -fstack-protector being used implicitly.
12362         * configure: Regenerated.
12363         * config.make.in (config-extra-cflags): New variable,
12364         gets @libc_extra_cflags@.
12365         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12367         [BZ #10375]
12368         * configure.in: Check for _FORTIFY_SOURCE being predefined.
12369         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12370         * configure: Regenerated.
12371         * config.make.in (CPPUNDEFS): New substituted variable.
12372         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12373         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12374         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12376 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12378         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12379         (mq_attr): Use __syscall_slong_t.
12381 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12383         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12384         Check __x86_64__ instead of __WORDSIZE.
12385         (_STAT_VER_LINUX): Likewise.
12386         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
12387         __syscall_ulong_t and __syscall_slong_t.
12388         (stat64): Likewise.
12390 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12392         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12394 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12396         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12398 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12400         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12401         __syscall_ulong_t.
12403         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12404         include <bits/wordsize.h>.  Check __x86_64__ instead of
12405         __WORDSIZE.
12406         (greg_t): Use "__extension__ long long int" if __x86_64__ is
12407         defined.
12408         (mcontext_t): Replace "unsigned long" with "unsigned long long".
12410         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12411         include <bits/wordsize.h>.  Check __x86_64__ instead of
12412         __WORDSIZE.
12413         (user_regs_struct): Use "__extension__ unsigned long long"
12414         instead of "unsigned long" if __x86_64__ is defined.
12415         (user): Likewise.  Pad after pointer field if __ILP32__ is
12416         defined.
12418 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
12420         * configure.in (makeinfo): Require version 4.5 or later.  Allow
12421         versions 5 to 9.
12422         * configure: Regenerated.
12423         * manual/install.texi (texinfo): Increase version requirement to
12424         4.5 or later.
12425         * INSTALL: Regenerated.
12427         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12429 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12431         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12433         * sysdeps/x86_64/x32/ffs.c: New file.
12435         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12436         __syscall_ulong_t.
12437         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12438         defined.  Use __syscall_ulong_t.
12439         (shminfo): Use __syscall_ulong_t.
12440         (shm_info): Likewise.
12442         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12443         __syscall_ulong_t.
12445         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12446         <bits/wordsize.h>.
12447         (msgqnum_t): Use __syscall_ulong_t.
12448         (msglen_t): Likewise.
12449         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
12450         __syscall_ulong_t.
12452         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12453         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12455         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12457         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12458         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12460         * sysvipc/sys/msg.h (msgbuf): Replace long int with
12461         __syscall_slong_t.
12463         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12464         include <bits/wordsize.h>.  Check __x86_64__ instead of
12465         __WORDSIZE.
12467         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12468         "unsigned long long int" if __x86_64__ is defined.
12469         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12471         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12472         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12473         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12475         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12476         <stdint.h>.
12477         (GET_PC): Cast to uintptr_t first.
12478         (GET_FRAME): Likewise.
12479         (GET_STACK): Likewise.
12481         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12482         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12483         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12484         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12485         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12486         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12487         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12488         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12489         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12490         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12491         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12492         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12493         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12494         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12495         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12496         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12497         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12498         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12499         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12500         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12501         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12502         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12503         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12504         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12505         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12506         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12507         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12508         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12509         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12511 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
12513         * Makerules (+depfiles): Also collect depfiles from .oS in
12514         $(extra-objs).
12515         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12516         .oS, $(libnldbl-routines)).
12518         * Makerules (native-compile-mkdep-flags): Define.
12519         * sunrpc/Makefile (extra-objs): Add $(addprefix
12520         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12521         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12522         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
12523         calling $(make-target-directory).
12525 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12527         * bits/types.h (__snseconds_t): Removed.
12528         * time/time.h (struct timespec): Replace __snseconds_t with
12529         __syscall_slong_t.
12530         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12531         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12532         Likewise.
12533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12534         (__SNSECONDS_T_TYPE): Likewise.
12535         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12536         (__SNSECONDS_T_TYPE): Likewise.
12537         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12538         (__SNSECONDS_T_TYPE): Likewise.
12540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12542         * sysdeps/mach/hurd/bits/typesizes.h
12543         (__SYSCALL_SLONG_TYPE): New macro.
12544         (__SYSCALL_ULONG_TYPE): Likewise.
12546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12548         * bits/types.h (__syscall_slong_t): New type.
12549         (__syscall_ulong_t): Likewise.
12551         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12552         (__SYSCALL_ULONG_TYPE): Likewise.
12553         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12554         (__SYSCALL_SLONG_TYPE): Likewise.
12555         (__SYSCALL_ULONG_TYPE): Likewise.
12556         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12557         (__SYSCALL_SLONG_TYPE): Likewise.
12558         (__SYSCALL_ULONG_TYPE): Likewise.
12559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12560         (__SYSCALL_SLONG_TYPE): Likewise.
12561         (__SYSCALL_ULONG_TYPE): Likewise.
12563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12565         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12566         Add sigaltstack-offsets.sym.
12567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12568         <sigaltstack-offsets.h>.
12569         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
12570         longjmp_msg pointer.
12571         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
12572         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12573         signal stack.
12574         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12576 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12578         * elf/stackguard-macros.h: Remove file.
12579         * sysdeps/generic/stackguard-macros.h: New file.
12580         * sysdeps/i386/stackguard-macros.h: Likewise.
12581         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12582         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12583         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12584         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12585         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12586         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12587         * sysdeps/x86_64/stackguard-macros.h: Likewise.
12588         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12589         <elf/stackguard-macros.h>.
12591         [BZ #14109]
12592         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12593         __aligned__ in attribute.
12594         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12595         (gregset_t): Likewise.
12597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12599         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12600         * sysdeps/x86_64/64/Implies-after: Here.  New file.
12601         * sysdeps/x86_64/x32/Implies-after: New file.
12603 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12605         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12606         and access return value for _dl_profile_fixup.  Use R10_LP to
12607         load frame size.
12609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12611         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12613 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12615         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12616         * sysdeps/x86_64/x32/sysdep.h: New file.
12618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12620         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12621         * sysdeps/x86_64/setjmp.S: Likewise.
12623 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12625         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12626         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12627         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12628         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12629         remove unused global constant.
12631 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
12633         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12634         include of <not-cancel.h>.
12636 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12638         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12640 2012-05-15  Jeff Law  <law@redhat.com>
12641             Andreas Jaeger  <aj@suse.de>
12643         [BZ #13594]
12644         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12645         out from...
12646         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12647         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12648         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12649         code changing __hst_map_handle.map.
12651 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12653         * configure.in (sysnames): Look for Implies-before and Implies-after
12654         files.
12655         * configure: Regenerated.
12657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12659         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12660         8-byte data alignment with LP_SIZE alignment.
12662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12664         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12665         into R10_LP.
12667 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12669         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12673         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12674         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12675         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12676         Likewise.
12677         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12681         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12682         (stackinfo_sub_sp): Likewise.
12684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12686         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12687         RAX_LP.
12689 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12691         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12692         into R*_LP.
12694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12696         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12697         sizes into R*_LP.
12699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12701         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12705         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12706         into R11_LP and load __x86_64_shared_cache_size_half into
12707         R8_LP.
12709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12711         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12712         R8_LP.
12714 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12716         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12717         logb for POWER7.
12718         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12719         logbf for POWER7.
12720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12721         logbl for POWER7.
12722         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12723         powerpc32/power7/fpu/s_logb.c via #include.
12724         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12725         powerpc32/power7/fpu/s_logbf.c via #include.
12726         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12727         powerpc32/power7/fpu/s_logbl.c via #include.
12729 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12731         * README.libm: Remove file.
12733 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12735         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12736         count for x32.  Use R*_LP and omit operand-size suffix.
12738 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12740         * shlib-versions: Move x86_64-.*-linux.* entries to ...
12741         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
12742         * sysdeps/x86_64/x32/shlib-versions: New file.
12744 2012-05-14  Roland McGrath  <roland@hack.frob.com>
12746         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12747         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12748         Use _dl_fatal_printf instead.
12750 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12752         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12753         set if not set by the user.  Do not allow for being unset.
12754         * sysdeps/unix/sysv/linux/configure: Regenerated.
12756 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12758         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12759         the `q' suffix from lea and replace .quad with ASM_ADDR.
12761 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12764         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
12765         instead of $17.
12766         (PTR_DEMANGLE): Likewise.
12768 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12770         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12771         (LP_OP): Likewise.
12772         (ASM_ADDR): Likewise.
12773         (RAX_LP): Likewise.
12774         (RBP_LP): Likewise.
12775         (RBX_LP): Likewise.
12776         (RCX_LP): Likewise.
12777         (RDI_LP): Likewise.
12778         (RSI_LP): Likewise.
12779         (RSP_LP): Likewise.
12780         (R8_LP): Likewise.
12781         (R9_LP): Likewise.
12782         (R10_LP): Likewise.
12783         (R10_LP): Likewise.
12784         (R11_LP): Likewise.
12785         (R12_LP): Likewise.
12786         (R13_LP): Likewise.
12787         (R14_LP): Likewise.
12788         (R15_LP): Likewise.
12790 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12792         * sysdeps/x86_64/x32/dl-machine.h: New file.
12794 2012-05-14  Andreas Jaeger  <aj@suse.de>
12796         * manual/Makefile (subdir): Remove export of subdir.
12797         (all): Remove target.
12798         (.PHONY): Remove all from list.
12799         (mkinstalldirs): Remove.
12800         (.PHONY): Remove installdirs from list.
12801         ($(inst_infodir)/libc.info): Use make-target-directory.
12802         (installdirs): Remove.
12803         (subdir_%): Remove.
12804         (glibc-targets): Remove.
12805         (lib): Remove.
12806         (stubs): Remove.
12807         ($(objpfx)stubs ../po/manual.pot): Remove.
12808         ($(objpfx)stamp%): Remove.
12809         (make-target-directory): Remove.
12810         (subdir_install): Remove.
12811         (routines): Remove.
12812         (aux): Remove.
12813         (sources): Remove.
12814         (objects): Remove.
12815         (headers): Remove.
12817         [BZ #13750]
12818         * manual/.gitignore: Remove, it's not needed anymore.
12819         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12820         all files in it.
12821         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12822         directory.
12823         (texis): Renamed to $(objpfx)texis.
12824         (texis-path): New, contains path to generated files.
12825         (chapters.%): Use texis-path for complete path, add extra argument
12826         libc-texinfo.sh.
12827         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12828         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12829         (summary,texi, stamp-summary): Use complete path of
12830         files. Generate files in build dir.
12831         (dir-add.texi): Build in build dir.
12832         (libm-err.texi,stamp-libm-err): Likewise.
12833         (version.texi, stamp-version): Likewise.
12834         (.%c.texi): Likewise.
12835         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12836         (mostlyclean): Remove target.
12837         (realclean): Remove target.
12838         (generated): Add new variable with contents from mostlyclean and
12839         realclean, remove entries duplicated in common-mostlyclean, add
12840         stamp-libm-err and stamp-version.
12841         (generated-dirs): Add libc directory.
12842         ($(inst_infodir)/libc.info): Install files from build dir.
12844         * manual/install.texi (Configuring and compiling): Adjust since
12845         the info files are not part of the tar ball anymore.
12847 2012-05-14  Andreas Jaeger  <aj@suse.de>
12849         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12850         variable.
12852 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12854         [BZ #13717]
12855         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12856         to 2.2.0 where earlier.
12857         * sysdeps/unix/sysv/linux/configure: Regenerated.
12858         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12859         Remove conditional code.
12860         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12861         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12862         Remove conditional code.
12863         [!__NR_lchown]: Likewise.
12864         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12865         [__NR_lchown]: Likewise.
12866         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12867         comment referencing __ASSUME_LCHOWN_SYSCALL.
12868         * sysdeps/unix/sysv/linux/i386/sigaction.c
12869         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12870         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12871         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12872         Remove conditional code.
12873         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12874         (__protocol_available): Remove #if 0 code.
12875         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12876         conditional code.
12877         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12878         * sysdeps/unix/sysv/linux/kernel-features.h
12879         (__ASSUME_GETCWD_SYSCALL): Don't define.
12880         (__ASSUME_REALTIME_SIGNALS): Likewise.
12881         (__ASSUME_PREAD_SYSCALL): Likewise.
12882         (__ASSUME_PWRITE_SYSCALL): Likewise.
12883         (__ASSUME_POLL_SYSCALL): Likewise.
12884         (__ASSUME_LCHOWN_SYSCALL): Likewise.
12885         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12886         non-SPARC.
12887         (__ASSUME_SIOCGIFNAME): Don't define.
12888         (__ASSUME_MSG_NOSIGNAL): Likewise.
12889         (__ASSUME_SENDFILE): Define unconditionally.
12890         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12891         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12892         conditional code.
12893         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12894         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12895         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12896         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12897         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12898         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12899         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12901         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12902         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12904         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12905         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12907         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12908         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12910         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12911         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12913         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12914         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12916         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12917         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12919         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12920         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12922         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12923         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12924         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12925         Remove conditional code.
12926         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12927         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12928         Remove conditional code.
12929         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12930         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12931         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12932         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12933         Remove conditional code.
12934         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12935         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12936         Remove conditional code.
12937         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12938         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12939         Remove conditional code.
12940         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12941         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12942         Remove conditional code.
12943         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12944         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12945         Remove conditional code.
12946         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12947         * sysdeps/unix/sysv/linux/sh/pwrite64.c
12948         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12949         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12950         * sysdeps/unix/sysv/linux/sigaction.c
12951         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12952         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12953         * sysdeps/unix/sysv/linux/sigpending.c
12954         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12955         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12956         * sysdeps/unix/sysv/linux/sigprocmask.c
12957         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12958         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12959         * sysdeps/unix/sysv/linux/sigsuspend.c
12960         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12961         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12962         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12963         (__libc_missing_rt_sigs): Remove.
12964         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12965         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12966         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12967         Remove conditional code.
12968         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12969         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12970         return 1.
12971         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12972         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12973         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12974         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12976 2012-05-14  Andreas Jaeger  <aj@suse.de>
12978         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12979         it's not used in glibc.
12980         (__coshm1): Likewise.
12981         (__acosh1p): Likewise.
12982         (__sgn): Likewise.
12984         * manual/string.texi (Copying and Concatenation): Add missing
12985         variable in concat example.
12986         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12990         [BZ #14103]
12991         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12992         __builtin_clzl with __builtin_clzll.
12994 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12996         [BZ #14104]
12997         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12998         libc_freeres_ptr.
13000 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13002         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13003         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13004         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13005         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13007 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13009         * NEWS: Update ia64 info.
13011 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13013         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13014         used as bcopy.
13016 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13018         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13019         * sysdeps/unix/syscalls.list (dup3): Likewise.
13020         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13021         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13023 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13025         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13026         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13028 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13030         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13031         thread pointer.
13032         (TLS_IE): Use mov/add instead of movq/addq to load thread
13033         pointer.
13034         (TLS_GD_PREFIX): New.
13035         (TLS_GD): Use it.
13037 2012-05-11  David S. Miller  <davem@davemloft.net>
13039         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13040         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13041         (_FPU_SETCW): Likewise.
13043 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13045         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13046         is 32-byte aligned.
13048 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13050         [BZ #11837]
13051         * iconvdata/gb18030.c: Update tables.
13052         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13053         characters specially.
13054         (BODY for TO_LOOP): Add encoding of missing ranges.
13056 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13058         [BZ #13673]
13059         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13060         * sysdeps/mach/hurd/dup3.c: Likewise.
13061         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13062         * sysdeps/powerpc/memmove.c:: Likewise.
13064 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13066         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13067         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13069 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13071         * elf/elf.h (R_X86_64_RELATIVE64): New.
13072         (R_X86_64_NUM): Updated.
13073         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13074         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13075         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13076         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13077         tst-quad1pie tst-quad2pie
13078         (modules-names): Add tst-quadmod1 tst-quadmod2.
13079         ($(objpfx)tst-quad1): New dependency.
13080         ($(objpfx)tst-quad2): Likewise.
13081         ($(objpfx)tst-quad1pie): Likewise.
13082         ($(objpfx)tst-quad2pie): Likewise.
13083         * sysdeps/x86_64/tst-quad1.c: New file.
13084         * sysdeps/x86_64/tst-quad1pie.c: New file.
13085         * sysdeps/x86_64/tst-quad2.c: Likewise.
13086         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13087         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13088         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13089         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13090         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13094         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13095         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13096         * streams/stropts.h (t_scalar_t): Define type.
13098         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13099         (_PATH_PRESERVE): Set to "/var/lib".
13100         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13102         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13103         instead of int.
13105         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13106         if __dir_mkfile succeeded.
13108         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13109         checking for _hurd_dtablesize.  Unlock it right after having
13110         finished _hurd_dtable allocation.
13112 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13114         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13115         * sysdeps/mach/hurd/configure: Regenerated.
13116         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13117         special-casing to...
13118         * sysdeps/gnu/configure.in: ... this new file.
13119         * sysdeps/unix/sysv/linux/configure: Regenerated.
13120         * sysdeps/gnu/configure: New generated file.
13122         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13123         for Linux: use nsec instead of usec, as well as:
13124         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13125         members of type struct timespec.
13126         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13127         New macros.
13128         (struct stat64): Likewise.
13129         (_STATBUF_ST_NSEC): New macro.
13130         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13132         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13133         __strtoul_internal rather than strtoul.
13135 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13137         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13138         and reject them.
13140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13142         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13143         which preserves existing values.
13144         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13146 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13148         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13149         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13150         greater than FD_SETSIZE.
13152 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13154         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13155         allocated, call __vm_protect to finish enabling the existing space, and
13156         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13157         allocate the remainder.
13159 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13161         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13162         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13164 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13166         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13167         sysdeps/mach/hurd/readlink.c.
13169         * posix/tst-sysconf.c (posix_options): Only use
13170         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13171         _POSIX_SYNCHRONIZED_IO when they are defined
13172         * sysdeps/mach/hurd/bits/posix_opt.h:
13173         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13174         (_XOPEN_REALTIME): Undefine macro.
13175         (_XOPEN_REALTIME_THREADS): Undefine macro.
13176         (_XOPEN_SHM): Undefine macro.
13177         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13178         macro to -1.
13179         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13180         macro to -1.
13181         (_POSIX_ASYNC_IO): Undefine macro.
13182         (_POSIX_PRIORITIZED_IO): Undefine macro.
13183         (_POSIX_SPIN_LOCKS): Define macro to -1.
13185         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13186         SA_NODEFER, SA_RESETHAND.
13187         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13188         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13189         F_DUPFD_CLOEXEC.
13191 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13193         * elf/Makefile (pldd-modules): Define unconditionally.
13195 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13197         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13199 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13201         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13202         Return ENOENT when name is empty.
13203         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13205 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13207         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13209         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13213         Fix mlock in all cases except non-readable pages.
13214         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13215         instead of VM_PROT_ALL as parameter to __vm_wire function.
13217         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13218         (__mkdir): When path is `/', just fail with EEXIST.
13219         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13221 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13223         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13224         <sys/uio.h> (for writev).
13225         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13226         and <sys/param.h> (for MIN).
13228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13230         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13231         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13232         if interrupted.
13234 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13236         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13237         Depend on against $(link-rpcuserlibs).
13239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13241         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13242         (__libc_stack_end): Do not use attribute_relro.
13243         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13244         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13245         to libthread-provided value.
13246         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13247         attribute_relro.
13249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13251         [BZ #3748]
13252         * bits/libc-lock.h (__libc_once_get): New macro.
13253         * sysdeps/mach/bits/libc-lock.h: Likewise.
13254         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13255         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13256         instead of using implementation details.
13258         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13259         * libio/freopen.c: Likewise.
13260         * libio/freopen64.c: Likewise.
13261         * misc/syslog.c: Likewise.
13262         * nscd/connections.c: Likewise.
13263         * nscd/netgroupcache.c: Likewise.
13264         * sysdeps/posix/getcwd.c: Likewise.
13266 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13268         * math/w_ilogbf.c: Add #include <limits.h>.
13270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13272         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13273         path instead of returning without unlocking.
13275         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13276         immediate-write ioctls.
13277         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13279 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13281         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13282         __builtin_frame_address instead of making assumptions about the
13283         location of the return address relative to DATA.  Force early load of
13284         the return address.
13285         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13286         __builtin_frame_address.
13288         dup3 for GNU Hurd.
13289         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13290         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13291         implement dup3 and do some further code clean-ups.
13292         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13293         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13295 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13297         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13299         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13300         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13301         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13302         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13303         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13304         d->port.lock.
13306         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13307         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13308         when handler == SIG_ERR, not when handler != SIG_ERR.
13310 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13312         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13313         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13314         definitions.
13316         accept4 for GNU Hurd.
13317         * include/sys/socket.h (__libc_accept4): New prototype.
13318         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13319         to implement __libc_accept4.
13320         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13321         __libc_accept4.
13322         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13324         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13325         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13326         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13327         signal-defines.sym.
13329 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13331         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13333 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13335         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13336         assertion on O_CLOEXEC flag.
13337         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13338         * hurd/intern-fd.c: Likewise.
13339         * hurd/port2fd.c: Likewise.
13341 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13343         [BZ #3906]
13344         * bits/in.h (IPV6_PKTINFO): Define new macro.
13345         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13347 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13349         [BZ #13954]
13350         [BZ #13955]
13351         [BZ #13956]
13352         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13353         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13354         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13355         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13356         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13357         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13358         * math/libm-test.inc (logb_test) : Additional logb tests.
13360 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
13361             Andreas Jaeger  <aj@suse.de>
13363         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13364         * configure: Regenerated.
13365         * config.h.in (LINK_OBSOLETE_RPC): New macro.
13366         * config.make.in (link-obsolete-rpc): New substituted variable.
13367         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13368         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13369         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13370         (shared-only-routines): Don't set it under [link-obsolete-rpc],
13371         so that libc.a contains the symbols.
13372         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13373         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13374         * sunrpc/auth_none.c: Likewise.
13375         * sunrpc/auth_unix.c: Likewise.
13376         * sunrpc/authdes_prot.c: Likewise.
13377         * sunrpc/authuxprot.c: Likewise.
13378         * sunrpc/clnt_gen.c: Likewise.
13379         * sunrpc/clnt_perr.c: Likewise.
13380         * sunrpc/clnt_raw.c: Likewise.
13381         * sunrpc/clnt_simp.c: Likewise.
13382         * sunrpc/clnt_tcp.c: Likewise.
13383         * sunrpc/clnt_udp.c: Likewise.
13384         * sunrpc/clnt_unix.c: Likewise.
13385         * sunrpc/des_crypt.c: Likewise.
13386         * sunrpc/des_soft.c: Likewise.
13387         * sunrpc/get_myaddr.c: Likewise.
13388         * sunrpc/key_call.c: Likewise.
13389         * sunrpc/key_prot.c: Likewise.
13390         * sunrpc/netname.c: Likewise.
13391         * sunrpc/pm_getmaps.c: Likewise.
13392         * sunrpc/pm_getport.c: Likewise.
13393         * sunrpc/pmap_clnt.c: Likewise.
13394         * sunrpc/pmap_prot.c: Likewise.
13395         * sunrpc/pmap_prot2.c: Likewise.
13396         * sunrpc/pmap_rmt.c: Likewise.
13397         * sunrpc/publickey.c: Likewise.
13398         * sunrpc/rpc_cmsg.c: Likewise.
13399         * sunrpc/rpc_common.c: Likewise.
13400         * sunrpc/rpc_dtable.c: Likewise.
13401         * sunrpc/rpc_prot.c: Likewise.
13402         * sunrpc/rpc_thread.c: Likewise.
13403         * sunrpc/rtime.c: Likewise.
13404         * sunrpc/svc.c: Likewise.
13405         * sunrpc/svc_auth.c: Likewise.
13406         * sunrpc/svc_raw.c: Likewise.
13407         * sunrpc/svc_run.c: Likewise.
13408         * sunrpc/svc_tcp.c: Likewise.
13409         * sunrpc/svc_udp.c: Likewise.
13410         * sunrpc/svc_unix.c: Likewise.
13411         * sunrpc/svcauth_des.c: Likewise.
13412         * sunrpc/xcrypt.c: Likewise.
13413         * sunrpc/xdr.c: Likewise.
13414         * sunrpc/xdr_array.c: Likewise.
13415         * sunrpc/xdr_float.c: Likewise.
13416         * sunrpc/xdr_intXX_t.c: Likewise.
13417         * sunrpc/xdr_mem.c: Likewise.
13418         * sunrpc/xdr_rec.c: Likewise.
13419         * sunrpc/xdr_ref.c: Likewise.
13420         * sunrpc/xdr_sizeof.c: Likewise.
13421         * sunrpc/xdr_stdio.c: Likewise.
13423 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13425         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13426         change.  Update copyright years.
13428 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13430         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13432 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
13433             Joseph Myers  <joseph@codesourcery.com>
13434             Paul Pluzhnikov  <ppluzhnikov@google.com>
13436         [BZ #14012]
13437         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13438         requiring rpcgen.
13439         [cross-compiling] (extra-libs): Likewise.
13440         [cross-compiling] (extra-libs-others): Likewise.
13441         [cross-compiling] (librpcsvc-routines): Likewise.
13442         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13443         [cross-compiling] (omit-deps): Likewise.
13444         (sunrpc-CPPFLAGS): New variable.
13445         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13446         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13447         (cross-rpcgen-objs): New variable.
13448         (extra-objs): Append $(cross-rpcgen-objs).
13449         ($(cross-rpcgen-objs)): New rule.
13450         ($(objpfx)cross-rpcgen): Likewise.
13451         (rpcgen-cmd): Define to use $(built-program-file).  Expand
13452         comment.
13453         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13454         ($(objpfx)x%.stmp): Likewise.
13455         * sunrpc/proto.h [IS_IN_build] (_): Define.
13456         [IS_IN_build] (_libc_intl_domainname): Likewise.
13458 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13460         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13461         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13462         and R_X86_64_TPOFF64.
13464 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13466         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13467         sysdeps/unix/sysv/syscalls.list.
13468         (stime): Likewise.
13469         (utime): Likewise.
13470         * sysdeps/unix/sysv/syscalls.list: Remove file.
13472 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
13474         [BZ #3440]
13475         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13476         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13477         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13478         (__LC_IDENTIFICATION): Make these macros useful in #if
13479         expressions, as required by C99.
13481 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
13483         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13484         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
13485         after this.
13487 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
13489         * stdlib/longlong.h: Updated from GCC.
13491 2012-05-09  Andreas Jaeger  <aj@suse.de>
13493         * nscd/nscd.c (run_modes): Make named enum, reorder so that
13494         default is first entry.
13495         (run_mode): Set type.
13496         (main): Remove informal message about syslog.
13497         (options): Fix typo.
13499         [BZ #14053]
13500         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13501         to asm.
13502         (lrint): Likewise.
13503         (llrintf): Likewise.
13504         (llrint): Likewise.
13505         (rint): Likewise.
13506         (rintf): Likewise.
13507         (nearbyint): Likewise.
13508         (nearbyintf): Likewise.
13510 2012-05-09  Andreas Jaeger  <aj@suse.de>
13511             Pedro Alves  <palves@redhat.com>
13513         * nscd/nscd.c (run_mode): Use enum.
13514         (main): Cleanup coding style issue.
13516 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
13517             Andreas Jaeger  <aj@suse.de>
13519         * nscd/nscd.c (go_background): Replaced with...
13520         (run_mode): ... this.
13521         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13522         (options): Add -F --foreground.
13523         (main): Implement it.
13524         (parse_opt): Parse it.
13526 2012-05-09  Andreas Jaeger  <aj@suse.de>
13528         [BZ #14083]
13529         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13530         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13531         -Wconversion warning.
13532         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13533         Likewise.
13535 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
13537         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
13538         == 0.
13539         (LC_ALL): Use macro-int-constant.
13540         (LC_COLLATE): Likewise.
13541         (LC_CTYPE): Likewise.
13542         (LC_MESSAGES): Likewise.
13543         (LC_MONETARY): Likewise.
13544         (LC_NUMERIC): Likewise.
13545         (LC_TIME): Likewise.
13546         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13547         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13548         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13549         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13550         Specify type.
13551         [C99-based standards] (float_t): Expect type.
13552         [C99-based standards] (double_t): Expect type.
13553         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
13554         type.
13555         [C99-based standards] (HUGE_VALL): Likewise.
13556         [C99-based standards] (INFINITY): Likewise.
13557         [C99-based standards] (NAN): Likewise.
13558         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13559         [C99-based standards] (FP_NAN): Likewise.
13560         [C99-based standards] (FP_NORMAL): Likewise.
13561         [C99-based standards] (FP_SUBNORMAL): Likewise.
13562         [C99-based standards] (FP_ZERO): Likewise.
13563         [C99-based standards] (FP_FAST_FMA): Use
13564         optional-macro-int-constant.  Specify type.  Require == 1.
13565         [C99-based standards] (FP_FAST_FMAF): Likewise.
13566         [C99-based standards] (FP_FAST_FMAL): Likewise.
13567         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13568         [C99-based standards] (FP_ILOGBNAN): Likewise.
13569         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13570         Specify type.
13571         [C99-based standards] (MATH_ERREXCEPT): Likewise.
13572         [C99-based standards] (math_errhandling): Specify type.
13573         [ISO99 || ISO11] (signgam): Do not allow.
13574         [non-C99-based standards] (copysignf): Do not allow.
13575         [non-C99-based standards] (exp2f): Likewise.
13576         [non-C99-based standards] (log2f): Likewise.
13577         [non-C99-based standards] (modff): Allow.
13578         [non-C99-based standards] (erff): Do not allow.
13579         [non-C99-based standards] (erfcf): Likewise.
13580         [non-C99-based standards] (gammaf): Likewise.
13581         [non-C99-based standards] (hypotf): Likewise.
13582         [non-C99-based standards] (j0f): Likewise.
13583         [non-C99-based standards] (j1f): Likewise.
13584         [non-C99-based standards] (jnf): Likewise.
13585         [non-C99-based standards] (lgammaf): Likewise.
13586         [non-C99-based standards] (tgammaf): Likewise.
13587         [non-C99-based standards] (y0f): Likewise.
13588         [non-C99-based standards] (y1f): Likewise.
13589         [non-C99-based standards] (ynf): Likewise.
13590         [non-C99-based standards] (isnanf): Likewise.
13591         [non-C99-based standards] (acoshf): Likewise.
13592         [non-C99-based standards] (asinhf): Likewise.
13593         [non-C99-based standards] (atanhf): Likewise.
13594         [non-C99-based standards] (cbrtf): Likewise.
13595         [non-C99-based standards] (expm1f): Likewise.
13596         [non-C99-based standards] (ilogbf): Likewise.
13597         [non-C99-based standards] (log1pf): Likewise.
13598         [non-C99-based standards] (logbf): Likewise.
13599         [non-C99-based standards] (nextafterf): Likewise.
13600         [non-C99-based standards] (remainderf): Likewise.
13601         [non-C99-based standards] (rintf): Likewise.
13602         [non-C99-based standards] (scalbf): Likewise.
13603         [non-C99-based standards] (copysignl): Likewise.
13604         [non-C99-based standards] (exp2l): Likewise.
13605         [non-C99-based standards] (log2l): Likewise.
13606         [non-C99-based standards] (modfl): Allow.
13607         [non-C99-based standards] (erfl): Do not allow.
13608         [non-C99-based standards] (erfcl): Likewise.
13609         [non-C99-based standards] (gammal): Likewise.
13610         [non-C99-based standards] (hypotl): Likewise.
13611         [non-C99-based standards] (j0l): Likewise.
13612         [non-C99-based standards] (j1l): Likewise.
13613         [non-C99-based standards] (jnl): Likewise.
13614         [non-C99-based standards] (lgammal): Likewise.
13615         [non-C99-based standards] (tgammal): Likewise.
13616         [non-C99-based standards] (y0l): Likewise.
13617         [non-C99-based standards] (y1l): Likewise.
13618         [non-C99-based standards] (ynl): Likewise.
13619         [non-C99-based standards] (isnanl): Likewise.
13620         [non-C99-based standards] (acoshl): Likewise.
13621         [non-C99-based standards] (asinhl): Likewise.
13622         [non-C99-based standards] (atanhl): Likewise.
13623         [non-C99-based standards] (cbrtl): Likewise.
13624         [non-C99-based standards] (expm1l): Likewise.
13625         [non-C99-based standards] (ilogbl): Likewise.
13626         [non-C99-based standards] (log1pl): Likewise.
13627         [non-C99-based standards] (logbl): Likewise.
13628         [non-C99-based standards] (nextafterl): Likewise.
13629         [non-C99-based standards] (remainderl): Likewise.
13630         [non-C99-based standards] (rintl): Likewise.
13631         [non-C99-based standards] (scalbl): Likewise.
13632         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13633         [non-C99-based standards] (FP_*): Do not allow.
13634         [C99-based standards] (FP_*): Change to
13635         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13636         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13637         allow.
13638         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13639         (SIG_ERR): Likewise.
13640         [X/Open-based standards] (SIG_HOLD): Likewise.
13641         (SIG_IGN): Likewise.
13642         (SIGABRT): Use macro-int-constant.  Specify type.  Require
13643         positive value.
13644         (SIGFPE): Likewise.
13645         (SIGILL): Likewise.
13646         (SIGINT): Likewise.
13647         (SIGSEGV): Likewise.
13648         (SIGTER): Likewise.
13649         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13650         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13651         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13652         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13653         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13654         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13655         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13656         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13657         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13658         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13659         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13660         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13661         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13662         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13663         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13664         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13665         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13666         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13667         [X/Open-based standards] (SIGTRAP): Likewise.
13668         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13669         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13670         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13671         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13672         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13673         allow.
13675 2012-05-08  Ian Wienand  <ianw@vmware.com>
13677         [BZ #14080]
13678         * time/tzset.c (__tzset_parse_tz): Update default rules for
13679         daylight time changes in the Energy Policy Act of 2005.
13681 2012-05-09  Andreas Jaeger  <aj@suse.de>
13683         [BZ #13983]
13684         * elf/ldconfig.c (parse_conf): Change string to make clear that
13685         ldconfig only issued a warning if ld.so.conf does not exist.
13687 2012-05-08  David S. Miller  <davem@davemloft.net>
13689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13690         movxtod instead of popping the value on the stack.
13692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13694 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
13696         * config.h.in: Add HAVE_ARM_PCS_VFP.
13698 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
13700         [BZ #13979]
13701         * include/features.h: Warn if user requests __FORTIFY_SOURCE
13702         checking but the checks are disabled for any reason.
13704 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13706         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13707         and ELF64_R_TYPE with ELFW(R_TYPE).
13709 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
13711         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13712         (ulimit): Likewise.
13714         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13715         (settimeofday): Likewise.
13717 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
13719         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
13720         a struct th_u2 inside the union, and move tu_block/tu_code into
13721         a new th_u3 union of tu_block/tu_code inside of that.  Move
13722         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
13723         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
13724         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13725         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13726         (th_stuff): Change to th_u1.tu_stuff.
13727         (th_data): Define.
13728         (th_msg): Change to th_u1.th_u2.tu_data.
13730 2012-05-07  David S. Miller  <davem@davemloft.net>
13732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13734         [BZ #14074]
13735         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13736         (SETUP_PIC_REG): Use it.
13737         (SETUP_PIC_REG_LEAF): Use it.
13739 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
13741         [BZ #13885]
13742         [BZ #13923]
13743         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13744         USE_AS_EXPM1L.
13745         (EXPL_FINITE): Likewise.
13746         (FLDLOG): Likewise.
13747         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13748         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13749         e_expl.S.
13750         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13751         USE_AS_EXPM1L.
13752         (EXPL_FINITE): Likewise.
13753         (FLDLOG): Likewise.
13754         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13755         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13756         e_expl.S.
13757         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
13758         test of -max_value argument for long double.
13759         * sysdeps/i386/fpu/libm-test-ulps: Update.
13760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13762 2012-05-06  David S. Miller  <davem@davemloft.net>
13764         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13765         quad soft-float symbols whose references which are compiler
13766         generated.
13767         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13769 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
13771         [BZ #13884]
13772         [BZ #13914]
13773         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13774         USE_AS_EXP10L.
13775         (EXPL_FINITE): Likewise.
13776         (FLDLOG): Likewise.
13777         (c0): Likewise.
13778         (c1): Likewise.
13779         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13780         Adjust comments for base varying.
13781         (__expl_finite): Change alias to EXPL_FINITE.
13782         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13783         e_expl.S.
13784         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13785         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13787         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13788         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13789         USE_AS_EXP10L.
13790         (EXPL_FINITE): Likewise.
13791         (FLDLOG): Likewise.
13792         (c0): Likewise.
13793         (c1): Likewise.
13794         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13795         Adjust comments for base varying.
13796         (__expl_finite): Change alias to EXPL_FINITE.
13797         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
13798         tests for bugs.
13799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13801         [BZ #14064]
13802         * math/libm-test.inc (check_float_internal): Correct ulp
13803         calculation for subnormal expected results.
13805 2012-05-06  Andreas Jaeger  <aj@suse.de>
13807         * Makeconfig (+math-flags): New, set to -frounding-math.
13808         (+cflags): Add +math-flags so that all of glibc gets compiled with
13809         it.
13811         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13813 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
13815         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13816         Disable one test.
13818         [BZ #13787]
13819         [BZ #13922]
13820         [BZ #14036]
13821         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13822         (__ieee754_expl): Allow for and saturate large arguments.
13823         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13824         (u_threshold): Likewise.
13825         (__exp): Call __ieee754_exp before checking for overflow and
13826         underflow.
13827         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13828         (u_threshold): Likewise.
13829         (__expf): Call __ieee754_expf before checking for overflow and
13830         underflow.
13831         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13832         (u_threshold): Likewise.
13833         (__expl): Call __ieee754_expl before checking for overflow and
13834         underflow.
13835         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13836         (__ieee754_expl): Allow for and saturate large arguments.
13837         * math/libm-test.inc (exp_test): Add another test.  Do not allow
13838         missing overflow exception on overflow.
13839         (expm1_test): Do not allow missing overflow exception on overflow.
13841         * sysdeps/i386/fpu/e_expl.c: Move to ...
13842         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
13843         rather than using inline asm.
13844         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13845         * sysdeps/x86_64/fpu/e_expl.S: Copy from
13846         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13848         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13849         (nice): Likewise.
13850         (poll): Likewise.
13851         (signal): Likewise.
13852         (time): Likewise.
13853         (times): Likewise.
13855 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13857         * sysdeps/unix/syscalls.list (adjtime): Add entry from
13858         sysdeps/unix/common/syscalls.list.
13859         (fchmod): Likewise.
13860         (fchown): Likewise.
13861         (ftruncate): Likewise.
13862         (getrusage): Likewise.
13863         (gettimeofday): Likewise.
13864         (setpgid): Likewise.
13865         (setregid): Likewise.
13866         (setreuid): Likewise.
13867         (sigaction): Likewise.
13868         (truncate): Likewise.
13869         (vhangup): Likewise.
13870         * sysdeps/unix/common/syscalls.list: Remove file.
13871         * sysdeps/unix/bsd/Implies: Don't include unix/common.
13872         * sysdeps/unix/sysv/linux/Implies: Likewise.
13874 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
13876         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13878         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13879         Moved to ...
13880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13881         Here.
13882         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13883         to ...
13884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13885         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13886         to ...
13887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13888         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13889         to ...
13890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13891         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13892         to ...
13893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13894         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13895         to ...
13896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13897         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13898         to ...
13899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13900         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13901         to ...
13902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13903         Here.
13904         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13905         to ...
13906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13907         Here.
13908         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13909         to ...
13910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13911         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13912         Moved to ...
13913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13914         Here.
13915         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13916         to ...
13917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13919 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13921         * sysdeps/unix/common/bits/dirent.h: Remove file.
13922         * sysdeps/unix/common/bits/fcntl.h: Likewise.
13924         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13925         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13926         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13927         * sysdeps/unix/bsd/isatty.c: Likewise.
13928         * sysdeps/unix/bsd/tcdrain.c: Likewise.
13929         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13930         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13932 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13934         [BZ #13563]
13935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13936         long double comparison inaccuracies.
13937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13940 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
13942         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13943         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13945 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13947         [BZ #14049]
13948         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13949         nonzero digits before rounding a hex value.
13950         * stdlib/tst-strtod.c (tests): Add another test.
13952 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13954         * sysdeps/s390/fpu/libm-test-ulps: Update.
13956 2012-05-03  Andreas Jaeger  <aj@suse.de>
13958         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13959         does not get optimized out.
13960         (malloc_opt_barrier): New.
13962 2012-05-03  Andreas Jaeger  <aj@suse.de>
13963             Roland McGrath  <roland@hack.frob.com>
13965         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13966         intermediate file deletion.
13967         (generated): Add .symlist files.
13969 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
13971         [BZ #13775]
13972         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13973         Redirect under this condition.
13974         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13975         [__USE_GNU] (__dprintf_chk): Not under this condition.
13976         [__USE_GNU] (__vdprintf_chk): Likewise.
13977         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13978         under this condition.
13979         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13980         [__USE_XOPEN2K8] (dprintf): Define under this condition.
13981         [__USE_XOPEN2K8] (vdprintf): Likewise.
13982         [__USE_GNU] (__dprintf_chk): Not under this condition.
13983         [__USE_GNU] (__vdprintf_chk): Likewise.
13984         [__USE_GNU] (dprintf): Likewise.
13985         [__USE_GNU] (vdprintf): Likewise.
13987 2012-05-03  Roland McGrath  <roland@hack.frob.com>
13989         * elf/Makefile (common-generated): Set this instead of generated for
13990         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
13991         $(all-built-dso)-derived lists.
13993 2012-05-03  Andreas Jaeger  <aj@suse.de>
13995         * sysdeps/i386/fpu/libm-test-ulps: Update.
13997         * FAQ: Removed.
13998         * FAQ.in: Likewise.
13999         * scripts/gen-FAQ.pl: Likewise.
14000         * manual/install.texi (Installation): Point to online location of
14001         FAQ.
14002         * Makefile (files-for-dist): Remove FAQ.
14003         (FAQ): Remove.
14005 2012-05-02  Allan McRae  <allan@archlinux.org>
14007         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14008         (LDFLAGS-reldepmod5.so): Likewise.
14009         (LDFLAGS-reldep6mod1.so): Likewise.
14010         (LDFLAGS-reldep6mod4.so): Likewise.
14011         (LDFLAGS-reldep8mod3.so): Likewise.
14012         (LDFLAGS-unload4mod1.so): Likewise.
14013         (LDFLAGS-unload4mod2.so): Likewise.
14014         (LDFLAGS-tst-initorder): Likewise.
14015         (LDFLAGS-tst-initordera2.so): Likewise.
14016         (LDFLAGS-tst-initordera3.so): Likewise.
14017         (LDFLAGS-tst-initordera4.so): Likewise.
14018         (LDFLAGS-tst-initorderb2.so): Likewise.
14019         (LDFLAGS-noload): Likewise.
14020         (LDFLAGS-next): Likewise.
14021         (LDFLAGS-order2mod1.so): Likewise.
14022         (LDFLAGS-order2mod2.so): Likewise.
14023         (LDFLAGS-tst-initorder2): Likewise.
14024         (LDFLAGS-tst-initorder2a.so): Likewise.
14025         (LDFLAGS-tst-initorder2b.so): Likewise.
14026         (LDFLAGS-tst-initorder2c.so): Likewise.
14027         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14029 2012-05-02  David S. Miller  <davem@davemloft.net>
14031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14033 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14035         [BZ #14055]
14036         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14038 2012-05-02  Andreas Jaeger  <aj@suse.de>
14040         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14041         since we manipulate rounding mode.
14042         (CPPFLAGS-test-idouble.c): Likewise.
14043         (CPPFLAGS-test-ifloat.c): Likewise.
14044         (CFLAGS-test-ldouble.c): Likewise.
14045         (CFLAGS-test-double.c): Likewise.
14046         (CFLAGS-test-float.c): Likewise.
14047         (CFLAGS-test-misc.c): Likewise.
14048         (CFLAGS-test-test-fenv.c): Likewise.
14050 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14052         [BZ #2550]
14053         [BZ #2570]
14054         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14055         comparisons to determine direction to adjust input.
14057 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14059         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14060         output to the target.
14062         * scripts/localplt.awk: New file.
14063         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14064         (check-localplt-CFLAGS): Variable removed.
14065         ($(all-built-dso:=.jmprel)): New static pattern rule.
14066         (generated): Add those targets.
14067         (localplt-built-dso): New variable.
14068         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14070         * elf/check-localplt.c: File removed.
14072         * scripts/check-execstack.awk: New file.
14073         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14074         (check-execstack-CFLAGS): Variable removed.
14075         ($(objpfx)check-execstack.h): Target removed.
14076         ($(objpfx)execstack-default): New target.
14077         (generated): Add that instead of check-execstack.h.
14078         ($(all-built-dso:=.phdr)): New static pattern rule.
14079         (generated): Add those targets.
14080         * elf/check-execstack.c: File removed.
14082         * scripts/check-textrel.awk: New file.
14083         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14084         (check-textrel-CFLAGS): Variable removed.
14085         (all-built-dso): Use := to define.o
14086         ($(all-built-dso:=.dyn)): New static pattern rule.
14087         (generated): Add those targets.
14088         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14089         * config.make.in (READELF): New substituted variable.
14090         * elf/check-textrel.c: File removed.
14092 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14094         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14095         allow.
14096         * conform/data/ctype.h-data [C99-based standards] (isblank):
14097         Expect function.
14098         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14099         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14100         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14101         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14102         Specify type.  Require positive value.
14103         (EILSEQ): Likewise.
14104         (ERANGE): Likewise.
14105         [ISO || POSIX] (EILSEQ): Do not expect.
14106         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14107         Specify type.  Require positive value.
14108         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14109         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14110         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14111         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14112         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14113         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14114         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14115         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14116         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14117         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14118         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14119         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14120         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14121         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14122         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14123         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14124         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14125         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14126         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14127         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14128         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14129         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14130         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14131         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14132         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14133         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14134         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14135         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14136         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14137         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14138         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14139         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14140         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14141         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14142         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14143         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14144         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14145         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14146         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14147         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14148         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14149         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14150         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14151         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14152         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14153         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14154         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14155         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14156         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14157         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14158         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14159         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14160         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14161         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14162         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14163         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14164         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14165         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14166         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14167         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14168         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14169         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14170         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14171         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14172         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14173         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14174         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14175         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14176         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14177         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14178         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14179         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14180         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14181         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14182         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14183         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14184         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14185         Require >= 2.
14186         (FLT_ROUNDS): Expect as macro, not constant.
14187         (FLT_MANT_DIG): Use macro-int-constant.
14188         (DBL_MANT_DIG): Likewise.
14189         (LDBL_MANT_DIG): Likewise.
14190         (FLT_DIG): Likewise.
14191         (DBL_DIG): Likewise.
14192         (LDBL_DIG): Likewise.
14193         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14194         (DBL_MIN_EXP): Likewise.
14195         (LDBL_MIN_EXP): Likewise.
14196         (FLT_MAX_EXP): Use macro-int-constant.
14197         (DBL_MAX_EXP): Likewise.
14198         (LDBL_MAX_EXP): Likewise.
14199         (FLT_MAX_10_EXP): Likewise.
14200         (DBL_MAX_10_EXP): Likewise.
14201         (LDBL_MAX_10_EXP): Likewise.
14202         (FLT_MAX): Use macro-constant.
14203         (DBL_MAX): Likewise.
14204         (LDBL_MAX): Likewise.
14205         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14206         (DBL_EPSILON): Likewise.
14207         (LDBL_EPSILON): Likewise.
14208         (FLT_MIN): Likewise.
14209         (DBL_MIN): Likewise.
14210         (LDBL_MIN): Likewise.
14211         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14212         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14213         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14214         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14215         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14216         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14217         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14218         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14219         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14220         [ISO11] (FLT_TRUE_MIN): Likewise.
14221         [ISO11] (LDBL_TRUE_MIN): Likewise.
14222         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14223         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14224         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14225         (SCHAR_MAX): Likewise.
14226         (UCHAR_MAX): Likewise.
14227         (CHAR_MIN): Likewise.
14228         (CHAR_MAX): Likewise.
14229         (MB_LEN_MAX): Use macro-int-constant.
14230         (SHRT_MIN): Use macro-int-constant.  Specify type.
14231         (SHRT_MAX): Likewise.
14232         (USHRT_MAX): Likewise.
14233         (INT_MAX): Likewise.
14234         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14235         bound negative.
14236         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14237         bound with "U".
14238         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14239         bound with "L".
14240         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14241         bound negative.  Suffix upper bound with "L".
14242         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14243         bound with "UL".
14244         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14245         Specify type.
14246         [C99-based standards] (LLONG_MAX): Likewise.
14247         [C99-based standards] (ULLONG_MAX): Likewise.
14248         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14249         == 0.
14250         [ISO11] (max_align_t): Require type.
14251         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14253         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14254         from $CFLAGS, without defining away __attribute__ calls.
14255         (checknamespace): Use $CFLAGS_namespace.
14257         * conform/conformtest.pl (@keywords): Only include C99 keywords
14258         for standards based on C99 or C11.
14260         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14261         Disable tests.
14262         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14263         UNIX98]: Likewise.
14265         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14266         usability of symbols in #if.
14268         * conform/conformtest.pl: If macro or constant types start
14269         "promoted:", expect the symbol to be of the following type
14270         promoted by the integer promotions.
14272         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14273         in one place.  Also handle "macro-constant".
14275         * conform/conformtest.pl: Only accept expected macro values with
14276         "==".  Parse all "macro" lines in one place.
14277         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14279         * conform/conformtest.pl: Handle braced types on "constant" lines
14280         instead of handling "typed-constant".
14281         * conform/data/signal.h-data: Use "constant" instead of
14282         "typed-constant".
14284         * conform/conformtest.pl: Handle "optional-" at start of lines in
14285         one place rather than duplicating several cases.  Handle each
14286         format of "macro" line with initial "optional-".
14288         * conform/conformtest.pl: Only accept expected constant or
14289         optional-constant values with "==".  Parse all "constant" lines in
14290         one place.  Parse all "optional-constant" lines in one place.
14291         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14292         * conform/data/fmtmsg.h-data: Likewise.
14293         * conform/data/netinet/in.h-data: Likewise.
14294         * conform/data/tar.h-data: Likewise.
14295         * conform/data/limits.h-data: Use "==" form on "constant" and
14296         "optional-constant" lines.
14298         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14299         Use -std=c99 for XOPEN2K.
14300         (@knownproblems): Remove.
14301         (newtoken): Don't check %isknown.
14303         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14304         Do not expect macro.
14305         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14306         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14307         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14308         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14309         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14310         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14311         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14312         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14313         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14314         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14315         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14316         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14317         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14318         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14319         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14320         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14321         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14322         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14323         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14324         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14325         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14326         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14327         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14328         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14329         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14330         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14331         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14332         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14333         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14334         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14335         [XPG3] (acosh): Likewise.
14336         [XPG3] (asinh): Likewise.
14337         [XPG3] (atanh): Likewise.
14338         [XPG3] (cbrt): Likewise.
14339         [XPG3] (expm1): Likewise.
14340         [XPG3] (ilogb): Likewise.
14341         [XPG3] (log1p): Likewise.
14342         [XPG3] (logb): Likewise.
14343         [XPG3] (nextafter): Likewise.
14344         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14345         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14346         [XPG3] (remainder): Likewise.
14347         [XPG3] (rint): Likewise.
14348         [XPG3 || XPG4 || UNIX98] (round): Likewise.
14349         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14350         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14351         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14352         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14353         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14354         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14355         [UNIX98 || XOPEN2K] (scalb): Expect.
14356         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14357         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14358         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14359         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14360         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14361         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14362         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14363         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14364         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14365         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14366         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14367         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14368         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14369         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14370         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14371         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14372         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14373         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14374         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14375         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14376         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14377         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14378         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14379         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14380         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14381         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14382         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14383         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14384         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14385         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14386         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14387         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14388         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14389         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14390         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14391         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14392         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14393         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14394         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14395         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14396         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14397         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14398         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14399         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14400         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14401         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14402         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14403         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14404         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14405         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14406         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14407         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14408         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14409         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14410         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14411         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14412         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14413         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14414         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14415         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14416         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14417         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14418         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14419         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14420         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14421         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14422         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14423         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14424         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14425         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14426         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14427         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14428         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14429         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14430         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14431         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14432         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14433         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14434         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14435         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14436         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14437         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14438         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14439         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14440         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14441         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14442         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14443         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14444         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14445         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14446         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14447         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14448         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14449         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14450         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14451         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14452         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14453         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14454         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14455         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14456         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14457         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14458         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14459         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14460         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14461         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14462         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14463         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14464         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14465         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14466         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14467         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14468         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14469         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14470         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14471         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14472         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14473         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14474         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14475         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14476         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14477         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14478         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14479         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14480         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14481         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14482         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14483         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14484         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14485         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14486         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14487         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14488         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14489         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14490         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14491         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14492         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14494         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14495         _XOPEN_SOURCE_EXTENDED for XPG4.
14497         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14499         * Makeconfig (localtime): Remove variable.
14500         (inst_localtime-file): Likewise.
14502 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14505         Update.
14506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14507         Update.
14508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14509         Update.
14510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14511         Update.
14512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14513         Update.
14514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14515         Update.
14516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14517         Update.
14518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14519         Update.
14520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14521         Update.
14523 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14525         [BZ #2550]
14526         [BZ #2570]
14527         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14528         comparisons to determine direction to adjust input.
14529         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14530         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14531         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14532         Likewise.
14533         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14534         Likewise.
14535         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14536         Likewise.
14537         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14538         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14539         Likewise.
14540         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14541         Likewise.
14542         * math/libm-test.inc (nexttoward_test): Add more tests.
14544 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14546         [BZ #14040]
14547         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14548         in version GLIBC_2.1, not GLIBC_2.0.
14549         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14550         Likewise.
14552 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
14554         [BZ #13942]
14555         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14556         (1 - x) * (1 + x).
14557         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14558         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14559         * math/libm-test.inc (acos_test): Add more tests.
14560         (asin_test): Likewise.
14561         * sysdeps/i386/fpu/libm-test-ulps: Update.
14562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14564         [BZ #14034]
14565         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14566         of square root.
14567         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14568         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14569         * math/libm-test.inc (acos_test_tonearest): New function.
14570         (acos_test_towardzero): Likewise.
14571         (acos_test_downward): Likewise.
14572         (acos_test_upward): Likewise.
14573         (asin_test_tonearest): Likewise.
14574         (asin_test_towardzero): Likewise.
14575         (asin_test_downward): Likewise.
14576         (asin_test_upward): Likewise.
14577         (main): Call the new functions.
14578         * sysdeps/i386/fpu/libm-test-ulps: Update.
14579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14581         [BZ #13884]
14582         [BZ #13924]
14583         * math/e_exp10.c: Include <float.h>.
14584         (__ieee754_exp10): Handle underflow here rather than multiplying
14585         large negative argument by M_LN10.
14586         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14587         of __ieee754_expf.
14588         * math/e_exp10l.c: Include <float.h>.
14589         (__ieee754_exp10l): Handle underflow here rather than multiplying
14590         large negative argument by M_LN10l.
14591         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
14592         spurious overflow exception on underflow.
14594 2012-04-29  Marek Polacek  <polacek@redhat.com>
14596         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14597         (__fortify_function): New macro.
14598         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14599         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14600         __extern_always_inline.
14601         * libio/bits/stdio2.h: Likewise.
14602         * libio/bits/stdio.h: Likewise.
14603         * string/string.h: Likewise.
14604         * string/bits/string3.h: Likewise.
14605         * include/stdio.h: Likewise.
14606         * stdlib/bits/stdlib.h: Likewise.
14607         * stdlib/stdlib.h: Likewise.
14608         * rt/bits/mqueue2.h: Likewise.
14609         * rt/mqueue.h: Likewise.
14610         * posix/bits/unistd.h: Likewise.
14611         * posix/unistd.h: Likewise.
14612         * io/bits/poll2.h: Likewise.
14613         * io/bits/fcntl2.h: Likewise.
14614         * io/fcntl.h: Likewise.
14615         * io/sys/poll.h: Likewise.
14616         * misc/bits/syslog.h: Likewise.
14617         * misc/bits/syslog-ldbl.h: Likewise.
14618         * misc/sys/syslog.h: Likewise.
14619         * socket/bits/socket2.h: Likewise.
14620         * socket/sys/socket.h: Likewise.
14621         * debug/tst-chk1.c: Likewise.
14622         * wcsmbs/bits/wchar2.h: Likewise.
14623         * wcsmbs/bits/wchar-ldbl.h: Likewise.
14624         * wcsmbs/wchar.h: Likewise.
14626 2012-04-29  Andreas Jaeger  <aj@suse.de>
14628         * Makerules (tests): Remove enable-check-abi protection.
14629         (check-abi-warn): Remove.
14630         (check-abi-%): Remove check-abi-warn usage.
14632         * configure.in: Remove check-abi configure option.
14633         * configure: Regenerated.
14634         * config.make.in (enable-check-abi): Remove.
14636 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
14638         [BZ #14033]
14639         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14640         double functions to double *_finite functions.
14642         [BZ #13941]
14643         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14644         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14645         LDBL_MIN_EXP.
14646         * stdio-common/Makefile (tests): Add tst-sprintf3.
14647         * stdio-common/tst-sprintf3.c: New file.
14649         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14650         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14652 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14654         * conform/conformtest.pl: Remove duplicate typed-constant
14655         handling.
14657 2012-04-28  David S. Miller  <davem@davemloft.net>
14659         * Makerules (%.abilist): Add vpath on sysdep_dirs.
14660         (check-abi-%): Remove AWK script prerequisite and explicit
14661         abilist directory.
14662         (check-abi): Rewrite to just diff the symlist with the abilist.
14663         (config-tls, config-abi-config): Delete, no longer used.
14664         (update-abi-%): Remove AWK script and explicit abilist directory.
14665         (update-abi): Rewrite to simply compare and conditionally copy the
14666         symlist and the sysdep abilist file.  Remove update-abi-config
14667         checks.
14668         * abilist/ld.abilist: Remove.
14669         * abilist/libBrokenLocale.abilist: Remove.
14670         * abilist/libanl.abilist: Remove.
14671         * abilist/libcrypt.abilist: Remove.
14672         * abilist/libdl.abilist: Remove.
14673         * abilist/librt.abilist: Remove.
14674         * abilist/libthread_db.abilist: Remove.
14675         * abilist/libutil.abilist: Remove.
14676         * scripts/extract-abilist.awk: Remove.
14677         * scripts/merge-abilist.awk: Remove.
14678         * sysdeps/generic/libcidn.abilist: New file.
14679         * sysdeps/generic/libnss_compat.abilist: New file.
14680         * sysdeps/generic/libnss_db.abilist: New file.
14681         * sysdeps/generic/libnss_dns.abilist: New file.
14682         * sysdeps/generic/libnss_files.abilist: New file.
14683         * sysdeps/generic/libnss_hesiod.abilist: New file.
14684         * sysdeps/generic/libnss_nis.abilist: New file.
14685         * sysdeps/generic/libnss_nisplus.abilist: New file.
14686         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14687         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14688         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14689         file.
14690         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14691         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14692         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14693         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14694         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14695         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14696         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14697         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14698         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14699         file.
14700         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14701         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14702         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14703         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14704         file.
14705         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14706         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14707         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14708         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14709         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14710         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14711         file.
14712         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14713         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14714         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14715         file.
14716         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14718         New file.
14719         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14720         New file.
14721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14722         New file.
14723         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14724         New file.
14725         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14726         New file.
14727         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14728         New file.
14729         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14730         New file.
14731         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14732         New file.
14733         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14734         New file.
14735         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14736         New file.
14737         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14738         New file.
14739         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14740         New file.
14741         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14742         New file.
14743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14744         file.
14745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14746         New file.
14747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14748         New file.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14750         file.
14751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14752         New file.
14753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14754         New file.
14755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14756         file.
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14758         New file.
14759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14760         New file.
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14762         New file.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14764         New file.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14766         New file.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14768         New file.
14769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14771         file.
14772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14773         New file.
14774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14775         file.
14776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14777         file.
14778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14779         file.
14780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14781         file.
14782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14783         file.
14784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14785         New file.
14786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14787         file.
14788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14789         file.
14790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14791         New file.
14792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14793         file.
14794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14796         file.
14797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14798         New file.
14799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14800         file.
14801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14802         file.
14803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14804         file.
14805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14806         file.
14807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14808         file.
14809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14810         New file.
14811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14812         file.
14813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14814         file.
14815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14816         New file.
14817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14818         file.
14819         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14820         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14821         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14822         file.
14823         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14824         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14825         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14826         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14827         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14828         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14829         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14830         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14831         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14832         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14835         file.
14836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14837         New file.
14838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14839         file.
14840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14841         file.
14842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14843         file.
14844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14845         file.
14846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14847         file.
14848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14849         New file.
14850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14851         New file.
14852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14853         file.
14854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14855         New file.
14856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14857         file.
14858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14860         file.
14861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14862         New file.
14863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14864         file.
14865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14866         file.
14867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14868         file.
14869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14870         file.
14871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14872         file.
14873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14874         New file.
14875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14876         New file.
14877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14878         file.
14879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14880         New file.
14881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14882         file.
14884 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14886         * conform/conformtest.pl: Fix typo in handling typed-constant from
14887         allow-header.
14889 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14891         * README: Cut down references to pre-2.6 Linux kernels and
14892         Linuxthreads.  Update lists of configurations in libc and ports
14893         and sort alphabetically.  Say "or newer" with Linux kernel version
14894         requirements.
14896         * config.h.in [IS_IN_build]: Allow compiling without optimization.
14898 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14900         [BZ #887]
14901         * math/libm-test.inc (logb_test_downward): New test to expose
14902         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14903         rounding mode.
14905 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14907         [BZ #14027]
14908         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14909         to be done.
14910         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14911         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14913 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
14915         * sysdeps/unix/i386/brk.S: Remove file.
14916         * sysdeps/unix/i386/dl-brk.S: Likewise.
14917         * sysdeps/unix/i386/pipe.S: Likewise.
14918         * sysdeps/unix/i386/sigreturn.S: Likewise.
14919         * sysdeps/unix/i386/syscall.S: Likewise.
14920         * sysdeps/unix/i386/vfork.S: Likewise.
14921         * sysdeps/unix/i386/wait.S: Likewise.
14923         * sysdeps/unix/common/tcsendbrk.c: Move to ...
14924         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14926         * configure.in (arm*-none*): Do not allow without
14927         --enable-hacker-mode.
14928         (netbsd*): Remove case setting base_os.
14929         (386bsd*): Likewise.
14930         (freebsd*): Likewise.
14931         (bsdi*): Likewise.
14932         (osf*): Likewise.
14933         (sunos*): Likewise.
14934         (ultrix*): Likewise.
14935         (newsos*): Likewise.
14936         (dynix*): Likewise.
14937         (*bsd*): Likewise.
14938         (sysv*): Likewise.
14939         (isc*): Likewise.
14940         (esix*): Likewise.
14941         (sco*): Likewise.
14942         (minix*): Likewise.
14943         (irix4*): Likewise.
14944         (irix6*): Likewise.
14945         (solaris[2-9]*): Likewise.
14946         (none): Likewise.
14947         * configure: Regenerated.
14949 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14951         [BZ #11521]
14952         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14953         overflow or cancellation in calculating denominator.
14954         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14955         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14956         down expression to avoid unexpected rounding in newer GCCs.
14957         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14959 2012-04-26  David S. Miller  <davem@davemloft.net>
14961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14962         long-double compat symbols.
14963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14977 2012-04-25  David S. Miller  <davem@davemloft.net>
14979         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14980         HWCAP_* values only after the memory barriers have been defined.
14981         (atomic_full_barrier): Define.
14982         (atomic_read_barrier): Define.
14983         (atomic_write_barrier): Define.
14985 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14987         * shlib-versions: Add libgcc_s version information.
14988         * sysdeps/generic/libgcc_s.h: Remove.
14989         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14990         libgcc_s.h.
14991         * sysdeps/gnu/unwind-resume.c: Likewise.
14992         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14994 2012-04-25  David S. Miller  <davem@davemloft.net>
14996         * sysdeps/unix/sparc/brk.S: Delete.
14997         * sysdeps/unix/sparc/dl-brk.S: Delete.
14998         * sysdeps/unix/sparc/pipe.S: Delete.
14999         * sysdeps/unix/sparc/sysdep.S: Delete.
15000         * sysdeps/unix/sparc/sysdep.h: Delete.
15001         * sysdeps/unix/sparc/vfork.S: Delete.
15002         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15003         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15004         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15005         ret_ERRVAL, r0, r1, MOVE): Define.
15006         (JUMPTARGET): Remove.
15007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15008         sysdeps/unix/sparc/sysdep.h
15009         (ENTRY, END): Remove.
15010         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15012 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15014         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15015         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15016         -DIS_IN_build.
15018         * timezone/README: Update upstream location and email address for
15019         tzcode and tzdata.
15020         * timezone/zdump.c: Update from tzcode 2012b.
15021         * timezone/zic.c: Likewise.
15023         * configure.in (libc_cv_as_needed): Remove test.
15024         * configure: Regenerated.
15025         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15026         conditional definition.
15027         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15028         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15029         * config.make.in (have-as-needed): Remove variable.
15031 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15032             Paul Pluzhnikov  <ppluzhnikov@google.com>
15034         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15035         strings correctly.
15037 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15039         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15040         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15041         * sysdeps/sh/strlen.S: Likewise.
15043 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15045         * sysdeps/unix/fork.S: Remove file.
15046         * sysdeps/unix/i386/fork.S: Likewise.
15047         * sysdeps/unix/sparc/fork.S: Likewise.
15049         * sysdeps/unix/system.c: Remove file.
15050         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15052         * sysdeps/unix/getegid.S: Remove file.
15053         * sysdeps/unix/geteuid.S: Likewise.
15055 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15057         * scripts/check-localplt.awk: New file.
15058         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15059         of diff.
15060         * scripts/data/localplt-generic.data: Add a comment.
15062         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15063         NODE when __dir_mkfile failed.
15064         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15065         Reported by Ludovic Courtès <ludo@gnu.org>.
15067 2012-04-24  Andreas Jaeger  <aj@suse.de>
15069         * Makerules (common-clean): Also remove gen-as-const-headers
15070         files.
15072 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15074         * Makerules (native-compile): Do not change working directory for
15075         build.  Use $(OUTPUT_OPTION) in command.
15076         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15078 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15080         [BZ #13886]
15081         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15082         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15083         * math/libm-test.inc (floor_test): Add more tests.
15084         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15086 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15088         * sysdeps/unix/getdents.c: Remove file.
15089         * sysdeps/unix/sysv/getdents.c: Likewise.
15090         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15092         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15093         sysdeps/unix/mman/syscalls.list.
15094         (mmap): Likewise.
15095         (mprotect): Likewise.
15096         (msync): Likewise.
15097         (munmap): Likewise.
15098         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15099         * sysdeps/unix/mman/syscalls.list: Remove.
15100         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15102         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15103         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15104         * configure: Regenerated.
15105         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15106         $(libgcc_s_suffix).
15107         * config.make.in (libgcc_s_suffix): Remove variable.
15109 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15111         * sysdeps/unix/sysv/gethostname.c: Move to ...
15112         * sysdeps/posix/gethostname.c: ... here.
15114         * sysdeps/unix/execve.S: Remove file.
15116         * sysdeps/unix/_exit.S: Remove file.
15118 2012-04-23  Andreas Jaeger  <aj@suse.de>
15120         [BZ #13739]
15121         * manual/Makefile: Remove make dist support, there's no
15122         need for a stand-alone documentation tar ball.
15123         (TEXI2DVI): Define always, it's not in Makeconfig.
15124         (dist): Removed.
15125         (tar-it): Removed.
15126         (edition): Removed.
15127         (glibc-doc-$(edition).tar): Removed
15128         (%.Z): Removed.
15129         (%.gz): Removed.
15130         (%.uu): Removed.
15131         (ETAGS): Remove, it's in Makeconfig.
15132         (move-if-change): Remove, it's in Makeconfig.
15134 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15136         [BZ #13970]
15137         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15138         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15139         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15140         (strtod_l, strtof_l, strtold_l): Remove __wur.
15141         It is not necessarily an error to ignore strtol's return value.
15142         One can reliably look at the stored endptr to decide whether
15143         the number had valid syntax.
15145 2012-04-21  Andreas Jaeger  <aj@suse.de>
15147         [BZ #13739]
15148         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15150 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15152         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15153         * sysdeps/unix/sysv/Versions: Remove file.
15155 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15157         [BZ #13927]
15158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15160 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15162         [BZ #7064]
15163         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15164         version from __vm86.
15166 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15168         * sysdeps/unix/common/lxstat.c: Remove file.
15169         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15171         * sysdeps/unix/sysv/Makefile: Remove file.
15173         * sysdeps/unix/sysv/direct.h: Remove file.
15175         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15176         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15177         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15178         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15179         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15180         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15181         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15183         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15185         * sysdeps/unix/xmknod.c: Remove file.
15186         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15188         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15190         * sysdeps/unix/sysv/i386/time.S: Remove file.
15192         * sysdeps/unix/fxstat.c: Remove file.
15193         * sysdeps/unix/xstat.c: Likewise.
15194         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15196         * sysdeps/unix/sysv/sigaction.c: Remove file.
15198         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15199         (sysdep_headers): Remove variable.
15200         [termio.h not in sysdep_headers] (generated): Likewise.
15201         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15202         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15203         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15204         * sysdeps/unix/sysv/tcflow.c: Likewise.
15205         * sysdeps/unix/sysv/tcflush.c: Likewise.
15206         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15207         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15208         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15209         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15210         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15212         * sysdeps/unix/siglist.c: Remove file.
15214         * sysdeps/unix/getppid.S: Remove file.
15216         * sysdeps/unix/mkdir.c: Remove file.
15217         * sysdeps/unix/rmdir.c: Likewise.
15219 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15221         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15222         ERR_MAX value.
15223         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15224         errlist-compat value.
15226 2012-04-18  David S. Miller  <davem@davemloft.net>
15228         * sysdeps/generic/memcopy.h (reg_char): Delete.
15229         * debug/strcat_chk.c: Use char, not reg_char.
15230         * debug/strcpy_chk.c: Likewise.
15231         * debug/strncat_chk.c: Likewise.
15232         * debug/strncpy_chk.c: Likewise.
15233         * string/memchr.c: Likewise.
15234         * string/memrchr.c: Likewise.
15235         * string/rawmemchr.c: Likewise.
15236         * string/strcat.c: Likewise.
15237         * string/strchr.c: Likewise.
15238         * string/strchrnul.c: Likewise.
15239         * string/strcmp.c: Likewise.
15240         * string/strcpy.c: Likewise.
15241         * string/strncat.c: Likewise.
15242         * string/strncmp.c: Likewise.
15243         * string/strncpy.c: Likewise.
15245 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15247         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15248         __builtin_memcopy is called when src and dest ranges are known to not
15249         overlap.
15251 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15253         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15254         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15255         fwd_align_merge macro call.
15256         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15257         bwd_align_merge macro call.
15258         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15260 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15262         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15263         bwd_align_merge macros.
15264         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15265         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15266         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15268 2012-04-18  David S. Miller  <davem@davemloft.net>
15270         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15272 2012-04-18  Andreas Jaeger  <aj@suse.de>
15274         [BZ# 6794]
15275         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15276         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15277         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15279         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15280         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15281         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15283         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15284         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15285         Adjust for changed ldbl-128 files.
15287         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15288         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15289         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15291 2012-04-17  David S. Miller  <davem@davemloft.net>
15293         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15295 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15297         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15298         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15299         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15300         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15301         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15302         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15304 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15306         [BZ #6794]
15307         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15308         * math/libm-test.inc: Add ilogb errno and exception tests.
15309         * math/w_ilogb.c: New file: ilogb wrapper.
15310         * math/w_ilogbf.c: New file: ilogbf wrapper.
15311         * math/w_ilogbl.c: New file: ilogbl wrapper.
15312         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15313         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15314         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15315         exception being thrown with 0.0 as argument.
15316         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15317         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15318         exception being thrown with 0.0 as argument.
15319         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15320         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15321         exception being thrown with 0.0 as argument.
15322         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15323         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15324         exception being thrown with 0.0 as argument.
15325         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15326         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15327         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15328         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15329         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15330         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15331         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15332         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15333         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15335 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15337         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15338         with altivec.
15340 2012-04-16  Marek Polacek  <polacek@redhat.com>
15342         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15344 2012-04-16  Marek Polacek  <polacek@redhat.com>
15346         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15347         operands of fdivp instruction.
15349 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15351         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15352         * elf/tst-auditmod3b.c: Likewise.
15353         * elf/tst-auditmod4b.c: Likewise.
15354         * elf/tst-auditmod5b.c: Likewise.
15355         * elf/tst-auditmod6b.c: Likewise.
15356         * elf/tst-auditmod6c.c: Likewise.
15357         * elf/tst-auditmod7b.c: Likewise.
15358         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15359         * sysdeps/x86_64/preconfigure.in: Likewise.
15360         * sysdeps/x86_64/preconfigure: Regenerated.
15362 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15364         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15365         __ILP32__.
15367 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
15369         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15370         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15372 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
15374         [BZ #13973]
15375         * locale/iso-639.def: Fix gl language name. Spotted by
15376         Yaron Shahrabani.
15378 2012-04-12  Roland McGrath  <roland@hack.frob.com>
15380         [BZ #2074]
15381         * libio/libio.h (__io_write_fn): Update comment.
15383 2012-04-12  Petr Baudis  <pasky@ucw.cz>
15385         [BZ #2074]
15386         * stdio.texi (Hook Functions): The user provided writer function
15387         is not allowed to return -1.
15389 2012-04-11  David S. Miller  <davem@davemloft.net>
15391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15393 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
15395         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15396         Add a leading slash to rtkaio.
15398 2012-04-11  Jim Meyering  <meyering@redhat.com>
15400         [BZ #11959]
15401         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15402         It is not necessarily an error to ignore fwrite's return
15403         value.  One can reliably use ferror to test for errors after
15404         the fact.
15406 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15408         * bits/types.h (__snseconds_t): New type.
15409         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15411         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15413         (__SNSECONDS_T_TYPE): Likewise.
15414         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15415         (__SNSECONDS_T_TYPE): Likewise.
15416         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15417         (__SNSECONDS_T_TYPE): Likewise.
15419 2012-04-10  Andreas Jaeger  <aj@suse.de>
15421         [BZ #2636]
15422         * manual/time.texi (Processor Time): Return type of times is
15423         elapsed real time since an arbitrary point in the past.
15424         (CPU Time): Move CLK_TCK from here...
15425         (Processor Time): ...to here.  Correct description.
15426         * manual/conf.texi (Constants for Sysconf): Correct description of
15427         _SC_CLK_TCK.
15429 2012-04-10  David S. Miller  <davem@davemloft.net>
15431         [BZ #13967]
15432         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15433         where the is a gap between DT_REL(A) and DT_JMPREL.
15435 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15437         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15438         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15439         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15441 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15443         * elf/dl-support.c (_dl_inhibit_cache): New variable.
15444         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15445         (dl_main): Handle --inhibit-cache.
15446         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15447         _dl_inhibit_cache.
15448         * elf/dl-load.c (_dl_map_object): Use it.
15449         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15451 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15453         [BZ #13872]
15454         * sysdeps/i386/fpu/e_powl.S (p78): New object.
15455         (__ieee754_powl): Saturate large exponents rather than testing for
15456         overflow of y*log2(x).
15457         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15458         * math/libm-test.inc (pow_test): Do not permit spurious overflow
15459         exceptions.
15461         [BZ #11521]
15462         * math/s_ctan.c: Include <float.h>.
15463         (__ctan): Avoid internal overflow or cancellation in calculating
15464         denominator.
15465         * math/s_ctanf.c: Likewise.
15466         * math/s_ctanl.c: Likewise.
15467         * math/s_ctanh.c: Likewise.
15468         * math/s_ctanhf.c: Likewise.
15469         * math/s_ctanhl.c: Likewise.
15470         * math/libm-test.inc (ctan_test): Add more tests.
15471         (ctanh_test): Likewise.
15472         * sysdeps/i386/fpu/libm-test-ulps: Update.
15473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15475 2012-04-09  Andreas Jaeger  <aj@suse.de>
15477         [BZ #6894]
15478         * manual/filesys.texi (Directory Entries): Mention that d_namlen
15479         is an optional BSD extension.
15481         [BZ #10254]
15482         * manual/stdio.texi (Opening Streams): Document additional fopen
15483         parameters.
15485 2012-04-09  Roland McGrath  <roland@hack.frob.com>
15487         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15488         %eax without telling the compiler.
15490 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
15492         [BZ # 13963]
15493         * manual/install.texi: Use sourceware.org.
15495 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15497         [BZ #13873]
15498         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15499         (__ieee754_pow): Generate overflow and underflow using huge*huge
15500         and tiny*tiny rather than just returning constant infinity or zero
15501         for large exponents.
15502         * math/libm-test.inc (pow_test): Require overflow exceptions for
15503         applicable cases of large exponents.
15505         [BZ #706]
15506         * sysdeps/i386/fpu/e_pow.S (p10): New object.
15507         (__ieee754_pow): Use iterative multiplication algorithm only for
15508         integer exponents with absolute value below 1024.  Check for odd
15509         integer exponents when using algorithm for real exponents.
15510         * math/libm-test.inc (pow_test): Add more tests.
15511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15513 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
15515         [BZ #13705]
15516         * math/libm-test.inc (exp_test): Do not allow overflow exception
15517         on underflow test.
15519 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
15521         [BZ #13705]
15522         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15523         instead of __kernel_standard_f.
15525 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
15527         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15528         * sysdeps/x86_64/memset_chk.S: Likewise.
15530 2012-04-08  Andreas Jaeger  <aj@suse.de>
15532         [BZ #10153]
15533         * manual/startup.texi (Environment Access): Describe return value
15534         for putenv and setenv.
15536         [BZ #6895]
15537         * manual/filesys.texi (Directory Entries): Add description for
15538         DT_LNK.
15540         [BZ #6890]
15541         * manual/filesys.texi (Directory Entries): Clarify that it's file
15542         system not operating system in the description of DT_UNKNOWN.
15544         [BZ #6578]
15545         * manual/syslog.texi (closelog): Fix reference, it's openlog.
15547 2012-04-08  Stephen Compall  <s11@member.fsf.org>
15549         [BZ #6649]
15550         * manual/llio.texi (Opening and Closing Files): Add cross
15551         reference to explain mode argument.
15553 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
15555         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15556         * sysdeps/x86_64/memset_chk.S: Likewise.
15558 2012-04-07  David S. Miller  <davem@davemloft.net>
15560         * elf/elf.h (R_SPARC_WDISP10): Define.
15561         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15562         R_SPARC_SIZE32.
15563         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15564         R_SPARC_SIZE64 and R_SPARC_H34.
15566 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
15568         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15569         conditions and remove no longer applicable assertion.
15571 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15573         * bits/byteswap.h: Include <features.h>.
15574         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15575         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15577 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15579         * bits/byteswap.h (__bswap_16): Removed.
15580         Include <bits/byteswap-16.h> to get __bswap_16.
15581         * sysdeps/i386/bits/byteswap.h: Likewise.
15582         * sysdeps/s390/bits/byteswap.h: Likewise.
15583         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15584         * bits/byteswap-16.h: New file.
15585         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15586         * sysdeps/s390/bits/byteswap-16.h: Likewise.
15587         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15588         * string/Makefile (headers): Add bits/byteswap-16.h.
15590 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15592         [BZ #13895]
15593         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15594         extra indirection.
15595         * nss/Makefile (tests-static, tests): Add tst-nss-static.
15596         * nss/tst-nss-static.c: New.
15598 2012-04-06  Robert Millan  <rmh@gnu.org>
15600         [BZ #6486]
15601         * manual/llio.texi (File Position Primitive): lseek
15602         refers to WHENCE when it really means OFFSET.
15604 2012-04-06  Andreas Jaeger  <aj@suse.de>
15606         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15607         strncmp declarations.
15609         * abilist/libc.abilist: Add __poll and __ppoll.
15611 2012-04-05  David S. Miller  <davem@davemloft.net>
15613         * scripts/check-local-headers.sh: Accept a host triplet in the
15614         path matched by the exclude regexp.
15616         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15617         definition.
15618         * sysdeps/powerpc/powerpc32/dl-machine.h
15619         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15620         * sysdeps/s390/s390-32/dl-machine.h
15621         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15622         * sysdeps/sparc/sparc32/dl-machine.h
15623         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15624         * sysdeps/sparc/sparc64/dl-machine.h
15625         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15627         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15628         lazy binding.
15629         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15630         undefined symbol errors.
15632         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15633         DT_NEEDED entries.
15635 2012-04-05  Michael Matz  <matz@suse.de>
15637         [BZ #13592]
15638         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15640 2012-04-05  Andreas Jaeger  <aj@suse.de>
15642         [BZ #13908]
15643         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15644         comment.
15646 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15648         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15649         which ROUND is no valid rounding mode.
15651 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15653         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15654         read again.
15655         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15657 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15659         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15660         an exception using FPU order intentionally.
15662 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15664         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15665         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15666         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15667         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15669 2012-04-05  Simon Josefsson  <simon@josefsson.org>
15671         [BZ #12340]
15672         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15673         EINVAL when BUFLEN is too smal.
15675 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15677         [BZ #13553]
15678         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15679         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15681 2012-04-03  Andreas Jaeger  <aj@suse.de>
15683         [BZ #13938]
15684         * manual/setjmp.texi (System V contexts): Fix sentence.
15686         [BZ #13926]
15687         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15688         New macro for this case.
15689         [!__GNUC__] (__bswap_64): New inline function for this case.
15690         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15691         * bits/byteswap.h: Likewise.
15692         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15693         ull, guard with __GLIBC_HAVE_LONG_LONG.
15695         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15696         __GLIBC_HAVE_LONG_LONG.
15698         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15699         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15701 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15703         [BZ #13691]
15704         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15705         inptr and inend, rather than using last_ch.
15707 2012-04-02  David S. Miller  <davem@davemloft.net>
15709         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15710         * stdio-common/printf-parse.h (read_int): Change return type to
15711         'int', return -1 on INT_MAX overflow.
15712         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15713         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
15714         overflows INT_MAX.  Check for overflow of in-format-string precision
15715         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
15716         SIZE_MAX not INT_MAX for integer overflow test.
15717         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15718         skip the construct in the format string but do not record anything.
15719         * stdio-common/bug22.c: Adjust to test both width/prevision
15720         INT_MAX overflow as well as total length INT_MAX overflow.  Check
15721         explicitly for proper errno values.
15723 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15725         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15726         CHAR_MAX.
15727         * string/test-strcmp.c [! WIDE]: Likewise.
15728         * time/tst-mktime2.c: Likewise for INT_MAX.
15729         * string/test-string.h: #include <sys/param.h> for MIN.
15731         * csu/init-first.c (__libc_init_first): Call __ctype_init.
15732         * sysdeps/i386/init-first.c (init): Likewise.
15733         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15734         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15735         * sysdeps/sh/init-first.c (init): Likewise.
15737 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
15739         * po/ru.po: Update from translation team.
15740         * po/vi.po: Likewise.
15742 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15744         * resolv/nss_dns/dns-host.c: Merge copyright years.
15746 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15748         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15749         Optimize memcpy with prefetch if
15750         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
15751         src, dst pointers have unequal 16 byte alignments.
15753 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15755         [BZ #13928]
15756         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15757         from a CNAME entry and return the minimum ttl for the query.
15758         (gaih_getanswer_slice): Likewise.
15760 2012-03-30  Jeff Law  <law@redhat.com>
15762         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15763         due to long keys.
15764         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15765         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15767         * resolv/nss_dns/dns-host.c: Update copyright year.
15769 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
15771         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15772         requests to save a system call.  Fix check that all bytes are sent.
15774         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15775         comments for sendmmsg.
15777 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15779         [BZ #13691]
15780         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15781         with only 1 character between 0x0041 and 0x01b0.
15782         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15783         * wcsmbs/tst-mbsnrtowcs.c: New file.
15785 2012-03-29  David S. Miller  <davem@davemloft.net>
15787         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15788         small copies by hand.
15790 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15792         [BZ #13761]
15793         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15794         _nss_compat_initgroups_dyn): Fall back to malloc/free
15795         for large group memberships.
15797 2012-03-28  David S. Miller  <davem@davemloft.net>
15799         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15800         that branches into memcpy.
15801         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15802         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15804         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15805         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15806         bits.
15807         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15808         implementation too.
15809         * sysdeps/sparc/mempcpy.S: New file.
15811         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15812         the IFUNC routine in the libc case.
15813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15815         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15816         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15817         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15818         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15819         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15820         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15821         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15822         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15824         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15825         loop to 256 bytes instead of 64 bytes and fix test signedness.
15827         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15828         * sysdeps/sparc/sparc32/Makefile: rather than here...
15829         * sysdeps/sparc/sparc64/Makefile: and here.
15831 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
15833         * malloc/mallocbug.c: Avoid warnings about unused variables.
15835 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15837         [BZ #13760]
15838         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15839         in the right place. Discard and retry query if response is
15840         larger than input buffer size.
15842 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
15844         [BZ #369]
15845         [BZ #2678]
15846         [BZ #3866]
15847         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15848         x for large integer exponent.
15849         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15850         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
15851         sign of result as needed afterwards.
15852         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15853         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15854         result for underflowing pow the same as for overflow.
15855         (__kernel_standard_l): Handle powl overflow and underflow here
15856         rather than calling __kernel_standard.
15857         * math/libm-test.inc (pow_test): Add more tests.
15859         [BZ #3868]
15860         [BZ #13879]
15861         [BZ #13910]
15862         [BZ #13911]
15863         [BZ #13912]
15864         [BZ #13913]
15865         [BZ #13915]
15866         [BZ #13916]
15867         [BZ #13917]
15868         [BZ #13918]
15869         [BZ #13919]
15870         [BZ #13920]
15871         [BZ #13921]
15872         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15873         * sysdeps/ieee754/k_standard.c: Include <float.h>.
15874         (__kernel_standard_l): New function.
15875         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15876         __kernel_standard.
15877         * math/w_acosl.c (__acosl): Likewise.
15878         * math/w_asinl.c (__asinl): Likewise.
15879         * math/w_atan2l.c (__atan2l): Likewise.
15880         * math/w_atanhl.c (__atanhl): Likewise.
15881         * math/w_coshl.c (__coshl): Likewise.
15882         * math/w_exp10l.c (__exp10l): Likewise.
15883         * math/w_exp2l.c (__exp2l): Likewise.
15884         * math/w_fmodl.c (__fmodl): Likewise.
15885         * math/w_hypotl.c (__hypotl): Likewise.
15886         * math/w_j0l.c (__j0l, __y0l): Likewise.
15887         * math/w_j1l.c (__j1l, __y1l): Likewise.
15888         * math/w_jnl.c (__jnl, __ynl): Likewise.
15889         * math/w_lgammal.c (__lgammal): Likewise.
15890         * math/w_log10l.c (__log10l): Likewise.
15891         * math/w_log2l.c (__log2l): Likewise.
15892         * math/w_logl.c (__logl): Likewise.
15893         * math/w_powl.c (__powl): Likewise.
15894         * math/w_remainderl.c (__remainderl): Likewise.
15895         * math/w_scalbl.c (sysv_scalbl): Likewise.
15896         * math/w_sinhl.c (__sinhl): Likewise.
15897         * math/w_sqrtl.c (__sqrtl): Likewise.
15898         * math/w_tgammal.c (__tgammal): Likewise.
15899         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15900         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15901         * math/libm-test.inc (acos_test): Add more tests.
15902         (acosh_test): Likewise.
15903         (asin_test): Likewise.
15904         (atanh_test): Likewise.
15905         (exp_test): Likewise.
15906         (exp10_test): Likewise.
15907         (exp2_test): Likewise.
15908         (expm1_test): Likewise.
15909         (lgamma_test): Likewise.
15910         (log_test): Likewise.
15911         (log10_test): Likewise.
15912         (log1p_test): Likewise.
15913         (log2_test): Likewise.
15914         (pow_test): Do not allow some spurious overflow exceptions.
15915         (sqrt_test): Add more tests.
15916         (tgamma_test): Likewise.
15917         (y0_test): Likewise.
15918         (y1_test): Likewise.
15919         (yn_test): Likewise.
15921 2012-03-27  Anton Blanchard  <anton@samba.org>
15923         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15924         MAP_HUGETLB.
15925         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15926         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15927         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15929 2012-03-27  David S. Miller  <davem@davemloft.net>
15931         * conform/Makefile: Run run-conformtest.sh using $(BASH).
15933         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15934         have-as-vis3 check.
15936 2012-03-27  Andreas Jaeger  <aj@suse.de>
15938         * sysdeps/x86_64/elf/configure.in: Moved to ...
15939         * sysdeps/x86_64/configure.in: ... here.
15940         * sysdeps/x86_64/elf/start.S: Moved to ...
15941         * sysdeps/x86_64/start.S: ... here.
15942         * sysdeps/x86_64/elf/configure: Delete.
15944         * sysdeps/x86_64/configure.in: Merge contents from
15945         sysdeps/i386/configure.in (without i686 check).
15947         * sysdeps/i386/elf/Versions: Merge into ...
15948         * sysdeps/i386/Versions: ... this.
15949         * sysdeps/i386/elf/Versions: Delete file.
15950         * sysdeps/i386/elf/start.S: Moved to ...
15951         * sysdeps/i386/start.S: ...here.
15952         * sysdeps/i386/elf/configure.in: Merge into...
15953         * sysdeps/i386/configure.in: ...here.
15954         * sysdeps/i386/elf/configure.in: Delete file.
15955         * sysdeps/i386/elf/configure: Delete file.
15957         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15958         * debug/backtracesyms.c: ... here.
15959         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15960         * debug/backtracesymsfd.c: ... here.
15961         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15962         * sysdeps/generic/ifunc-sel.h: ... here.
15964         * sysdeps/unix/i386/start.c: Delete file.
15965         * sysdeps/unix/sparc/start.c: Delete file.
15966         * sysdeps/unix/start.c: Delete file.
15968         * sysdeps/sh/elf/configure.in: Moved to ...
15969         * sysdeps/sh/configure.in: ... here.
15970         * sysdeps/sh/elf/start.S: Moved to ...
15971         * sysdeps/sh/start.S: ... here.
15972         * sysdeps/sh/elf/configure: Delete file.
15974         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15975         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15976         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15977         * sysdeps/powerpc/powerpc64/entry.h: ... here.
15978         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15979         * sysdeps/powerpc/powerpc64/start.S: here.
15980         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15981         * sysdeps/powerpc/powerpc64/Makefile: ... this.
15982         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15983         * sysdeps/powerpc/powerpc64/configure.in: ... this.
15984         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15986         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15987         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15988         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15989         * sysdeps/powerpc/powerpc32/start.S: ... here.
15990         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15991         * sysdeps/powerpc/powerpc32/configure.in: ... this.
15992         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15994         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15995         * sysdeps/powerpc/ifunc-sel.h: ... here.
15996         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15997         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15999         * sysdeps/sparc/elf/configure.in: Moved to ...
16000         * sysdeps/sparc/configure.in: ... here.
16001         * sysdeps/sparc/elf/configure: Delete file.
16002         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16003         * sysdeps/sparc/sparc32/start.S: ... here.
16004         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16005         * sysdeps/sparc/sparc64/start.S: ... here.
16006         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16007         * sysdeps/sparc/sparc32/Makefile: ... this.
16008         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16009         * sysdeps/sparc/sparc64/Makefile: ... this.
16011         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16012         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16013         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16014         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16015         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16016         * sysdeps/s390/s390-32/setjmp.S: ... here.
16017         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16018         * sysdeps/s390/s390-32/configure.in: ... here.
16019         * sysdeps/s390/s390-32/elf/configure: Delete file.
16020         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16021         * sysdeps/s390/s390-32/start.S: ... here.
16023         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16024         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16025         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16026         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16027         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16028         * sysdeps/s390/s390-64/setjmp.S: ... here.
16029         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16030         * sysdeps/s390/s390-64/configure.in: ... here
16031         * sysdeps/s390/s390-64/elf/configure: Delete file.
16032         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16033         * sysdeps/s390/s390-64/start.S: ... here.
16034         * sysdeps/s390/s390-64/elf/configure: Delete.
16036         * configure.in: Remove support for elf directories in sysdeps.
16038         * configure: Regenerated.
16039         * sysdeps/i386/configure: Regenerated.
16040         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16041         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16042         * sysdeps/s390/s390-32/configure: Regenerated.
16043         * sysdeps/s390/s390-64/configure: Regenerated.
16044         * sysdeps/sh/configure: Regenerated.
16045         * sysdeps/sparc/configure: Regenerated.
16046         * sysdeps/x86_64/configure: Regenerated.
16048 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16052         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16053         denormal result into account.
16055 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16057         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16058         Reported by Allan McRae <allan@archlinux.org>.
16060 2012-03-23  Jeff Law  <law@redhat.com>
16062         * nss/getnssent.c (__nss_getent): Fix typo.
16064 2012-03-23  David S. Miller  <davem@davemloft.net>
16066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16068 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16070         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16071         to pad to uint64_t for each field.
16072         (dl_tls_index): Replace unsigned long with uint64_t.
16074 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16075         Paul Pluzhnikov  <ppluzhnikov@google.com>
16077         [BZ #6528]
16078         * grp/Makefile (otherlibs): Don't set it.
16079         * inet/Makefile (otherlibs): Likewise.
16080         * login/Makefile (otherlibs): Likewise.
16081         * nscd/Makefile (otherlibs): Likewise.
16082         * posix/Makefile (otherlibs): Likewise.
16083         * pwd/Makefile (otherlibs): Likewise.
16084         * rt/Makefile (otherlibs): Likewise.
16085         * sunrpc/Makefile (otherlibs): Likewise.
16086         * nss/Makefile (otherlibs): Likewise.
16087         Add libnss_files to routines and static-only-routines.
16088         ($(objpfx)getent): Remove rule.
16089         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16090         static-only-routines.
16092 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16094         [BZ #13892]
16095         * math/s_cexp.c: Include <float.h>.
16096         (__cexp): Handle exp result overflowing not necessarily
16097         overflowing both real and imaginary parts of result.
16098         * math/s_cexpf.c: Likewise.
16099         * math/s_cexpl.c: Likewise.
16100         * math/libm-test.inc (cexp_test): Add more tests.
16101         * sysdeps/i386/fpu/libm-test-ulps: Update.
16102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16104 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16106         * include/link.h (ELFW): New macro.
16107         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16108         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16110 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16112         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16113         with uint64_t.
16115 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16117         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16118         declaration.
16119         (struct La_x32_retval): Likewise.
16121 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16123         * sysdeps/x86_64/preconfigure.in: New file.
16124         * sysdeps/x86_64/preconfigure: New generated file.
16126 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16128         [BZ #13824]
16129         * math/e_exp2l.c: Include <float.h>.
16130         (__ieee754_exp2l): Handle overflow and underflow cases
16131         separately.  Only pass fractional part of argument to
16132         __ieee754_expl.
16133         * math/libm-test.inc (exp2_test): Add more tests.
16135         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16136         negating x to take absolute value.
16137         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16138         Likewise.
16139         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16140         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16141         Likewise.
16142         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16143         computing low part if x was negated.
16144         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16146 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16148         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16149         la_x32_gnu_pltexit.
16150         (pltexit): Cast int_retval to ptrdiff_t.
16151         * elf/tst-auditmod3b.c: Likewise.
16152         * elf/tst-auditmod4b.c: Likewise.
16153         * elf/tst-auditmod5b.c: Likewise.
16154         * elf/tst-auditmod6b.c: Likewise.
16155         * elf/tst-auditmod6c.c: Likewise.
16156         * elf/tst-auditmod7b.c: Likewise.
16158         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16159         and x32_gnu_pltexit.
16161         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16162         __ELF_NATIVE_CLASS.
16163         (La_x32_regs): New macro.
16164         (La_x32_retval): Likewise.
16165         (la_x32_gnu_pltenter): New function prototype.
16166         (la_x32_gnu_pltexit): Likewise.
16168 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16170         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16171         exponent.
16173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16175         * configure.in (libc_cv_cc_nofma): Check for option to disable
16176         generation of FMA instructions.
16177         * configure: Regenerate.
16178         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16179         * sysdeps/ieee754/dbl-64/Makefile: New file.
16180         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16181         Remove brandred-fma4.
16182         (CFLAGS-brandred-fma4.c): Remove.
16183         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16184         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16185         define.
16186         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16187         define.
16189 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16191         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16192         LLONG_MAX != LONG_MAX.
16193         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16194         (_fitoa_word): Likewise.
16195         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16196         LLONG_MAX != LONG_MAX.
16197         * stdio-common/_itowa.h: Include <_itoa.h>.
16198         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16199         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16200         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16201         only if not defined.
16202         (_ITOA_WORD_TYPE): Likewise.
16203         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16204         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16206 2012-03-21  David S. Miller  <davem@davemloft.net>
16208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16210 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16212         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16213         of x86_64 when setting libc_cv_slibdir, libdir and
16214         libc_cv_localedir.
16215         * sysdeps/unix/sysv/linux/configure: Regenerated.
16217 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16219         * manual/lang.texi (Old Varargs): Remove section.
16220         (How Variadic): Update menu.
16221         (va_start): Do not mention varargs.h.
16223 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16224             Joseph Myers  <joseph@codesourcery.com>
16226         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16227         link test.
16228         * configure: Regenerated.
16230 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16232         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16233         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16234         conformtest.pl
16236 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16238         * NOTES: Remove.
16239         * Makefile (files-for-dist): Remove NOTES.
16240         (NOTES): Remove rule.
16241         * README: Don't refer to NOTES.
16242         * manual/creature.texi: Don't include macros.texi.
16243         * manual/intro.texi (creature.texi): Remove comment referring to
16244         NOTES.
16246         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16247         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16248         * configure: Regenerated.
16249         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16250         LIBC_TRY_CC_OPTION.
16251         (libc_cv_as_i686): Likewise.
16252         (libc_cv_cc_avx): Likewise.
16253         (libc_cv_cc_sse2avx): Likewise.
16254         (libc_cv_cc_fma4): Likewise.
16255         (libc_cv_cc_novzeroupper): Likewise.
16256         * sysdeps/i386/configure: Regenerated.
16258         [BZ #13883]
16259         * sysdeps/i386/fpu/s_cexp.S: Remove.
16260         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16261         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16262         * math/libm-test.inc (cexp_test): Add more tests.
16263         * sysdeps/i386/fpu/libm-test-ulps: Update.
16264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16266 2012-03-21  Allan McRae  <allan@archlinux.org>
16268         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16270 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16272         [BZ #13871]
16273         * math/w_exp2.c: Do not include <float.h>.
16274         (o_threshold, u_threshold): Remove.
16275         (__exp2): Calculate result before checking finiteness and calling
16276         __kernel_standard.
16277         * math/w_exp2f.c: Likewise.
16278         * math/w_exp2l.c: Likewise.
16279         * math/libm-test.inc (exp2_test): Require overflow exception for
16280         1e6 input.
16282         [BZ #3866]
16283         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16284         range of signed 64-bit integers before using fistpll.  Remove
16285         checks for whether integers fit in mantissa bits.
16286         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16287         the range of signed 32-bit integers before using fistpl.  Remove
16288         checks for whether integers fit in mantissa bits.
16289         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16290         (__ieee754_powl): Test for y outside the range of signed 64-bit
16291         integers before using fistpll.  Reduce 64-bit values to 63-bit
16292         ones as needed.
16293         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16294         divide-by-zero is raised for zero to large negative powers.
16295         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16296         (__ieee754_powl): Test for y outside the range of signed 64-bit
16297         integers before using fistpll.  Reduce 64-bit values to 63-bit
16298         ones as needed.
16299         * math/libm-test.inc (pow_test): Add more tests.
16301 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16303         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16304         <stdio-common/_itoa.h>.
16305         * debug/segfault.c: Likewise.
16306         * elf/dl-cache.c: Likewise.
16307         * elf/dl-minimal.c: Likewise.
16308         * elf/dl-misc.c: Likewise.
16309         * elf/dl-sysdep.c: Likewise.
16310         * elf/dl-version.c: Likewise.
16311         * elf/rtld.c: Likewise.
16312         * hurd/hurdsock.c: Likewise.
16313         * hurd/lookup-retry.c: Likewise.
16314         * malloc/malloc.c: Likewise.
16315         * malloc/mtrace.c: Likewise.
16316         * nscd/nscd_getgr_r.c: Likewise.
16317         * nscd/nscd_getpw_r.c: Likewise.
16318         * nscd/nscd_getserv_r.c: Likewise.
16319         * posix/getopt_init.c: Likewise.
16320         * posix/wordexp.c: Likewise.
16321         * stdio-common/_itoa.c: Likewise.
16322         * stdio-common/printf_fphex.c: Likewise.
16323         * stdio-common/vfprintf.c: Likewise.
16324         * string/_strerror.c: Likewise.
16325         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16326         * sysdeps/i386/i686/hp-timing.h: Likewise.
16327         * sysdeps/mach/_strerror.c: Likewise.
16328         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16329         * sysdeps/mach/hurd/sethostid.c: Likewise.
16330         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16331         * sysdeps/mach/xpg-strerror.c: Likewise.
16332         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16333         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16334         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16335         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16336         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16337         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16338         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16339         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16340         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16341         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16342         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16343         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16344         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16345         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16346         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16347         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16348         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16349         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16350         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16351         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16352         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16354         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16356         * stdio-common/_itoa.h: Moved to ...
16357         * sysdeps/generic/_itoa.h: Here.
16359         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16361         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16362         instead of "_itoa.h" and "_itowa.h".
16363         * stdio-common/vfprintf.: Likewise.
16365 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16367         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16368         <bits/wordsize.h>.
16369         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16370         (__signbit): Likwise.
16371         (llrintf): Likwise.
16372         (llrint): Likwise.
16374 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16376         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16377         __WORDSIZE != 64.
16379 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
16381         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16382         OVERFLOW_EXCEPTION_OK.
16383         * math/libm-test.inc ("Philosophy"): Update comment about
16384         exception testing.
16385         (OVERFLOW_EXCEPTION): Define.
16386         (OVERFLOW_EXCEPTION_OK): Likewise.
16387         (INVALID_EXCEPTION_OK): Renumber.
16388         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16389         (IGNORE_ZERO_INF_SIGN): Likewise.
16390         (test_exceptions): Handle FE_OVERFLOW.
16391         (exp10_test): Expect overflow exceptions.
16392         (exp2_test): Likewise.
16393         (expm1_test): Likewise.
16394         (nextafter_test): Likewise.
16395         (pow_test): Likewise.
16396         (scalbn_test): Likewise.
16397         (scalbln_test): Likewise.
16399 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16401         * sysdeps/x86_64/bits/atomic.h
16402         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16403         64bit integer.
16404         (atomic_exchange_acq): Likewise.
16405         (__arch_exchange_and_add_body): Likewise.
16406         (__arch_add_body): Likewise.
16407         (atomic_add_negative): Likewise.
16408         (atomic_add_zero): Likewise.
16410 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16412         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16413         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16415 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16417         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16418         Check __x86_64__ instead of __WORDSIZE.
16420 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16422         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16424 2012-03-19  David S. Miller  <davem@davemloft.net>
16426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16428         * sysdeps/sparc/fpu/fenv_private.h: New file.
16429         * sysdeps/sparc/fpu/math_private.h: Use it.
16430         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16431         Remove.
16432         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16433         (libc_feholdexcept_setroundl): Remove.
16434         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16435         Remove.
16436         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16437         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16439 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16441         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16442         int64_t instead of long int.
16443         (INSERT_WORDS64): Likwise.
16445 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16447         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16448         _Unwind_GetCFA return to _Unwind_Ptr first.
16450 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
16452         [BZ #13629]
16453         * math/s_clog.c: Include <float.h>.
16454         (__clog): Scale large or subnormal inputs.
16455         * math/s_clogf.c: Likewise.
16456         * math/s_clogl.c: Likewise.
16457         * math/s_clog10.c: Include <float.h>.
16458         (M_LOG10_2): Define.
16459         (__clog10): Scale large or subnormal inputs.
16460         * math/s_clog10f.c: Likewise.
16461         * math/s_clog10l.c: Likewise.
16462         * math/libm-test.inc (clog_test): Add more tests.
16463         (clog10_test): Likewise.
16464         * sysdeps/i386/fpu/libm-test-ulps: Update.
16465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16467         [BZ #11451]
16468         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16469         x and y.
16470         * math/libm-test.inc (atan2_test): Add another test.
16472         * Makerules (common-objdir-compile): Remove.
16473         * sysdeps/unix/Makefile (config-generated): Do not add
16474         $(unix-generated) to variable.
16475         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16476         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16477         Remove rule.
16478         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16479         Likewise.
16480         [generic bits/local_lim.h] (before-compile): Do not append to
16481         variable.
16482         [generic bits/local_lim.h] (common-generated): Likewise.
16483         [generic sys/param.h] (before-compile): Do not append to variable.
16484         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16485         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16486         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16487         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16488         include.
16489         [generic sys/param.h] (sys/param.h-includes): Remove variable.
16490         [generic sys/param.h] (sys/param.h-includes): Remove rule.
16491         [generic sys/param.h] ($(addprefix
16492         $(common-objpfx),$(sys/param.h-includes))): Likewise.
16493         [generic sys/param.h] (common-generated): Do not append to
16494         variable.
16495         [generic sys/param.h] (sysdep_headers): Likewise.
16496         [generic bits/errno.h] (before-compile): Do not append to
16497         variable.
16498         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16499         rule.
16500         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16501         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16502         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16503         [generic bits/errno.h] (common-generated): Do not append to
16504         variable.
16505         [generic bits/ioctls.h] (before-compile): Do not append to
16506         variable.
16507         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16508         rule.
16509         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16510         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16511         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16512         rule.
16513         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16514         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16515         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16516         [generic bits/ioctls.h] (common-generated): Do not append to
16517         variable.
16518         [generic sys/syscall.h] (syscall.h): Remove variable.
16519         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16520         rule.
16521         [generic sys/syscall.h] (before-compile): Do not append to
16522         variable.
16523         [generic sys/syscall.h] (common-generated): Likewise.
16524         * sysdeps/unix/errnos-tmpl.c: Remove file.
16525         * sysdeps/unix/errnos.awk: Likewise.
16526         * sysdeps/unix/ioctls-tmpl.c: Likewise.
16527         * sysdeps/unix/ioctls.awk: Likewise.
16528         * sysdeps/unix/mk-local_lim.c: Likewise.
16529         * sysdeps/unix/snarf-ioctls: Likewise.
16531 2012-03-19  Richard Henderson  <rth@twiddle.net>
16533         * sysdeps/i386/fpu/fenv_private.h: New file.
16534         * sysdeps/i386/fpu/math_private.h: Use it.
16535         (math_opt_barrier, math_force_eval): Remove.
16536         (libc_feholdexcept_setround_53bit): Remove.
16537         (libc_feupdateenv_53bit): Remove.
16538         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16539         (math_opt_barrier, math_force_eval): Remove.
16540         (libc_feholdexcept): Remove.
16541         (libc_feholdexcept_setround): Remove.
16542         (libc_fetestexcept, libc_fesetenv): Remove.
16543         (libc_feupdateenv_test): Remove.
16544         (libc_feupdateenv, libc_feholdsetround): Remove.
16545         (libc_feresetround): Remove.
16547         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16548         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16550         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16551         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16552         (libc_feupdateenv_testl): New.
16553         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16554         (libc_feupdateenv_testf): New.
16555         (libc_feupdateenv): Use libc_feupdateenv_test.
16556         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16557         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16559         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16560         (libc_feholdsetroundf, libc_feholdsetroundl): New.
16561         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16562         (libc_feresetround_noex): New.
16563         (libc_feresetround_noexf): New.
16564         (libc_feresetround_noexl): New.
16565         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16566         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16567         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16568         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16569         SET_RESTORE_ROUND.
16570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16571         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16572         (__cos): Likewise.
16573         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16574         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16575         SET_RESTORE_ROUND_NOEX.
16576         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16577         SET_RESTORE_ROUND_NOEXF.
16578         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16579         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16580         (libc_feholdsetroundf): New.
16581         (libc_feresetround, libc_feresetroundf): New.
16583         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16584         (libc_feholdexcept_setround_53bit): Convert from macro to function.
16585         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
16587         * sysdeps/generic/math_private.h: Include <fenv.h>.
16588         (default_libc_feholdexcept): New.
16589         (default_libc_feholdexcept_setround): New.
16590         (default_libc_fesetenv, default_libc_feupdateenv): New.
16591         (libc_feholdexcept): Only define if undefined.
16592         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16593         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16594         (libc_feholdexcept_setroundl): Likewise.
16595         (libc_feholdexcept_setround_53bit): Likewise.
16596         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16597         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16598         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16599         (libc_feupdateenv_53bit): Likewise.
16600         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16601         (libc_feholdexcept): Convert from macro to inline function.
16602         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16603         (libc_fesetenv, libc_feupdateenv): Likewise.
16605         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16606         not previously defined.
16607         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16608         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16609         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16610         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16611         * sysdeps/ieee754/flt-32/math_private.h: New file.
16612         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16613         math_private.h below SET_FLOAT_WORD.
16614         (__isnan, __isinf_ns, __finite): Remove.
16615         (__isnanf, __isinf_nsf, __finitef): Remove.
16617 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
16619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16621 2012-03-17  David S. Miller  <davem@davemloft.net>
16623         [BZ #6471]
16624         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16625         for 2.16.
16627 2012-03-16  David S. Miller  <davem@davemloft.net>
16629         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16630         warnings.
16632         [BZ #6471]
16633         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16634         properly.
16635         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16636         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16637         sysdep_routines when subdir is sysvipc.
16638         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16639         __getshmlba helper.
16641         * sysdeps/sparc/fpu/libm-test/ulps: Update.
16643 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16645         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16646         [__LP64__].
16648 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16650         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16651         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16652         (__lround): Renamed to ...
16653         (__llround): This.  Replace long int with long long int.
16654         Define lround functions as aliases of llround functions.
16655         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16657 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16659         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16660         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
16661         adresses to uintptr_t.  Replace "long int" and "unsigned long
16662         int" with "greg_t" on va_arg.
16664 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16666         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16667         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16669         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16670         Move e_machine check before EI_CLASS check.  Handle x32
16671         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16672         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16673         SKIP_EM_IA_64 and include
16674         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16676         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16677         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16678         (add_system_dir): New macro.
16680         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16681         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16683 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16685         [BZ #2551]
16686         [BZ #2552]
16687         [BZ #2553]
16688         [BZ #2554]
16689         [BZ #2562]
16690         [BZ #2563]
16691         [BZ #2565]
16692         [BZ #2566]
16693         [BZ #2576]
16694         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16695         (y0): Likewise.
16696         * math/w_j0f.c (j0f): Likewise.
16697         (y0f): Likewise.
16698         * math/w_j0l.c (__j0l): Likewise.
16699         (__y0l): Likewise.
16700         * math/w_j1.c (j1): Likewise.
16701         (y1): Likewise.
16702         * math/w_j1f.c (j1f): Likewise.
16703         (y1f): Likewise.
16704         * math/w_j1l.c (__j1l): Likewise.
16705         (__y1l): Likewise.
16706         * math/w_jn.c (jn): Likewise.
16707         (yn): Likewise.
16708         * math/w_jnf.c (jnf): Likewise.
16709         (ynf): Likewise.
16710         * math/w_jnl.c (__jnl): Likewise.
16711         (__ynl): Likewise.
16712         * math/libm-test.inc (j0_test): Add more tests.
16713         (j1_test): Likewise.
16714         (jn_test): Likewise.  Add trailing semicolon to existing test.
16715         (y0_test): Likewise.
16716         (y1_test): Likewise.
16717         * sysdeps/i386/fpu/libm-test-ulps: Update.
16718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16720         [BZ #13851]
16721         [BZ #13854]
16722         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16723         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16724         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16725         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16726         (__tanl): Set errno for infinite argument.
16727         * sysdeps/i386/fpu/mptan.c: Remove.
16728         * sysdeps/i386/fpu/s_tan.S: Likewise.
16729         * sysdeps/i386/fpu/s_tanl.S: Likewise.
16730         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16731         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16732         * math/libm-test.inc (tan_test): Add more tests and enable more
16733         tests for double and long double.
16734         * sysdeps/i386/fpu/libm-test-ulps: Update.
16735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16737 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16739         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16740         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16742 2012-03-16  Roland McGrath  <roland@hack.frob.com>
16744         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16745         * configure.in: Use it for both main tree and add-ons.
16746         * configure: Regenerated.
16748 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16750         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16752 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16754         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16755         in comment.
16757         [BZ #13851]
16758         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16759         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16760         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16761         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16762         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16763         infinite argument.
16764         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16765         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16766         != 0 for prec == 2.
16767         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16768         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16769         * sysdeps/i386/fpu/s_cosl.S: Likewise.
16770         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16771         * sysdeps/i386/fpu/s_sinl.S: Likewise.
16772         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16773         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16774         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16775         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16776         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16777         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16778         * math/libm-test.inc (cos_test): Add more tests and enable more
16779         tests for long double.
16780         (sin_test): Likewise.
16781         (sincos_test): Likewise.
16782         * sysdeps/i386/fpu/libm-test-ulps: Update.
16783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16785 2012-03-16  David S. Miller  <davem@davemloft.net>
16787         * sysdeps/sparc/fpu/math_private.h: New file.
16789 2012-03-15  David S. Miller  <davem@davemloft.net>
16791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16792         file.
16793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16795         file.
16796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16798         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16799         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16800         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16801         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16802         sysdep routines.
16803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16805         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16806         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16808         * sysdeps/sparc/sparc-ifunc.h: New file.
16809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16810         sparc-ifunc.h
16811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16813         Likewise.
16814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16815         Likewise.
16816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16820         Likewise.
16821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16826         Likewise.
16827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16828         Likewise.
16829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16835         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16836         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16837         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16838         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16844         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16845         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16846         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16847         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16848         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16849         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16850         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16851         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16852         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16854 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16856         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16857         scaling.
16858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16860 2012-03-15  Andreas Jaeger  <aj@suse.de>
16862         [BZ #13852]
16863         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16864         ieee754/flt-32 implementation for sin, cos and sincos.
16865         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16866         * sysdeps/i386/fpu/s_cosf.S: Likewise.
16867         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16868         * sysdeps/i386/fpu/s_sinf.S: Likewise.
16869         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16870         ieee754/flt-32 implementation for tan.
16872         * math/libm-test.inc (cos_test): Enable some large input tests for
16873         float as well
16874         (sin_test): Likewise.
16875         (sincos_test): Likewise.
16876         (tan_test): Add tests for large input.
16878         * sysdeps/i386/fpu/libm-test-ulps: Update.
16880 2012-03-15  Andreas Jaeger  <aj@suse.de>
16882         [BZ #13658]
16883         * math/libm-test.inc (cos_test): Add more test cases.
16884         (sin_test): Likewise.
16885         (sincos_test): Likewise.
16887 2012-03-15  Andreas Jaeger  <aj@suse.de>
16889         [BZ #13837]
16890         * math/libm-test.inc (cos_test): Add a test case for large input
16891         value.
16892         (sin_test): Likewise.
16893         (sincos_test): Likewise.
16895 2012-03-15  Andreas Jaeger  <aj@suse.de>,
16896         Joseph Myers  <joseph@codesourcery.com>
16898         [BZ #13658]
16899         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16900         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16901         * sysdeps/i386/fpu/branred.c: Likewise.
16902         * sysdeps/i386/fpu/dosincos.c: Likewise.
16903         * sysdeps/i386/fpu/mpa.c: Likewise.
16904         * sysdeps/i386/fpu/s_cos.S: Likewise.
16905         * sysdeps/i386/fpu/s_sin.S: Likewise.
16906         * sysdeps/i386/fpu/s_sincos.S: Likewise.
16907         * sysdeps/i386/fpu/sincos32.c: Likewise.
16909         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16910         Define.
16911         (libc_feupdateenv_53bit): Define.
16912         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16913         Define.
16914         (libc_feupdateenv_53bit): Define.
16916         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16917         53 bit (without extend i386 double precision).
16919         * math/libm-test.inc (sincos_test): Add tests for large input.
16920         (sin): Likewise.
16921         (cos): Likewise.
16923         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16925 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16929 2012-03-15  David S. Miller  <davem@davemloft.net>
16931         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16932         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16933         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16934         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16940         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16941         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16942         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16947         file.
16948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16950         file.
16951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16953         file.
16954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16956         file.
16957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16958         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16959         fmin/fmax sysdep routines.
16960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16962 2012-03-14  David S. Miller  <davem@davemloft.net>
16964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16968         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16969         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16970         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16971         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16977         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16981         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16982         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16984         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16985         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16986         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16987         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16988         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16989         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16990         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16991         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16992         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16993         routines.
16994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16995         file.
16996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16998         file.
16999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17001         file.
17002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17004         file.
17005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17007         file.
17008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17010         file.
17011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17012         file.
17013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17014         file.
17015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17016         file.
17017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17018         New file.
17019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17020         file.
17021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17022         file.
17023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17025         file.
17026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17028         file.
17029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17031         file.
17032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17034         VIS3 routines.
17036         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17037         New file.
17039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17041         * sysdeps/sparc/configure.in: New file.
17042         * sysdeps/sparc/configure: Generate.
17043         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17044         * configure: Regenerate.
17045         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17046         * config.make.in (have-as-vis3): New.
17047         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17048         available use -Av9d instead of -Av9a.
17049         * sysdeps/sparc/sparc64/Makefile: Likewise.
17050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17052         New file.
17053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17054         file.
17055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17056         New file.
17057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17058         file.
17059         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17060         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17061         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17062         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17063         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17065         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17066         fzeros/fnegs to load 0x80000000 into a float register instead of
17067         using the stack.
17068         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17070 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17072         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17073         bits/syscall.h.
17074         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17075         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17076         ($(inst_includedir)/bits/syscall.h): Remove rule.
17077         ($(objpfx)bits/syscall.d): Include instead of
17078         $(objpfx)syscall-list.d.
17079         (generated): Change syscall-list.h and syscall-list.d to
17080         bits/syscall.h and bits/syscall.d.
17082 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17084         [BZ #13846]
17085         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17087 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17089         [BZ #13841]
17090         * math/s_csqrt.c: Include <float.h>.
17091         (__csqrt): Scale large or subnormal inputs.
17092         * math/s_csqrtf.c: Likewise.
17093         * math/s_csqrtl.c: Likewise.
17094         * math/libm-test.inc (csqrt_test): Add more tests.
17095         * sysdeps/i386/fpu/libm-test-ulps: Update.
17096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17098         [BZ #13840]
17099         * math/libm-test.inc (hypot_test): Add more tests.
17101 2012-03-13  David S. Miller  <davem@davemloft.net>
17103         [BZ #13840]
17104         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17105         double-precision for the calculation instead of scaling.
17107 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17109         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17110         manipulate bits before adding and subtracting TWO52[sx].
17111         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17112         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17113         Likewise.
17114         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17116 2012-03-13  David S. Miller  <davem@davemloft.net>
17118         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17119         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17121         rtld-global-offsets.h
17122         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17124         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17125         large parameters.
17127         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17129         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17130         'err' in the ifdef scope in which it is actually used.
17132         * nss/nss_db/db-init.c: Include string.h
17134 2012-03-12  David S. Miller  <davem@davemloft.net>
17136         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17137         masking out of the most significant byte of random value used.
17138         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17139         Fix coding style in previous change.
17141         * sysdeps/unix/sysv/linux/kernel-features.h
17142         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17143         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17144         expression.
17145         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17146         later.
17148 2012-03-11  David S. Miller  <davem@davemloft.net>
17150         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17151         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17152         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17153         for 'resultvar' otherwise things get truncated on 64-bit.
17155         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17156         Fix masking out of the most significant byte of random value used.
17158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17160 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17164 2012-03-09  David S. Miller  <davem@davemloft.net>
17166         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17167         variables with appropriate CPP guards.
17168         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17169         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17170         on resulting framesize and the management of the outregs buffer for pltexit.
17171         Preserve floating point return values across _dl_call_pltexit call.
17172         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17173         framesize and the management of the outregs buffer for pltexit.
17174         Preserve floating point return values across _dl_call_pltexit
17175         call.
17176         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17177         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17178         (print_exit): Fix format string for return register value.
17180 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17182         * sunrpc/Makefile (others): Add rpcgen.
17183         ($(objpfx)rpcgen): Remove special build rule and dependency on
17184         libc.
17185         * sunrpc/rpcgen.c: New file.
17187 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17189         [BZ #13673]
17190         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17191         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17192         * sysdeps/i386/crti.S: Likewise.
17193         * sysdeps/i386/crtn.S: Likewise.
17194         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17195         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17196         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17197         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17198         * sysdeps/sh/crti.S: Likewise.
17199         * sysdeps/sh/crtn.S: Likewise.
17200         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17202         [BZ #13673]
17203         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17204         with URL.
17205         * locale/programs/locfile-kw.gperf: Likewise.
17206         * locale/programs/charmap-kw.h: Regenerated.
17207         * locale/programs/locfile-kw.h: Likewise.
17209         [BZ #13673]
17210         * intl/plural.y: Replace FSF snail mail address with URL.
17211         * intl/plural.c: Regenerated.
17213 2012-03-09  Richard Henderson  <rth@twiddle.net>
17215         * include/math_private.h: Remove file.
17216         * math/math_private.h: Move file ...
17217         * sysdeps/generic/math_private.h: ... here.
17219         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17220         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17221         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17223         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17224         and <math_private.h>.
17225         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17226         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17227         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17228         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17229         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17230         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17231         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17232         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17233         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17234         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17236         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17237         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17238         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17239         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17240         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17241         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17242         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17243         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17244         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17245         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17246         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17247         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17249         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17250         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17251         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17252         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17253         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17254         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17255         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17256         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17257         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17258         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17259         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17260         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17261         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17262         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17263         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17264         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17265         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17266         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17267         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17268         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17269         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17270         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17271         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17272         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17273         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17274         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17275         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17276         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17277         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17278         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17279         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17280         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17281         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17282         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17283         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17284         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17285         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17286         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17287         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17288         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17289         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17290         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17291         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17292         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17293         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17294         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17295         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17296         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17297         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17298         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17299         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17300         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17301         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17302         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17303         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17304         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17305         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17306         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17307         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17308         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17309         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17310         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17311         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17312         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17313         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17314         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17315         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17316         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17317         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17318         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17319         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17320         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17321         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17322         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17323         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17324         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17325         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17326         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17327         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17328         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17329         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17330         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17331         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17332         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17333         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17334         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17335         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17336         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17337         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17338         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17339         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17340         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17341         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17342         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17343         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17344         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17345         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17346         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17347         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17348         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17349         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17350         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17351         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17352         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17353         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17354         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17355         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17356         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17357         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17358         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17359         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17360         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17361         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17362         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17363         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17364         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17365         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17366         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17367         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17368         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17369         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17370         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17371         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17372         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17373         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17374         * sysdeps/ieee754/k_standard.c: Likewise.
17375         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17376         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17377         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17378         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17379         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17380         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17381         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17382         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17383         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17384         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17385         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17387         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17388         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17389         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17390         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17391         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17392         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17393         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17394         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17395         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17396         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17397         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17398         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17399         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17400         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17401         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17402         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17403         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17404         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17405         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17406         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17407         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17408         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17409         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17410         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17411         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17412         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17413         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17414         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17415         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17416         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17417         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17418         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17419         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17420         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17421         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17422         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17423         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17424         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17425         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17426         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17427         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17428         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17429         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17430         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17431         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17432         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17433         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17434         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17435         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17436         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17437         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17438         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17439         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17441         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17442         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17443         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17444         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17445         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17446         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17447         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17448         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17449         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17450         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17451         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17452         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17453         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17454         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17455         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17456         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17457         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17458         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17459         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17460         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17461         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17462         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17463         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17464         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17465         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17466         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17467         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17468         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17469         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17470         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17471         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17472         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17473         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17474         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17475         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17476         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17477         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17478         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17479         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17480         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17481         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17482         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17483         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17484         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17485         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17486         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17487         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17488         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17489         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17490         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17491         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17492         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17493         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17494         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17495         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17496         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17497         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17498         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17499         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17500         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17501         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17502         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17503         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17504         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17505         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17506         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17507         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17508         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17509         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17510         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17511         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17512         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17513         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17514         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17515         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17516         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17517         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17518         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17519         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17520         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17521         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17522         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17523         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17524         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17525         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17526         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17527         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17528         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17529         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17530         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17531         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17532         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17533         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17534         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17535         * sysdeps/ieee754/s_lib_version.c: Likewise.
17536         * sysdeps/ieee754/s_matherr.c: Likewise.
17537         * sysdeps/ieee754/s_signgam.c: Likewise.
17538         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17539         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17540         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17541         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17542         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17543         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17544         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17545         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17546         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17547         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17548         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17549         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17550         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17551         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17552         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17553         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17554         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17555         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17556         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17557         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17558         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17560 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17562         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17563         * sunrpc/rpc_main.c: Likewise.
17564         * sunrpc/rpc_svcout.c: Likewise.
17566 2012-03-09  David S. Miller  <davem@davemloft.net>
17568         * include/math_private.h: New file.
17570 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17572         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17573         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17574         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17575         from <bits/socket_type.h>.
17576         (enum __socket_type): Don't define here.
17577         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17579         bits/socket_type.h.
17581         [BZ #13566]
17582         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17583         checking __USE_GNU.
17585         * Makerules ($(inst_includedir)/%.h): New rule.
17586         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17587         (install-others): Remove variable setting.
17588         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17590 2012-03-08  Richard Henderson  <rth@twiddle.net>
17592         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17593         from macro to inline function; merge with the
17594         !__LIBC_INTERNAL_MATH_INLINES version.
17595         (__ieee754_sqrtf): Likewise.
17597         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17598         to inline function.
17599         (__rintf, __floor, __floorf): Likewise.
17601         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17602         macro to inline function.
17603         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17605         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17606         not <math/math_private.h>.
17608 2012-03-08  David S. Miller  <davem@davemloft.net>
17610         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17611         copyright year.
17612         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17614 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
17616         * resolv/gai_misc.c (handle_requests): Fix struct timespec
17617         normalization.
17618         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17619         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17621 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
17623         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
17624         be defined individually, they must be defined as a block.  Define
17625         S for printing a string instead of hidint the different by using a
17626         macro for adding the 'l'.
17627         * stdio-common/tst-fphex-wide.c: Adjust.
17629 2012-03-07  Marek Polacek  <polacek@redhat.com>
17631         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17633 2012-03-08  Marek Polacek  <polacek@redhat.com>
17635         [BZ #13806]
17636         * stdio-common/Makefile (tests): Add tst-fphex-wide.
17637         * stdio-common/tst-fphex.c: Define a few macros to make the
17638         test reusable.  Use them.
17639         * stdio-common/tst-fphex-wide.c: New file.
17641 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
17643         [BZ #6911]
17644         * manual/macros.texi (gnusystems): New macro.
17645         (nongnusystems): Likewise.
17646         (gnulinuxhurdsystems): Likewise.
17647         (gnuhurdsystems): Likewise..
17648         (gnulinuxsystems): Likewise.
17649         * manual/charset.texi: Use new macros or @theglibc{} to refer to
17650         variants of the GNU system, not "GNU system".
17651         * manual/conf.texi: Likewise.
17652         * manual/errno.texi: Likewise.  Update example of errno macro
17653         expansion.
17654         * manual/filesys.texi: Likewise.
17655         (getumask): Document as specific to GNU/Hurd.
17656         * manual/install.texi: Likewise.  Reword some references to
17657         GNU/Linux.
17658         * manual/intro.texi: Likewise.
17659         * manual/io.texi: Likewise.
17660         (File Name Portability): Detail which constraints are inapplicable
17661         to all GNU systems and which are only inapplicable to GNU/Hurd.
17662         * manual/job.texi: Likewise.
17663         * manual/llio.texi: Likewise.
17664         (O_NOCTTY): Document as present on GNU/Linux.
17665         * manual/maint.texi: Likewise.
17666         * manual/memory.texi: Likewise.
17667         * manual/pattern.texi: Likewise.
17668         * manual/pipe.texi: Likewise.
17669         * manual/process.texi: Likewise.
17670         * manual/resource.texi: Likewise.
17671         (RUSAGE_CHILDREN): Remove statement about specifying a particular
17672         child on GNU/Hurd.
17673         * manual/setjmp.texi: Likewise.
17674         * manual/signal.texi: Likewise.
17675         * manual/startup.texi: Likewise.
17676         * manual/stdio.texi: Likewise.
17677         * manual/terminal.texi: Likewise.
17678         (ONLCR): Document as POSIX.
17679         (OXTABS): Document availability on GNU/Linux as XTABS.
17680         (ONOEOT): Document availability separately from other bits.
17681         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17682         * manual/time.texi: Likewise.
17683         * manual/users.texi: Likewise.
17684         * INSTALL: Regenerated.
17685         * sysdeps/gnu/errlist.c: Regenerated.
17687         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17688         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17689         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
17690         puts.
17691         * configure: Regenerated.
17693 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
17695         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17696         default includes instead of AC_HEADER_CHECK.
17697         * sysdeps/i386/configure: Regenerated.
17699         [BZ #10716]
17700         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17701         * math/s_cacoshf.c (__cacoshf): Likewise.
17702         * math/s_cacoshl.c (__cacoshl): Likewise.
17703         * math/s_casinh.c (__casinh): Set signs of result from argument.
17704         * math/s_casinhf.c (__casinhf): Likewise.
17705         * math/s_casinhl.c (__casinhl): Likewise.
17706         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17707         (casinh_test): Add more tests.
17708         * sysdeps/i386/fpu/libm-test-ulps: Update.
17709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17711 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
17713         * po/zh_TW.po: Update from translation team.
17715         * login/Makefile (distribute): Remove variable.
17716         * catgets/Makefile: Likewise.
17717         * mach/Makefile: Likewise.
17718         * malloc/Makefile: Likewise.
17719         * misc/Makefile: Likewise.
17720         * iconv/Makefile: Likewise.
17721         * nscd/Makefile: Likewise.
17722         * hurd/Makefile: Likewise.
17723         * manual/Makefile: Likewise.
17724         * locale/Makefile: Likewise.
17725         * intl/Makefile: Likewise.
17726         * conform/Makefile: Likewise.
17727         * nss/Makefile: Likewise.
17728         * time/Makefile: Likewise.
17729         * soft-fp/Makefile: Likewise.
17730         * dirent/Makefile: Likewise.
17731         * gmon/Makefile: Likewise.
17732         * po/Makefile: Likewise.
17733         * rt/Makefile: Likewise.
17734         * socket/Makefile: Likewise.
17735         * math/Makefile: Likewise.
17736         * signal/Makefile: Likewise.
17737         * debug/Makefile: Likewise.
17738         * elf/Makefile: Likewise.
17739         * timezone/Makefile: Likewise.
17740         * stdlib/Makefile: Likewise.
17741         * iconvdata/Makefile: Likewise.
17742         * sunrpc/Makefile: Likewise.
17743         * io/Makefile: Likewise.
17744         * argp/Makefile: Likewise.
17745         * inet/Makefile: Likewise.
17746         * hesiod/Makefile: Likewise.
17747         * grp/Makefile: Likewise.
17748         * csu/Makefile: Likewise.
17749         * wctype/Makefile: Likewise.
17750         * crypt/Makefile: Likewise.
17751         * libio/Makefile: Likewise.
17752         * string/Makefile: Likewise.
17753         * nis/Makefile: Likewise.
17754         * resolv/Makefile: Likewise.
17755         * stdio-common/Makefile: Likewise.
17756         * wcsmbs/Makefile: Likewise.
17757         * dlfcn/Makefile: Likewise.
17758         * posix/Makefile: Likewise.
17760         [BZ #6959]
17761         * timezone/Makefile: Don't install timezone files, just the programs
17762         and scripts.
17764 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
17766         * nss/databases.def: Add missing gshadow entry.
17768         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
17770 2012-03-06  Marek Polacek  <polacek@redhat.com>
17772         [BZ #13726]
17773         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17774         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17775         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17776         * stdio-common/tst-long-dbl-fphex.c: New file.
17778 2012-03-06  David S. Miller  <davem@davemloft.net>
17780         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17781         (set_obp_int): New function.
17782         (get_obp_int): New function.
17783         (__get_clockfreq_via_dev_openprom): Likewise.
17784         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17785         Avoid unused variable warnings on 'val' and use builtin_expect.
17786         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17787         __builtin_expect.
17788         (INLINE_CLONE_SYSCALL): Likewise.
17790 2012-03-05  David S. Miller  <davem@davemloft.net>
17792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17794 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
17796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17798         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17799         only for |x| >= 40.
17800         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17802 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17804         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17805         Replace gettimeofday with __vdso_gettimeofday.
17807         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17808         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17809         __vdso_clock_gettime and __vdso_getcpu.
17811         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17812         time with __vdso_time.
17814 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17816         * manual/lang.texi (size_t): Note types to which size_t may be
17817         equivalent with the GNU C Library, but do not describe when
17818         differences between them are significant.
17820 2012-03-05  Andreas Jaeger  <aj@suse.de>
17822         * sysdeps/i386/fpu/libm-test-ulps: Update.
17824 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17826         [BZ #3976]
17827         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17828         (__ieee754_pow): Save and restore rounding mode and use
17829         round-to-nearest for main computations.
17830         * math/libm-test.inc (pow_test_tonearest): New function.
17831         (pow_test_towardzero): Likewise.
17832         (pow_test_downward): Likewise.
17833         (pow_test_upward): Likewise.
17834         (main): Call the new functions.
17835         * sysdeps/i386/fpu/libm-test-ulps: Update.
17836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17838         [BZ #3976]
17839         * math/libm-test.inc (cosh_test_tonearest): New function.
17840         (cosh_test_towardzero): Likewise.
17841         (cosh_test_downward): Likewise.
17842         (cosh_test_upward): Likewise.
17843         (sinh_test_tonearest): Likewise.
17844         (sinh_test_towardzero): Likewise.
17845         (sinh_test_downward): Likewise.
17846         (sinh_test_upward): Likewise.
17847         (main): Call the new functions.
17848         * sysdeps/i386/fpu/libm-test-ulps: Update.
17849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17851 2012-03-05  Tom de Vries  <tom@codesourcery.com>
17853         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17854         default stack guard is set in last bytes.
17855         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17857 2012-03-05  Kees Cook  <keescook@chromium.org>
17859         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17861         [BZ #13656]
17862         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17863         possibly allocate from heap instead of stack.
17864         * stdio-common/bug-vfprintf-nargs.c: New file.
17865         * stdio-common/Makefile (tests): Add nargs overflow test.
17867 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
17869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17871 2012-03-03  Marek Polacek  <polacek@redhat.com>
17873         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17874         * math/math_private.h: Likewise.
17875         * stdlib/tst-strtod.c: Likewise.
17876         * sysdeps/i386/i486/bits/atomic.h: Likewise.
17877         * sysdeps/x86_64/bits/atomic.h: Likewise.
17879 2012-03-02  David S. Miller  <davem@davemloft.net>
17881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17885         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17886         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17887         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17888         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17890 2012-03-02  Roland McGrath  <roland@hack.frob.com>
17892         [BZ #13792]
17893         * manual/examples/README: New file, says the example source files
17894         can be used under GPL>=2.
17895         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17896         line containing just "*/".
17897         * manual/examples/add.c: Add copyright header (GPL>=2).
17898         * manual/examples/argp-ex1.c: Likewise.
17899         * manual/examples/argp-ex2.c: Likewise.
17900         * manual/examples/argp-ex3.c: Likewise.
17901         * manual/examples/argp-ex4.c: Likewise.
17902         * manual/examples/atexit.c: Likewise.
17903         * manual/examples/db.c: Likewise.
17904         * manual/examples/dir.c: Likewise.
17905         * manual/examples/dir2.c: Likewise.
17906         * manual/examples/execinfo.c: Likewise.
17907         * manual/examples/filecli.c: Likewise.
17908         * manual/examples/filesrv.c: Likewise.
17909         * manual/examples/fmtmsgexpl.c: Likewise.
17910         * manual/examples/genpass.c: Likewise.
17911         * manual/examples/inetcli.c: Likewise.
17912         * manual/examples/inetsrv.c: Likewise.
17913         * manual/examples/isockad.c: Likewise.
17914         * manual/examples/longopt.c: Likewise.
17915         * manual/examples/memopen.c: Likewise.
17916         * manual/examples/memstrm.c: Likewise.
17917         * manual/examples/mkfsock.c: Likewise.
17918         * manual/examples/mkisock.c: Likewise.
17919         * manual/examples/mygetpass.c: Likewise.
17920         * manual/examples/pipe.c: Likewise.
17921         * manual/examples/popen.c: Likewise.
17922         * manual/examples/rprintf.c: Likewise.
17923         * manual/examples/search.c: Likewise.
17924         * manual/examples/select.c: Likewise.
17925         * manual/examples/setjmp.c: Likewise.
17926         * manual/examples/sigh1.c: Likewise.
17927         * manual/examples/sigusr.c: Likewise.
17928         * manual/examples/stpcpy.c: Likewise.
17929         * manual/examples/strdupa.c: Likewise.
17930         * manual/examples/strftim.c: Likewise.
17931         * manual/examples/strncat.c: Likewise.
17932         * manual/examples/subopt.c: Likewise.
17933         * manual/examples/swapcontext.c: Likewise.
17934         * manual/examples/termios.c: Likewise.
17935         * manual/examples/testopt.c: Likewise.
17936         * manual/examples/testpass.c: Likewise.
17937         * manual/examples/timeval_subtract.c: Likewise.
17939         [BZ #13792]
17940         * manual/time.texi (Elapsed Time): Move timeval_subtract example
17941         function to ...
17942         * manual/timeval_subtract.c.texi: ... here, new file.
17944 2012-03-02  David S. Miller  <davem@davemloft.net>
17946         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17948 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
17950         [BZ #3976]
17951         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17952         (__sin): Save and restore rounding mode and use round-to-nearest
17953         for all computations.
17954         (__cos): Save and restore rounding mode and use round-to-nearest
17955         for all computations.
17956         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17957         <fenv.h>.
17958         (tan): Save and restore rounding mode and use round-to-nearest for
17959         all computations.
17960         * math/libm-test.inc (cos_test_tonearest): New function.
17961         (cos_test_towardzero): Likewise.
17962         (cos_test_downward): Likewise.
17963         (cos_test_upward): Likewise.
17964         (sin_test_tonearest): Likewise.
17965         (sin_test_towardzero): Likewise.
17966         (sin_test_downward): Likewise.
17967         (sin_test_upward): Likewise.
17968         (tan_test_tonearest): Likewise.
17969         (tan_test_towardzero): Likewise.
17970         (tan_test_downward): Likewise.
17971         (tan_test_upward): Likewise.
17972         (main): Call the new functions.
17973         * sysdeps/i386/fpu/libm-test-ulps: Update.
17974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17976         [BZ #10135]
17977         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17978         small n, then large n, before computing and testing k+n.
17979         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17980         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17981         Likewise.
17982         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17983         Likewise.
17984         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17985         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17986         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17987         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17988         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17989         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17990         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17991         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17992         * math/libm-test.inc (scalbn_test): Add more tests.
17993         (scalbln_test): Likewise.
17995         * manual/filesys.texi (mode_t): Describe constraints on size and
17996         signedness, not exact equivalence to a particular type.
17997         (ino_t): Likewise.
17998         (ino64_t): Likewise.
17999         (dev_t): Likewise.
18000         (nlink_t): Likewise.
18001         (blkcnt_t): Likewise.
18002         (blkcnt64_t): Likewise.
18003         * manual/llio.texi (off_t): Likewise.
18005         [BZ #3976]
18006         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18007         (__ieee754_exp): Save and restore rounding mode and use
18008         round-to-nearest for all computations.
18009         * math/libm-test.inc (exp_test_tonearest): New function.
18010         (exp_test_towardzero): Likewise.
18011         (exp_test_downward): Likewise.
18012         (exp_test_upward): Likewise.
18013         (main): Call the new functions.
18014         * sysdeps/i386/fpu/libm-test-ulps: Update.
18015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18017 2012-03-01  Chris Demetriou  <cgd@google.com>
18019         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18020         have predictable order.
18022 2012-03-01  David S. Miller  <davem@davemloft.net>
18024         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18026         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18027         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18028         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18029         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18031         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18032         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18033         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18035         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18036         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18037         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18038         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18039         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18043         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18044         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18045         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18047         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18048         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18049         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18050         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18051         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18052         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18053         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18054         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18055         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18056         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18057         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18058         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18059         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18060         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18061         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18062         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18063         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18064         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18065         * sysdeps/sparc/elf/configure: Regenerated.
18067 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18069         * configure.in (AS, LD): Require binutils 2.20 or later.
18070         * configure: Regenerated.
18071         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18072         as required minimum version.
18073         * INSTALL: Regenerated.
18075         [BZ #2541]
18076         [BZ #4108]
18077         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18078         before squaring exponent.
18079         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18080         bottom long double and 27 bits of top long double before squaring
18081         exponent.
18082         * math/libm-test.inc (erfc_test): Add more tests.
18083         * sysdeps/i386/fpu/libm-test-ulps: Update.
18084         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18087 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18089         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18090         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18091         containing bit-fields.
18092         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18093         * soft-fp/single.h (_FP_UNION_S): Likewise.
18094         * soft-fp/double.h (_FP_UNION_D): Likewise.
18096 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18098         [BZ #13786]
18099         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18100         not include ../strcmp.S.
18101         [USE_AS_STRNCASECMP_L]: Likewise.
18102         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18103         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18104         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18105         (__strncasecmp_l_ia32): Define as alias to
18106         __strncasecmp_l_nonascii.
18108         [BZ #5794]
18109         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18110         * sysdeps/i386/fpu/libm-test-ulps: Update.
18111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18113         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18116 2012-02-29  Jeff Law  <law@redhat.com>
18118         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18119         out of bounds read.
18121 2012-02-29  Marek Polacek  <polacek@redhat.com>
18123         [BZ #13706]
18124         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18125         * elf/Makefile: Add rules to run tst-unused-dep.out.
18127 2012-02-28  David S. Miller  <davem@davemloft.net>
18129         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18130         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18131         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18132         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18133         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18134         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18136 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18138         * math/libm-test.inc (llround_test): Move one test from
18139         lround_test.  Use TEST_f_L in moved test.
18140         (lround_test): Move misplaced test to llround_test.  Add testcase
18141         from bug 2561.
18143 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18145         * sysdeps/x86_64/fpu/e_expf.S: New file.
18146         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18148 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18150         [BZ #13637]
18151         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18152         of remain_len that may cause incomplete multi-byte character and
18153         false match.
18154         * posix/bug-regex33.c: New file.
18155         * posix/Makefile (tests): Add bug-regex33.
18157 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18159         * manual/macros.texi: New file.
18160         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18161         * manual/libc.texinfo: Include macros.texi.
18162         * manual/creatute.texi: Likewise.
18163         * manual/install.texi: Likewise.
18164         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18165         @glibcadj{} in references to the GNU C Library.
18166         * manual/charset.texi: Likewise.
18167         * manual/conf.texi: Likewise.
18168         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18169         when not using those macros.
18170         * manual/creature.texi: Likewise.
18171         * manual/crypt.texi: Likewise.
18172         * manual/errno.texi: Likewise.
18173         * manual/filesys.texi: Likewise.
18174         * manual/header.texi: Likewise.
18175         * manual/install.texi: Likewise.
18176         * manual/intro.texi: Likewise.
18177         * manual/io.texi: Likewise.
18178         * manual/job.texi: Likewise.
18179         * manual/lang.texi: Likewise.
18180         * manual/libc.texiinfo: Likewise.
18181         * manual/llio.texi: Likewise.
18182         * manual/locale.texi: Likewise.
18183         * manual/maint.texi: Likewise.
18184         * manual/math.texi: Likewise.
18185         * manual/memory.texi: Likewise.
18186         * manual/message.texi: Likewise.
18187         * manual/nss.texi: Likewise.
18188         * manual/pattern.texi: Likewise.
18189         * manual/process.texi: Likewise.
18190         * manual/resource.texi: Likewise.
18191         * manual/search.texi: Likewise.
18192         * manual/setjmp.texi: Likewise.
18193         * manual/signal.texi: Likewise.
18194         * manual/socket.texi: Likewise.
18195         * manual/startup.texi: Likewise.
18196         * manual/stdio.texi: Likewise.
18197         * manual/string.texi: Likewise.
18198         * manual/sysinfo.texi: Likewise.
18199         * manual/syslog.texi: Likewise.
18200         * manual/terminal.texi: Likewise.
18201         * manual/time.texi: Likewise.
18202         * manual/users.texi: Likewise.
18203         * INSTALL: Regenerated.
18204         * NOTES: Regenerated.
18205         * sysdeps/gnu/errlist.c: Regenerated.
18207 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18209         * include/dirent.h: Include <dirstream.h> before
18210         <dirent/dirent.h>.
18212 2012-02-28  David S. Miller  <davem@davemloft.net>
18214         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18215         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18216         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18217         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18219 2012-02-27  David S. Miller  <davem@davemloft.net>
18221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18223         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18224         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18227         frame pointer instead of stack pointer relative arg slot.
18228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18229         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18230         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18232 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18234         [BZ #3992]
18235         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18237 2012-02-27  David S. Miller  <davem@davemloft.net>
18239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18243         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18244         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18245         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18246         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18248 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18250         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18251         later.  Allow versions 5-9.
18252         * configure: Regenerated.
18253         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18254         required minimum version and 4.6 as recommended version.  Do not
18255         mention bugs in GCC 2.7 and 2.8.
18256         * INSTALL: Regenerated.
18258 2012-02-27  David S. Miller  <davem@davemloft.net>
18260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18264         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18265         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18266         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18267         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18269         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18270         manipulate bits before adding and subtracting TWO112[sx].
18271         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18273 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18275         [BZ #13775]
18276         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18277         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18278         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18279         being in POSIX, because they are in 1003.1-2008.
18281         * rt/tst-aio.c: Include <fcntl.h>.
18282         * rt/tst-aio7.c: Likewise.
18283         * rt/tst-aio64.c: Likewise.
18285         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18287 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18289         * manual/install.texi (--with-headers): Describe headers as
18290         interface headers, not private headers.
18291         (Specific advice for GNU/Linux systems): Describe use of headers
18292         from "make headers_install", not private headers from older
18293         kernels.
18294         * INSTALL: Regenerated.
18295         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18296         Change to 2.6.19.
18297         * sysdeps/unix/sysv/linux/configure: Regenerated.
18299         * manual/llio.texi (fclean): Remove documentation.
18301         * manual/Makefile (libc-texi-generated): New variable.  Include
18302         version.texi.
18303         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18304         $(libc-texi-generated), not duplicated list of files.
18305         (version.texi, stamp-version): New rules.
18306         (realclean): Remove $(libc-texi-generated), not individual files
18307         from that list.  Do not remove dir-add.texinfo.
18308         * manual/libc.texinfo: Comment out uses of edition numbers and
18309         references to printed manual.  Remove last-updated dates.
18310         (EDITION): Comment out.
18311         (ISBN): Likewise.
18312         (VERSION, UPDATED): Remove.
18313         (version.texi): Include.
18315 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18317         * sysdeps/posix/spawni.c: Include <signal.h>.
18318         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18319         * sysdeps/pthread/aio_fsync.c: Likewise.
18321 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18323         * conform/Makefile (tests): Run only when not cross-compiling and
18324         when fast-check is not defined.
18326         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18327         * conform/data/limits.h-data: Fixes for POSIX2008.
18328         * conform/run-conformtest.sh: Run all tests.
18329         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18330         headers.
18331         * include/bits/dlfcn.h: Likewise.
18332         * include/langinfo.h: Likewise.
18333         * include/monetary.h: Likewise.
18334         * include/sys/poll.h: Likewise.
18336         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18337         for __USE_GNU.
18338         * posix/spawn.h: Define __need_sigset_t.
18339         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18340         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18341         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
18342         to get sigevent_t only.
18343         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18344         only for __USE_GNU.
18345         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18346         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18347         process_vm_writev only for __USE_GNU.
18348         * termios/termios.h: Declare tcgetsid also for POSIX2008.
18350         * conform/Makefile: For now ignore errors from run-conformtest.
18351         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
18352         POSIX to avoid namespace pollution.  Don't prepend headers.
18353         * conform/data/aio.h-data: Fixes for POSIX testing.
18354         * conform/data/fcntl.h-data: Likewise.
18355         * conform/data/glob.h-data: Likewise.
18356         * conform/data/grp.h-data: Likewise.
18357         * conform/data/pthread.h-data: Likewise.
18358         * conform/data/pwd.h-data: Likewise.
18359         * conform/data/signal.h-data: Likewise.
18360         * conform/data/spawn.h-data: Likewise.
18361         * conform/data/stdio.h-data: Likewise.
18362         * conform/data/stdlib.h-data: Likewise.
18363         * conform/data/stropts.h-data: Likewise.
18364         * conform/data/sys/mman.h-data: Likewise.
18365         * conform/data/sys/stat.h-data: Likewise.
18366         * conform/data/sys/types.h-data: Likewise.
18367         * conform/data/sys/wait.h-data: Likewise.
18368         * conform/data/time.h-data: Likewise.
18369         * conform/data/unistd.h-data: Likewise.
18370         * conform/data/utime.h-data: Likewise.
18372         * io/sys/stat.h: fchmod was always in POSIX.
18373         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18374         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18375         * rt/aio.h: Define __need_timespec before including <time.h>.
18376         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18377         struct.  Add forward declaration of pthread_attr_t and use it in
18378         sigevent.
18379         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18380         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18381         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18382         always remove CLK_TCK definition.
18384 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
18386         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18388 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
18390         * conform/run-conformtest.sh: New file.
18391         * conform/Makefile: Run run-conformtest for tests.
18392         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
18393         support.
18395         * conform/data/uchar.h-data: New file.
18396         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18397         * conform/data/arpa/inet.h-data: Likewise.
18398         * conform/data/assert.h-data: Likewise.
18399         * conform/data/complex.h-data: Likewise.
18400         * conform/data/cpio.h-data: Likewise.
18401         * conform/data/ctype.h-data: Likewise.
18402         * conform/data/dirent.h-data: Likewise.
18403         * conform/data/dlfcn.h-data: Likewise.
18404         * conform/data/errno.h-data: Likewise.
18405         * conform/data/fcntl.h-data: Likewise.
18406         * conform/data/float.h-data: Likewise.
18407         * conform/data/fmtmsg.h-data: Likewise.
18408         * conform/data/fnmatch.h-data: Likewise.
18409         * conform/data/ftw.h-data: Likewise.
18410         * conform/data/glob.h-data: Likewise.
18411         * conform/data/grp.h-data: Likewise.
18412         * conform/data/iconv.h-data: Likewise.
18413         * conform/data/inttypes.h-data: Likewise.
18414         * conform/data/langinfo.h-data: Likewise.
18415         * conform/data/libgen.h-data: Likewise.
18416         * conform/data/limits.h-data: Likewise.
18417         * conform/data/locale.h-data: Likewise.
18418         * conform/data/math.h-data: Likewise.
18419         * conform/data/monetary.h-data: Likewise.
18420         * conform/data/mqueue.h-data: Likewise.
18421         * conform/data/ndbm.h-data: Likewise.
18422         * conform/data/net/if.h-data: Likewise.
18423         * conform/data/netdb.h-data: Likewise.
18424         * conform/data/netinet/in.h-data: Likewise.
18425         * conform/data/nl_types.h-data: Likewise.
18426         * conform/data/poll.h-data: Likewise.
18427         * conform/data/pthread.h-data: Likewise.
18428         * conform/data/pwd.h-data: Likewise.
18429         * conform/data/regex.h-data: Likewise.
18430         * conform/data/sched.h-data: Likewise.
18431         * conform/data/search.h-data: Likewise.
18432         * conform/data/semaphore.h-data: Likewise.
18433         * conform/data/setjmp.h-data: Likewise.
18434         * conform/data/signal.h-data: Likewise.
18435         * conform/data/spawn.h-data: Likewise.
18436         * conform/data/stdarg.h-data: Likewise.
18437         * conform/data/stdio.h-data: Likewise.
18438         * conform/data/stdlib.h-data: Likewise.
18439         * conform/data/string.h-data: Likewise.
18440         * conform/data/strings.h-data: Likewise.
18441         * conform/data/stropts.h-data: Likewise.
18442         * conform/data/sys/ipc.h-data: Likewise.
18443         * conform/data/sys/mman.h-data: Likewise.
18444         * conform/data/sys/msg.h-data: Likewise.
18445         * conform/data/sys/resource.h-data: Likewise.
18446         * conform/data/sys/select.h-data: Likewise.
18447         * conform/data/sys/sem.h-data: Likewise.
18448         * conform/data/sys/shm.h-data: Likewise.
18449         * conform/data/sys/socket.h-data: Likewise.
18450         * conform/data/sys/stat.h-data: Likewise.
18451         * conform/data/sys/statvfs.h-data: Likewise.
18452         * conform/data/sys/time.h-data: Likewise.
18453         * conform/data/sys/timeb.h-data: Likewise.
18454         * conform/data/sys/times.h-data: Likewise.
18455         * conform/data/sys/types.h-data: Likewise.
18456         * conform/data/sys/uio.h-data: Likewise.
18457         * conform/data/sys/un.h-data: Likewise.
18458         * conform/data/sys/utsname.h-data: Likewise.
18459         * conform/data/sys/wait.h-data: Likewise.
18460         * conform/data/syslog.h-data: Likewise.
18461         * conform/data/tar.h-data: Likewise.
18462         * conform/data/termios.h-data: Likewise.
18463         * conform/data/utime.h-data: Likewise.
18464         * conform/data/utmpx.h-data: Likewise.
18465         * conform/data/varargs.h-data: Likewise.
18466         * conform/data/wchar.h-data: Likewise.
18467         * conform/data/wctype.h-data: Likewise.
18468         * conform/data/wordexp.h-data: Likewise.
18470         * include/stropts.h: New file.
18471         * include/uchar.h: New file.
18472         * include/aio.h: Changes to allow conformtest.pl to use the headers.
18473         * include/assert.h: Likewise.
18474         * include/ctype.h: Likewise.
18475         * include/dirent.h: Likewise.
18476         * include/dlfcn.h: Likewise.
18477         * include/fcntl.h: Likewise.
18478         * include/fnmatch.h: Likewise.
18479         * include/glob.h: Likewise.
18480         * include/grp.h: Likewise.
18481         * include/libio.h: Likewise.
18482         * include/locale.h: Likewise.
18483         * include/math.h: Likewise.
18484         * include/net/if.h: Likewise.
18485         * include/netdb.h: Likewise.
18486         * include/netinet/in.h: Likewise.
18487         * include/pthread.h: Likewise.
18488         * include/pwd.h: Likewise.
18489         * include/regex.h: Likewise.
18490         * include/sched.h: Likewise.
18491         * include/search.h: Likewise.
18492         * include/setjmp.h: Likewise.
18493         * include/signal.h: Likewise.
18494         * include/stdio.h: Likewise.
18495         * include/stdlib.h: Likewise.
18496         * include/string.h: Likewise.
18497         * include/sys/cdefs.h: Likewise.
18498         * include/sys/mman.h: Likewise.
18499         * include/sys/msg.h: Likewise.
18500         * include/sys/resource.h: Likewise.
18501         * include/sys/select.h: Likewise.
18502         * include/sys/socket.h: Likewise.
18503         * include/sys/stat.h: Likewise.
18504         * include/sys/statvfs.h: Likewise.
18505         * include/sys/time.h: Likewise.
18506         * include/sys/times.h: Likewise.
18507         * include/sys/uio.h: Likewise.
18508         * include/sys/utsname.h: Likewise.
18509         * include/sys/wait.h: Likewise.
18510         * include/termios.h: Likewise.
18511         * include/time.h: Likewise.
18512         * include/ulimit.h: Likewise.
18513         * include/unistd.h: Likewise.
18514         * include/utime.h: Likewise.
18515         * include/wchar.h: Likewise.
18516         * include/wctype.h: Likewise.
18517         * include/wordexp.h: Likewise.
18519         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18521         * time/time.h: TIME_UTC must be a macro.
18522         Make timespec_get available for ISO C11 only as well.
18524 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
18526         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18527         Reported by Peng Haitao <penght@cn.fujitsu.com>.
18529 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18531         * configure.in: Use -o not -a in test for unsupported multi-arch.
18533 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18535         * manual/texinfo.tex: Update to version 2012-01-19.16.
18537 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18539         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18541 2012-02-24  Roland McGrath  <roland@hack.frob.com>
18543         [BZ #13738]
18544         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18545         * manual/fdl-1.3.texi: New file.
18546         * manual/fdl-1.1.texi: File removed.
18548         [BZ #13738]
18549         * manual/libc.texinfo (FDL_VERSION): New @set.
18550         Use it for mention of FDL in cover text.
18551         (Documentation License): Use it in @include file name.
18553 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18554             Roland McGrath  <roland@hack.frob.com>
18556         [BZ #5461]
18557         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18558         not LONG_LONG_MAX and LONG_LONG_MIN.
18559         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18560         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
18561         name.
18562         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18564 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18566         [BZ #2547]
18567         [BZ #11365]
18568         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18569         manipulate bits before adding and subtracting TWO23[sx].
18570         * math/libm-test.inc (nearbyint_test): Add more tests.
18572 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18574         [BZ #2548]
18575         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18576         bits before adding and subtracting TWO23[sx].
18577         * math/libm-test.inc (rint_test): Add more tests.
18578         (rint_test_tonearest): Likewise.
18579         (rint_test_towardzero): Likewise.
18580         (rint_test_downward): Likewise.
18581         (rint_test_upward: Likewise.
18583 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18585         [BZ #10110]
18586         * include/stdc-predef.h: New file.  Extracted from features.h.
18587         * include/features.h: Include stdc-predef.h.
18588         * Makefile (headers): Add stdc-predef.h.
18589         * CONFORMANCE (Compiler limitations): Update.
18591 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18593         * manual/libc.texinfo (VERSION, UPDATED): Revert.
18595 2012-02-21  David S. Miller  <davem@davemloft.net>
18597         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18598         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18600 2012-02-20  David S. Miller  <davem@davemloft.net>
18602         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18603         using a normal save/restore sequence, rather than allocating a
18604         dummy stack frame just to store a frame pointer and restore.
18605         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18607 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18609         * manual/install.texi: Fix stray word in line-wrapped comment.
18611 2012-02-20  David S. Miller  <davem@davemloft.net>
18613         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18614         both binutils and gcc support GOTDATA.
18616         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18617         "rd %pc" in the PIC register setup sequences.
18619         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18620         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18621         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18622         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18623         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18625         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18626         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18627         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18628         (SYSCALL_ERROR_HANDLER): Likewise.
18629         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18630         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18631         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18632         (SYSCALL_ERROR_HANDLER): Likewise.
18634         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18635         (HAVE_GCC_GOTDATA): New.
18636         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18637         relocation support in both binutils and gcc.
18638         * sysdeps/sparc/elf/configure: Regenerate.
18640         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18641         * sysdeps/sparc/sparc32/elf/configure: Delete.
18642         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18643         * sysdeps/sparc/sparc64/elf/configure: Delete.
18644         * sysdeps/sparc/elf/configure.in: New file.
18645         * sysdeps/sparc/elf/configure: Generate.
18647         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18648         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18649         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18650         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18651         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18653 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18655         * manual/install.texi: Do not mention specific glibc version
18656         numbers.
18657         * manual/libc.texinfo (VERSION, UPDATED): Update.
18658         (@copying): Use @copyright{} and range of years.
18660 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18662         [BZ #13695]
18663         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18664         [crti.S not in sysdirs] (generated): Do not append.
18665         [crti.S not in sysdirs] (omit-deps): Likewise.
18666         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18667         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18668         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18669         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18670         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18671         Likewise.
18672         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18673         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18674         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18675         * csu/defs.awk: Remove file.
18676         * sysdeps/generic/initfini.c: Likewise.
18677         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18678         variable.
18679         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18680         Likewise.
18682 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18684         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18685         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18686         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18687         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18688         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18689         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18690         <bits/epoll.h>.
18691         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18692         (__EPOLL_PACKED): Define to empty if not defined by
18693         <bits/epoll.h>.
18694         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18696         bits/epoll.h.
18698 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18700         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18701         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18702         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18703         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18704         <bits/timerfd.h>.
18705         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18707         bits/timerfd.h.
18709 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18711         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18712         in C locale.
18713         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18714         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18715         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18718 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
18720         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18721         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18723 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
18725         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18726         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18727         defined.
18728         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18729         Likewise.
18730         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18731         entry for 2.16.
18733 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
18735         * math/w_acos.c: Use non-signaling floating-point comparisons.
18736         * math/w_acosf.c: Likewise.
18737         * math/w_acosh.c: Likewise.
18738         * math/w_acoshf.c: Likewise.
18739         * math/w_acoshl.c: Likewise.
18740         * math/w_acosl.c: Likewise.
18741         * math/w_asin.c: Likewise.
18742         * math/w_asinf.c: Likewise.
18743         * math/w_asinl.c: Likewise.
18744         * math/w_atanh.c: Likewise.
18745         * math/w_atanhf.c: Likewise.
18746         * math/w_atanhl.c: Likewise.
18747         * math/w_exp2.c: Likewise.
18748         * math/w_exp2f.c: Likewise.
18749         * math/w_exp2l.c: Likewise.
18750         * math/w_j0.c: Likewise.
18751         * math/w_j0f.c: Likewise.
18752         * math/w_j0l.c: Likewise.
18753         * math/w_j1.c: Likewise.
18754         * math/w_j1f.c: Likewise.
18755         * math/w_j1l.c: Likewise.
18756         * math/w_jn.c: Likewise.
18757         * math/w_jnf.c: Likewise.
18758         * math/w_log.c: Likewise.
18759         * math/w_log10.c: Likewise.
18760         * math/w_log10f.c: Likewise.
18761         * math/w_log10l.c: Likewise.
18762         * math/w_log2.c: Likewise.
18763         * math/w_log2f.c: Likewise.
18764         * math/w_log2l.c: Likewise.
18765         * math/w_logf.c: Likewise.
18766         * math/w_logl.c: Likewise.
18767         * math/w_sqrt.c: Likewise.
18768         * math/w_sqrtf.c: Likewise.
18769         * math/w_sqrtl.c: Likewise.
18770         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18771         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18772         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18773         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18774         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18776 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18778         [BZ #9739]
18779         * manual/string.texi (strnlen): Use correct parameter name in
18780         equivalent expression.
18782 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18784         [BZ #11174]
18785         * manual/users.texi (seteuid): Consistently use neweuid for
18786         argument name.
18788 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18790         [BZ #13704]
18791         * manual/nss.texi (Services in the NSS configuration): Correct
18792         list of services in example configuration file.
18794 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
18796         [BZ #11322]
18797         * manual/arith.texi: Remove statements about negative zero
18798         behaving identically to zero.
18800 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18802         [BZ #5993]
18803         * manual/install.texi: Do not document upgrading from libc5.
18805 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18807         [BZ #4596]
18808         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18810 2012-02-18  David S. Miller  <davem@davemloft.net>
18812         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18813         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18814         %o7 across the call.
18815         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18816         instead.
18817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18818         SETUP_PIC_REG_LEAF.
18819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18820         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18821         * sysdeps/sparc/crtn.S: Likewise.
18823 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
18825         * aout/Makefile: Remove.
18827 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
18829         [BZ #13058]
18830         * manual/examples/argp-ex1.c (main): Format definition in GNU
18831         style.
18832         * manual/examples/argp-ex2.c (main): Likewise.
18833         * manual/examples/argp-ex3.c (main): Likewise.
18834         * manual/examples/argp-ex4.c (main): Likewise.
18835         * manual/examples/longopt.c (main): Use new-style prototype
18836         definition.
18837         * manual/examples/strncat.c (main): Specify return type and use
18838         (void) for arguments.
18839         * manual/examples/subopt.c (main): Use char **argv argument.
18841 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18843         [BZ #5077]
18844         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18845         rounding modes.
18847 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
18849         [BZ #6907]
18850         * manual/string.texi (strchr): Change when strchrnul is
18851         recommended.
18853 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
18855         [BZ #174]
18856         * manual/locale.texi (setlocale): Document LOCPATH.
18858 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18860         [BZ #10210]
18861         * manual/process.texi (execle): Move @dots{} before last argument.
18863 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
18865         [BZ #12047]
18866         * manual/charset.texi (Generic Charset Conversion): Fix typo
18867         (LC_TYPE -> LC_CTYPE).
18869 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
18871         [BZ #5805]
18872         * manual/arith.texi (scalbn): Use @var{} on parameter names.
18873         (scalbnf): Likewise.
18874         (scalbnl): Likewise.
18875         (scalbln): Likewise.
18876         (scalblnf): Likewise.
18877         (scalblnl): Likewise.
18878         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18879         (vwarnx): Likewise.
18880         (verr): Likewise.
18881         (verrx): Likewise.
18882         * manual/filesys.texi (telldir): Use braces around return type.
18883         * manual/llio.texi (mmap): Add space after comma.
18884         (mmap64): Likewise.
18885         * manual/math.texi (jn): Use @var{} on parameter names.
18886         (jnf): Likewise.
18887         (jnl): Likewise.
18888         (yn): Likewise.
18889         (ynf): Likewise.
18890         (ynl): Likewise.
18891         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18892         line.
18893         * manual/resource.texi (ulimit): Use @dots{} instead of literal
18894         "...".
18895         (sched_get_priority_min): Remove semicolon on @deftypefun line.
18896         (sched_get_priority_max): Likewise.
18897         * manual/signal.texi (sigvec): Add space after comma.
18898         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18899         names.
18900         (if_indextoname): Likewise.
18901         (if_freenameindex): Likewise.
18902         (sendto): Use ',' instead of '.' in prototype.
18903         * manual/startup.texi (syscall): Use @dots{} instead of literal
18904         "...".
18905         * manual/stdio.texi (__fpending): Separate initial words of
18906         paragraph from @deftypefun line.
18907         * manual/syslog.texi (syslog): Use @dots{} instead of literal
18908         "...".
18909         (vsyslog): Use @var{} on parameter names.
18910         * manual/terminal.texi (stty): Use @var{} on parameter names.
18911         * manual/users.texi (getutmp): Use @var{} on parameter names.
18912         (getutmpx): Likewise.
18914 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18916         [BZ #6884]
18917         * manual/stdio.texi (fopen): Fix typos in description of
18918         ",ccs=STRING".
18920 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
18922         [BZ #4026]
18923         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18924         get clock_id definition.
18926 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
18928         [BZ #4822]
18929         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18930         (madvise): Cast every argument to void on its own.
18932 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18934         [BZ #9902]
18935         * manual/startup.texi (Exit Status): Fix typo.
18937 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18939         [BZ #10140]
18940         * manual/examples/argp-ex1.c: Include <stdlib.h>.
18941         * manual/examples/argp-ex2.c: Likewise.
18942         * manual/examples/argp-ex3.c: Likewise.
18944 2012-02-16  Richard Henderson  <rth@redhat.com>
18946         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18947         * sysdeps/s390/s390-32/initfini.c: Remove.
18948         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18949         * sysdeps/s390/s390-64/initfini.c: Remove.
18951 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18953         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18954         compiler output for sysdeps/generic/initfini.c.
18955         * sysdeps/sh/elf/initfini.c: Remove file.
18957 2012-02-16  David S. Miller  <davem@davemloft.net>
18959         [BZ #11494]
18960         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18962         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18963         * sysdeps/sparc/crti.S: New file.
18964         * sysdeps/sparc/crtn.S: New file.
18965         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18966         * sysdeps/sparc/sparc64/Makefile: Likewise.
18968 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
18970         [BZ #3335]
18971         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18973 2012-02-15  Roland McGrath  <roland@hack.frob.com>
18975         [BZ #4822]
18976         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18978         * mach/devstream.c (cookie_io_functions_t): Macro removed.
18979         (write, read, close): Likewise.
18980         Patch by Aurelien Jarno <aurelien@aurel32.net>.
18982 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
18984         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18985         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18986         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18987         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18988         <bits/signalfd.h>.
18989         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18990         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18991         bits/signalfd.h.
18993 2012-02-14  Marek Polacek  <polacek@redhat.com>
18995         * sysdeps/x86_64/crti.S: New file.
18996         * sysdeps/x86_64/crtn.S: New file.
18997         * sysdeps/x86_64/elf/initfini.c: Remove file.
18999 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19001         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19002         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19003         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19004         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19005         <bits/inotify.h>.
19006         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19007         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19008         bits/inotify.h.
19010 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19012         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19013         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19014         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19015         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19016         <bits/eventfd.h>.
19017         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19019         bits/eventfd.h.
19021 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19023         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19024         __feraiseexcept instead of feraiseexcept.
19026         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19027         nanosleep invocations.
19028         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19029         strings, and add error checking for a nanosleep invocations.
19031 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19033         Replace FSF snail mail address with URLs, as per GNU coding standards.
19034         Most of the snail mail addresses were wrong anyway, and omitting
19035         them makes the source code easier to maintain.  Almost all of the
19036         changes are to license notices and to locale LC_IDENTIFICATION
19037         addresses, except for this one:
19038         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19039         not its snail mail address.
19041 2012-02-09  Richard Henderson  <rth@twiddle.net>
19043         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19044         of kernel-features.h.
19046         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19048 2012-02-08  Marek Polacek  <polacek@redhat.com>
19050         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19051         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19052         * sysdeps/gnu/_G_config.h: Likewise.
19053         * sysdeps/generic/_G_config.h: Likewise.
19055 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19057         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19058         tests.
19059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19061         * sysdeps/powerpc/powerpc32/crti.S: New file.
19062         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19063         * sysdeps/powerpc/powerpc64/crti.S: New file.
19064         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19066         * Makeconfig (have-initfini): Don't set.
19067         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19068         * configure.in (nopic_initfini): Don't substitute.
19069         * config.h.in (HAVE_INITFINI): Don't #undef.
19070         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19071         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19073 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19075         Support crti.S and crtn.S provided directly by architectures.
19076         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19077         [crti.S in sysdirs] (omit-deps): Likewise.
19078         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19079         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19080         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19081         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19082         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19083         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19084         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19085         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19086         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19087         compiler output for sysdeps/generic/initfini.c.
19088         * sysdeps/i386/elf/Makefile: Remove file.
19089         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19091 2012-02-07  Marek Polacek  <polacek@redhat.com>
19093         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19094         * sysdeps/gnu/_G_config.h: Likewise.
19095         * sysdeps/mach/hurd/_G_config.h: Likewise.
19097 2012-02-07  Marek Polacek  <polacek@redhat.com>
19099         * math/Makefile (tests): Add tst-CMPLX2.
19100         * math/tst-CMPLX2.c: New file.
19102 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19104         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19106         * math/libm-test.inc (jn_test): Add missing L suffix.
19108 2012-02-06  Marek Polacek  <polacek@redhat.com>
19110         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19111         * sysdeps/i386/fpu/e_powf.S: Likewise.
19112         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19113         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19114         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19115         * sysdeps/i386/fpu/e_pow.S: Likewise.
19116         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19117         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19118         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19119         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19120         * sysdeps/i386/fpu/e_log2.S: Likewise.
19121         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19122         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19123         * sysdeps/i386/fpu/e_powl.S: Likewise.
19124         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19125         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19126         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19127         * sysdeps/i386/fpu/e_logl.S: Likewise.
19128         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19129         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19130         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19131         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19132         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19133         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19134         * sysdeps/i386/fpu/e_log.S: Likewise.
19135         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19136         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19137         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19138         * sysdeps/i386/fpu/e_logf.S: Likewise.
19139         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19140         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19141         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19142         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19143         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19144         * sysdeps/i386/fpu/e_log10.S: Likewise.
19145         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19146         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19147         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19148         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19149         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19150         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19151         * sysdeps/i386/asm-syntax.h: Likewise.
19152         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19153         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19154         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19155         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19156         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19157         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19158         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19159         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19160         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19161         * sysdeps/powerpc/sysdep.h: Likewise.
19162         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19163         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19165 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19167         [BZ #411]
19168         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19170 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19172         * sysdeps/i386/sysdep.h: Include <features.h>.
19173         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19174         version.
19176 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19178         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19179         Define.
19180         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19181         LOAD_PIC_REG_STR.
19183 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19185         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19186         (SETUP_PIC_REG): Use GET_PC_THUNK.
19187         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19188         macro.
19190 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19192         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19193         for non-PIC compilation.
19194         (SETUP_PIC_REG): Add .p2align directive.
19195         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19196         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19197         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19198         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19199         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19200         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19201         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19202         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19203         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19204         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19205         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19206         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19207         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19208         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19209         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19210         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19211         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19212         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19213         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19214         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19215         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19216         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19217         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19218         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19219         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19220         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19221         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19222         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19223         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19224         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19225         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19226         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19227         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19228         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19229         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19230         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19231         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19232         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19233         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19234         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19235         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19237 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19239         * math/tst-CMPLX.c: Include <stdio.h>.
19241 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19243         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19244         float.
19245         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19246         * sysdeps/sparc/bits/mathdef.h: Likewise.
19248 2012-01-31  Marek Polacek  <polacek@redhat.com>
19250         * libio/libio.h: Don't define _PARAMS.
19251         * locale/programs/config.h: Don't define PARAMS.
19252         * stdlib/strtol_l.c: Likewise.
19253         (__strtol_l): Remove PARAMS from the prototype.
19255 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19257         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19258         names.  Just use the correct names.  Remove unnecessary wrapper
19259         functions.
19260         * malloc/arena.c: Likewise.
19261         * malloc/hooks.c: Likewise.
19263         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19264         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19265         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19267 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19269         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19270         into tail calls.
19271         (update_get_addr): New function.
19272         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19273         GET_ADDR_MODULE parameter.
19275 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19277         * crypt/cert.c: Remove __STDC__ conditionals.
19278         * crypt/crypt-entry.c: Likewise.
19279         * crypt/crypt_util.c: Likewise.
19280         * libio/filedoalloc.c: Likewise.
19281         * libio/fileops.c: Likewise.
19282         * libio/genops.c: Likewise.
19283         * libio/iofclose.c: Likewise.
19284         * libio/iofdopen.c: Likewise.
19285         * libio/iofopen.c: Likewise.
19286         * libio/iofopen64.c: Likewise.
19287         * libio/iogetdelim.c: Likewise.
19288         * libio/iopopen.c: Likewise.
19289         * libio/obprintf.c: Likewise.
19290         * libio/oldfileops.c: Likewise.
19291         * libio/oldiofclose.c: Likewise.
19292         * libio/oldiofdopen.c: Likewise.
19293         * libio/oldiofopen.c: Likewise.
19294         * libio/oldiopopen.c: Likewise.
19295         * libio/wfiledoalloc.c: Likewise.
19296         * libio/wgenops.c: Likewise.
19297         * locale/programs/xmalloc.c: Likewise.
19298         * misc/syslog.c: Likewise.
19299         * stdio-common/xbug.c: Likewise.
19300         * string/memchr.c: Likewise.
19301         * string/memcmp.c: Likewise.
19302         * string/memrchr.c: Likewise.
19303         * string/rawmemchr.c: Likewise.
19304         * sysdeps/posix/getcwd.c: Likewise.
19305         * time/strftime_l.c: Likewise.
19307 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19309         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19310         * config.make.in (config-cflags-sse2avx): Define.
19311         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19312         Fix typo.
19314 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19316         * scripts/config.guess: Update from upstream config git repository.
19317         * scripts/config.sub: Likewise.
19319 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19321         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19322         (EM_NUM): Update.
19323         (R_TILEPRO_*, R_TILEGX_*): New macros.
19325         * scripts/firstversions.awk: Fix bug in version range handling.
19327         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19329         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19331         * include/sys/epoll.h: New file.
19332         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19333         libc_hidden_def.
19335 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19337         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19338         Avoid unnecessary __WORDSIZE == 64 test.
19339         (fmaxf): Use VEX format if possible.
19340         (fmax): Likewise.
19341         (fminf): Likewise.
19342         (fmin): Likewise.
19344         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19345         * math/math_private.h: Remove libc_fegetround* and
19346         libc_fesetround*.
19347         * sysdeps/i386/configure.in: Check for -msse2avx.
19348         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19349         also if SSE2AVX is defined.
19350         Remove libc_fegetround* and libc_fesetround*.
19351         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19352         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
19353         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19354         of HAS_YMM_USABLE.
19355         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19356         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19357         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19358         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19359         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19361         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19363 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19365         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19366         size is not set.
19367         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19369 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
19371         [BZ #13618]
19372         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19373         relocation.
19374         * Makeconfig (libm): Define.
19375         * elf/Makefile: Add rules to build and run tst-relsort1.
19376         * elf/tst-relsort1.c: New file.
19377         * elf/tst-relsort1mod1.c: New file.
19378         * elf/tst-relsort1mod2.c: New file.
19380 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
19382         * math/s_ldexp.c: Remove __STDC__ conditionals.
19383         * math/s_ldexpf.c: Likewise.
19384         * math/s_ldexpl.c: Likewise.
19385         * math/s_nextafter.c: Likewise.
19386         * math/s_nexttowardf.c: Likewise.
19387         * math/s_significand.c: Likewise.
19388         * math/s_significandf.c: Likewise.
19389         * math/s_significandl.c: Likewise.
19390         * math/w_jnl.c: Likewise.
19391         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19392         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19393         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19394         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19395         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19396         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19397         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19398         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19399         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19400         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19401         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19402         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19403         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19404         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19405         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19406         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19407         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19408         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19409         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19410         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19411         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19412         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19413         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19414         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19415         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19416         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19417         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19418         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19419         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19420         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19421         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19422         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19423         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19424         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19425         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19426         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19427         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19428         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19429         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19430         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19431         * sysdeps/ieee754/k_standard.c: Likewise.
19432         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19433         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19434         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19435         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19436         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19437         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19438         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19439         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19440         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19441         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19442         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19443         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19444         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19445         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19446         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19447         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19448         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19449         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19450         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19451         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19452         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19453         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19454         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19455         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19456         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19457         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19458         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19459         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19460         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19461         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19462         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19463         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19464         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19465         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19466         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19467         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19468         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19469         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19470         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19471         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19472         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19473         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19474         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19475         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19476         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19477         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19478         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19479         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19480         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19481         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19482         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19483         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19484         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19485         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19486         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19487         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19488         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19489         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19490         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19491         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19492         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19493         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19494         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19495         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19496         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19497         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19498         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19499         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19500         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19501         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19502         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19503         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19504         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19505         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19506         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19507         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19508         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19509         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19510         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19511         * sysdeps/ieee754/s_matherr.c: Likewise.
19512         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19513         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19514         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19515         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19517 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19519         * crypt/md5.h: Remove __STDC__ conditionals.
19520         * libio/libioP.h: Likewise.
19521         * locale/programs/config.h: Likewise.
19522         * sysdeps/generic/sysdep.h: Likewise.
19523         * sysdeps/i386/asm-syntax.h: Likewise.
19524         * sysdeps/s390/asm-syntax.h: Likewise.
19525         * sysdeps/unix/sysdep.h: Likewise.
19526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19529 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19531         * libio/libio.h: Remove __STDC__ conditionals.
19532         * malloc/obstack.h: Likewise.
19533         * math/complex.h: Likewise.
19534         * math/math.h: Likewise.
19535         * sysdeps/generic/_G_config.h: Likewise.
19536         * sysdeps/gnu/_G_config.h: Likewise.
19537         * sysdeps/mach/hurd/_G_config.h: Likewise.
19538         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19539         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19540         * sysdeps/sparc/bits/mathdef.h: Likewise.
19542 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
19544         [BZ #13583]
19545         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19546         Clean up HAS_* macros.
19547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19548         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19549         possible.
19550         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19551         HAS_AVX.
19552         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19553         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19554         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19555         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19556         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19558 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
19560         * elf/tst-unique3.cc (gets): Remove declaration.
19561         * elf/tst-unique3lib.cc (gets): Likewise.
19562         * elf/tst-unique3lib2.cc (gets): Likewise.
19563         * elf/tst-unique4.cc (gets): Likewise.
19565 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
19567         * include/stdio.h: Add C++ protection.  Add gets declarations and
19568         definitions.
19569         * debug/tst-chk1.c: Don't declare gets here.
19570         * stdio-common/tst-gets.c: Likewise.
19572 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19574         * posix/glob: Remove directory.
19576 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19578         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19580 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
19582         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19583         of the non-standard EPFNOSUPPORT.
19585 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19587         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19588         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19589         ANYWHERE set to 1 only on KERN_NO_SPACE error.
19591 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
19593         * wcsmbs/uchar.h: Test __STDC_VERSION__.
19595 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
19597         * nscd/aicache.c (addhstaiX): Do not cache negative results of
19598         transient errors.
19599         * nscd/grpcache.c (cache_addgr): Likewise.
19600         * nscd/hstcache.c (cache_addhst): Likewise.
19601         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19602         * nscd/pwdcache.c (cache_addpw): Likewise.
19603         * nscd/servicescache.c (cache_addserv): Likewise.
19605 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
19607         * malloc/malloc.c: Various cleanups.
19608         * malloc/hooks.c: Likewise.
19610         * stdlib/Makefile (tests): Add bug-fmtmsg1.
19611         * stdlib/bug-fmtmsg1.c: New file.
19613         * stdlib/fmtmsg.c (init): Add missing unlock.
19614         Patch by Peng Haitao <penght@cn.fujitsu.com>.
19616 2012-01-12  Marek Polacek  <polacek@redhat.com>
19618         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19619         and _GNU_SOURCE.
19621 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19623         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19624         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19625         macro to ensure uniqueness of label name.
19626         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19627         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19629 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
19631         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19633         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19634         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19635         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19636         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19638 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
19640         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19642         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19643         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19644         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19646         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19648         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19649         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19650         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19651         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19653         * math/bits/math-finite.h: Add ldexp support.
19655 2012-01-10  Marek Polacek  <polacek@redhat.com>
19657         * locale/programs/localedef.h (show_archive_content): Add noreturn
19658         attribute.
19660 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
19662         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19664 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19666         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19668         * io/Makefile (headers): Add bits/poll2.h.
19670 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
19672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19673         typo #include statement.
19675 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19677         * include/sys/cdefs.h: Define __attribute_alloc_size.
19678         * catgets/gencat.c: Add alloc_size attribute and apply consistently
19679         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19680         * elf/pldd.c: Likewise.
19681         * iconv/iconv_charmap.c: Likewise.
19682         * iconv/iconvconfig.c: Likewise.
19683         * iconv/strtab.c: Likewise.
19684         * locale/programs/locale.c: Likewise.
19685         * locale/programs/localedef.h: Likewise.
19686         * locale/programs/simple-hash.c: Likewise.
19687         * nscd/nscd.h: Likewise.
19688         * nss/makedb.c: Likewise.
19689         * sysdeps/generic/ldconfig.h: Likewise.
19690         * locale/programs/localedef.c: Remove xmalloc prototype.
19691         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19693 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19695         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19696         appropriate.
19698 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19700         * math/Makefile (tests): Add tst-CMPLX.
19701         * math/tst-CMPLX.c: New file.
19703         * math/complex.h (CMPLXL): Fix typo.
19705         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19706         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19707         GLIBC_2.16.
19708         * debug/tst-chk1.c: Add poll and ppoll tests.
19709         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19710         * include/sys/poll.h: Add hidden proto for ppoll.
19711         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19712         * sysdeps/mach/hurd/ppoll.c: Likewise.
19713         * io/ppoll.c: Likewise.
19714         * debug/poll_chk.c: New file.
19715         * debug/ppoll_chk.c: New file.
19716         * include/bits/poll2.h: New file.
19717         * io/bits/poll2.h: New file.
19719         [BZ #1350]
19720         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19722         * configure.in: static is always set to yes.  Remove.
19723         * config.make.in: Don't set build-static.
19724         * Makeconfig: Remove use of build-static.
19725         * dlfcn/Makefile: Likewise.
19726         * elf/Makefile: Likewise.
19727         * math/Makefile: Likewise.
19728         * misc/Makefile: Likewise.
19729         * nptl/Makefile: Likewise.
19730         * sysdeps/mach/hurd/Makefile: Likewise.
19732         * configure.in: PWD_P is not used anymore.
19733         * config.make.in: Remove PWD_P entry.
19735         * configure.in: Remove last remnants of RANLIB.
19736         No need to check for signed size_t anymore.
19737         Don't set libc_commonpagesize and libc_relro_required here for Alpha
19738         and IA-64.
19739         Remove __builtin_expect test because we require at least gcc 3.4.
19740         * aclocal.m4: Likewise.
19742         * wcsmbs/mbrtoc16.c: Implement using towc function.
19743         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19744         * wcsmbs/wcsmbsload.c: Likewise.
19745         * iconv/gconv_simple.c: Likewise.
19746         * iconv/gconv_int.h: Likewise.
19747         * iconv/gconv_builtin.h: Likewise.
19748         * iconv/iconv_prog.c: Remove CHAR16 handling.
19750         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19752         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19754         * configure.in: Remove --with-elf and --enable-bounded options.
19755         Dont set base_machine for ia64.  More non-ELF conditions removed.
19756         Remove testing and setting of leading underscore information.
19757         * config.make.in (build-bounded): Set to no.
19758         * config.h.in: Remove NO_UNDERSCORES entry.
19759         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
19760         them.
19761         * csu/start.c: Remove !NO_UNDERSCORE code.
19762         * locale/localeinfo.h: Likewise.
19763         * sysdeps/generic/machine-gmon.h: Likewise.
19764         * sysdeps/generic/sysdep.h: Likewise.
19765         * sysdeps/i386/sysdep.h: Likewise.
19766         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19767         * sysdeps/mach/sysdep.h: Likewise.
19768         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19769         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19770         * sysdeps/sh/sysdep.h: Likewise.
19771         * sysdeps/sparc/sparc32/alloca.S: Likewise.
19772         * sysdeps/unix/i386/sysdep.S: Likewise.
19773         * sysdeps/unix/sparc/start.c: Likewise.
19774         * sysdeps/unix/sparc/sysdep.S: Likewise.
19775         * sysdeps/unix/sparc/sysdep.h: Likewise.
19776         * sysdeps/unix/start.c: Likewise.
19777         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19778         * sysdeps/x86_64/sysdep.h: Likewise.
19780 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
19782         [BZ #13553]
19783         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19784         for non-gcc.
19785         * argp/argp-fmtstream.h: Use const instead __const.
19786         * argp/argp.h: Likewise.
19787         * assert/assert.h: Likewise.
19788         * bits/fenv.h: Likewise.
19789         * bits/sched.h: Likewise.
19790         * bits/sigset.h: Likewise.
19791         * bits/sigthread.h: Likewise.
19792         * catgets/nl_types.h: Likewise.
19793         * conform/data/pthread.h-data: Likewise.
19794         * crypt/crypt-private.h: Likewise.
19795         * crypt/crypt.h: Likewise.
19796         * crypt/crypt_util.c: Likewise.
19797         * ctype/ctype.h: Likewise.
19798         * debug/execinfo.h: Likewise.
19799         * debug/mbsnrtowcs_chk.c: Likewise.
19800         * debug/mbsrtowcs_chk.c: Likewise.
19801         * debug/wcsnrtombs_chk.c: Likewise.
19802         * debug/wcsrtombs_chk.c: Likewise.
19803         * debug/wcstombs_chk.c: Likewise.
19804         * dirent/dirent.h: Likewise.
19805         * dlfcn/dlfcn.h: Likewise.
19806         * elf/neededtest4.c: Likewise.
19807         * grp/grp.h: Likewise.
19808         * gshadow/gshadow.h: Likewise.
19809         * iconv/gconv.h: Likewise.
19810         * iconv/gconv_int.h: Likewise.
19811         * iconv/gconv_simple.c: Likewise.
19812         * iconv/iconv.h: Likewise.
19813         * iconv/loop.c: Likewise.
19814         * iconv/skeleton.c: Likewise.
19815         * include/aio.h: Likewise.
19816         * include/aliases.h: Likewise.
19817         * include/argz.h: Likewise.
19818         * include/arpa/inet.h: Likewise.
19819         * include/assert.h: Likewise.
19820         * include/dirent.h: Likewise.
19821         * include/dlfcn.h: Likewise.
19822         * include/execinfo.h: Likewise.
19823         * include/fcntl.h: Likewise.
19824         * include/fenv.h: Likewise.
19825         * include/glob.h: Likewise.
19826         * include/grp.h: Likewise.
19827         * include/libintl.h: Likewise.
19828         * include/mntent.h: Likewise.
19829         * include/netdb.h: Likewise.
19830         * include/pwd.h: Likewise.
19831         * include/rpc/netdb.h: Likewise.
19832         * include/sched.h: Likewise.
19833         * include/search.h: Likewise.
19834         * include/shadow.h: Likewise.
19835         * include/signal.h: Likewise.
19836         * include/stdio.h: Likewise.
19837         * include/stdlib.h: Likewise.
19838         * include/string.h: Likewise.
19839         * include/sys/socket.h: Likewise.
19840         * include/sys/stat.h: Likewise.
19841         * include/sys/statfs.h: Likewise.
19842         * include/sys/statvfs.h: Likewise.
19843         * include/sys/syslog.h: Likewise.
19844         * include/sys/time.h: Likewise.
19845         * include/sys/uio.h: Likewise.
19846         * include/time.h: Likewise.
19847         * include/unistd.h: Likewise.
19848         * include/utmp.h: Likewise.
19849         * include/wchar.h: Likewise.
19850         * include/wctype.h: Likewise.
19851         * inet/aliases.h: Likewise.
19852         * inet/arpa/inet.h: Likewise.
19853         * inet/netinet/ether.h: Likewise.
19854         * inet/netinet/in.h: Likewise.
19855         * intl/libintl.h: Likewise.
19856         * io/bits/fcntl2.h: Likewise.
19857         * io/fcntl.h: Likewise.
19858         * io/ftw.h: Likewise.
19859         * io/sys/poll.h: Likewise.
19860         * io/sys/stat.h: Likewise.
19861         * io/sys/statfs.h: Likewise.
19862         * io/sys/statvfs.h: Likewise.
19863         * io/utime.h: Likewise.
19864         * libio/bits/stdio.h: Likewise.
19865         * libio/bits/stdio2.h: Likewise.
19866         * libio/libio.h: Likewise.
19867         * libio/libioP.h: Likewise.
19868         * libio/stdio.h: Likewise.
19869         * locale/lc-ctype.c: Likewise.
19870         * locale/locale.h: Likewise.
19871         * login/utmp.h: Likewise.
19872         * malloc/arena.c: Likewise.
19873         * malloc/malloc.c: Likewise.
19874         * malloc/malloc.h: Likewise.
19875         * malloc/mcheck.c: Likewise.
19876         * malloc/mtrace.c: Likewise.
19877         * math/bits/mathcalls.h: Likewise.
19878         * math/fenv.h: Likewise.
19879         * math/math_private.h: Likewise.
19880         * misc/bits/error.h: Likewise.
19881         * misc/bits/syslog.h: Likewise.
19882         * misc/err.h: Likewise.
19883         * misc/error.h: Likewise.
19884         * misc/fstab.h: Likewise.
19885         * misc/mntent.h: Likewise.
19886         * misc/regexp.h: Likewise.
19887         * misc/search.h: Likewise.
19888         * misc/sgtty.h: Likewise.
19889         * misc/sys/mman.h: Likewise.
19890         * misc/sys/syslog.h: Likewise.
19891         * misc/sys/uio.h: Likewise.
19892         * misc/sys/xattr.h: Likewise.
19893         * misc/ttyent.h: Likewise.
19894         * nis/rpcsvc/ypclnt.h: Likewise.
19895         * nss/nss.h: Likewise.
19896         * posix/bits/unistd.h: Likewise.
19897         * posix/fnmatch.h: Likewise.
19898         * posix/glob.h: Likewise.
19899         * posix/sched.h: Likewise.
19900         * posix/spawn.h: Likewise.
19901         * posix/sys/wait.h: Likewise.
19902         * posix/unistd.h: Likewise.
19903         * posix/wordexp.h: Likewise.
19904         * pwd/pwd.h: Likewise.
19905         * resolv/netdb.h: Likewise.
19906         * resource/sys/resource.h: Likewise.
19907         * rt/aio.h: Likewise.
19908         * rt/bits/mqueue2.h: Likewise.
19909         * rt/mqueue.h: Likewise.
19910         * shadow/shadow.h: Likewise.
19911         * signal/signal.h: Likewise.
19912         * socket/send.c: Likewise.
19913         * socket/sendto.c: Likewise.
19914         * socket/sys/socket.h: Likewise.
19915         * stdio-common/printf.h: Likewise.
19916         * stdlib/bits/stdlib.h: Likewise.
19917         * stdlib/fmtmsg.h: Likewise.
19918         * stdlib/monetary.h: Likewise.
19919         * stdlib/stdlib.h: Likewise.
19920         * stdlib/ucontext.h: Likewise.
19921         * streams/stropts.h: Likewise.
19922         * string/argz.h: Likewise.
19923         * string/bits/string2.h: Likewise.
19924         * string/string.h: Likewise.
19925         * string/strings.h: Likewise.
19926         * sunrpc/rpc/auth.h: Likewise.
19927         * sunrpc/rpc/auth_des.h: Likewise.
19928         * sunrpc/rpc/clnt.h: Likewise.
19929         * sunrpc/rpc/netdb.h: Likewise.
19930         * sunrpc/rpc/pmap_clnt.h: Likewise.
19931         * sunrpc/rpc/xdr.h: Likewise.
19932         * sysdeps/generic/inttypes.h: Likewise.
19933         * sysdeps/generic/net/if.h: Likewise.
19934         * sysdeps/generic/sys/swap.h: Likewise.
19935         * sysdeps/gnu/net/if.h: Likewise.
19936         * sysdeps/gnu/utmpx.h: Likewise.
19937         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19938         * sysdeps/i386/i486/bits/string.h: Likewise.
19939         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19940         * sysdeps/s390/bits/string.h: Likewise.
19941         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19942         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19943         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19944         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19945         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19946         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19947         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19948         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19949         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19950         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19951         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19952         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19953         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19954         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19955         * sysdeps/unix/sysv/linux/readv.c: Likewise.
19956         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19957         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19958         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19959         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19960         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19961         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19962         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19963         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19964         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19965         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19966         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19967         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19968         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19969         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19970         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19971         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19972         * sysvipc/sys/ipc.h: Likewise.
19973         * sysvipc/sys/msg.h: Likewise.
19974         * sysvipc/sys/sem.h: Likewise.
19975         * sysvipc/sys/shm.h: Likewise.
19976         * termios/termios.h: Likewise.
19977         * time/sys/time.h: Likewise.
19978         * time/time.h: Likewise.
19979         * wcsmbs/bits/wchar2.h: Likewise.
19980         * wcsmbs/uchar.h: Likewise.
19981         * wcsmbs/wchar.h: Likewise.
19982         * wctype/wctype.h: Likewise.
19984         [BZ #13551]
19985         * Makeconfig: Remove all but ELF support including AIX support.
19986         * Makerules: Likewise.
19987         * config.h.in: Likewise.
19988         * config.make.in: Likewise.
19989         * configure: Likewise.
19990         * configure.in: Likewise.
19991         * csu/Makefile: Likewise.
19992         * csu/version.c: Likewise.
19993         * debug/Makefile: Likewise.
19994         * dlfcn/Makefile: Likewise.
19995         * elf/Makefile: Likewise.
19996         * extra-lib.mk: Likewise.
19997         * iconv/Makefile: Likewise.
19998         * include/libc-symbols.h: Likewise.
19999         * include/shlib-compat.h: Likewise.
20000         * resolv/Makefile: Likewise.
20001         * resolv/res_libc.c: Likewise.
20002         * rt/Makefile: Likewise.
20003         * sysdeps/i386/asm-syntax.h: Likewise.
20004         * sysdeps/i386/sysdep.h: Likewise.
20005         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20006         * sysdeps/mach/sysdep.h: Likewise.
20007         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20008         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20009         * sysdeps/s390/asm-syntax.h: Likewise.
20010         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20011         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20012         * sysdeps/sh/sysdep.h: Likewise.
20013         * sysdeps/unix/sparc/sysdep.h: Likewise.
20014         * sysdeps/wordsize-32/divdi3.c: Likewise.
20015         * sysdeps/x86_64/sysdep.h: Likewise.
20017         * argp/Versions: Remove _argp_unlock_xxx.
20019         [BZ #13559]
20020         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20021         * abilist/libBrokenLocale.abilist: Likewise.
20022         * abilist/libanl.abilist: Likewise.
20023         * abilist/libc.abilist: Likewise.
20024         * abilist/libcrypt.abilist: Likewise.
20025         * abilist/libdl.abilist: Likewise.
20026         * abilist/libm.abilist: Likewise.
20027         * abilist/libnsl.abilist: Likewise.
20028         * abilist/libpthread.abilist: Likewise.
20029         * abilist/libresolv.abilist: Likewise.
20030         * abilist/librt.abilist: Likewise.
20031         * abilist/libthread_db.abilist: Likewise.
20032         * abilist/libutil.abilist: Likewise.
20033         * abilist/libnss_db.abilist: New file.
20035         * scripts/abilist.awk: Add support for indirect functions.
20037         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20039         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20041         * shlib-versions: Remove entries for ports architectures.
20043         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20044         files in ports.
20045         * elf/stackguard-macros.h: Remove support for IA-64.
20046         * elf/tst-auditmod1.c: Likewise.
20047         * sysdeps/generic/ldsodefs.h: Likewise.
20049         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20050         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20051         configure files.
20053         [BZ #13552]
20054         * configure.in: Remove --enable-omitfp support.
20055         * FAQ.in: Adjust.
20056         * config.make.in: Likewise.
20057         * Makeconfig: Likewise.
20058         * manual/install.texi: Likewise.
20060         In case anyone cares, the IA-64 architecture could move to ports.
20061         * sysdeps/ia64/*: Removed.
20062         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20063         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20065         [BZ #13555]
20066         * configure.in: Remove entries for unsupported architectures.
20068         [BZ #13533]
20069         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20070         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20071         routines.
20072         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20073         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20074         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20075         fall back to using wcrtomb.
20076         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20077         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20078         renaming.
20079         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20080         * wcsmbs/tst-c16c32-1.c: New file.
20082         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20083         local variable.
20085         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20087         * elf/tst-unique3.cc: Add explicit declaration of gets.
20088         * elf/tst-unique3lib.cc: Likewise.
20089         * elf/tst-unique3lib2.cc: Likewise.
20090         * elf/tst-unique4.cc: Likewise.
20092         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20094 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20096         [BZ #13566]
20097         * assert/assert.h (static_assert): Don't define for C++.
20098         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20099         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20101 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20103         * iconv/loop.c (single loop): Fix assertion in storing of
20104         remaining bytes.
20106         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20108 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20110         * posix/getconf.c: Update copyright year.
20111         * nss/getent.c: Likewise.
20112         * nss/makedb.c: Likewise.
20113         * iconv/iconvconfig.c: Likewise.
20114         * iconv/iconv_prog.c: Likewise.
20115         * elf/ldconfig.c: Likewise.
20116         * elf/pldd.c: Likewise.
20117         * elf/sotruss.ksh: Likewise.
20118         * catgets/gencat.c: Likewise.
20119         * csu/version.c: Likewise.
20120         * elf/ldd.bash.in: Likewise.
20121         * elf/sprof.c (print_version): Likewise.
20122         * locale/programs/locale.c: Likewise.
20123         * locale/programs/localedef.c: Likewise.
20124         * login/programs/pt_chown.c: Likewise.
20125         * nscd/nscd.c (print_version): Likewise.
20126         * debug/xtrace.sh: Likewise.
20127         * malloc/memusage.sh: Likewise.
20128         * malloc/mtrace.pl: Likewise.
20129         * debug/catchsegv.sh: Likewise.
20131 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20133         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20134         pure attribute.
20136 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20138         [BZ #13533]
20139         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20140         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20141         transformations.
20142         * iconv/gconv_int.h: Likewise.
20143         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20144         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20145         from libc for GLIBC_2.16.
20146         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20147         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20148         * wcsmbs/uchar.h: Really define mbstate_t.
20149         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20150         * wcsmbs/c16rtomb.c: New file.
20151         * wcsmbs/mbrtoc16.c: New file.
20152         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20153         for C/POSIX locale.
20154         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20155         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20157         * wcsmbs/wchar.h: Add missing __restrict.
20159 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20161         [BZ #13532]
20162         * time/Makefile (routines): Add timespec_get.
20163         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20164         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20165         timespec for ISO C11.
20166         * time/timespec_get.c: New file.
20167         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20168         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20170         [BZ #13531]
20171         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20172         * stdlib/stdlib.h: Declare aligned_alloc.
20173         * Versions.def: Add GLIBC_2.16 for libc.
20174         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20176         [BZ 13527]
20177         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20178         ISO C11.
20180         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20181         code.
20183         [BZ #13528]
20184         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20186         [BZ #13529]
20187         * assert/assert.h (static_assert): Define.
20189         * version.h: Update for 2.16 development version.
20191         [BZ #13526]
20192         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20193         _ISOC11_SOURCE.
20195         * version.h (RELEASE): Bump for 2.15 release.
20196         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20198         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20199         Patch by Marek Polacek <mpolacek@redhat.com>.
20201         * bits/byteswap.h: Protect long long constants with __extension__.
20202         * sysdeps/i386/bits/byteswap.h: Likewise.
20203         * sysdeps/ia64/bits/byteswap.h: Likewise.
20204         * sysdeps/s390/bits/byteswap.h: Likewise.
20205         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20207 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20209         [BZ #13540]
20210         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20211         destination buffer.
20212         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20214 2011-12-23  Marek Polacek  <polacek@redhat.com>
20216         * elf/dl-addr.c (determine_info): Add inline keyword.
20217         * elf/tst-auditmod4b.c (check_avx): Likewise.
20218         * elf/tst-auditmod6b.c (check_avx): Likewise.
20219         * elf/tst-auditmod6c.c (check_avx): Likewise.
20220         * elf/tst-auditmod7b.c (check_avx): Likewise.
20222 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20224         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20225         !__SSE_MATH__.
20227 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20229         [BZ #13540]
20230         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20231         processing for last bytes.
20233 2011-08-06  Bruno Haible  <bruno@clisp.org>
20235         [BZ #13061]
20236         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20237         U+0385, not to U+1FEE.
20239         [BZ #13062]
20240         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20241         entry for U+00A5 U+0301.
20243 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20245         [BZ #13166]
20246         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20247         buffer for the output is too small.
20249         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20250         optimization.
20252         [BZ #13185]
20253         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20254         SSE flags if possible.
20256 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20258         [BZ #13540]
20259         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20260         processing for last bytes.
20262 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20264         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20265         (syscall-list-default-options, syscall-list-default-condition)
20266         (syscall-list-includes): Define.
20267         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20268         list of ABIs and options and #if conditions for each ABI.  Do not
20269         handle common syscalls between ABIs specially.
20270         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20271         Remove.
20272         (syscall-list-variants, syscall-list-32bit-options)
20273         (syscall-list-32bit-condition, syscall-list-64bit-options)
20274         (syscall-list-64bit-condition): Define.
20275         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20276         (syscall-list-variants, syscall-list-32bit-options)
20277         (syscall-list-32bit-condition, syscall-list-64bit-options)
20278         (syscall-list-64bit-condition): Define.
20279         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20280         Remove.
20281         (syscall-list-variants, syscall-list-32bit-options)
20282         (syscall-list-32bit-condition, syscall-list-64bit-options)
20283         (syscall-list-64bit-condition): Define.
20284         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20285         Remove.
20286         (syscall-list-variants, syscall-list-32bit-options)
20287         (syscall-list-32bit-condition, syscall-list-64bit-options)
20288         (syscall-list-64bit-condition): Define.
20290 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20292         * locale/iso-639.def: Add brx entry.
20294         [BZ #13328]
20295         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20296         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20298         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20299         __feraiseexcept_renamed.
20301 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20303         [BZ #13538]
20304         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20305         EPOLLET with unsigned values.
20306         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20307         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20309         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20310         to large cancellation.
20311         * math/s_cacoshf.c: Likewise.
20312         * math/s_cacoshl.c: Likewise.
20314 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20316         [BZ #13305]
20317         [BZ #12786]
20318         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20319         * math/s_cacoshf.c: Likewise.
20320         * math/s_cacoshl.c: Likewise.
20322 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20324         [BZ #13439]
20325         * iconv/gconv.h: Define __GCONV_SWAP.
20326         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20327         * iconvdata/utf-16.c: Likewise.
20328         * iconvdata/utf-32.c: Likewise.
20330 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20332         [BZ #13524]
20333         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20334         numerator after shifting it by one limb.
20336 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20338         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20339         under [__USE_EXTERN_INLINES].
20341 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20343         [BZ #13446]
20344         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20346 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20348         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20349         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20350         optimized code.
20351         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20352         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20353         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20354         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20355         for strncasecmp/strncasecmp_l compilation.
20356         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20357         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20359 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
20361         [BZ #13484]
20362         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20363         of __asm__.
20365 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20367         [BZ #13506]
20368         * time/tzfile.c (__tzfile_read): Check values from file header.
20370 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20372         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20373         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20374         * powerpc/powerpc32/dl-start.S: Likewise.
20375         * powerpc/powerpc32/elf/start.S: Likewise.
20376         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20377         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20378         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20379         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20380         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20381         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20382         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20383         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20384         * powerpc/powerpc32/fpu/s_round.S: Likewise.
20385         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20386         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20387         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20388         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20389         * powerpc/powerpc32/memset.S: Likewise.
20390         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20391         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20392         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20393         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20394         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20395         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20396         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20397         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20398         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20399         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20400         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20401         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20402         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20404 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20406         * math/libm-test.inc: Added more nearbyint tests.
20407         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20408         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20409         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20410         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20412 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
20414         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20415         FD_CLOEXEC.
20417 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20419         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20420         Add wcscpy-ssse3 wcscpy-c.
20421         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20422         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20423         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20424         * sysdeps/x86_64/wcschr.S: New file.
20425         * sysdeps/x86_64/wcsrchr.S: New file.
20426         * string/test-strcmp.c: Remove checking of wcscmp function for
20427         wrong alignments.
20428         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20429         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20430         wcsrchr-sse2 wcsrchr-c.
20431         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20432         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20433         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20434         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20435         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20436         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20437         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20438         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20439         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20440         * wcsmbc/wcschr.c (WCSCHR): New macro.
20442 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20444         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20445         * wcsmbs/test-wcsrchr.c: New file.
20446         * string/test-strrchr.c: Add wcsrchr support.
20447         (WIDE): New macro.
20448         * wcsmbs/test-wcscpy.c: New file.
20449         * string/test-strcpy.c: Add wcscpy support.
20450         (WIDE): New macro.
20452 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
20454         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20455         the inner loop.
20457 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
20459         [BZ #13472]
20460         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20462 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
20464         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20465         Minor optimizations.
20467         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20468         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20469         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20471 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
20473         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20474         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20475         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20476         for gcc to avoid warnings.
20477         * inet/Makefile (tests): Add tst-checks.
20478         * inet/tst-checks.c: New file.
20480         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20481         warning.
20483         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20484         __wmemcmp_sse2.
20486         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20487         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20489         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20491 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
20493         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20494         problem.
20496         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20498 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
20500         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20501         conditional on GCC version.
20502         (__arch_compare_and_exchange_val_8_acq)
20503         (__arch_compare_and_exchange_val_16_acq)
20504         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20505         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20506         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20508 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
20510         * sysdeps/sh/backtrace.c: New file.
20512 2011-12-02  Andreas Schwab  <schwab@redhat.com>
20514         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
20515         parenthesis.
20517 2011-12-01  Andreas Schwab  <schwab@redhat.com>
20519         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20520         falling back to utime.
20522 2011-11-30  Andreas Schwab  <schwab@redhat.com>
20524         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20525         expectations for float.
20527 2011-11-29  Andreas Schwab  <schwab@redhat.com>
20529         * locale/weight.h (findidx): Add parameter len.
20530         * locale/weightwc.h (findidx): Likewise.
20531         * posix/fnmatch_loop.c (FCT): Adjust caller.
20532         * posix/regcomp.c (build_equiv_class): Likewise.
20533         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20534         * posix/regexec.c (check_node_accept_bytes): Likewise.
20535         * string/strcoll_l.c (STRCOLL): Likewise.
20536         * string/strxfrm_l.c (STRXFRM): Likewise.
20538 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
20540         * Makefile.in: Remove CVSOPT handling.
20541         * configure.in: Remove use of AC_REVISION.
20542         * iconvdata/Makefile (distribute): No need to filter out CVS.
20543         * scripts/list-sources.sh: Remove CVS, subversion and monotone
20544         handling.
20546 2011-11-16  Andreas Schwab  <schwab@redhat.com>
20548         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20549         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20550         [USE_AS_STRNCASECMP_L]: Likewise.
20551         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20552         NO_TLS_DIRECT_SEG_REFS.
20553         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20554         Fix argument offsets for non-PIC.
20555         [USE_AS_STRNCASECMP_L]: Likewise.
20556         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20557         NO_TLS_DIRECT_SEG_REFS.
20559 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20561         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20562         O_CLOEXEC.
20563         * locale/loadlocale.c (_nl_load_locale): Likewise.
20565 2011-11-15  Andreas Schwab  <schwab@redhat.com>
20567         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20568         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20569         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20570         (SYSCALL_GETTIME): Set errno on error.
20572         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20573         count references to noai6ai_cached.
20575 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20577         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20579         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20580         FD_CLOEXEC for /proc/self/maps.
20582         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20583         FD_CLOEXEC for /proc/meminfo.
20585         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20586         gai.conf.
20588         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
20589         FD_CLOEXEC for given file.
20591         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20593         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20594         FD_CLOEXEC for /etc/hosts.
20595         (_gethtent): Likewise.
20597         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20599         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20600         cancellation and set FD_CLOEXEC for /etc/netgroup.
20602         * nss/nss_files/files-key.c (search): Don't allow cancellation when
20603         reading /etc/publickey.
20605         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20606         allow cancellation when reading /etc/group.
20608         * nss/nss_files/files-alias.c (internal_setent): Don't allow
20609         cancellation.
20610         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
20612         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20613         when using data file.
20615         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20617         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20618         (write_nis_obj): Use "c" and "e" in fopen.
20620         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20622         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20624         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20626         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20628         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20629         locale.alias.
20631         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20633         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20635         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20637         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20638         file parsing and set FD_CLOEXEC.
20640 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20642         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20644 2011-11-14  Andreas Schwab  <schwab@redhat.com>
20646         * malloc/arena.c (arena_get2): Don't call reused_arena when
20647         _int_new_arena failed.
20649 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20651         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20652         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20653         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20654         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20655         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20656         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20657         to compile strcasecmp and strncasecmp.
20658         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20659         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20661         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20663 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
20665         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20666         locale-defines.sym to gen-as-const-headers.
20667         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20668         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20669         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20670         to compile strcasecmp and strncasecmp.
20671         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20672         strcasecmp_l and strncasecmp_l.
20673         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20674         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20675         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20676         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20677         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20678         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20679         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20680         * sysdeps/i386/i686/multiarch/strncase.S: New file.
20681         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20682         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20683         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20685 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
20687         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20688         result of SYSDEP_GETTIME_CPU to retval.
20689         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20690         parameter list to macro.  Remove trailing semicolon.  Adjust users.
20692         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20693         variable.
20695         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20696         mantissa words.
20697         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20699         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20700         from unused variable.
20702         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20703         DWARF definitions.
20704         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20705         for assembling.
20707         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20708         over namespaces.
20710         * sunrpc/rpc_prot.c (rejected): Fix case value.
20712         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20713         unsigned long long int to avoid warnings in shift.
20715         * posix/regex_internal.c (re_string_reconstruct): Actually use result
20716         of use of trans.
20717         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20718         variable tmp.
20720         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20721         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20722         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20724         * nis/nis_table.c (nis_list): Use variable of correct type for
20725         result of __follow_path call.
20727 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20729         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20730         of math functions ceil, trunc, floor, round, and sqrt, when
20731         avaliable on the platform.
20732         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20733         name clash.
20734         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20735         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20736         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20738 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
20740         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20741         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20743 2011-11-11  Roland McGrath  <roland@hack.frob.com>
20745         * include/unistd.h: Fix __readlink return type.
20746         Reported by Chris Metcalf <cmetcalf@tilera.com>.
20748 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
20750         * stdlib/ucontext.h: Undo last change for makecontext.
20752 2011-11-11  Andreas Schwab  <schwab@redhat.com>
20754         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20756         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20757         * setjmp/setjmp.h: Mark functions as non-leaf.
20758         * setjmp/bits/setjmp2.h: Likewise.
20759         * stdlib/ucontext.h: Likewise.
20761 2011-11-10  Andreas Schwab  <schwab@redhat.com>
20763         * malloc/arena.c (_int_new_arena): Don't increment narenas.
20764         (reused_arena): Don't check arena limit.
20765         (arena_get2): Atomically check arena limit.
20767 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
20769         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20770         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20772         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20773         instructions.
20775 2011-11-07  Andreas Schwab  <schwab@redhat.com>
20777         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20778         handler when locking.
20780         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20781         Fix size of allocated buffer.
20783 2011-11-04  Andreas Schwab  <schwab@redhat.com>
20785         [BZ #10103]
20786         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20787         declarations for long double functions.
20788         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20790         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20792 2011-11-03  Andreas Schwab  <schwab@redhat.com>
20794         * nscd/nscd.c (main): Don't start AVC thread until credentials are
20795         installed.
20797         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20798         is disabled.
20800 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20802         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20804 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20806         * include/alloca.h (stackinfo_alloca_round): Define.
20807         (extend_alloca): Use it.
20808         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20809         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20810         here.
20812         * scripts/check-local-headers.sh: Ignore libaudit.h.
20814         * nscd/Makefile (extra-objs): Make recursively expanded.
20816 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
20818         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20819         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20821         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20822         * posix/tst-rfc3484-2.c: Likewise.
20823         * posix/tst-rfc3484-3.c: Likewise.
20825         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20826         process_vm_writev.
20827         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20828         process_vm_writev.
20829         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20830         process_vm_writev from libc using GLIBC_2.15 version.
20832         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20834 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
20836         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20837         stack usage.
20839 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
20841         [BZ #13367]
20842         * nss/getent.c (initgroups_keys): Show error message in case no group
20843         names are given.
20845         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20846         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20847         __bump_nl_timestamp.
20848         * nscd/connections (nscd_init): When host database is served open
20849         netlink socket and request notification about configuration changes.
20850         (main_loop_poll): Track netlink file descriptor and bump timestamp
20851         in case data becomes available.
20852         (main_loop_epoll): Likewise.
20853         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20854         (database_pers_head): Add extra_data fileds.
20855         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20856         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20857         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20858         Adjust caller.
20859         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20860         in6ai data, call __free_in6ai.
20861         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20862         Add -DHAVE_NETLINK.
20863         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
20864         interface information.  Reuse previous data if netlink timestamp
20865         is not changed.
20866         (__bump_nl_timestamp): New function.
20867         (__free_in6ai): New function.
20869 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
20871         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20872         close_not_cancel_no_status here.
20873         (__check_pf): Reorganize code a bit to not call close twice if OOM.
20875 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20877         [BZ #13276]
20878         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20879         return value.
20881         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20882         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20883         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20885 2011-07-03  Andreas Jaeger  <aj@suse.de>
20887         [BZ #10709]
20888         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20889         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20890         * math/libm-test.inc (sin_test): Add test case.
20892 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20894         [BZ #13337]
20895         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20896         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20898         * elf/chroot_canon.c (chroot_canon): Cleanups.
20900         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20902         [BZ #13335]
20903         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20904         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20906         * string/test-strchr.c: Make usable for strchrnul testing.
20907         * string/test-strchrnul.c: New file.
20908         * string/Makefile (strop-tests): Add strchrnul.
20910         * po/it.po: Update from translation team.
20911         * po/es.po: Likewise.
20913 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
20915         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20916         the three constants needed as parameters.  Drop the others.
20917         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20918         __m128i_strloadu_tolower.
20919         Create and initialize variable zero and use it in all the places
20920         where _mm_setzero_si128 was used.
20922         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20923         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20924         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20925         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20926         anymore.
20927         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20928         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20929         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20930         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20931         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20932         __mpranred, __mptan.
20933         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20934         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20935         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20936         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20937         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20938         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20939         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20940         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20941         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20943 2011-10-28  Andreas Schwab  <schwab@redhat.com>
20945         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20946         redefine if SHARED.
20947         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20950         wide char related routines to wcsmbs subdir.
20952 2011-10-27  Andreas Schwab  <schwab@redhat.com>
20954         [BZ #13344]
20955         * misc/sys/cdefs.h (__THROWNL): Define.
20956         * posix/unistd.h: Use __THREADNL instead of __THREAD
20957         for memory synchronization functions.
20959 2011-10-26  Roland McGrath  <roland@hack.frob.com>
20961         [BZ #13349]
20962         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20963         doesn't exist.
20964         * manual/stdio.texi (Obstack Streams): Node removed.
20966 2011-10-26  Andreas Schwab  <schwab@redhat.com>
20968         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20969         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20970         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20972         * math/math_private.h (math_force_eval): Allow non-addressable
20973         arguments.
20974         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20976 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20978         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20979         file is not needed.
20981         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20982         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20983         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20984         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20985         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20986         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20987         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20988         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20989         Add AVX variants.
20990         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20991         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20992         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20993         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20994         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20995         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20996         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20997         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20998         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20999         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21000         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21001         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21002         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21003         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21004         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21005         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21006         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21007         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21008         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21010         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21011         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21013         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21014         place.  Use VEX encoding when compiling for AVX.
21016 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21018         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21019         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21021         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21023 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21025         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21026         useless if() expression.
21027         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21028         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21029         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21030         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21031         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21032         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21033         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21035         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21036         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21037         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21038         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21039         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21040         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21041         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21042         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21043         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21044         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21045         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21047         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21049 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21051         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21052         condition.
21053         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21055 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21057         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21058         .text section.  Avoid duplicate constants.
21059         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21060         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21061         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21063         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21064         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21065         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21066         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21067         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21068         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21069         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21070         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21071         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21072         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21073         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21074         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21075         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21076         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21077         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21078         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21079         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21080         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21081         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21082         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21083         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21084         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21085         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21086         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21087         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21088         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21089         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21090         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21091         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21092         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21093         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21094         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21095         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21096         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21097         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21098         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21099         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21100         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21101         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21102         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21103         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21105 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21107         * sysdeps/x86_64/dla.h: Move to ...
21108         * sysdeps/x86_64/fpu/dla.h: ...here.
21109         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21110         situations.  Use __builtin_fma only for gcc 4.6 and up.
21112         * config.make.in: Add have-mfma4 entry.
21113         * configure.in: Substitute libc_cv_cc_fma4.
21114         * math/Makefile (dbl-only-routines): Add sincostab.
21115         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21116         Use __sincostab not sincos.
21117         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21118         name is a macro.
21119         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21121         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21122         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21123         using __copysign.
21124         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21125         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21126         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21127         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21128         and __inv.
21129         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21130         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21131         __copysign.
21132         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21133         define aliases when function name is a macro.
21134         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21135         sysdeps/ieee754/dbl-64/sincos.tbl.
21136         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21137         fma4-enabled routines.
21138         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21139         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21140         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21141         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21142         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21143         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21144         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21145         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21146         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21147         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21148         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21149         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21150         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21151         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21152         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21153         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21154         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21155         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21156         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21157         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21158         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21159         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21160         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21161         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21162         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21163         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21164         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21165         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21166         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21167         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21169         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21170         rename.
21171         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21172         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21174         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21175         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21176         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21177         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21178         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21180 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21182         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21184 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21186         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21188         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21189         prediction.
21190         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21192         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21193         Remove unused variable magic_bits.
21194         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21196         * string/strnlen.c: Define and use STRNLEN macro.
21197         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21198         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21199         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21200         * wcsmbs/wcslen.c: Define and use WCSLEN.
21201         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21202         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21203         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21204         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21205         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21206         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21207         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21209 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21212         strnlen-sse2-no-bsf.
21213         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21214         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21215         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21216         Add strnlen support.
21217         (USE_AS_STRNLEN): New macro.
21218         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21219         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21220         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21221         * sysdeps/x86_64/wcslen.S: New file.
21223 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21225         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21226         XMM-moves are used for copying on small sizes.
21228 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21230         * wcsmbs/Makefile (strop-tests): Add wcschr.
21231         * wcsmbs/test-wcschr.c: New file.
21232         * string/test-strchr.c: Update.
21233         Add wcschr support.
21234         (WIDE): New macro.
21236 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21238         * wcsmbs/Makefile (strop-tests): Add wcslen.
21239         * wcsmbs/test-wcslen.c: New file.
21240         * string/test-strlen.c: Update.
21241         Add wcslen support.
21242         (WIDE): New macro.
21244 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21246         * po/it.po: Update from translation team.
21248 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21250         * sysdeps/x86_64/wcscmp.S: Update.
21251         Fix wrong comparison semantics.
21252         wcscmp shall use signed comparison not unsigned.
21253         Don't use substraction to avoid overflow bug.
21254         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21255         * wcsmbc/wcscmp.c: Likewise.
21256         * string/test-strcmp.c: Likewise.
21257         Add new tests to check cases with negative values.
21259 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21261         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21262         * sysdeps/x86_64/dla.h: ...here.  New file.
21263         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21264         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21265         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21266         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21267         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21268         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21269         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21270         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21271         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21273 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21275         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21276         __ynl_finite aliases.
21278 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21282         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21283         define DLA_FMA.
21284         [DLA_FMA] (EMULV): Use DLA_FMA.
21285         [DLA_FMA] (MUL12): Use EMULV.
21286         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21287         that are not needed.
21288         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21289         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21290         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21291         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21292         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21293         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21294         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21296 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21298         * math/s_nan.c: Undef __nan.
21299         * math/s_nanf.c: Undef __nanf.
21300         * math/s_nanl.c: Undef __nanl.
21301         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21302         "math_private.h".
21304 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21306         * math/s_catan.c: Add branch predictions.
21307         * math/s_catanf.c: Likewise.
21308         * math/s_catanh.c: Likewise.
21309         * math/s_catanhf.c: Likewise.
21310         * math/s_catanhl.c: Likewise.
21311         * math/s_catanl.c: Likewise.
21312         * math/s_cexp.c: Likewise.
21313         * math/s_cexpf.c: Likewise.
21314         * math/s_cexpl.c: Likewise.
21315         * math/s_clog.c: Likewise.
21316         * math/s_clog10.c: Likewise.
21317         * math/s_clog10f.c: Likewise.
21318         * math/s_clog10l.c: Likewise.
21319         * math/s_clogf.c: Likewise.
21320         * math/s_clogl.c: Likewise.
21321         * math/s_csqrt.c: Likewise.
21322         * math/s_csqrtf.c: Likewise.
21323         * math/s_csqrtl.c: Likewise.
21324         * math/s_ctanf.c: Likewise.
21325         * math/s_ctanh.c: Likewise.
21326         * math/s_ctanhf.c: Likewise.
21327         * math/s_ctanhl.c: Likewise.
21328         * math/s_ctanl.c: Likewise.
21330         * math/math_private.h: Define __nan, __nanf, __nanl.
21331         * math/s_cacosh.c: Include <math_private.h>.
21332         * math/s_cacoshl.c: Likewise.
21333         * math/s_casinh.c: Likewise.
21334         * math/s_casinhf.c: Likewise.
21335         * math/s_casinhl.c: Likewise.
21336         * math/s_ccos.c: Rely entire on ccosh.
21337         * math/s_ccosf.c: Rely entire on ccoshf.
21338         * math/s_ccosl.c: Rely entirely on ccoshl.
21339         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
21340         Remove tests for FE_INVALID.
21341         * math/s_ccoshf.c: Likewise.
21342         * math/s_ccoshl.c: Likewise.
21343         * math/s_csin.c: Likewise.
21344         * math/s_csinf.c: Likewise.
21345         * math/s_csinh.c Likewise.
21346         * math/s_csinhf.c: Likewise.
21347         * math/s_csinhl.c: Likewise.
21348         * math/s_csinl.c: Likewise.
21349         * math/s_ctan.c: Likewise.
21350         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21351         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21352         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21354 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
21356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21357         compilation problems.
21359         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21360         __builtin_expect.
21362 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
21364         * sysdeps/i386/configure.in: Test for -mfma4 option.
21365         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21366         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21367         COMMON_CPUID_INDEX_80000001.
21368         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21369         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21370         use it if FMA3 is not supported.
21371         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21373         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21374         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21376 2011-10-20  Andreas Schwab  <schwab@redhat.com>
21378         [BZ #12892]
21379         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21380         it would create a cycle with a link time dependency.
21382 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
21384         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21385         instruction.
21386         * string/Makefile (strop-tests): Add rawmemchr.
21387         * string/test-rawmemchr.c: New file.
21389         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21390         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
21391         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
21392         when compiling str{,n}casecmp and when AVX is available.  Hook up
21393         new optimized code in initializers.
21395 2011-10-19  Andreas Schwab  <schwab@redhat.com>
21397         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21398         __feraiseexcept instead of feraiseexcept.
21400 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
21402         * math/math_private.h: Define defaults for libc_fetestexcept and
21403         libc_feupdateenv.
21404         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21405         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21406         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21407         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21408         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21409         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21410         libc_fetestexcept and libc_feupdateenv.
21412         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21413         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21414         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21415         * sysdeps/x86_64/fpu/math_private.h: Define special version of
21416         libc_feholdexcept_setround.
21418         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21419         Add s_nearbyint-c and s_nearbyintf-c.
21420         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21421         nearbyintf inlines.
21422         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21423         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21424         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21425         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21427         * math/math_private.h: Define defaults for libc_fegetround,
21428         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21429         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21430         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21431         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21432         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21433         standard functions.
21434         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21435         Remove comments and hacks for old compiler versions.
21436         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21437         libc_fegetround, libc_fesetround, libc_feholdexcept, and
21438         libc_feholdexceptl.
21440 2011-10-18  Andreas Schwab  <schwab@redhat.com>
21442         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21443         (__feraiseexcept_renamed): Add __NTH.
21444         (feraiseexcept): Add __NTH.  Rename local variables to fix
21445         namespace violations.
21447 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
21449         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21451         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21453         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21454         recently added interfaces.
21455         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21457         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21458         about macro parameter expansion.
21460         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21461         __NO_MATH_INLINES is defined.  Cleanups.
21463         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21464         and __floorf is target has SSE4.1.
21465         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21466         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21467         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21468         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21470         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21471         name.
21472         (floorf): Likewise.
21474         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21476 2011-10-17  Andreas Schwab  <schwab@redhat.com>
21478         * misc/sys/cdefs.h: Fix last change.
21480         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21481         database lookup.
21483 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
21485         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21487         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21488         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21489         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21490         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21491         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21492         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21493         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21494         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21495         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21496         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21497         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21498         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21499         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21500         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21501         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21502         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21503         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21504         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21505         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21506         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21507         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21508         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21510         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21511         ceil, ceilf, floor, floorf.
21513         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21514         Perform IRELATIVE relocations last.
21516         * elf/do-rel.h: Add another parameter nrelative, replacing the
21517         local variable with the same name.  Change name of the function
21518         to end in Rel or Rela (uppercase).
21519         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21520         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
21521         elf_dynamic_do_##reloc function.
21523 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21525         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21526         is sufficient, at least on modern CPUs.
21528         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21530         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21531         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21533         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21534         __expl_finite.
21535         * math/bits/math-finite.h: Add entries for exp.
21536         * math/e_expl.c: Add __*_finite alias.
21537         * sysdeps/i386/fpu/e_exp.S: Likewise.
21538         * sysdeps/i386/fpu/e_expf.S: Likewise.
21539         * sysdeps/i386/fpu/e_expl.c: Likewise.
21540         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21541         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21542         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21543         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21544         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21545         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21546         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21548         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21549         is sufficient, at least on modern CPUs.
21551         * ctype/ctype-info.c (__ctype_init): Define.
21552         * include/ctype.h (__ctype_init): Declare.
21553         (__ctype_b_loc): The variable is always initialized.
21554         (__ctype_toupper_loc): Likewise.
21555         (__ctype_tolower_loc): Likewise.
21556         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21557         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21559 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
21561         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21563         * configure.in: Also look in $cxxmachine/include for C++ system
21564         headers.
21566 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21568         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21569         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21570         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21571         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
21572         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21573         (USE_AS_WMEMCMP): New macro.
21574         Fixing indents.
21575         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21576         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21577         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21578         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21580         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21581         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21582         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21583         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21584         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21585         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21586         (USE_AS_WMEMCMP): New macro.
21587         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21588         * sysdeps/string/test-memcmp.c: Update.
21589         Fix simple_wmemcmp.
21590         Add new tests.
21591         * wcsmbs/wmemcmp.c: Update.
21592         (WMEMCMP): New macro.
21593         Fix overflow bug.
21595 2011-10-12  Andreas Jaeger  <aj@suse.de>
21597         [BZ #13268]
21598         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21600 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21602         * libio/iofwide.c (do_length): Avoid warning.
21604         * ctype/ctype.h (__isctype_f): Add missing __THROW.
21606 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
21608         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21610         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21611         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21612         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21613         * sysdeps/i386/i686/fpu/e_log.S: New file.
21614         * sysdeps/i386/i686/fpu/e_logf.S: New file.
21615         * sysdeps/i386/i686/fpu/e_logl.S: New file.
21617         * ctype/ctype.h: Add support for inlined isXXX functions when
21618         compiling C++ code.
21620 2011-10-14  Andreas Schwab  <schwab@redhat.com>
21622         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21624         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21626 2011-10-13  Roland McGrath  <roland@hack.frob.com>
21628         [BZ #13291]
21629         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21631 2011-10-13  Andreas Schwab  <schwab@redhat.com>
21633         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21634         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21635         feraiseexcept.
21637         * sysdeps/x86_64/memrchr.S: Check for zero size.
21639         * string/stratcliff.c: Add memrchr tests.
21641 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21643         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21644         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21645         rawmemchr-sse2 rawmemchr-sse2-bsf.
21646         * sysdeps/i386/i686/multiarch/memchr.S: New file.
21647         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21648         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21649         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21650         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21651         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21652         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21653         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21654         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21655         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21656         * string/memrchr.c (MEMRCHR): New macro.
21658 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
21660         Add integration with gcc's -ffinite-math-only and optimize wrapper
21661         functions in libm.
21662         * Versions.def: Define GLIBC_2.15 version for libm.
21663         * math/Makefile (headers): Add bits/math-finite.h.
21664         * math/bits/math-finite.h: New file.
21665         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21666         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21667         * math/e_acoshl.c: Add __*_finite alias.
21668         * math/e_acosl.c: Likewise.
21669         * math/e_asinl.c: Likewise.
21670         * math/e_atan2l.c: Likewise.
21671         * math/e_atanhl.c: Likewise.
21672         * math/e_coshl.c: Likewise.
21673         * math/e_exp10.c: Likewise.
21674         * math/e_exp10f.c: Likewise.
21675         * math/e_exp10l.c: Likewise.
21676         * math/e_exp2l.c: Likewise.
21677         * math/e_fmodl.c: Likewise.
21678         * math/e_gammal_r.c: Likewise.
21679         * math/e_hypotl.c: Likewise.
21680         * math/e_j0l.c: Likewise.
21681         * math/e_j1l.c: Likewise.
21682         * math/e_jnl.c: Likewise.
21683         * math/e_lgammal_r.c: Likewise.
21684         * math/e_log10l.c: Likewise.
21685         * math/e_log2l.c: Likewise.
21686         * math/e_logl.c: Likewise.
21687         * math/e_powl.c: Likewise.
21688         * math/e_sinhl.c: Likewise.
21689         * math/e_sqrtl.c: Likewise.
21690         * math/e_scalb.c: Completely rewritten and optimized.
21691         * math/e_scalbf.c: Likewise.
21692         * math/e_scalbl.c: Likewise.
21693         * math/w_acos.c: Likewise.
21694         * math/w_acosf.c: Likewise.
21695         * math/w_acosl.c: Likewise.
21696         * math/w_acosh.c: Likewise.
21697         * math/w_acoshf.c: Likewise.
21698         * math/w_acoshl.c: Likewise.
21699         * math/w_asin.c: Likewise.
21700         * math/w_asinf.c: Likewise.
21701         * math/w_asinl.c: Likewise.
21702         * math/w_atan2.c: Likewise.
21703         * math/w_atan2f.c: Likewise.
21704         * math/w_atan2l.c: Likewise.
21705         * math/w_atanh.c: Likewise.
21706         * math/w_atanhf.c: Likewise.
21707         * math/w_atanhl.c: Likewise.
21708         * math/w_exp10.c: Likewise.
21709         * math/w_exp10f.c: Likewise.
21710         * math/w_exp10l.c: Likewise.
21711         * math/w_fmod.c: Likewise.
21712         * math/w_fmodf.c: Likewise.
21713         * math/w_fmodl.c: Likewise.
21714         * math/w_j0.c: Likewise.
21715         * math/w_j0f.c: Likewise.
21716         * math/w_j0l.c: Likewise.
21717         * math/w_j1.c: Likewise.
21718         * math/w_j1f.c: Likewise.
21719         * math/w_j1l.c: Likewise.
21720         * math/w_jn.c: Likewise.
21721         * math/w_jnf.c: Likewise.
21722         * math/w_log.c: Likewise.
21723         * math/w_logf.c: Likewise.
21724         * math/w_logl.c: Likewise.
21725         * math/w_log10.c: Likewise.
21726         * math/w_log10f.c: Likewise.
21727         * math/w_log10l.c: Likewise.
21728         * math/w_log2.c: Likewise.
21729         * math/w_log2f.c: Likewise.
21730         * math/w_log2l.c: Likewise.
21731         * math/w_pow.c: Likewise.
21732         * math/w_powf.c: Likewise.
21733         * math/w_powl.c: Likewise.
21734         * math/w_remainder.c: Likewise.
21735         * math/w_remainderf.c: Likewise.
21736         * math/w_remainderl.c: Likewise.
21737         * math/w_scalb.c: Likewise.
21738         * math/w_scalbf.c: Likewise.
21739         * math/w_scalbl.c: Likewise.
21740         * math/w_sqrt.c: Likewise.
21741         * math/w_sqrtf.c: Likewise.
21742         * math/w_sqrtl.c: Likewise.
21743         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21744         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
21745         used.
21746         * math/math_private.h: Declare __kernel_standard_f.
21747         * math/w_cosh.c: Remove cruft and optimize a bit.
21748         * math/w_coshf.c: Likewise.
21749         * math/w_coshl.c: Likewise.
21750         * math/w_exp2.c: Likewise.
21751         * math/w_exp2f.c: Likewise.
21752         * math/w_exp2l.c: Likewise.
21753         * math/w_hypot.c: Likewise.
21754         * math/w_hypotf.c: Likewise.
21755         * math/w_hypotl.c: Likewise.
21756         * math/w_lgamma.c: Likewise.
21757         * math/w_lgamma_r.c: Likewise.
21758         * math/w_lgammaf.c: Likewise.
21759         * math/w_lgammaf_r.c: Likewise.
21760         * math/w_lgammal.c: Likewise.
21761         * math/w_lgammal_r.c: Likewise.
21762         * math/w_sinh.c: Likewise.
21763         * math/w_sinhf.c: Likewise.
21764         * math/w_sinhl.c: Likewise.
21765         * math/w_tgamma.c: Likewise.
21766         * math/w_tgammaf.c: Likewise.
21767         * math/w_tgammal.c: Likewise.
21768         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21769         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21770         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21771         Minor optimizations.  Pretty printing.  Remove cruft.
21772         * sysdeps/i386/fpu/e_acosf.S: Likewise.
21773         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21774         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21775         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21776         * sysdeps/i386/fpu/e_acosl.c: Likewise.
21777         * sysdeps/i386/fpu/e_asin.S: Likewise.
21778         * sysdeps/i386/fpu/e_asinf.S: Likewise.
21779         * sysdeps/i386/fpu/e_atan2.S: Likewise.
21780         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21781         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21782         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21783         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21784         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21785         * sysdeps/i386/fpu/e_exp10.S: Likewise.
21786         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21787         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21788         * sysdeps/i386/fpu/e_exp2.S: Likewise.
21789         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21790         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21791         * sysdeps/i386/fpu/e_fmod.S: Likewise.
21792         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21793         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21794         * sysdeps/i386/fpu/e_hypot.S: Likewise.
21795         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21796         * sysdeps/i386/fpu/e_log.S: Likewise.
21797         * sysdeps/i386/fpu/e_log10.S: Likewise.
21798         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21799         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21800         * sysdeps/i386/fpu/e_log2.S: Likewise.
21801         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21802         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21803         * sysdeps/i386/fpu/e_logf.S: Likewise.
21804         * sysdeps/i386/fpu/e_logl.S: Likewise.
21805         * sysdeps/i386/fpu/e_pow.S: Likewise.
21806         * sysdeps/i386/fpu/e_powf.S: Likewise.
21807         * sysdeps/i386/fpu/e_powl.S: Likewise.
21808         * sysdeps/i386/fpu/e_remainder.S: Likewise.
21809         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21810         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21811         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21812         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21813         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21814         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21815         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21816         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21817         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21818         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21819         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21820         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21821         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21822         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21823         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21824         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21825         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21826         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21827         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21828         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21830         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21831         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21832         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21833         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21834         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21835         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21836         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21837         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21838         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21839         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21840         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21841         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21842         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21843         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21844         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21845         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21846         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21847         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21848         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21849         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21850         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21851         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21852         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21853         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21854         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21855         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21856         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21857         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21858         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21859         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21860         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21861         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21862         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21863         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21864         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21865         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21866         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21867         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21868         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21869         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21870         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21871         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21872         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21873         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21874         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21875         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21876         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21877         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21878         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21879         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21880         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21881         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21882         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21883         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21884         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21885         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21886         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21887         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21888         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21889         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21890         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21891         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21892         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21893         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21894         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21895         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21896         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21897         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21898         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21899         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21900         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21901         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21902         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21903         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21904         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21905         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21906         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21907         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21908         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21909         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21910         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21911         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21912         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21913         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21914         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21915         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21916         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21917         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21918         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21919         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21920         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21921         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21922         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21923         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21924         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21925         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21926         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21927         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
21928         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21929         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21930         (__isnanf): Likewise.
21931         (__isinf_ns): Likewise.
21932         (__isinf_nsf): Likewise.
21933         (__finite): Likewise.
21934         (__finitef): Likewise.
21935         (__ieee754_sqrt): Define as macro.
21936         (__ieee754_sqrtf): Define as macro.
21937         (__ieee754_sqrtl): Define as macro.
21938         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21939         inlined copy.
21940         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21941         __FINITE_MATH_ONLY__ consistent.
21942         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21944 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
21946         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21947         of rawmemchr.
21949         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21951 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
21953         * po/ja.po: Update from translation team.
21955 2011-10-08  Roland McGrath  <roland@hack.frob.com>
21957         * locale/programs/locarchive.c (prepare_address_space): New function.
21958         (create_archive, enlarge_archive, open_archive): Use it.
21960         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21961         inside [SHARED], where it is used.
21963         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21965         * nss/getent.c (netgroup_keys): Remove unused variable.
21966         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21968 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
21970         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21971         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21972         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21973         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21974         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21975         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21976         * math/Makefile (libm-calls): Add s_isinf_ns.
21977         * math/divtc3.c: Use __isinf_nsl instead of isinf.
21978         * math/multc3.c: Likewise.
21979         * math/s_casin.c: Likewise.
21980         * math/s_casinf.c: Likewise.
21981         * math/s_casinl.c: Likewise.
21982         * math/s_ccos.c: Likewise.
21983         * math/s_ccosf.c: Likewise.
21984         * math/s_ccosl.c: Likewise.
21985         * math/s_ctan.c: Likewise.
21986         * math/s_ctanf.c: Likewise.
21987         * math/s_ctanh.c: Likewise.
21988         * math/s_ctanhf.c: Likewise.
21989         * math/s_ctanhl.c: Likewise.
21990         * math/s_ctanl.c: Likewise.
21991         * math/w_fmod.c: Likewise.
21992         * math/w_fmodf.c: Likewise.
21993         * math/w_fmodl.c: Likewise.
21994         * math/w_remainder.c: Likewise.
21995         * math/w_remainderf.c: Likewise.
21996         * math/w_remainderl.c: Likewise.
21997         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21998         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21999         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22001         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22002         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22003         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22004         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22006         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22007         of the number.
22008         * stdio-common/printf_fphex.c: Likewise.
22009         * stdio-common/printf_size.c: Likewise.
22011         * math/e_exp10.c: Include math_private.h using <...> not "...".
22012         * math/e_exp10f.c: Likewise.
22013         * math/e_exp10l.c: Likewise.
22014         * math/e_exp2l.c: Likewise.
22015         * math/e_j0l.c: Likewise.
22016         * math/e_j1l.c: Likewise.
22017         * math/e_jnl.c: Likewise.
22018         * math/e_lgammal_r.c: Likewise.
22019         * math/e_rem_pio2l.c: Likewise.
22020         * math/e_scalb.c: Likewise.
22021         * math/e_scalbf.c: Likewise.
22022         * math/e_scalbl.c: Likewise.
22023         * math/k_cosl.c: Likewise.
22024         * math/k_sinl.c: Likewise.
22025         * math/k_tanl.c: Likewise.
22026         * math/s_cacoshf.c: Likewise.
22027         * math/s_catan.c: Likewise.
22028         * math/s_catanf.c: Likewise.
22029         * math/s_catanh.c: Likewise.
22030         * math/s_catanhf.c: Likewise.
22031         * math/s_catanhl.c: Likewise.
22032         * math/s_catanl.c: Likewise.
22033         * math/s_ccosh.c: Likewise.
22034         * math/s_ccoshf.c: Likewise.
22035         * math/s_ccoshl.c: Likewise.
22036         * math/s_cexp.c: Likewise.
22037         * math/s_cexpf.c: Likewise.
22038         * math/s_cexpl.c: Likewise.
22039         * math/s_clog.c: Likewise.
22040         * math/s_clog10.c: Likewise.
22041         * math/s_clog10f.c: Likewise.
22042         * math/s_clog10l.c: Likewise.
22043         * math/s_clogf.c: Likewise.
22044         * math/s_clogl.c: Likewise.
22045         * math/s_csin.c: Likewise.
22046         * math/s_csinf.c: Likewise.
22047         * math/s_csinh.c: Likewise.
22048         * math/s_csinhf.c: Likewise.
22049         * math/s_csinhl.c: Likewise.
22050         * math/s_csinl.c: Likewise.
22051         * math/s_csqrt.c: Likewise.
22052         * math/s_csqrtf.c: Likewise.
22053         * math/s_csqrtl.c: Likewise.
22054         * math/s_ctan.c: Likewise.
22055         * math/s_ctanf.c: Likewise.
22056         * math/s_ctanh.c: Likewise.
22057         * math/s_ctanhf.c: Likewise.
22058         * math/s_ctanhl.c: Likewise.
22059         * math/s_ctanl.c: Likewise.
22060         * math/s_ldexp.c: Likewise.
22061         * math/s_ldexpf.c: Likewise.
22062         * math/s_ldexpl.c: Likewise.
22063         * math/s_significand.c: Likewise.
22064         * math/s_significandf.c: Likewise.
22065         * math/s_significandl.c: Likewise.
22066         * math/w_acos.c: Likewise.
22067         * math/w_acosf.c: Likewise.
22068         * math/w_acosh.c: Likewise.
22069         * math/w_acoshf.c: Likewise.
22070         * math/w_acoshl.c: Likewise.
22071         * math/w_acosl.c: Likewise.
22072         * math/w_asin.c: Likewise.
22073         * math/w_asinf.c: Likewise.
22074         * math/w_asinl.c: Likewise.
22075         * math/w_atan2.c: Likewise.
22076         * math/w_atan2f.c: Likewise.
22077         * math/w_atan2l.c: Likewise.
22078         * math/w_atanh.c: Likewise.
22079         * math/w_atanhf.c: Likewise.
22080         * math/w_atanhl.c: Likewise.
22081         * math/w_cosh.c: Likewise.
22082         * math/w_coshf.c: Likewise.
22083         * math/w_coshl.c: Likewise.
22084         * math/w_dremf.c: Likewise.
22085         * math/w_exp10.c: Likewise.
22086         * math/w_exp10f.c: Likewise.
22087         * math/w_exp10l.c: Likewise.
22088         * math/w_exp2.c: Likewise.
22089         * math/w_exp2f.c: Likewise.
22090         * math/w_fmod.c: Likewise.
22091         * math/w_fmodf.c: Likewise.
22092         * math/w_fmodl.c: Likewise.
22093         * math/w_hypot.c: Likewise.
22094         * math/w_hypotf.c: Likewise.
22095         * math/w_hypotl.c: Likewise.
22096         * math/w_j0.c: Likewise.
22097         * math/w_j0f.c: Likewise.
22098         * math/w_j0l.c: Likewise.
22099         * math/w_j1.c: Likewise.
22100         * math/w_j1f.c: Likewise.
22101         * math/w_j1l.c: Likewise.
22102         * math/w_jn.c: Likewise.
22103         * math/w_jnf.c: Likewise.
22104         * math/w_jnl.c: Likewise.
22105         * math/w_lgamma.c: Likewise.
22106         * math/w_lgamma_r.c: Likewise.
22107         * math/w_lgammaf.c: Likewise.
22108         * math/w_lgammaf_r.c: Likewise.
22109         * math/w_lgammal.c: Likewise.
22110         * math/w_lgammal_r.c: Likewise.
22111         * math/w_log.c: Likewise.
22112         * math/w_log10.c: Likewise.
22113         * math/w_log10f.c: Likewise.
22114         * math/w_log10l.c: Likewise.
22115         * math/w_log2.c: Likewise.
22116         * math/w_log2f.c: Likewise.
22117         * math/w_log2l.c: Likewise.
22118         * math/w_logf.c: Likewise.
22119         * math/w_logl.c: Likewise.
22120         * math/w_pow.c: Likewise.
22121         * math/w_powf.c: Likewise.
22122         * math/w_powl.c: Likewise.
22123         * math/w_remainder.c: Likewise.
22124         * math/w_remainderf.c: Likewise.
22125         * math/w_remainderl.c: Likewise.
22126         * math/w_scalb.c: Likewise.
22127         * math/w_scalbf.c: Likewise.
22128         * math/w_scalbl.c: Likewise.
22129         * math/w_sinh.c: Likewise.
22130         * math/w_sinhf.c: Likewise.
22131         * math/w_sinhl.c: Likewise.
22132         * math/w_sqrt.c: Likewise.
22133         * math/w_sqrtf.c: Likewise.
22134         * math/w_sqrtl.c: Likewise.
22135         * math/w_tgamma.c: Likewise.
22136         * math/w_tgammaf.c: Likewise.
22137         * math/w_tgammal.c: Likewise.
22139         * po/ja.po: Update from translation team.
22141 2011-09-29  Andreas Jaeger  <aj@suse.de>
22143         [BZ #13179]
22144         * sunrpc/netname.c (netname2host): Fix logic.
22146         [BZ #6779]
22147         [BZ #6783]
22148         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22149         correctly.
22150         * math/w_remainder.c (__remainder): Likewise.
22151         * math/w_remainderf.c (__remainderf): Likewise.
22152         * math/libm-test.inc (remainder_test): Add test cases.
22154 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22156         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22157         sdiv_qrnnd.
22159 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22161         * string/test-memcmp.c: Avoid unncessary #defines.
22162         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22164 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22166         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22167         Use new sse2 version for core i3 - i7 as it's faster
22168         than sse42 version.
22169         (bit_Prefer_PMINUB_for_stringop): New.
22170         * sysdeps/x86_64/rawmemchr.S: Update.
22171         Replace with faster SSE2 version.
22172         * sysdeps/x86_64/memrchr.S: New file.
22173         * sysdeps/x86_64/memchr.S: Update.
22174         Replace with faster SSE2 version.
22176 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22178         * elf/dl-load.c (lose): Add cast to avoid warning.
22180 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22182         * po/ca.po: Update from translation team.
22184         * inet/getnetgrent_r.c: Hook up nscd.
22185         * nscd/Makefile (routines): Add nscd_netgroup.
22186         (nscd-modules): Add netgroupcache.
22187         (CFLAGS-netgroupcache.c): Define.
22188         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22189         (cache_search): Add const to second parameter.
22190         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22191         INNETGR.
22192         (dbs): Add netgrdb entry.
22193         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22194         (verify_persistent_db): Handle netgrdb.
22195         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22196         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22197         GETFDNETGR.
22198         (netgroup_response_header): Define.
22199         (innetgroup_response_header): Define.
22200         (datahead): Add netgroup_response_header and innetgroup_response_header
22201         elements.
22202         * nscd/nscd.conf: Add entries for netgroup cache.
22203         * nscd/nscd.h (dbtype): Add netgrdb.
22204         (_PATH_NSCD_NETGROUP_DB): Define.
22205         (netgroup_iov_disabled): Declare.
22206         (xmalloc, xcalloc, xrealloc): Move declarations here.
22207         (cache_search): Adjust prototype.
22208         Add netgroup-related prototypes.
22209         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22210         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22211         (__nscd_innetgr): Declare.
22212         * nscd/selinux.c (perms): Use access_vector_t as element type and
22213         add netgroup-related initializers.
22214         * nscd/netgroupcache.c: New file.
22215         * nscd/nscd_netgroup.c: New file.
22216         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22217         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22218         For four parameters use innetgr.
22219         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22220         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22221         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22222         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22224         * nscd/connections.c (register_traced_file): Don't register file
22225         for disabled databases.
22227 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22229         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22231         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22232         from tree and freeing node.
22234 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22236         * nss/nsswitch.c (__nss_database_lookup): Handle
22237         nss_parse_service_list out of memory case.
22239 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22241         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22242         out of memory case.
22244 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22246         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22247         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22248         pass it down.
22249         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22250         elf_machine_rela, elf_machine_lazy_rel.
22251         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22252         (ELF_DYNAMIC_DO_REL): Likewise.
22253         (ELF_DYNAMIC_DO_RELA): Likewise.
22254         (ELF_DYNAMIC_RELOCATE): Likewise.
22255         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22256         to ELF_DYNAMIC_DO_REL.
22257         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22258         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22259         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22260         elf_machine_rela.
22261         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22262         skip_ifunc, don't call ifunc function if non-zero.
22263         (elf_machine_rela): Likewise.
22264         (elf_machine_lazy_rel): Likewise.
22265         (elf_machine_lazy_rela): Likewise.
22266         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22267         (elf_machine_lazy_rel): Likewise.
22268         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22269         Likewise.
22270         (elf_machine_lazy_rel): Likewise.
22271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22272         Likewise.
22273         (elf_machine_lazy_rel): Likewise.
22274         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22275         (elf_machine_lazy_rel): Likewise.
22276         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22277         (elf_machine_lazy_rel): Likewise.
22278         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22279         (elf_machine_lazy_rel): Likewise.
22280         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22281         (elf_machine_lazy_rel): Likewise.
22282         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22283         (elf_machine_lazy_rel): Likewise.
22284         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22285         (elf_machine_lazy_rel): Likewise.
22287 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22289         * nss/nss_files/files-init.c (_nss_files_init): Use static
22290         initialization for all the *_traced_file variables.
22292 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22294         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22296 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22298         [BZ #13226]
22299         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22301 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22303         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22304         Reread the line before reparsing it.
22306 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22308         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22310 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22311             Maxim Kuvyrkov  <maxim@codesourcery.com>
22312             Joseph Myers  <joseph@codesourcery.com>
22314         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22315         if needed for __stack_chk_guard.
22317 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22319         * sysdeps/posix/spawni.c (script_execute): Always define it.
22320         It will be optimized away if unused.
22321         (maybe_script_execute): New function.
22322         (__spawni): Call it.
22324         * Makerules: Don't include tls.make.
22325         (config-tls): Always set to thread.
22326         * tls.make.c: File removed.
22328 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22330         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22331         * config.make.in (CPPFLAGS-config): New substituted variable.
22333 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22335         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22337         [BZ #13192]
22338         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22339         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22341 2011-09-15  Roland McGrath  <roland@hack.frob.com>
22343         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22344         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22345         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22346         (CALL_FAIL): Likewise.
22347         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22348         (CALL_FAIL): Macro removed.
22349         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22351 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22353         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22354         for __FINITE_MATH_ONLY__ == 1.
22356 2011-09-15  Andreas Schwab  <schwab@redhat.com>
22358         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22359         __ieee754_sqrt instead of sqrt.
22360         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22361         __ieee754_sqrtf instead of sqrtf.
22362         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22363         __floorf instead of floorf.
22364         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22365         __floorf, __truncf instead of floorf, truncf.
22367 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
22369         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22371         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22372         __extern_always_inline.
22373         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22374         32-bit.
22376 2011-09-14  Andreas Schwab  <schwab@redhat.com>
22378         * elf/rtld.c (dl_main): Also relocate in dependency order when
22379         doing symbol dependency testing.
22381 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
22383         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22384         Always define `refsym'.
22386 2011-09-13  Andreas Schwab  <schwab@redhat.com>
22388         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22389         (__FD_ELT): Renamed from __FDELT.
22390         * misc/bits/select2.h (__FD_ELT): Likewise.
22391         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22392         __FD_MASK instead of __FDELT, __FDMASK.
22393         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22394         Likewise.
22395         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22396         Likewise.
22398         * elf/Makefile (gen-ldd): Fix pattern.
22400         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22401         (init_tls): Likewise.
22403 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
22405         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22407 2011-09-12  Andreas Schwab  <schwab@redhat.com>
22409         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22410         `struct cmsghdr *' instead of `void *'.
22411         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22412         Likewise.
22414 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
22416         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22417         if non-absolute.
22418         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22419         ldd_rewrite_script.
22421 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
22423         * configure.in: Remove --with-tls option.
22424         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22425         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22426         out in case it is missing.
22427         * sysdeps/ia64/elf/configure.in: Likewise.
22428         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22429         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22430         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22431         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22432         * sysdeps/sh/elf/configure.in: Likewise.
22433         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22434         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22435         * sysdeps/x86_64/elf/configure.in: Likewise.
22436         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22437         * sysdeps/mach/hurd/tls.h: Likewise.
22439         [BZ #13067]
22440         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22442         [BZ #13090]
22443         * configure.in: Fix use of AC_INIT.
22445         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22447 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
22449         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22450         __set_errno.
22451         * malloc/hooks.c: Likewise.
22453         [BZ #11929]
22454         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
22455         variables statically.
22456         (narenas): Initialize.
22457         (list_lock): Initialize.
22458         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
22459         initializtion of main_arena and list_lock.  Small cleanups.
22460         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22461         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
22462         Add initializers to main_arena and mp_.
22463         (malloc_state): Remove pagesize member.  Change all users to use
22464         GLRO(dl_pagesize).
22466         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22467         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
22468         is always initialized.
22470         * malloc/malloc.c: Removed unused configurations and dead code.
22471         * malloc/arena.c: Likewise.
22472         * malloc/hooks.c: Likewise.
22473         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22475         * include/tls.h: Removed.  USE___THREAD must always be defined.
22476         * bits/libc-tsd.h: Don't handle !USE___THREAD.
22477         * elf/dl-libc.c: Likewise.
22478         * elf/dl-tsd.c: Likewise.
22479         * include/errno.h: Likewise.
22480         * include/netdb.h: Likewise.
22481         * include/resolv.h: Likewise.
22482         * inet/herrno-loc.c: Likewise.
22483         * inet/herrno.c: Likewise.
22484         * malloc/arena.c: Likewise.
22485         * malloc/hooks.c: Likewise.
22486         * malloc/malloc.c: Likewise.
22487         * resolv/res-state.c: Likewise.
22488         * resolv/res_libc.c: Likewise.
22489         * sysdeps/i386/dl-machine.h: Likewise.
22490         * sysdeps/ia64/dl-machine.h: Likewise.
22491         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22492         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22493         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22494         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22495         * sysdeps/sh/dl-machine.h: Likewise.
22496         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22497         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22498         * sysdeps/unix/i386/sysdep.S: Likewise.
22499         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22500         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22502         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22505         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22507         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22509         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22510         * sysdeps/x86_64/dl-machine.h: Likewise.
22511         * tls.make.c: Likewise.
22513         * configure.in: Remove --with-__thread option.  Make tests for
22514         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22515         tls_model attribute fail if no support is available.  Remove
22516         USE_IN_LIBIO.
22517         * Makeconfig: Adjust for dropped configure option.  All features are
22518         now mandatory.
22519         * Makerules: Likewise.
22520         * Versions.def: Likewise.
22521         * argp/argp-fmtstream.c: Likewise.
22522         * argp/argp-fmtstream.h: Likewise.
22523         * argp/argp-help.c: Likewise.
22524         * assert/assert.c: Likewise.
22525         * config.h.in: Likewise.
22526         * config.make.in: Likewise.
22527         * configure: Likewise.
22528         * configure.in: Likewise.
22529         * csu/Versions: Likewise.
22530         * csu/init.c: Likewise.
22531         * elf/tst-audit2.c: Likewise.
22532         * elf/tst-tls10.c: Likewise.
22533         * elf/tst-tls10.h: Likewise.
22534         * elf/tst-tls11.c: Likewise.
22535         * elf/tst-tls12.c: Likewise.
22536         * elf/tst-tls14.c: Likewise.
22537         * elf/tst-tlsmod11.c: Likewise.
22538         * elf/tst-tlsmod12.c: Likewise.
22539         * elf/tst-tlsmod13.c: Likewise.
22540         * elf/tst-tlsmod13a.c: Likewise.
22541         * elf/tst-tlsmod14a.c: Likewise.
22542         * elf/tst-tlsmod15b.c: Likewise.
22543         * elf/tst-tlsmod16a.c: Likewise.
22544         * elf/tst-tlsmod16b.c: Likewise.
22545         * elf/tst-tlsmod7.c: Likewise.
22546         * elf/tst-tlsmod8.c: Likewise.
22547         * elf/tst-tlsmod9.c: Likewise.
22548         * gmon/gmon.c: Likewise.
22549         * grp/fgetgrent_r.c: Likewise.
22550         * grp/putgrent.c: Likewise.
22551         * hurd/fopenport.c: Likewise.
22552         * include/libc-symbols.h: Likewise.
22553         * include/tls.h: Likewise.
22554         * intl/gettextP.h: Likewise.
22555         * intl/loadinfo.h: Likewise.
22556         * locale/global-locale.c: Likewise.
22557         * locale/localeinfo.h: Likewise.
22558         * mach/devstream.c: Likewise.
22559         * malloc/arena.c: Likewise.
22560         * malloc/set-freeres.c: Likewise.
22561         * misc/err.c: Likewise.
22562         * misc/getttyent.c: Likewise.
22563         * misc/mntent_r.c: Likewise.
22564         * posix/getopt.c: Likewise.
22565         * posix/wordexp.c: Likewise.
22566         * pwd/fgetpwent_r.c: Likewise.
22567         * resolv/Versions: Likewise.
22568         * resolv/res_hconf.c: Likewise.
22569         * shadow/fgetspent_r.c: Likewise.
22570         * shadow/putspent.c: Likewise.
22571         * stdio-common/printf_fphex.c: Likewise.
22572         * stdio-common/tmpfile.c: Likewise.
22573         * stdlib/abort.c: Likewise.
22574         * stdlib/fmtmsg.c: Likewise.
22575         * sunrpc/auth_unix.c: Likewise.
22576         * sunrpc/clnt_perr.c: Likewise.
22577         * sunrpc/clnt_tcp.c: Likewise.
22578         * sunrpc/clnt_udp.c: Likewise.
22579         * sunrpc/clnt_unix.c: Likewise.
22580         * sunrpc/openchild.c: Likewise.
22581         * sunrpc/svc_simple.c: Likewise.
22582         * sunrpc/svc_tcp.c: Likewise.
22583         * sunrpc/svc_udp.c: Likewise.
22584         * sunrpc/svc_unix.c: Likewise.
22585         * sunrpc/xdr.c: Likewise.
22586         * sunrpc/xdr_array.c: Likewise.
22587         * sunrpc/xdr_rec.c: Likewise.
22588         * sunrpc/xdr_ref.c: Likewise.
22589         * sunrpc/xdr_stdio.c: Likewise.
22591 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22593         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22595 2011-07-03  Andreas Jaeger  <aj@suse.de>
22597         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22598         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22599         regenerate with gen-libm-tests.pl.
22601 2010-05-12  Petr Baudis  <pasky@suse.cz>
22603         [BZ #11589]
22604         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22605         around j0() zero points by switching to j1().
22606         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22607         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22608         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22609         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22611 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22613         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22614         instead of 0.
22615         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22616         instead of 0.
22617         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22618         Patch in part by Pavel Roskin <proski@gnu.org>.
22620         [BZ #13138]
22621         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22622         realloc.
22623         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
22624         Free memory block if necessary.
22626         [BZ #12847]
22627         * libio/genops.c (INTDEF): For string streams the _lock pointer can
22628         be NULL.  Don't lock in this case.
22630 2011-09-09  Roland McGrath  <roland@hack.frob.com>
22632         * elf/elf.h (ELFOSABI_GNU): New macro.
22633         (ELFOSABI_LINUX): Define to that.
22635 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
22637         * string/strncat.c (strncat): Undef the symbol in case it has been
22638         defined in bits/string.h.
22640 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22642         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22644         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22645         link map.
22647 2011-08-17  Andreas Jaeger  <aj@suse.de>
22649         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22651 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22652             Ian Lance Taylor  <iant@google.com>
22654         * math/libm-test.inc (lround_test): New testcase.
22655         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22657 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
22659         * Makefile: Remove support for automatic cvs check-ins.
22660         * Makerules: Likewise.
22661         * config.make.in: Likewise.
22662         * configure.in: Likewise.
22663         * intl/Makefile: Likewise.
22664         * locale/Makefile: Likewise.
22665         * po/Makefile: Likewise.
22666         * posix/Makefile: Likewise.
22667         * sysdeps/gnu/Makefile: Likewise.
22668         * sysdeps/mach/hurd/Makefile: Likewise.
22669         * sysdeps/sparc/sparc32/Makefile: Likewise.
22671         [BZ #13118]
22672         * posix/Makefile (bug-regex32-ENV): Define.
22673         Patch by John Stanley <jpsinthemix@verizon.net>.
22675         * misc/Makefile (headers): Add bits/select2.h.
22676         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22677         * misc/bits/select2.h: New file.
22678         * include/bits/select2.h: New file.
22679         * debug/Makefile (routines): Add fdelt_chk.
22680         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22681         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22682         FD_ISSET.
22683         * debug/fdelt_chk.c: New file.
22685         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
22686         * wcsmbs/test-wmemcmp.c: Likewise.
22687         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22688         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22690 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22692         * string/Makefile (strop-tests): Add memcmp.
22693         * string/test-wmemcmp.c: New file.
22694         * string/test-memcmp.c: Add wmemcmp support.
22696 2011-09-08  Roland McGrath  <roland@hack.frob.com>
22698         [BZ #13153]
22699         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22700         2011-07-19 change.
22702         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22703         garbage value in a __mach_port_mod_refs call in the cases of the
22704         task-self and thread-self ports.
22706 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22708         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22710 2011-09-08  Andreas Schwab  <schwab@redhat.com>
22712         * elf/dl-load.c (lose): Check for non-null L.
22714 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22716         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22718         * elf/dl-libc.c (dlerror_run): Pass back error code from
22719         dl_catch_error.
22721         [BZ #13123]
22722         * elf/dl-load.c (lose): Free l_origin if it is valid.
22724         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22725         names.
22726         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22727         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22728         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22729         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22730         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22731         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22733 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22735         * sysdeps/powerpc/fpu/e_hypot.c: New file.
22736         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22737         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22738         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22739         * sysdeps/powerpc/fpu/k_cosf.c: New file.
22740         * sysdeps/powerpc/fpu/k_sinf.c: New file.
22741         * sysdeps/powerpc/fpu/s_cosf.c: New file.
22742         * sysdeps/powerpc/fpu/s_sinf.c: New file.
22743         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22744         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22746 2011-08-15  Alan Modra  <amodra@gmail.com>
22748         [BZ #13092]
22749         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22750         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22751         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
22752         ppc_mcount to static-only-routines.
22753         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22754         __mcount_internal.
22755         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22756         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
22758 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
22760         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22761         for finite and infinity parameters.
22763 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22765         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22766         and add nop instructions for throughput optimization.
22767         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22769 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
22771         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22772         aligned copy for power7 with vector-scalar instructions.
22773         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22775 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
22777         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22778         AVX check.
22780 2011-09-07  Andreas Schwab  <schwab@redhat.com>
22782         [BZ #13144]
22783         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22784         last change.
22786 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22788         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22789         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22790         syscall wrapper around clock_gettime in __vdso_clock_gettime.
22791         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22792         clock_gettime.
22794 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22796         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22797         Forgot to demangle the pointer.
22799         * sysdeps/i386/sysdep.h: Define atom_text_section.
22800         * sysdeps/x86_64/sysdep.h: Likewise.
22801         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22802         section with atom_text_section.
22803         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22804         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22805         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22806         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22807         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22809         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22810         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22811         already be defined.  Change to take two parameters and don't assign
22812         result to variable.  Adjust all users.
22813         Define INTERNAL_GETTIME if not already defined.
22814         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22815         call.
22816         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22817         HAVE_CLOCK_GETTIME_VSYSCALL.
22818         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22820         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22821         gettimeofday vsyscall, just use time.
22823 2011-09-06  Andreas Schwab  <schwab@redhat.com>
22825         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22826         <errno.h>.
22828 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22830         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22831         syscall on x86-64.
22832         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22833         syscall.
22834         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22835         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22836         syscall if possible.
22838 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22840         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22841         e_ident.  Don't pass to find_mapsXX.
22842         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22844 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22847         strchr-sse2-no-bsf strrchr-sse2-no-bsf
22848         * sysdeps/x86_64/multiarch/strchr.S: Update.
22849         Check bit_slow_BSF bit.
22850         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22851         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22852         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22854 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22856         [BZ #13134]
22857         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22858         before glibc 2.15.
22859         (tryshell): Define.
22860         (__spawni): Change last parameter to be flag.  Test
22861         SPAWN_XFLAGS_USE_PATH flag to use path or not.
22862         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22863         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22864         * posix/spawni.c: Likewise.
22865         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22866         * posix/spawnp.c: Likewise.  Change normal version to use
22867         SPAWN_XFLAGS_USE_PATH.
22868         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22869         SPAWN_XFLAGS_TRY_SHELL.
22871         [BZ #13150]
22872         * posix/glob.h: Remove gcc 1.x support.
22874         [BZ #13068]
22875         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22877 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22880         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22881         strrchr-sse2-bsf
22882         * sysdeps/i386/i686/multiarch/strchr.S: New file.
22883         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22884         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22885         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22886         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22887         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22889 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22891         * sysdeps/x86_64/wcscmp.S: New file.
22893         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22894         wcscmp-c wcscmp-sse2
22895         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22896         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22897         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22898         * wcsmbs/wcscmp.c: Allow renaming.
22900 2011-09-05  David S. Miller  <davem@davemloft.net>
22902         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22903         stack slot, rather than the struct return pointer slot.
22904         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22905         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22907         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22911         * po/ja.po: Update from translation team.
22913         [BZ #13144]
22914         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22915         kernel in 64-bit binaries.
22917 2011-09-01  David S. Miller  <davem@davemloft.net>
22919         * elf/elf.h (HWCAP_SPARC_*): Move to..
22920         * sysdeps/sparc/sysdep.h: this new file and add new values.
22921         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22922         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22923         _DL_HWCAP_COUNT to 24.
22924         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22925         entries.
22926         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22927         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22928         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22929         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22930         instead of magic constants.
22931         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22933 2011-08-31  David S. Miller  <davem@davemloft.net>
22935         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22936         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22937         Reimplement to do errno handling inline.
22938         (SYSCALL_ERROR_HANDLER): New macro.
22939         (__SYSCALL_STRING): Do not do errno handling in asm.
22940         (__CLONE_SYSCALL_STRING): Delete.
22941         (__INTERNAL_SYSCALL_STRING): Delete.
22942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22943         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22944         (PSEUDO): Reimplement to do errno handling inline.
22945         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22946         (SYSCALL_ERROR_HANDLER): New macro.
22947         (__SYSCALL_STRING): Do not do errno handling in asm.
22948         (__CLONE_SYSCALL_STRING): Delete.
22949         (__INTERNAL_SYSCALL_STRING): Delete.
22950         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22951         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22952         i386.
22953         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22954         (inline_syscall*): Add 'err' argument.
22955         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22956         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22957         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22958         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22960         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22961         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22963 2011-08-30  Andreas Schwab  <schwab@redhat.com>
22965         * elf/rtld.c (dl_main): Relocate objects in dependency order.
22967 2011-08-29  Jiri Olsa <jolsa@redhat.com>
22969         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22970         directive.
22972 2011-08-24  David S. Miller  <davem@davemloft.net>
22974         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22976 2011-08-24  Andreas Schwab  <schwab@redhat.com>
22978         * elf/Makefile: Add rules to build and run unload8 test.
22979         * elf/unload8.c: New file.
22980         * elf/unload8mod1.c: New file.
22981         * elf/unload8mod1x.c: New file.
22982         * elf/unload8mod2.c: New file.
22983         * elf/unload8mod3.c: New file.
22985         * elf/dl-close.c (_dl_close_worker): Reset private search list if
22986         it wasn't used.
22988 2011-08-23  David S. Miller  <davem@davemloft.net>
22990         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22991         subtract stack bias.
22992         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22993         %sp not %fp in calculations.
22994         (_JMPBUF_UNWINDS_ADJ): Likewise.
22996         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22997         (aio_suspend): Call it to force an exception region around the
22998         AIO_MISC_WAIT() invocation.
23000 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23002         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23003         backslash.
23005 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23007         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23008         protection macro.
23009         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23010         and <dl-machine.h>.
23011         (Elf64_FuncDesc): Remove.
23013 2011-08-22  David S. Miller  <davem@davemloft.net>
23015         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23016         sigaltstack check, add missing cfi directives.
23017         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23018         missing cfi directives, and sigaltstack handling.
23020 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23022         [BZ #11724]
23023         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23024         object is seen twice.
23025         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23027         * elf/Makefile (distribute): Add tst-initorder2.c.
23028         (tests): Add tst-initorder2.
23029         (modules-names): Add tst-initorder2a tst-initorder2b
23030         tst-initorder2c tst-initorder2d.  Add rules to build them.
23031         ($(objpfx)tst-initorder2.out): New rule.
23032         * elf/tst-initorder2.c: New file.
23033         * elf/tst-initorder2.exp: New file.
23035 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23037         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23039         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23040         dependencies back to end of function.
23042         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23043         $(elfobjdir)/ld.so.
23045 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23047         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23048         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23049         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23050         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23051         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23052         of __vdso_gettimeofday.
23053         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23054         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23055         attribute_hidden.
23056         (_libc_vdso_platform_setup): Remove initialization of
23057         __vdso_gettimeofday and __vdso_time.
23059 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23061         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23062         and fgetc_unlocked.
23063         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23064         getc_unlocked.
23066         * elf/dl-open.c (add_to_global): Report additions to the global scope
23067         for LD_DEBUG=scopes.
23068         (dl_open_worker): Also print scope of newly loaded dependencies.
23069         (_dl_show_scope): Indicate if there is no scope.
23071         [BZ #13114]
23072         * stdio-common/Makefile (tests): Add bug24.
23073         * stdio-common/bug24.c: New file.
23075 2011-08-19  Andreas Jaeger  <aj@suse.de>
23077         [BZ #13114]
23078         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23079         non-existant file when using close-on-exec mode.
23081 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23083         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23084         the very first instruction.
23086         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23087         the CFI state in the end.
23088         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23089         inclusion of dl-trampoline.h.
23090         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23092 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23094         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23095         expectations for long double.
23097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23098         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23100 2011-08-14  David S. Miller  <davem@davemloft.net>
23102         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23103         artificual limit depends upon the system page size.
23105 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23107         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23108         * resolv/Makefile: Define CFLAGS-libresolv.
23110 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23112         * nss/makedb.c (compute_tables): Make variables used in nested
23113         function static.
23115 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23117         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23118         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23119         if buffer was too small.
23121         * elf/pldd.c (main): Attach to all threads in the process.
23122         Rewrite /proc handling to use *at functions.
23124 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23126         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23127         specifies first scope to show.
23128         (dl_open_worker): Update callers.  Move printing scope of new
23129         object to before the relocation.
23130         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23131         * sysdeps/generic/ldsodefs.h: Update declaration.
23133         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23134         string for the scope number.
23136 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23138         * nscd/servicescache.c (cache_addserv): Make sure written is always
23139         initialized.
23141 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23143         * sysdeps/i386/i486/bits/atomic.h
23144         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23145         statement expression, so as to suppress "set but not used" warning.
23146         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23148         * string/strncat.c (STRNCAT): Use prototype definition.
23150         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23151         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23152         -Iprograms here.
23153         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23154         (localedef-modules): Add localedef.
23155         (locale-modules): Add locale.
23157         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23158         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23159         to avoid a warning.
23161 2011-08-14  David S. Miller  <davem@davemloft.net>
23163         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23164         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23166 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23168         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23169         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23170         * elf/rtld.c (dl_main): Set l_name of vDSO.
23171         Call _dl_show_scope when DL_DEBUG_SCOPES.
23172         (process_dl_debug): Recognize scopes flag and also set it for all.
23173         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23174         Declare _dl_show_scope.
23176         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23177         (do_dlopen): Pass caller_dlopen to dl_open.
23178         (__libc_dlopen_mode): Initialize caller_dlopen.
23180         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23181         of libc.  Make tolower call locale-independent.  Optimize a bit by
23182         using isdigit instead of isalnum.
23183         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23185 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23187         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23188         was a dependency or dynamically loaded.
23190 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23192         * intl/l10nflist.c: Allow architecture-specific pop function.
23193         * sysdeps/x86_64/l10nflist.c: New file.
23195         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23196         classification.
23198 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23200         * include/dirent.h: Add libc_hidden_proto for scandirat and
23201         scandirat64.  Don't declare __scandirat64.
23202         * dirent/scandirat.c: Add libc_hidden_def.
23203         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23204         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23206 2011-08-10  David S. Miller  <davem@davemloft.net>
23208         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23209         enum.
23210         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23211         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23212         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23214 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23216         * Versions.def [libc]: Add GLIBC_2.15.
23217         * dirent/Makefile (routines): Add scandirat and scandirat64.
23218         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23219         GLIBC_2.15.
23220         * dirent/dirent.h: Declare scandirat and scandirat64.
23221         * dirent/scandirat.c: New file.
23222         * dirent/scandirat64.c: New file.
23223         * sysdeps/wordsize-64/scandirat.c: New file.
23224         * sysdeps/wordsize-64/scandirat64.c: New file.
23225         * dirent/opendir.c: Define opendirat.
23226         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23227         using scandirat.
23228         * dirent/scandir64.c: Adjust for scandir.c change.
23229         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23230         __scandirat64, and __scandir_cancel_handler.
23231         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23232         additional parameter and use openat instead of open (outside of ld.so).
23233         Add new __opendir as wrapper around __opendirat.
23234         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23235         here without requiring old scandirat implementation.
23237 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23239         * dirent/scandir.c (cancel_handler): Renamed to
23240         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23241         defined.  Adjust users.
23242         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23243         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23245 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23247         * string/test-string.h (IMPL): Use __STRING to expand name and then
23248         stringify it.
23250         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23251         of cleanups.
23253 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23255         * string/Makefile: Update.
23256         (strop-tests): Append strncat.
23257         * string/test-wcscmp.c: New file.
23258         New comprehensive test for wcscmp.
23259         * string/test-strcmp.c: Update.
23260         (WIDE): New define.
23262 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23264         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23265         line.
23267 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23270         encoding to ACE if AI_IDN.
23272 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23274         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23275         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23277 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23279         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23280         Fix overflow bug in strncat.
23281         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23283         * string/test-strncat.c: Update.
23284         Add new tests for checking overflow bugs.
23286 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23288         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23289         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23290         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23291         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23292         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23293         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23294         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23295         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23296         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23298         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23299         (USE_AS_STRCAT): Define.
23300         Add strcat and strncat support.
23301         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23303 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23305         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23306         __n bigger than INT_MAX+1.
23307         (__strncmp_g): Likewise.
23309 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23311         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23312         * libio/stido.h: Likewise.
23314         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23315         (AF_NFC): Define.
23316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23317         (AF_NFC): Define.
23319         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23320         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23321         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23322         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23323         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23325         [BZ #13021]
23326         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23327         installed.
23329         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23330         typo.
23331         (_dl_x86_64_save_sse): Likewise.
23333 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23335         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23336         OSXSAVE.
23337         (_dl_x86_64_save_sse): Likewise.
23339         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23341         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23343 2011-07-21  Andreas Schwab  <schwab@redhat.com>
23345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23346         change.
23347         (_dl_x86_64_save_sse): Use correct AVX check.
23349 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23351         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23352         bug in strncpy/strncat.
23353         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23355 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
23357         * string/tester.c (test_strcat): Add tests for different alignments
23358         of source and destination.
23359         (test_strncat): Likewise.
23361 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23363         [BZ #12852]
23364         * posix/glob.c (glob): Check passed in values before using them in
23365         expressions to avoid some overflows.
23366         (glob_in_dir): Likewise.
23368         [BZ #13007]
23369         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23370         check for AVX enablement so that we don't crash with old kernels and
23371         new hardware.
23372         * elf/tst-audit4.c: Add same checks here.
23373         * elf/tst-audit6.c: Likewise.
23375         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23377 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
23379         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23381 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23383         * po/cs.po: Update from translation team.
23384         * po/bg.po: Likewise.
23386 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
23388         * misc/sys/cdefs.h: Add support for const attribute.
23389         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23390         to gnu_dev_{major,minor,makedev} functions.
23392 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
23394         * intl/dcigettext.c (get_output_charset): Add missing bracket.
23396 2011-07-20  Andreas Schwab  <schwab@redhat.com>
23398         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23399         strlen results.
23401 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23403         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23404         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23405         register in order to avoid conflicts with the soft frame pointer
23406         being held in r11 when necessary.
23407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23408         (INTERNAL_VSYSCALL_NCS): Likewise.
23410 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
23412         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23413         * elf/dl-fini.c (_dl_fini): Adjust caller.
23414         * elf/dl-close.c (_dl_close_worker): Likewise.
23415         * sysdeps/generic/ldsodefs.h: Adjust declaration.
23417 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23419         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23420         "aux_cache->nlibs < 0".
23422         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23423         in the reload-count case.
23425 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23428         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23429         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23430         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23431         * sysdeps/x86_64/multiarch/strcat.S: New file.
23432         * sysdeps/x86_64/multiarch/strncat.S: New file.
23433         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23434         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23435         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23436         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23437         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23438         (USE_AS_STRCAT): Define.
23439         Add strcat and strncat support.
23440         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23441         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23442         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23443         * string/strncat.c: Update.
23444         (USE_AS_STRNCAT): Define.
23445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23446         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23447         and i7.
23448         * sysdeps/x86_64/multiarch/init-arch.h
23449         (bit_Prefer_PMINUB_for_stringop): New.
23450         (index_Prefer_PMINUB_for_stringop): Likewise.
23451         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23452         bit_Prefer_PMINUB_for_stringop.
23454 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23456         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23457         buffer64.
23458         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23459         of casting of buffer.
23460         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23461         buffer32 and buffer64.
23462         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23463         writes instead of casting of buffer.
23464         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23465         buffer32.
23466         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23467         casting of buffer.
23469 2011-07-19  Andreas Schwab  <schwab@redhat.com>
23471         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23473 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23475         * nscd/nscd.c (termination_handler): Don't do anything for a database
23476         if it has not yet been initialized.
23478 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23480         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23482 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23484         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23486 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23488         * po/nl.po: Update from translation team.
23489         * po/sv.po: Likewise.
23491 2011-07-16  Roland McGrath  <roland@hack.frob.com>
23493         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23494         now disallowed by GCC.
23496         * configure.in (use-default-link): Default to yes if a test -shared
23497         link meets our qualifications.
23498         * configure: Regenerated.
23500         * config.make.in (output-format): New variable.
23501         * configure.in: Check for ld --print-output-format support.
23502         * configure: Regenerated.
23503         * Makerules ($(common-objpfx)format.lds)
23504         [$(output-format) != unknown]: Just use $(output-format),
23505         instead of the linker-script munging.
23507 2011-07-14  Roland McGrath  <roland@hack.frob.com>
23509         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23510         of $(common-objpfx)shlib.lds.
23511         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23513         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23514         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23516         * configure.in (-z relro check): Adjust test code to add a large
23517         writable data section after it.
23518         * configure: Regenerated.
23520 2011-07-11  Roland McGrath  <roland@hack.frob.com>
23522         * configure.in (-z relro check): Fix test code to make the variable
23523         truly const.
23524         * configure: Regenerated.
23526 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
23528         * nscd/nscd.h (struct traced_file): Define.
23529         (struct database_dyn): Remove inotify_descr, reset_res, and filename
23530         elements.  Add traced_files.
23531         (inotify_fd): Declare.
23532         (register_traced_file): Declare.
23533         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23534         (inotify_fd): Export.
23535         (resolv_conf_descr): Remove.
23536         (nscd_init): Move inotify descriptor creation to main.
23537         Don't register files for notification here.
23538         (register_traced_file): New function.
23539         (invalidate_cache): Don't use reset_res to determine whether to call
23540         res_init, go through the list of registered files.
23541         (main_loop_poll): The inotify descriptors are now stored in the
23542         structures for the traced files.
23543         (main_loop_epoll): Likewise
23544         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
23545         to __nss_disable_nscd.
23546         * nscd/cache.c (prune_cache): There is no single inotify descriptor
23547         for a database anymore.  Check the records for all the registered
23548         files instead.
23549         * nss/Makefile (libnss_files-routines): Add files-init.
23550         (libnss_db-routines): Add db-init.
23551         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23552         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23553         * nss/nss_db/db-init.c: New file.
23554         * nss/nss_files/files-init.c: New file.
23555         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
23556         __nss_lookup_function.
23557         (__nss_lookup_function): Call nss_load_library.
23558         (nss_load_all_libraries): New function.
23559         (__nss_disable_nscd): Take parameter with callback function for files
23560         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
23561         used for the cached services.
23562         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23563         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23564         options for features to all the files in nscd.
23566         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23568 2011-07-10  Roland McGrath  <roland@hack.frob.com>
23570         * csu/elf-init.c (__libc_csu_init): Comment typo.
23572 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
23574         * po/pl.po: Update from translation team.
23575         * po/ja.po: Likewise.
23576         * po/ru.po: Likewise.
23577         * po/ko.po: Likewise.
23578         * po/fr.po: Likewise.
23580 2011-07-09  Roland McGrath  <roland@hack.frob.com>
23582         * configure.in (.ctors/.dtors header and trailer check):
23583         Use an empirical test on a built program.
23584         * configure: Regenerated.
23586         * configure.in (-z relro check): Use an empirical test on a built DSO.
23587         Detect, but do not require, on ia64.
23588         * configure: Regenerated.
23590         * configure.in (READELF): Find it with AC_CHECK_TOOL.
23591         Update tests that use readelf to use $READELF instead.
23592         * configure: Regenerated.
23594 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
23596         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23597         if the result is not used.
23599 2011-07-05  Andreas Jaeger  <aj@suse.de>
23601         [BZ#9696]
23602         * stdlib/tst-strtod.c: Add testcase.
23604 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
23606         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23607         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23608         The latter has a higher limit.  Take additional parameter to pass to
23609         the new function.
23610         (__pathconf): Pass file to __statfs_link_max.
23611         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23612         __statfs_link_max.
23613         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23614         __statfs_link_max.
23616         [BZ #12868]
23617         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23618         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23619         Handle Lustre.
23620         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23621         (__statfs_filesize_max): Likewise.
23622         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23624 2011-07-05  Andreas Jaeger  <aj@suse.de>
23626         * resolv/res_comp.c (dn_skipname): Remove unused variable.
23628 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
23630         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23631         `status' variable.
23632         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23633         Likewise.
23635 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
23637         * Makefile (strop-tests): Add strncat.
23638         * string/test-strncat.c: New file.
23640 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
23642         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23644 2011-06-21  Andreas Jaeger  <aj@suse.de>
23646         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23647         Copy rule from iconvdata/Makefile.
23649 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23651         [BZ #12922]
23652         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23653         but no long options are defined, just return 'W'.
23655 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
23657         [BZ #9696]
23658         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23660 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23662         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23663         netgroups to read.
23664         (innetgr): Likewise.
23666 2011-07-05  Roland McGrath  <roland@hack.frob.com>
23668         * config.make.in (install_root): Default to $(DESTDIR).
23670 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
23672         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23674 2011-07-02  Roland McGrath  <roland@hack.frob.com>
23676         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23678         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23679         containing directory rather than embedding absolute directory names.
23681         * scripts/check-local-headers.sh: Rewritten using awk.
23682         Match by word, not by line.  Print error messages for matches.
23683         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23685         * Makerules [shlib-lds-flags empty]:
23686         ($(common-objpfx)libc_pic.opts): New target.
23687         ($(common-objpfx)libc_pic.os.clean): New target.
23688         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23690         * config.make.in (OBJCOPY): New variable.
23691         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23692         * configure: Regenerated.
23694         * config.make.in (use-default-link): New variable.
23695         * configure.in (use_default_link): Grok --with-default-link to set it.
23696         * configure: Regenerated.
23697         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23698         (shlib-lds, shlib-lds-flags): Define to empty.
23700         * Makerules (shlib-lds): New variable.
23701         (shlib-lds-flags): New variable.
23702         (build-shlib, build-moduile, build-module-asneeded): Use it.
23703         ($(common-objpfx)libc.so): Use $(shlib-lds).
23704         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23705         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23707         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23708         DT_FLAGS/DT_FLAGS_1 with zero flags.
23710         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23711         linker script munging.
23713 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
23715         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23716         as 128-bit value.
23717         * crypt/sha512.c (sha512_process_block): Perform total addition using
23718         128-bit if possible.
23719         (__sha512_finish_ctx): Likewise.
23720         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23721         as 64-bit value.
23722         * crypt/sha256.c (SWAP64): Define.
23723         (sha256_process_block): Perform total addition using 64-bit if
23724         possible.
23725         (__sha256_finish_ctx): Likewise.
23727 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
23729         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
23730         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23731         * nscd/hstcache.c (cache_addhst): Likewise.
23732         * nscd/grpcache.c (cache_addgr): Likewise.
23733         * nscd/aicache.c (addhstaiX): Likewise
23734         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23736 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
23738         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23739         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23740         * nscd/hstcache.c (cache_addhst): Likewise.
23741         * nscd/grpcache.c (cache_addgr): Likewise.
23742         * nscd/aicache.c (addhstaiX): Likewise
23744 2011-07-01  Andreas Schwab  <schwab@redhat.com>
23746         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23747         domain only when needed.
23749 2011-06-30  Andreas Schwab  <schwab@redhat.com>
23751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23752         is always restored.
23754 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
23756         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23757         are re-adding the entry.
23758         * nscd/servicescache.c (cache_addserv): Likewise.
23760 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
23762         * sysdeps/generic/dl-irel.h: fix protection against multiple
23763         inclusions.
23764         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23766 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
23768         [BZ #12935]
23769         * malloc/memusage.sh: Fix quoting in message.
23770         * debug/xtrace.sh: Likewise.
23772         * configure.in: Remove support for --experimental-malloc option, make
23773         it the default.
23774         * config.make.in: Likewise.
23775         * malloc/Makefile: Likewise.
23777 2011-06-27  Andreas Schwab  <schwab@redhat.com>
23779         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23780         two-byte characters.
23782 2011-06-27  Roland McGrath  <roland@hack.frob.com>
23784         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23785         AC_CACHE_CHECK invocation.
23786         * configure: Regenerated.
23788         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23790 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
23792         [BZ #12350]
23793         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
23794         bit from old_res_options.
23796         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23798         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23799         value type for setfct.
23801 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
23803         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23804         __gettimeofday instead of gettimeofday.
23806 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
23808         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23810 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23812         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23814         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23815         info.
23817 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23820         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23821         strcpy-sse2-unaligned strncpy-sse2-unaligned
23822         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23823         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23824         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23825         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23826         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23827         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23828         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23829         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23830         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23831         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23832         (STRCPY): Support SSE2 and SSSE3 versions.
23834 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
23836         [BZ #12874]
23837         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23838         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23839         kernels which artificially limit size of requests.
23841 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23843         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23844         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23845         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23846         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23847         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23848         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23849         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23850         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23851         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23852         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23853         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23854         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23855         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23856         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23857         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23859         Enable unaligned load optimization for Intel Core i3, i5 and i7
23860         processors.
23861         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23862         Define.
23863         (index_Fast_Unaligned_Load): Define.
23864         (HAS_FAST_UNALIGNED_LOAD): Define.
23866 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
23868         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23870 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23872         [BZ #12907]
23873         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23874         until it is clear that the information is realy needed.
23875         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23877 2011-06-22  Andreas Schwab  <schwab@redhat.com>
23879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23881 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23883         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23884         /sys/devices/system/cpu/online if it is usable.
23886         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23887         reading the information from the /proc filesystem to once a second.
23889 2011-06-21  Andreas Jaeger  <aj@suse.de>
23891         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23892         NULL after inclusion of kernel headers.
23894 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
23896         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23897         calls to internal_setent.
23899         [BZ #12885]
23900         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23901         addresses using gethostbyname4_r ignore IPv4 addresses.
23903         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23904         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
23906         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23908 2011-06-20  David S. Miller  <davem@davemloft.net>
23910         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23911         inclusions.
23912         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23914         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23915         (elf_irel): Use it.
23916         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23917         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23918         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23919         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23920         * sysdeps/x86_64/dl-irel.h: Likewise.
23922         * elf/dl-runtime.c: Use elf_ifunc_invoke.
23923         * elf/dl-sym.c: Likewise.
23925 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23927         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
23928         need to dereference resplen2.
23930 2011-06-14  Andreas Schwab  <schwab@redhat.com>
23932         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23934 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23936         * Makeconfig: Define vardbdir and inst_vardbdir.
23937         * nss/Makefile: Add rules to install db-Makefile.
23939         * nss/nss_db/db-XXX.c: Cleanup.
23941         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23942         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23943         GLIBC_PRIVATE.
23944         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23945         * nss/makedb.c: Implement -g option to specify that value strings
23946         are generated and should not be added to table iterated over for
23947         get*ent calls.
23948         * nss/nss_db/db-initgroups.c: New file.
23950         * nss/getent.c: Add support for initgroups lookups through getgrouplist
23951         interface.
23953         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23954         (internal_getgrouplist): Adjust to name change.
23955         Update use_initgroups_entry if this is not the first call.
23956         * nss/databases.def: Add initgroups entry.
23958         * nss/makedb.c (compute_tables): Check result of multiple hash table
23959         sizes to minimize maximum chain length.
23961 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
23963         * Versions.def: Add entry for libnss_db.
23964         * shlib-versions: Likewise.
23965         * nss/Makefile: Add rules to build libnss_db.
23966         * nss/Versions: Add libnss_db information.  Organize libnss_files
23967         entries better.
23968         * nss/db-Makefile: Add gshadow support.  Change rules for the new
23969         makedb progra.  Some minor improvements to generate smaller files.
23970         * nss/nss_db/nss_db.h: Move NSS database header data structures to
23971         here from...
23972         * nss/makedb.c: ...here.
23973         Improve database format to be smaller and require less memory at
23974         runtime.
23975         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
23976         db anymore.
23977         * nss/nss_db/db-netgrp.c: Likewise.
23978         * nss/nss_db/db-open.c: Likewise.
23979         * nss/nss_files/flies-XXX.x: Adjust comments.
23980         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23981         * nss/nss_files/files-grp.c: Likewise.
23982         * nss/nss_files/files-hosts.c: Likewise.
23983         * nss/nss_files/files-network.c: Likewise.
23984         * nss/nss_files/files-proto.c: Likewise.
23985         * nss/nss_files/files-pwd.c: Likewise.
23986         * nss/nss_files/files-rpc.c: Likewise.
23987         * nss/nss_files/files-service.c: Likewise.
23988         * nss/nss_files/files-sgrp.c: Likewise.
23989         * nss/nss_files/files-spwd.c: Likewise.
23990         * nss/nss_db/db-alias.c: Removed.
23991         * nss/nss_db/dummy-db.h: Removed.
23993 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
23995         * nss/makedb.c: Rewritten to not use database library.
23996         * nss/Makefile: Update to build new makedb program.
23998 2011-06-14  Andreas Jaeger  <aj@suse.de>
24000         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24001         memset declaration.
24003 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24006         tmpbuf.
24008 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24010         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24011         * elf/Makefile ($(objpfx)ld.so): Likewise.
24013         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24014         Don't list ld.so twice in dependencies.
24016         * posix/bug-regex31.c: Include <stdlib.h>.
24018         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24020         * nis/nss_compat/compat-spwd.c
24021         (getspent_next_nss_netgr): Remove unused variable.
24022         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24024         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24025         nonmembers" output to use the right array.
24027         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24029         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24031         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24032         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24033         * catgets/gencat.c (read_input_file): Likewise.
24034         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24036         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24037         variable definition inside #if's controlling its use.
24039         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24041         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24043         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24045         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24046         unreachable code.
24048         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24050         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24051         * configure: Regenerated.
24053         * Makerules: Revert last change.
24054         * elf/Makefile: Likewise.
24056 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24058         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24059         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24060         (reloc-link): Likewise.
24062 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24064         * elf/Makefile: Add rules to build pldd.
24065         * elf/pldd.c: New file.
24066         * elf/pldd-xx.c: New file.
24068 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24070         * version.h: Update for 2.15 development version.
24072 2011-06-07  David S. Miller  <davem@davemloft.net>
24074         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24075         ifuncs.
24076         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24077         elf_machine_lazy_rel): Likewise.
24078         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24079         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24080         elf_machine_lazy_rel): Likewise.
24081         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24082         dl_hwcap via passed in argument.
24083         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24084         Likewise.
24086 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24088         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24090 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24092         [BZ #12849]
24093         * manual/fdl-1.1.texi: New file, verbatim from:
24094         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24095         * manual/lgpl-2.1.texi: New file, verbatim from:
24096         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24097         * manual/Makefile (licenses): New variable, list those new file names.
24098         (texis): Use it.
24099         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24101         * manual/fdl.texi: File removed.
24102         * manual/lesser.texi: File removed.
24103         * manual/libc.texinfo (Copying, Documentation License):
24104         Use new @include file names, put @appendix directive before @include.
24106 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24108         [BZ #12841]
24109         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24110         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24111         (mq_open): Add __NTH.
24113 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24116         Assume Intel Core i3/i5/i7 processor if AVX is available.
24118 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24120         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24121         typo.
24123 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24125         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24126         memory.  Use alloca_account.  Fix memory leak when retrying.
24128 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24130         * version.h (RELEASE): Bump for 2.14 release.
24131         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24133         * config.make.in (RANLIB): Remove entry.
24135 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24137         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24138         (libc.pot): Work around missing support for .ksh extension in xgettext.
24140         [BZ #12684]
24141         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24142         if both request failed.
24143         (send_dg): In case of server errors clear resplen or *resplen2.
24145         [BZ #12454]
24146         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24147         when there are multiple maps.
24148         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24149         (_dl_fini): Remove test here.
24151         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24153 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24155         [BZ #12350]
24156         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24157         bit from old_res_options.
24158         (gaih_inet): Likewise.
24160         [BZ #11099]
24161         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24162         as signed.
24164         * resolv/res_init.c (res_setoptions): Make the code more compact.
24166         [BZ #11558]
24167         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24168         set RES_USEVC.
24170         [BZ #11634]
24171         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24173         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24175         [BZ #11781]
24176         * malloc/malloc.h: Declare malloc hook variables as volatile.
24178         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24179         in last patch.
24181         [BZ #11799]
24182         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24183         raise in the comment.
24184         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24185         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24186         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24188 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24190         [BZ #12811]
24191         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24192         grow the buffers more if it already has to be sufficient.
24193         (build_wcs_upper_buffer): Likewise.
24194         * posix/regexec.c (check_matching): Likewise.
24195         (clean_state_log_if_needed): Likewise.
24196         (extend_buffers): Don't enlarge buffers beyond size of the input
24197         buffer.
24198         Patches mostly by Emil Wojak <emil@wojak.eu>.
24199         * posix/bug-regex32.c: New file.
24200         * posix/Makefile (tests): Add bug-regex32.
24202         * locale/findlocale.c (_nl_find_locale): Return right away if
24203         _nl_explode_name failed.
24204         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24206         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24208         * debug/xtrace.sh: Unify messages.
24209         * malloc/memusage.sh: Likewise.
24211         [BZ #12813]
24212         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24213         time symbol from vDSO.  Substitute with vsyscall if not available.
24214         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24215         __vdso_time.
24217         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24218         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24219         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24220         Add sendmmsg and internal_sendmmsg.
24221         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24222         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24223         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24225         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24226         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24227         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24229 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24231         [BZ #12813]
24232         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24233         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24234         available.
24235         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24236         __vdso_getcpu.
24238         [BZ #12814]
24239         * iconvdata/Makefile (tests): Add bug-iconv9.
24240         * iconvdata/bug-iconv9.c: New file.
24242 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24244         [BZ #12814]
24245         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24247 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24249         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24250         (struct user_regs_struct): Change intcs field back to cs.
24252 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24254         * po/ja.po: Update from translation team.
24256 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24258         [BZ #12795]
24259         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24260         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24262 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24264         * stdlib/longlong.h: Update from GCC.
24266 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24268         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24269         parameter name.
24270         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24271         Add parameter name.
24272         (__sysconf): Pass it down.
24274 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24276         [BZ #12671]
24277         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24278         some situations.
24279         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24280         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24281         add in in __libc_use_alloca calls.  Adjust callers.
24282         (glob): Use malloc in some situations.
24284         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24285         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24286         pltexit.
24288 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24290         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24291         and CLOCK_BOOTTIME_ALARM.
24293         [BZ #12782]
24294         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24295         is returned.
24297         * string/_strerror.c (__strerror_r): Print negative errors as signed
24298         numbers.
24300         [BZ #12777]
24301         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24302         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24303         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24305         * configure.in: Fix typo in redirection and correct removal of test
24306         files in two cases.
24308         [BZ #12788]
24309         * locale/setlocale.c (new_composite_name): Fix test to check for
24310         identical name of all categories.
24312         [BZ #12792]
24313         * libio/filedoalloc.c (local_isatty): New function.
24314         (_IO_file_doallocate): Use local_isatty.
24315         * stdio-common/perror.c (perror): In case a new stream is used
24316         forward the stream error.
24317         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24318         error flag.
24320 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24322         [BZ #11869]
24323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24324         alloca.
24325         * include/alloca.h (extend_alloca_account): Define.
24327         [BZ #11857]
24328         * posix/regex.h: Fix comments with documentation of user-accessible
24329         fields after compilation and describe correct free'ing of pattern
24330         after re_compile_pattern.
24331         Patch by Reuben Thomas <rrt@sc3d.org>.
24333 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24335         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24336         and -mno-altivec to prevent the compiler from using Altivec and/or
24337         VSX instructions when the corresponding registers are not available.
24339 2011-05-19  Andreas Schwab  <schwab@redhat.com>
24341         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24343 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
24345         * libio/freopen.c (freopen): Use __dup2, not dup2.
24346         * libio/freopen64.c (freopen64): Likewise.
24348 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24350         [BZ #12775]
24351         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24352         * math/Makefile (tests): Add test-powl.
24353         (CFLAGS-test-powl.c): Define.
24354         * math/test-powl.c: New file.
24356 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24358         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24360 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
24362         [BZ #11837]
24363         * iconvdata/gb18030.c: Update to GB18020-2005.
24365 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
24367         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24368         RE_SYNTAX_POSIX_AWK): Update to match recent development.
24369         Patch by Aharon Robbins <arnold@skeeve.com>.
24371         [BZ #11892]
24372         * stdlib/putenv.c (putenv): Don't always create copy of the variable
24373         on the stack.
24375         [BZ #11895]
24376         * misc/pselect.c (__pselect): Handle timeout value errors hidden
24377         through underflows.
24379         [BZ #12766]
24380         * misc/error.c (error_at_line): Ensure file_name and old_file_name
24381         point to strings before performing equality test for error_one_per_line
24382         mode.
24384         [BZ #11697]
24385         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24387         [BZ #11820]
24388         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24389         (struct user_fpregs_struct): Avoid __uint*_t types.
24391         [BZ #6420]
24392         * malloc/mtrace.c (tr_where): Add additional parameter to point to
24393         symbol info.  Use it instead of calling _dl_addr locally.
24394         (lock_and_info): New function.
24395         (tr_freehook): Call lock_and_info and pass symbol info as additional
24396         parameter to tr_where.
24397         (tr_mallochook): Likewise.
24398         (tr_reallochook): Likewise.
24399         (tr_memalignhook): Likewise.
24401         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
24402         used and couldn't be at all thread-safe.
24404 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
24406         * libio/freopen.c (freopen): Don't close old file descriptor
24407         before the new one is opened.  Instead dup the new file descriptor
24408         to the old one after the new stream is created.
24409         * libio/freopen64.c (freopen64): Likewise.
24410         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24411         * libio/fileops.c (_IO_new_file_close_it): Handle new
24412         _IO_FLAGS2_NOCLOSE flag.
24413         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24414         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24415         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24416         _IO_FLAGS2_NOCLOSE flag.
24417         * include/unistd.h: Add hidden_proto for dup3.
24418         Define __have_dup3.
24419         * io/dup3.c: Define hidden symbol.
24420         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24422         [BZ #7101]
24423         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24424         when an incomplete long option is used.
24425         * posix/tst-getopt_long1.c: New file.
24426         * posix/Makefile (tests): Add tst-getopt_long1.
24428         [BZ #10138]
24429         * scripts/config.guess: Update from autoconf-2.68.
24430         * scripts/config.sub: Likewise.
24432         [BZ #10157]
24433         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24434         tests into ...
24435         (has_cpuclock): ...this.  New function.
24436         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24437         macro here based on has_cpuclock code.
24439         [BZ #10149]
24440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24441         First byte (not low byte) is now always NUL.
24442         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24445         Use non-cancelable interfaces.
24447         [BZ #9809]
24448         * locale/iso-639.def: Add entry for Sorani.
24450         [BZ #11901]
24451         * include/stdlib.h: Move include protection to the right place.
24452         Define abort_msg_s.  Declare __abort_msg with it.
24453         * stdlib/abort.c (__abort_msg): Adjust type.
24454         * assert/assert.c (__assert_fail_base): New function.  Majority
24455         of code from __assert_fail.  Allocate memory for __abort_msg with
24456         mmap.
24457         (__assert_fail): Now call __assert_fail_base.
24458         * assert/assert-perr.c: Remove bulk of implementation.  Use
24459         __assert_fail_base.
24460         * include/assert.hL Declare __assert_fail_base.
24461         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24462         mmap.
24463         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24465 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
24467         [BZ #11952]
24468         [BZ #12453]
24469         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24470         until all modules are registered in the DTV.
24471         * elf/Makefile: Add rules to build and run tst-tls19.
24472         * elf/tst-tls19.c: New file.
24473         * elf/tst-tls19mod1.c: New file.
24474         * elf/tst-tls19mod2.c: New file.
24475         * elf/tst-tls19mod3.c: New file.
24476         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24478         [BZ #12083]
24479         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24480         correctly.
24482         [BZ #12601]
24483         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24484         two-byte sequence errors.
24485         * iconvdata/Makefile (tests): Add bug-iconv8.
24486         * iconvdata/bug-iconv8.c: New file.
24488         [BZ #12626]
24489         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24490         buf2 definition.
24492         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24494         [BZ #12432]
24495         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24496         (dummy_getcfa): New function.
24497         (init): Get _Unwind_GetCFA address, use dummy if not found.
24498         (backtrace_helper): In recursion check, also check whether CFA changes.
24499         (__backtrace): Completely initialize arg.
24501         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24502         storing incomplete byte sequence in state object.  Avoid testing for
24503         guaranteed too small input if we know there is enough data available.
24505 2011-05-11  Andreas Schwab  <schwab@redhat.com>
24507         * Makeconfig (+link-pie): Indent.
24508         * Rules (binaries-pie): Define if $(have-fpie) and
24509         $(build-shared).
24510         (binaries-shared): Also filter out $(binaries-pie).
24511         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24512         * nscd/Makefile (others-pie): Add nscd.
24513         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24514         ($(objpfx)nscd): Remove command override.
24515         * login/Makefile (others-pie): Add pt_chown.
24516         ($(objpfx)pt_chown): Remove command override.
24517         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24518         remove command overrides.
24520 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
24522         * libio/tst_putwc.c: Fix error messages.
24524         [BZ #12724]
24525         * libio/fileops.c (_IO_new_file_close_it): Always flush when
24526         currently writing and seek to current position when not.
24527         * libio/Makefile (tests): Add bug-fclose1.
24528         * libio/bug-fclose1.c: New file.
24530 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
24532         [BZ #12511]
24533         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24534         don't set DF_1_NODELETE here.
24535         (do_lookup_x): When entering new entry test for copy relocation
24536         and if necessary set DF_1_NODELETE flag.
24537         * elf/tst-unique4.cc: New file.
24538         * elf/tst-unique4.h: New file.
24539         * elf/tst-unique4lib.cc: New file.
24540         * elf/Makefile: Add rules to build and run tst-unique4.
24541         Patch by Piotr Bury <pbury@goahead.com>.
24543 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
24545         [BZ #12052]
24546         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24548         [BZ #12625]
24549         * misc/mntent_r.c (addmntent): Flush the stream after the output
24551         [BZ #12393]
24552         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24553         (is_trusted_path_normalize): Skip initial colon.  Append slash
24554         to empty buffer.  Duplicate is_trusted_path code but allow
24555         constructed patch to be prefix.
24556         (is_dst): Allow $ORIGIN followed by /.
24557         (_dl_dst_substitute): Correct clearing of check_for_trusted.
24558         Correct testing of result of is_trusted_path_normalize
24559         (decompose_rpath): Fix warning.
24561 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
24563         [BZ #11257]
24564         * grp/initgroups.c (internal_getgrouplist): When we found the service
24565         list through the initgroups entry in nsswitch.conf do not always
24566         continue on a successful lookup.  Don't always use the
24567         __nss_group_database value if it is set.
24568         * nss/nsswitch.conf (initgroups): Change action for successful db
24569         lookup to continue for compatibility.
24571 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
24573         [BZ #11532]
24574         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24575         and CP774 modules.
24576         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24577         and CP774 modules.
24578         * iconvdata/tst-tables.sh: Likewise.
24579         * iconvdata/cp770.c: New file.
24580         * iconvdata/cp771.c: New file.
24581         * iconvdata/cp772.c: New file.
24582         * iconvdata/cp773.c: New file.
24583         * iconvdata/cp774.c: New file.
24584         * iconvdata/testdata/CP770: New file.
24585         * iconvdata/testdata/CP770..UTF8: New file.
24586         * iconvdata/testdata/CP771: New file.
24587         * iconvdata/testdata/CP771..UTF8: New file.
24588         * iconvdata/testdata/CP772: New file.
24589         * iconvdata/testdata/CP772..UTF8: New file.
24590         * iconvdata/testdata/CP773: New file.
24591         * iconvdata/testdata/CP773..UTF8: New file.
24592         * iconvdata/testdata/CP774: New file.
24593         * iconvdata/testdata/CP774..UTF8: New file.
24595         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24596         END CHARMAP line.
24597         * iconvdata/gen-8bit-gap.sh: Likewise.
24598         * iconvdata/gen-8bit.sh: Likewise.
24600         * locale/iso-639.def: Add ary entry.
24602         [BZ #11258]
24603         * locale/C-translit.h.in: Add U20A1 transliteration.
24605         [BZ #12178]
24606         * locale/iso-639.def: Add wae entry.
24607         Patch by Kevin Bortis <bortis@translate-wae.ch>.
24609         [BZ #12545]
24610         * locale/programs/localedef.c (construct_output_path): Use ssize_t
24611         for n.
24613         [BZ #12711]
24614         * locale/C-translit.h.in: Add entry for U20B9.
24615         Patch by pravin.d.s@gmail.com.
24617 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
24619         [BZ #12713]
24620         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24621         ENAMETOOLONG use generic getcwd.
24622         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
24623         in rtld.  Use *stat64.
24624         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24625         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24626         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24627         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24628         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24629         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24630         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24631         __fstatat64 macros.
24632         * include/dirent.h: Add libc_hidden_proto for rewinddir.
24633         * dirent/rewinddir.c: Add libc_hidden_def.
24634         * sysdeps/mach/hurd/rewinddir.c: Likewise.
24635         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
24637         * include/dirent.h (__alloc_dir): Add flags parameter.
24638         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24639         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24640         __alloc_dir.
24641         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
24642         from fdopendir if O_CLOEXEC is already set.
24644 2011-03-15  Alan Modra  <amodra@gmail.com>
24646         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24647         l_tls_firstbyte_offset non-zero.  Save padding offset in
24648         l_tls_firstbyte_offset for later use.
24649         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24650         freeing static tls block.
24652 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
24654         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24655         where #ifdef was intended.  The intent is to prevent ARG_MAX from
24656         being defined by the kernel headers.
24658 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
24660         [BZ #12734]
24661         * resolv/resolv.h: Define RES_NOTLDQUERY.
24662         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24663         no-tld-query and set RES_NOTLDQUERY.
24664         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24665         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24666         modern BIND to search name as TLD unless forbidden.
24668 2011-05-07  Petr Baudis  <pasky@suse.cz>
24669             Ulrich Drepper  <drepper@gmail.com>
24671         [BZ #12393]
24672         * elf/dl-load.c (fillin_rpath): Move trusted path check...
24673         (is_trusted_path): ...to here.
24674         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24675         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24676         using is_trusted_path_normalize() in setuid scripts.
24678 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24680         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24681         __BEGIN/__END_DECLS.
24683 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
24685         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24686         NSS_STATUS_NOTFOUND if no record was found.
24688 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24690         * sunrpc/Makefile (headers): Add rpc/netdb.h.
24691         (headers-not-in-tirpc): Remove rpc/netdb.h
24692         * resolv/netdb.h: Revert last change.
24694 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24696         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24697         circular dependency between libgcc.a and libc.a.
24699 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24701         * resolv/netdb.h: Don't include <rpc/netdb.h>.
24702         * nis/Makefile: Don't install rpcsvc/*.
24703         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24704         instead of <rpc/types.h>.
24705         (MAXHOSTNAMELEN): Define.
24707 2011-05-03  Andreas Schwab  <schwab@redhat.com>
24709         * elf/ldconfig.c (add_dir): Don't crash on empty path.
24711 2011-04-28  Maciej Babinski  <mbabinski@google.com>
24713         [BZ #12714]
24714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24715         gethostbyname4_r when IPv6 results are possible.
24717 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
24719         [BZ #12723]
24720         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24721         _PC_PIPE_BUF handling.
24723 2011-04-30  Bruno Haible  <bruno@clisp.org>
24725         [BZ #12717]
24726         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24727         * resolv/netdb.h (getnameinfo): Change type of flags parameter
24728         to 'int'.
24729         * inet/getnameinfo.c (getnameinfo): Likewise.
24731 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
24733         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24734         to groups setting in database lookup.
24735         * nss/nsswitch.conf: Add initgroups entry.
24737 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
24739         [BZ #12685]
24740         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24741         mode string.
24742         Patch by Eric Blake <eblake@redhat.com>.
24744 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
24746         * sunrpc/Makefile (need-export-routines): Add svc_run.
24747         (routines): Remove svc_run.
24748         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24749         * sunrpc/clnt_perr.c (clnt_perrno): Export.
24750         * sunrpc/svc_run.c (svc_run): Likewise.
24751         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24753 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
24755         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24756         problem in reallocation in last patch.
24758 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
24760         * sunrpc/Makefile: Move inclusion of Rules.
24762 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24764         * nss/nss_files/files-initgroups.c: New file.
24765         * nss/Makefile (libnss_files-routines): Add files-initgroups.
24766         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24767         _nss_files_initgroups_dyn.
24769 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
24771         * elf/elf.h (R_ARM_IRELATIVE): Define.
24773 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24775         * po/ru.po: Update from translation team.
24777 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24779         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24780         dependencies.
24782 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
24784         [BZ #12653]
24785         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24786         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24787         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24788         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24789         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24791 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
24793         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24794         differing bytes.
24795         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24796         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24797         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24799 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24801         [BZ #12420]
24802         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24803         storing it.
24804         * stdlib/bug-getcontext.c: New file.
24805         * stdlib/Makefile: Add rules to build and run bug-getcontext.
24807 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24809         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24810         instructions into .machine "z9-109".
24811         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24812         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24814 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24816         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24817         between environment variables and auxiliary vector.
24819 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
24821         * Makefile: Add rules to build linkobj/libc.so.
24822         * include/libc-symbols.h: Define libc_hidden_nolink.
24823         * include/rpc/auth.h: Mark functions which are to be hidden.
24824         * include/rpc/auth_des.h: Likewise.
24825         * include/rpc/auth_unix.h: Likewise.
24826         * include/rpc/clnt.h: Likewise.
24827         * include/rpc/des_crypt.h: Likewise.
24828         * include/rpc/key_prot.h: Likewise.
24829         * include/rpc/pmap_clnt.h: Likewise.
24830         * include/rpc/pmap_prot.h: Likewise.
24831         * include/rpc/pmap_rmt.h: Likewise.
24832         * include/rpc/rpc_msg.h: Likewise.
24833         * include/rpc/svc.h: Likewise.
24834         * include/rpc/svc_auth.h: Likewise.
24835         * include/rpc/xdr.h: Likewise.
24836         * nis/Makefile: Link all DSOs against linkobj/libc.so.
24837         * nss/Makefile: Likewise.
24838         * sunrpc/Makefile: Don't install headers.  Build library with normal
24839         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
24840         * sunrpc/auth_des.c: Hide exported symbols by default, export some
24841         for the compat linking library.  Remove use of INTDEF/INTUSE.
24842         * sunrpc/auth_none.c: Likewise.
24843         * sunrpc/auth_unix.c: Likewise.
24844         * sunrpc/authdes_prot.c: Likewise.
24845         * sunrpc/authuxprot.c: Likewise.
24846         * sunrpc/clnt_gen.c: Likewise.
24847         * sunrpc/clnt_perr.c: Likewise.
24848         * sunrpc/clnt_raw.c: Likewise.
24849         * sunrpc/clnt_simp.c: Likewise.
24850         * sunrpc/clnt_tcp.c: Likewise.
24851         * sunrpc/clnt_udp.c: Likewise.
24852         * sunrpc/clnt_unix.c: Likewise.
24853         * sunrpc/des_crypt.c: Likewise.
24854         * sunrpc/des_soft.c: Likewise.
24855         * sunrpc/get_myaddr.c: Likewise.
24856         * sunrpc/key_call.c: Likewise.
24857         * sunrpc/key_prot.c: Likewise.
24858         * sunrpc/netname.c: Likewise.
24859         * sunrpc/pm_getmaps.c: Likewise.
24860         * sunrpc/pm_getport.c: Likewise.
24861         * sunrpc/pmap_clnt.c: Likewise.
24862         * sunrpc/pmap_prot.c: Likewise.
24863         * sunrpc/pmap_prot2.c: Likewise.
24864         * sunrpc/pmap_rmt.c: Likewise.
24865         * sunrpc/publickey.c: Likewise.
24866         * sunrpc/rpc_cmsg.c: Likewise.
24867         * sunrpc/rpc_common.c: Likewise.
24868         * sunrpc/rpc_dtable.c: Likewise.
24869         * sunrpc/rpc_prot.c: Likewise.
24870         * sunrpc/rpc_thread.c: Likewise.
24871         * sunrpc/rtime.c: Likewise.
24872         * sunrpc/svc.c: Likewise.
24873         * sunrpc/svc_auth.c: Likewise.
24874         * sunrpc/svc_authux.c: Likewise.
24875         * sunrpc/svc_raw.c: Likewise.
24876         * sunrpc/svc_run.c: Likewise.
24877         * sunrpc/svc_simple.c: Likewise.
24878         * sunrpc/svc_tcp.c: Likewise.
24879         * sunrpc/svc_udp.c: Likewise.
24880         * sunrpc/svc_unix.c: Likewise.
24881         * sunrpc/svcauth_des.c: Likewise.
24882         * sunrpc/xcrypt.c: Likewise.
24883         * sunrpc/xdr.c: Likewise.
24884         * sunrpc/xdr_array.c: Likewise.
24885         * sunrpc/xdr_float.c: Likewise.
24886         * sunrpc/xdr_intXX_t.c: Likewise.
24887         * sunrpc/xdr_mem.c: Likewise.
24888         * sunrpc/xdr_rec.c: Likewise.
24889         * sunrpc/xdr_ref.c: Likewise.
24890         * sunrpc/xdr_sizeof.c: Likewise.
24891         * sunrpc/xdr_stdio.c: Likewise.
24893 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
24895         [BZ #12650]
24896         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24897         * sysdeps/ia64/dl-tls.h: Likewise.
24898         * sysdeps/powerpc/dl-tls.h: Likewise.
24899         * sysdeps/s390/dl-tls.h: Likewise.
24900         * sysdeps/sh/dl-tls.h: Likewise.
24901         * sysdeps/sparc/dl-tls.h: Likewise.
24902         * sysdeps/x86_64/dl-tls.h: Likewise.
24903         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24905 2011-03-14  Andreas Schwab  <schwab@redhat.com>
24907         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24908         rpath element also skip the following colon.
24909         (expand_dynamic_string_token): Add is_path parameter and pass
24910         down to DL_DST_REQUIRED and _dl_dst_substitute.
24911         (decompose_rpath): Call expand_dynamic_string_token with
24912         non-zero is_path.  Ignore empty rpaths.
24913         (_dl_map_object_from_fd): Call expand_dynamic_string_token
24914         with zero is_path.
24916 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
24918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24919         Make cancelable.
24921 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
24923         [BZ #12655]
24924         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24925         Patch by Filipe David Manana <fdmanana@apache.org>.
24927 2011-04-07  Andreas Schwab  <schwab@redhat.com>
24929         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24930         Maintain aligned stack.
24931         (CHECK_RSP): Remove unused macro.
24933 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
24935         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24936         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24938 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
24940         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24942         * include/features.h: Mention __USE_XOPEN2K8 in comment.
24944 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
24946         [BZ #12518]
24947         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24948         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24949         * sysdeps/x86_64/memmove.c: New file.
24950         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24951         (memcpy): Renamed to ...
24952         (__new_memcpy): This.
24953         (memcpy): Provide GLIBC_2_14 memcpy.
24954         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24955         (memcpy): Provide GLIBC_2_2_5 memcpy.
24957 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24959         [BZ #12631]
24960         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24962 2011-03-30  Andreas Schwab  <schwab@redhat.com>
24964         * misc/syncfs.c: New file.
24965         * misc/Makefile (routines): Add syncfs.
24966         * posix/unistd.h: Declare syncfs.
24967         * sysdeps/unix/syscalls.list: Add syncfs.
24969 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24971         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24972         open_by_handle_at.
24973         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24974         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24975         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24976         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24977         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24978         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24979         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24981 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24983         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24984         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24985         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24987         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24989         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24991         * io/Makefile: Compile fallocate.c, fallocate64.c, and
24992         sync_file_range.c with -fexceptions.
24993         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24994         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24995         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24996         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24997         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24998         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24999         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25000         sync_file_range as cancellation point
25001         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25002         now a wrapper around __call_sync_file_range with cancellation handling.
25003         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25004         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25005         function name to __call_sync_file_range.
25006         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25007         Add call_sync_file_range.
25009 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25012         bits/timex.h.
25014 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25016         * iconv/iconv.h: Fix typo in comment.
25017         * io/fcntl.h: Likewise.
25018         * libio/stdio.h: Likewise.
25019         * posix/spawn.h: Likewise.
25020         * posix/unistd.h: Likewise.
25021         * stdlib/stdlib.h: Likewise.
25022         * time/time.h: Likewise.
25023         * wcsmbs/wchar.h: Likewise.
25025         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25026         open_by_handle): Add.
25027         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25028         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25029         Augment a few comments.
25030         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25031         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25032         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25033         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25034         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25035         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25036         open_by_handle.
25038         * io/fcntl.h (AT_EMPTY_PATH): Define.
25040 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25042         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25043         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25044         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25045         to...
25046         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25047         * Versions.def: Add GLIBC_2.14.
25048         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25049         Export.
25051 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25053         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25054         round counter.
25055         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25057 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25059         [BZ #12597]
25060         * string/test-strncmp.c (do_page_test): New function.
25061         (check2): Likewise.
25062         (test_main): Call check2.
25063         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25065 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25067         [BZ #12587]
25068         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25069         Handle cache information in CPU leaf 4.
25070         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25072 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25074         [BZ #12583]
25075         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25076         character representation.
25077         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25079 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25081         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25082         END(__isnan) to END(__isnanf) to match function entry point/label
25083         EALIGN(__isnanf,...).
25085 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25087         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25089 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25091         [BZ #12510]
25092         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25093         copy from the symbol referenced in the relocation to initialize the
25094         used variable.
25095         Patch by Piotr Bury <pbury@goahead.com>.
25096         * elf/Makefile: Add rules to build and tst-unique3.
25097         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25098         * elf/tst-unique3.cc: New file.
25099         * elf/tst-unique3.h: New file.
25100         * elf/tst-unique3lib.cc: New file.
25101         * elf/tst-unique3lib2.cc: New file.
25103         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25105 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25107         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25108         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25109         to _start.
25111 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25113         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25114         to-be-loaded object along a path to loader is ld.so.
25116 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25117             Ulrich Drepper  <drepper@gmail.com>
25119         * sysdeps/x86_64/memset.S: After aligning destination, code
25120         branches to different locations depending on the value of
25121         misalignment, when multiarch is enabled. Fix this.
25123 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25125         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25126         Set _x86_64_preferred_memory_instruction for AMD processsors.
25127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25128         Set bit_Prefer_SSE_for_memop for AMD processors.
25130 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25132         * libio/fmemopen.c (fmemopen): Optimize a bit.
25134 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25136         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25138 2011-03-03  Roland McGrath  <roland@redhat.com>
25140         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25142 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25144         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25145         __bzero_ultra1 instead of __memset_ultra1.
25147 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25148             Ulrich Drepper  <drepper@gmail.com>
25150         [BZ #12509]
25151         * include/link.h (struct link_map): Add l_orig_initfini.
25152         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25153         returning unsuccessfully.
25154         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25155         close of a file loaded at startup, restore the original l_initfini
25156         list.
25157         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25158         list, store the pointer.
25159         * elf/Makefile ($(objpfx)noload-mem): New rule.
25160         (noload-ENV): Define.
25161         (tests): Add $(objpfx)noload-mem.
25162         * elf/noload.c: Include <memcheck.h>.
25163         (main): Call mtrace.  Close all opened handles.
25165 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25167         [BZ #12454]
25168         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25169         dependencies are missing.
25171 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25173         Fix __if_freereq crash: Unlike the generic version which uses free,
25174         Hurd needs munmap.
25175         * sysdeps/mach/hurd/ifreq.h: New file.
25177 2011-01-27  Petr Baudis  <pasky@suse.cz>
25178             Ulrich Drepper  <drepper@gmail.com>
25180         [BZ 12445]#
25181         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25182         to extend_alloca().
25183         * stdio-common/bug23.c: New file.
25184         * stdio-common/Makefile (tests): Add bug23.
25186 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25187             Ulrich Drepper  <drepper@gmail.com>
25189         [BZ #12489]
25190         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25191         before performing relro protection.  At old place add assertion
25192         to make sure nothing changed.
25194 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25195             Glauber de Oliveira Costa  <glommer@gmail.com>
25197         * elf/elf.h: Add new ARM TLS relocs.
25199 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25202         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25203         cast from r3.
25204         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25205         'tests' variable.
25206         * sysdeps/wordsize-64/tst-writev.c: New file.
25208 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25210         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25211         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25212         insns in _dl_start to prevent a TOC reference before relocs are
25213         resolved.
25215 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25217         [BZ #12469]
25218         * Makeconfig: Remove RANLIB definition.
25219         * Makerules: Don't use RANLIB.
25220         * aclocal.m4: Remove ranlib test.
25221         * configure.in: No need to check for ranlib.
25222         * elf/rtld-Rules: Don't use RANLIB.
25224 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25226         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25227         protection macro.
25228         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25229         inclusion protection macro.
25231         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25232         SIGRTMIN and SIGRTMAX and print information in that case only when
25233         SIGRTMIN is defined.
25235 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25237         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25238         arginfo fn returning -1.
25240         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25241         and thousands string is zero terminated.
25243 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25245         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25246         sysdeps/unix/sysv/linux/bits/socket.h.
25248 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25250         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25251         (__CPU_COUNT): Remove old macros.
25252         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25253         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25254         (__CPU_ALLOC, __CPU_FREE): Add macros.
25255         (__sched_cpualloc, __sched_cpufree): Add declarations.
25257 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25259         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25260         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25261         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25262         (readdhstai): Return value of addhstaiX call.
25263         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25264         (addgrbyX): Return value returned by cache_addgr.
25265         (readdgrbyname): Return value returned by addgrbyX.
25266         (readdgrbygid): Likewise.
25267         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25268         (addpwbyX): Return value returned by cache_addpw.
25269         (readdpwbyname): Return value returned by addhstbyX.
25270         (readdpwbyuid): Likewise.
25271         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25272         (addservbyX): Return value returned by cache_addserv.
25273         (readdservbyname): Return value returned by addservbyX:
25274         (readdservbyport): Likewise.
25275         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25276         (addhstbyX): Return value returned by cache_addhst.
25277         (readdhstbyname): Return value returned by addhstbyX.
25278         (readdhstbyaddr): Likewise.
25279         (readdhstbynamev6): Likewise.
25280         (readdhstbyaddrv6): Likewise.
25281         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25282         (readdinitgroups): Return value returned by addinitgroupsX.
25283         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25284         (prune_cache): Keep track of timeout value of re-added entries.
25285         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25286         * nscd/nscd.h: Adjust prototypes of readd* functions.
25288 2011-02-04  Roland McGrath  <roland@redhat.com>
25290         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25291         (nis_stats): Likewise.
25292         * nis/nis_modify.c (nis_modify): Likewise.
25293         * nis/nis_remove.c (nis_remove): Likewise.
25294         * nis/nis_add.c (nis_add): Likewise.
25296         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25298         * posix/fnmatch_loop.c: Add some consts.
25300         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25302 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25304         [BZ #12460]
25305         * config.make.in (config-cflags-novzeroupper): Define.
25306         * configure.in: Substitute libc_cv_cc_novzeroupper.
25307         * elf/Makefile (AVX-CFLAGS): Define.
25308         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25309         (CFLAGS-tst-auditmod4a.c): Likewise.
25310         (CFLAGS-tst-auditmod4b.c): Likewise.
25311         (CFLAGS-tst-auditmod6b.c): Likewise.
25312         (CFLAGS-tst-auditmod6c.c): Likewise.
25313         (CFLAGS-tst-auditmod7b.c): Likewise.
25314         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25316 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25318         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25319         function to the callback.
25320         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25322 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25324         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25325         of errno.
25327 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25329         [BZ #11724]
25330         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25331         of constructors.
25332         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25333         of destructors.
25334         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25336         [BZ #11724]
25337         * elf/Makefile: Add rules to build and run new test.
25338         * elf/tst-initorder.c: New file.
25339         * elf/tst-initorder.exp: New file.
25340         * elf/tst-initordera1.c: New file.
25341         * elf/tst-initordera2.c: New file.
25342         * elf/tst-initordera3.c: New file.
25343         * elf/tst-initordera4.c: New file.
25344         * elf/tst-initorderb1.c: New file.
25345         * elf/tst-initorderb2.c: New file.
25346         * elf/tst-order-a1.c: New file.
25347         * elf/tst-order-a2.c: New file.
25348         * elf/tst-order-a3.c: New file.
25349         * elf/tst-order-a4.c: New file.
25350         * elf/tst-order-b1.c: New file.
25351         * elf/tst-order-b2.c: New file.
25352         * elf/tst-order-main.c: New file.
25353         New test case by George Gensure <werkt0@gmail.com>.
25355 2010-10-01  Andreas Schwab  <schwab@redhat.com>
25357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25358         decoding ACE if AI_CANONIDN.
25360 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
25362         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25364 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
25366         * version.h (RELEASE): Bump for 2.13 release.
25367         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25369         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25371         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25372         MADV_NOHUGEPAGE.
25373         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25374         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25375         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25376         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25377         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25378         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25380         * posix/getconf.c: Update copyright year.
25381         * catgets/gencat.c: Likewise.
25382         * csu/version.c: Likewise.
25383         * debug/catchsegv.sh: Likewise.
25384         * debug/xtrace.sh: Likewise.
25385         * elf/ldconfig.c: Likewise.
25386         * elf/ldd.bash.in: Likewise.
25387         * elf/sprof.c (print_version): Likewise.
25388         * iconv/iconv_prog.c: Likewise.
25389         * iconv/iconvconfig.c: Likewise.
25390         * locale/programs/locale.c: Likewise.
25391         * locale/programs/localedef.c: Likewise.
25392         * malloc/memusage.sh: Likewise.
25393         * malloc/mtrace.pl: Likewise.
25394         * nscd/nscd.c (print_version): Likewise.
25395         * nss/getent.c: Likewise.
25397         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25398         PF_CAIF, and PF_ALG.
25399         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25401 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
25403         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25404         (modules-names): Use them.
25405         (ifunc-test-modules, ifunc-pie-tests): Define.
25406         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25407         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25408         (test-extras): Likewise.
25409         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25410         $(compile-command.c).
25411         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25412         (all-built-dso): Define.
25413         (check-textrel.out, check-execstack.out): Depend on it.
25415         * configure.in: Don't override --enable-multi-arch.
25417 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
25419         [BZ #6812]
25420         * nscd/hstcache.c (tryagain): Define.
25421         (cache_addhst): Return tryagain not notfound for temporary errors.
25422         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25423         failed.
25425 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
25427         [BZ #10563]
25428         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25429         to make the syscall.
25430         * sysdeps/unix/sysv/linux/setgroups.c: New file.
25432         [BZ #12378]
25433         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25434         and fall back to matching as normal character if the string ends before
25435         the matching ']' is found.  This is what POSIX requires.
25436         * posix/testfnm.c: Adjust test result.
25437         * posix/globtest.sh: Adjust test result.  Add new test.
25438         * posix/tst-fnmatch.input: Likewise.
25439         * posix/tst-fnmatch2.c: Add new test.
25441 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
25443         * elf/Makefile (check-execstack): Revert last change.  Depend on
25444         check-execstack.h.
25445         (check-execstack.h): New target.
25446         (generated): Add check-execstack.h.
25447         * elf/check-execstack.c: Include "check-execstack.h".
25448         (main): Revert last change.
25449         (handle_file): Return zero if GNU_STACK is absent and
25450         DEFAULT_STACK_PERMS doesn't include PF_X.
25452 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25454         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25455         in child fails because the descriptor is already closed.
25456         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25457         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25458         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25460         [BZ #12397]
25461         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25462         syscall.
25464         [BZ #10484]
25465         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25466         temporary buffer used to handle multi lookups locally.
25467         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25469 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25471         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25472         loader is ld.so.
25474 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
25476         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25477         alignment for SSE2.
25479 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25481         [BZ #12394]
25482         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25483         characters.  When rounding increased number of integer digits recompute
25484         number of groups.
25485         * stdio-common/tst-grouping.c: New file.
25486         * stdio-common/Makefile: Add rules to build and run tst-grouping.
25488 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
25490         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25491         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
25493         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25494         void.
25495         * bits/select.h: Likewise.
25497 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
25499         * po/ja.po: Update from translation team.
25501 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
25503         [BZ #11155]
25504         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25505         implementation just like for lxstat, fxstatat, et al.
25507 2010-12-27  Jim Meyering  <meyering@redhat.com>
25509         [BZ #12348]
25510         * posix/regexec.c (build_trtable): Return failure indication upon
25511         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
25513 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
25515         [BZ #12201]
25516         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25517         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25518         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25519         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25521         [BZ #12207]
25522         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25524         [BZ #12204]
25525         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25526         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25528 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25530         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25531         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25532         script has SORT_BY_INIT_PRIORITY.
25533         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25534         NO_CTORS_DTORS_SECTIONS is defined.
25535         * elf/soinit.c: Likewise.
25536         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25537         NO_CTORS_DTORS_SECTIONS is defined.
25538         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25539         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25540         * sysdeps/sh/init-first.c: Likewise.
25541         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25543 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
25545         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25546         always use the slow path.
25548 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
25550         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25551         similar rule which adds the sysdep directories to the header search in
25552         order to pick up the correct platform stackinfo.h.
25553         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25554         perform test if it is, otherwise return successfully without testing.
25555         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25556         DEFAULT_STACK_PERMS define in stackinfo.h.
25557         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25558         defined in stackinfo.h.
25559         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25560         DEFAULT_STACK_PERMS defined in stackinfo.h.
25561         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25562         * sysdeps/ia64/stackinfo.h: Likewise.
25563         * sysdeps/s390/stackinfo.h: Likewise.
25564         * sysdeps/sh/stackinfo.h: Likewise.
25565         * sysdeps/sparc/stackinfo.h: Likewise.
25566         * sysdeps/x86_64/stackinfo.h: Likewise.
25567         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25568         PF_X for powerpc64.  Retain PF_X for powerpc32.
25570 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
25572         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25573         accurately.
25574         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25575         GETDENTS_64BIT_ALIGNED.
25577 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
25579         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25581 2010-12-10  Andreas Schwab  <schwab@redhat.com>
25583         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25584         _GNU_SOURCE.
25586         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25587         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25588         Remove __restrict.
25589         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25590         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25592 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
25594         [BZ #11655]
25595         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25596         are initialized.
25598 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
25600         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25602 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
25604         * po/it.po: Update from translation team.
25606 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25608         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25609         unused codes.
25611 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
25613         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25615 2010-11-24  Andreas Schwab  <schwab@redhat.com>
25617         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25618         specially.
25619         (gaih_getanswer_slice): Likewise.
25621 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
25623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25625 2010-05-31  Petr Baudis  <pasky@suse.cz>
25627         [BZ #11149]
25628         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25629         silently even in the chroot mode.
25631 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
25633         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25634         last patch a bit.  Pretty printing
25636 2010-05-31  Petr Baudis <pasky@suse.cz>
25638         [BZ #10085]
25639         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25640         initialization of skip_initgroups_dyn.
25642 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
25644         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25645         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25647 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
25649         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25651 2010-11-11  Andreas Schwab  <schwab@redhat.com>
25653         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25654         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25655         (tst-fnmatch-ENV): Set MALLOC_TRACE.
25656         ($(objpfx)tst-fnmatch-mem): New rule.
25657         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25658         * posix/tst-fnmatch.c (main): Call mtrace.
25660 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
25662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25663         Support Intel processor model 6 and model 0x2c.
25665 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
25667         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25668           signed comparison.
25670 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
25672         [BZ #12205]
25673         * string/test-strncasecmp.c (check_result): New function.
25674         (do_one_test): Use it.
25675         (check1): New function.
25676         (test_main): Use it.
25677         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25678         Support strcasecmp and strncasecmp.
25680 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
25682         [BZ #12194]
25683         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25684         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25686 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25688         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25689         IFUNC support.
25690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25691         memset-x86-64.
25692         * sysdeps/x86_64/multiarch/bzero.S: New file.
25693         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25694         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25695         * sysdeps/x86_64/multiarch/memset.S: New file.
25696         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25698         Set bit_Prefer_SSE_for_memop for Intel processors.
25699         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25700         Define.
25701         (index_Prefer_SSE_for_memop): Define.
25702         (HAS_PREFER_SSE_FOR_MEMOP): Define.
25704 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
25706         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25707         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25709 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
25711         [BZ #12191]
25712         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25713         (__x86_64_raw_data_cache_size_half): Likewise.
25714         (__x86_64_raw_shared_cache_size): Likewise.
25715         (__x86_64_raw_shared_cache_size_half): Likewise.
25717         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25718         (__x86_64_raw_data_cache_size_half): Likewise.
25719         (__x86_64_raw_shared_cache_size): Likewise.
25720         (__x86_64_raw_shared_cache_size_half): Likewise.
25721         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25722         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25723         and __x86_64_raw_shared_cache_size_half.  Round
25724         __x86_64_data_cache_size_half, __x86_64_data_cache_size
25725         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25726         to multiple of 256 bytes.
25728 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
25730         [BZ #12167]
25731         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25732         of inacessible symlinks.  Verify result of symlink before returning it.
25733         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25734         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25736 2010-10-28  Erich Ritz  <erichritz@gmail.com>
25738         * math/math.h (isinf): Fix typo in comment.
25740 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
25742         * po/da.po: Update from translation team.
25744 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
25746         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25747         is added to the list.
25749 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25750             Ulrich Drepper  <drepper@gmail.com>
25752         * elf/dl-object.c (_dl_new_object): Don't append the new object to
25753         the global list here.  Move code to...
25754         (_dl_add_to_namespace_list): ...here.  New function.
25755         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25756         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25757         * elf/dl-load.c (lose): Don't remove the element from the list.
25758         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25759         (_dl_map_object): Likewise.
25761 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
25763         [BZ #12159]
25764         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25765         into all bytes of SSE register.
25766         Patch by Richard Li <richardpku@gmail.com>.
25768 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
25770         [BZ #12140]
25771         * malloc/malloc.c (_int_free): Fill correct number of bytes when
25772         perturbing.
25774 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
25776         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25777         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25778         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25779         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25781         submachine.
25782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25784 2010-10-22  Andreas Schwab  <schwab@redhat.com>
25786         * include/dlfcn.h (__RTLD_SECURE): Define.
25787         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
25788         mode & __RTLD_SECURE instead.
25789         (open_path): Rename preloaded parameter to secure.
25790         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25791         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25792         * elf/dl-deps.c (openaux): Likewise.
25793         * elf/rtld.c (struct map_args): Remove is_preloaded.
25794         (map_doit): Don't use it.
25795         (dl_main): Likewise.
25796         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25797         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25799 2010-09-09  Andreas Schwab  <schwab@redhat.com>
25801         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25802         (sysd-rules-targets): Remove duplicates.
25803         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25804         rtld-%.$o dependency.
25806 2010-10-18  Andreas Schwab  <schwab@redhat.com>
25808         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25809         _dl_map_object do it.
25811 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
25813         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25814         fast fma builtins, define the macros in the C99 standard.
25815         (FP_FAST_FMAF): Likewise.
25816         (FP_FAST_FMAL): Likewise.
25817         * sysdeps/x86_64/bits/mathdef.h: Likewise.
25819         * bits/mathdef.h: Update copyright year.
25820         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25822 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
25824         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25825         builtins, define the macros in the C99 standard.
25826         (FP_FAST_FMAF): Likewise.
25827         (FP_FAST_FMAL): Likewise.
25828         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25829         multiply/add.
25830         (FP_FAST_FMAF): Likewise.
25832 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
25834         [BZ #3268]
25835         * math/libm-test.inc (fma_test): Some new testcases.
25836         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25837         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25838         y and infinite z.  Do multiplication by C already in long double.
25839         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25841         y and infinite z.  Do bitwise or of inexact bit into u.d.
25842         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25843         * sysdeps/i386/fpu/s_fmaf.S: Removed.
25844         * sysdeps/i386/fpu/s_fma.S: Removed.
25845         * sysdeps/i386/fpu/s_fmal.S: Removed.
25847 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
25849         [BZ #3268]
25850         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25851         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25852         computation is not scheduled after fetestexcept.  Fix value
25853         of minimum denormal long double.
25855 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
25857         [BZ #3268]
25858         * math/libm-test.inc (fma_test): Add some more tests.
25859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25860         correctly.
25862 2010-10-15  Andreas Schwab  <schwab@redhat.com>
25864         * scripts/data/localplt-s390-linux-gnu.data: New file.
25865         * scripts/data/localplt-s390x-linux-gnu.data: New file.
25867 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
25869         [BZ #3268]
25870         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25871         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25872         instead of dbl-64.
25873         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25874         inlines.
25875         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25877         if one of x and y is very large and the other is subnormal.
25878         * sysdeps/s390/fpu/s_fmaf.c: New file.
25879         * sysdeps/s390/fpu/s_fma.c: New file.
25880         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25881         * sysdeps/powerpc/fpu/s_fma.S: New file.
25882         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25883         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25884         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25886 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
25888         [BZ #3268]
25889         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25890         fma tests.
25891         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25892         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25893         * sysdeps/i386/i686/multiarch/s_fma.c: Include
25894         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25895         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25896         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25897         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25899 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
25901         [BZ #12078]
25902         * posix/regcomp.c (parse_branch): One more memory leak plugged.
25903         * posix/bug-regex31.input: Add test case.
25905 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25907         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25908         * posix/bug-regex31.input: New file.
25910         [BZ #12078]
25911         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25912         (parse_sub_exp): Fix last change, use postorder.
25914         * posix/bug-regex31.c: New file.
25915         * posix/Makefile: Add rules to build and run bug-regex31.
25917         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25919         [BZ #12078]
25920         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25922         [BZ #12108]
25923         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25924         to have entries in sys_siglist.
25926         [BZ #12093]
25927         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25928         be NULL.
25930 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
25932         [BZ #3268]
25933         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25934         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25935         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25936         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25937         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25938         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25939         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25940         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25941         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25942         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25943         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25944         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25945         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25946         * math/ftestexcept.c (fetestexcept): Likewise.
25947         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25948         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25949         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25950         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25951         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25952         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25953         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25955 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25957         [BZ #12107]
25958         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25959         newline.
25961 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
25963         * string/bug-strstr1.c: New file.
25964         * string/Makefile: Add rules to build and run bug-strstr1.
25966 2010-10-05  Eric Blake  <eblake@redhat.com>
25968         [BZ #12092]
25969         * string/str-two-way.h (two_way_long_needle): Always clear memory
25970         when skipping input due to the shift table.
25972 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
25974         [BZ #12005]
25975         * malloc/mcheck.c: Handle large requests.
25977         [BZ #12077]
25978         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25979         for strncmp and strncasecmp.
25980         * string/stratcliff.c: Add tests for strcmp and strncmp.
25981         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25983 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25985         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25986         __set_fpscr.
25988 2010-09-30  Andreas Jaeger  <aj@suse.de>
25990         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25991         (CGROUP_SUPER_MAGIC): Define.
25992         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25993         Handle btrfs and cgroup file systems.
25994         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25995         Likewise.
25997 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
25999         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26000         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26002 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26004         [BZ #12067]
26005         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26006         trying to locate the ELF header.
26008 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26010         [BZ #11611]
26011         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26012         Mask out sign-bit copies when constructing f_fsid.
26014 2010-09-24  Petr Baudis <pasky@suse.cz>
26016         * debug/stack_chk_fail_local.c: Add missing licence exception.
26017         * debug/warning-nop.c: Likewise.
26019 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26021         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26022         implementing getdents64 using getdents syscall, set d_type if
26023         __ASSUME_GETDENTS32_D_TYPE.
26025 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26027         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26028         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26030 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26032         [BZ #12037]
26033         * posix/unistd.h: Undo change of feature selection for ftruncate from
26034         2010-01-11.
26036 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26038         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26039         detection.
26041 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26043         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26044         fanotify_mark.
26045         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26047 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26049         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26050         variables after CHECK_SP call.
26051         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26053 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26054             Ulrich Drepper  <drepper@redhat.com>
26056         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26057         re-relocationg ld.so.
26058         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26059         _dl_init_paths call.
26060         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26061         here anymore.
26063 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26065         * resolv/res_init.c (__res_vinit): Count the default server we added.
26067 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26068             Ulrich Drepper  <drepper@redhat.com>
26070         [BZ #11968]
26071         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26072         (____longjmp_chk): Use %ebx for saving value across system call.
26073         Add unwind info.
26075 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26077         * manual/Makefile: Don't mix pattern rules with normal rules.
26079 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26081         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26082         operation.
26083         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26084         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26085         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26086         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26087         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26088         Likewise.
26090 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26092         [BZ #11979]
26093         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26094         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26096 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26098         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26099         * sysdeps/x86_64/addmul_1.S: Likewise.
26100         * sysdeps/x86_64/lshift.S: Likewise.
26101         * sysdeps/x86_64/mul_1.S: Likewise.
26102         * sysdeps/x86_64/rshift.S: Likewise.
26103         * sysdeps/x86_64/sub_n.S: Likewise.
26104         * sysdeps/x86_64/submul_1.S: Likewise.
26106 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26108         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26109         Define __sched_param instead of SCHED_* and sched_param when
26110         <bits/sched.h> is included with __need_schedparam defined.
26111         * bits/sched.h [__need_schedparam]
26112         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26113         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26114         (__defined_schedparam): Define to 1.
26115         (__sched_param): New structure, identical to sched_param.
26116         (__need_schedparam): Undefine.
26118 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26120         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26121         (epoll_create1): Declare.
26123         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26125 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26127         [BZ #7066]
26128         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26129         shifting retval into place.
26131 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26133         * nis/rpcsvc/nis.h: Update copyright notice.
26134         * nis/rpcsvc/nis.x: Likewise.
26135         * nis/rpcsvc/nis_callback.h: Likewise.
26136         * nis/rpcsvc/nis_callback.x: Likewise.
26137         * nis/rpcsvc/nis_object.x: Likewise.
26138         * nis/rpcsvc/nis_tags.h: Likewise.
26139         * nis/rpcsvc/yp.h: Likewise.
26140         * nis/rpcsvc/yp.x: Likewise.
26141         * nis/rpcsvc/ypupd.h: Likewise.
26142         * nis/yp_xdr.c: Likewise.
26143         * nis/ypupdate_xdr.c: Likewise.
26145         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26146         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26147         (pmap_getport): Use __libc_rpc_getport.
26148         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26149         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26150         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26152 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26155         fanotify_mark.
26157 2010-08-27  Roland McGrath  <roland@redhat.com>
26159         * sysdeps/i386/i686/multiarch/Makefile
26160         (CFLAGS-varshift.c): New variable.
26162 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26164         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26165         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26167         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26169         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26171 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26173         * sysdeps/x86_64/strlen.S: Unroll the loop.
26174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26175         strlen-sse2 strlen-sse2-bsf.
26176         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26177         __strlen_no_bsf if bit_Slow_BSF is set.
26178         (__strlen_sse42): Removed.
26179         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26180         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26182 2010-08-25  Roland McGrath  <roland@redhat.com>
26184         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26185         * sysdeps/x86_64/multiarch/varshift.c: New file.
26186         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26187         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26188         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26189         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26191 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26193         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26194         strlen-sse2 strlen-sse2-bsf.
26195         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26196         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26197         (__strlen_sse2): Removed.
26198         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26199         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26201         bit_Slow_BSF for Atom.
26202         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26203         (index_Slow_BSF): Define.
26204         (HAS_SLOW_BSF): Define.
26206 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26208         [BZ #10851]
26209         * resolv/res_init.c (__res_vinit): When no server address at all
26210         is given default to loopback.
26212 2010-08-24  Roland McGrath  <roland@redhat.com>
26214         * configure.in: Remove config-name.h generation.
26215         * configure: Regenerated.
26216         * config-name.in: File removed.
26217         * scripts/config-uname.sh: New file.
26218         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26219         ($(objdir)config-name.h): New target.
26221         * sunrpc/rpc_parse.h: Avoid nested comment.
26223 2010-08-24  Richard Henderson  <rth@redhat.com>
26224             Ulrich Drepper  <drepper@redhat.com>
26225             H.J. Lu  <hongjiu.lu@intel.com>
26227         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26229         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26230         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26231         _mm_alignr_epi8 with _mm_loadu_si128.
26232         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26233         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26234         (__m128i_shift_right): Removed.
26235         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26236         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26237         * sysdeps/x86_64/multiarch/varshift.h: New file.
26238         * sysdeps/x86_64/multiarch/varshift.S: New file.
26240 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26242         * configure.in: Move assembler checks to before sysdep dir checking.
26244 2010-08-20  Petr Baudis  <pasky@suse.cz>
26246         * LICENSES: Sync the sunrpc license.
26248 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26250         * sunrpc/auth_des.c: Update copyright notice once again.
26251         * sunrpc/auth_none.c: Likewise.
26252         * sunrpc/auth_unix.c: Likewise.
26253         * sunrpc/authdes_prot.c: Likewise.
26254         * sunrpc/authuxprot.c: Likewise.
26255         * sunrpc/bindrsvprt.c: Likewise.
26256         * sunrpc/clnt_gen.c: Likewise.
26257         * sunrpc/clnt_perr.c: Likewise.
26258         * sunrpc/clnt_raw.c: Likewise.
26259         * sunrpc/clnt_simp.c: Likewise.
26260         * sunrpc/clnt_tcp.c: Likewise.
26261         * sunrpc/clnt_udp.c: Likewise.
26262         * sunrpc/clnt_unix.c: Likewise.
26263         * sunrpc/des_crypt.c: Likewise.
26264         * sunrpc/des_soft.c: Likewise.
26265         * sunrpc/get_myaddr.c: Likewise.
26266         * sunrpc/getrpcport.c: Likewise.
26267         * sunrpc/key_call.c: Likewise.
26268         * sunrpc/key_prot.c: Likewise.
26269         * sunrpc/openchild.c: Likewise.
26270         * sunrpc/pm_getmaps.c: Likewise.
26271         * sunrpc/pm_getport.c: Likewise.
26272         * sunrpc/pmap_clnt.c: Likewise.
26273         * sunrpc/pmap_prot.c: Likewise.
26274         * sunrpc/pmap_prot2.c: Likewise.
26275         * sunrpc/pmap_rmt.c: Likewise.
26276         * sunrpc/rpc/auth.h: Likewise.
26277         * sunrpc/rpc/auth_unix.h: Likewise.
26278         * sunrpc/rpc/clnt.h: Likewise.
26279         * sunrpc/rpc/des_crypt.h: Likewise.
26280         * sunrpc/rpc/key_prot.h: Likewise.
26281         * sunrpc/rpc/netdb.h: Likewise.
26282         * sunrpc/rpc/pmap_clnt.h: Likewise.
26283         * sunrpc/rpc/pmap_prot.h: Likewise.
26284         * sunrpc/rpc/pmap_rmt.h: Likewise.
26285         * sunrpc/rpc/rpc.h: Likewise.
26286         * sunrpc/rpc/rpc_des.h: Likewise.
26287         * sunrpc/rpc/rpc_msg.h: Likewise.
26288         * sunrpc/rpc/svc.h: Likewise.
26289         * sunrpc/rpc/svc_auth.h: Likewise.
26290         * sunrpc/rpc/types.h: Likewise.
26291         * sunrpc/rpc/xdr.h: Likewise.
26292         * sunrpc/rpc_clntout.c: Likewise.
26293         * sunrpc/rpc_cmsg.c: Likewise.
26294         * sunrpc/rpc_common.c: Likewise.
26295         * sunrpc/rpc_cout.c: Likewise.
26296         * sunrpc/rpc_dtable.c: Likewise.
26297         * sunrpc/rpc_hout.c: Likewise.
26298         * sunrpc/rpc_main.c: Likewise.
26299         * sunrpc/rpc_parse.c: Likewise.
26300         * sunrpc/rpc_parse.h: Likewise.
26301         * sunrpc/rpc_prot.c: Likewise.
26302         * sunrpc/rpc_sample.c: Likewise.
26303         * sunrpc/rpc_scan.c: Likewise.
26304         * sunrpc/rpc_scan.h: Likewise.
26305         * sunrpc/rpc_svcout.c: Likewise.
26306         * sunrpc/rpc_tblout.c: Likewise.
26307         * sunrpc/rpc_util.c: Likewise.
26308         * sunrpc/rpc_util.h: Likewise.
26309         * sunrpc/rpcinfo.c: Likewise.
26310         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26311         * sunrpc/rpcsvc/key_prot.x: Likewise.
26312         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26313         * sunrpc/rpcsvc/mount.x: Likewise.
26314         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26315         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26316         * sunrpc/rpcsvc/rex.x: Likewise.
26317         * sunrpc/rpcsvc/rstat.x: Likewise.
26318         * sunrpc/rpcsvc/rusers.x: Likewise.
26319         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26320         * sunrpc/rpcsvc/spray.x: Likewise.
26321         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26322         * sunrpc/rtime.c: Likewise.
26323         * sunrpc/svc.c: Likewise.
26324         * sunrpc/svc_auth.c: Likewise.
26325         * sunrpc/svc_authux.c: Likewise.
26326         * sunrpc/svc_raw.c: Likewise.
26327         * sunrpc/svc_run.c: Likewise.
26328         * sunrpc/svc_simple.c: Likewise.
26329         * sunrpc/svc_tcp.c: Likewise.
26330         * sunrpc/svc_udp.c: Likewise.
26331         * sunrpc/svc_unix.c: Likewise.
26332         * sunrpc/svcauth_des.c: Likewise.
26333         * sunrpc/xcrypt.c: Likewise.
26334         * sunrpc/xdr.c: Likewise.
26335         * sunrpc/xdr_array.c: Likewise.
26336         * sunrpc/xdr_float.c: Likewise.
26337         * sunrpc/xdr_mem.c: Likewise.
26338         * sunrpc/xdr_rec.c: Likewise.
26339         * sunrpc/xdr_ref.c: Likewise.
26340         * sunrpc/xdr_sizeof.c: Likewise.
26341         * sunrpc/xdr_stdio.c: Likewise.
26343         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26344         handling.
26346 2010-08-19  Andreas Schwab  <schwab@redhat.com>
26348         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26350 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
26352         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26353         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26354         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26355         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26356         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26357         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26358         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26359         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26360         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26361         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26362         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26363         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26364         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26365         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26367 2010-07-26  Anton Blanchard  <anton@samba.org>
26369         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26370         * malloc/arena.c (heap_trim): Likewise.
26372 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
26374         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26375         here.  Not...
26376         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26377         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26379 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26381         * sysdeps/i386/elf/Makefile: New file.
26383 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26385         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26386         from fanotify_init.
26387         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26388         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26390 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
26392         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26393         of strncasecmp_l.
26394         * sysdeps/multiarch/strcmp.S: Likewise.
26396 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
26398         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26399         strncase_l-nonascii.
26400         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26401         Add strncase_l-ssse3.
26402         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26403         * sysdeps/x86_64/strcmp.S: Likewise.
26404         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26405         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26406         * sysdeps/x86_64/strncase.S: New file.
26407         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26408         * sysdeps/x86_64/strncase_l.S: New file.
26409         * string/Makefile (strop-tests): Add strncasecmp.
26410         * string/test-strncasecmp.c: New file.
26412         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26413         warning.
26415         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26416         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26418 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26420         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26422 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
26424         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26425         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26426         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26428 2010-05-01  Alan Modra  <amodra@gmail.com>
26430         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26431         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26432         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26433         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26434         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26435         tidying.  Don't tail-call __sigjmp_save for static lib.
26436         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26437         save location.
26438         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26439         (CALL_MCOUNT): Add eh info, and nop after bl.
26440         (TAIL_CALL_SYSCALL_ERROR): New macro.
26441         (PSEUDO_RET): Use it.
26442         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26443         Correct save location of integer regs and cr.
26444         (_dl_profile_resolve): Correct cr save location.  Delete nops
26445         after bl when SHARED.  Reduce cfi size a little by better
26446         placement of cfi directives.
26447         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26448         make a stack frame.  Instead use parm save area as a temp.
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26450         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
26451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26452         Don't make a stack frame for parent, use parm save area.
26453         Increase child stack frame to 112 bytes.  Don't save unused reg,
26454         and adjust reg usage.  Set up cfi on error recovery and
26455         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26457         (__makecontext): Add dummy nop after jump to exit.
26458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26459         Use correct parm save area and cr save, reduce stack frame.
26460         Correct cfi for possible PSEUDO_RET frame setup.
26461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26462         Branch to local label emitted by PSEUDO_RET rather than
26463         __syscall_error.
26465 2010-08-12  Andreas Schwab  <schwab@redhat.com>
26467         [BZ #11904]
26468         * locale/programs/locale.c (print_assignment): New function.
26469         (show_locale_vars): Use it.
26471 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
26473         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26474         field.
26475         (struct statfs64): Likewise.
26476         (_STATFS_F_FLAGS): Define.
26477         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26478         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26479         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26480         (ST_VALID): Define locally.
26481         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26482         __statvfs_getflags, use the provided value.
26483         * sysdeps/unix/sysv/linux/kernel-features.h: Define
26484         __ASSUME_STATFS_F_FLAGS.
26486         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26488         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26489         Add sys/fanotify.h.
26490         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26491         fanotify_mask for GLIBC_2.13.
26492         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26493         fanotify_init and fanotify_mark.
26494         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26495         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26497         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26498         Add prlimit.
26499         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26500         prlimit64 for GLIBC_2.13.
26501         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26502         prlimit64.
26503         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26504         syscall.
26505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26506         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26507         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26508         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26509         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
26510         add prlimit alias.
26511         * sysdeps/unix/sysv/linux/prlimit.c: New file.
26513         [BZ #11903]
26514         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26515         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26517         * nss/Makefile: Add rules to build and run tst-nss-test1.
26518         * shlib-versions: Add entry for libnss_test1.
26519         * nss/nss_test1.c: New file.
26520         * nss/tst-nss-test1.c: New file.
26522         * nss/nsswitch.c (__nss_database_custom): Define new variable.
26523         (__nss_configure_lookup): Set appropriate entry in
26524         __nss_configure_lookup to true.
26525         * nss/nsswitch.h: Define enum with indeces of databases in
26526         databases and __nss_database_custom arrays.  Declare
26527         __nss_database_custom.
26528         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26529         to avoid using nscd when custom rules are installed.
26530         * nss/getXXbyYY_r.c: Likewise.
26531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26533         * nss/nss_files/files-parse.c: Whitespace fixes.
26535 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
26537         [BZ #11883]
26538         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26539         * posix/fnmatch_loop.c: Likewise.
26541 2010-07-17  Andi Kleen  <ak@linux.intel.com>
26543         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26544         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26545         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26546         * Versions.def [GLIBC_2.13]: Add.
26548 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
26550         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26551         Also fail if tpwd after pwuid call is NULL.
26553 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26555         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26556         when converting to ms.
26558 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26560         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26561         EOPNOTSUPP errors with ENOTTY.
26562         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26563         EOPNOTSUPP errors with ENOTTY.
26565 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
26567         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26568         Add strcasecmp_l-ssse3.
26569         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26570         strcasecmp.
26571         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26572         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26573         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26575 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
26577         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26579         * string/Makefile (strop-tests): Add strcasecmp.
26580         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26581         strcasecmp_l-nonascii.
26582         (gen-as-const-headers): Add locale-defines.sym.
26583         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26584         * sysdeps/x86_64/strcasecmp.S: New file.
26585         * sysdeps/x86_64/strcasecmp_l.S: New file.
26586         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26587         * sysdeps/x86_64/locale-defines.sym: New file.
26588         * string/test-strcasecmp.c: New file.
26590         * string/test-strcasestr.c: Test both ends of the range of characters.
26591         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26593 2010-07-29  Roland McGrath  <roland@redhat.com>
26595         [BZ #11856]
26596         * manual/locale.texi (Yes-or-No Questions): Fix example code.
26598 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
26600         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26601         for ld.so.
26603 2010-07-27  Andreas Schwab  <schwab@redhat.com>
26605         * manual/memory.texi (Malloc Tunable Parameters): Document
26606         M_PERTURB.
26608 2010-07-26  Roland McGrath  <roland@redhat.com>
26610         [BZ #11840]
26611         * configure.in (-fgnu89-inline check): Set and substitute
26612         gnu89_inline, not libc_cv_gnu89_inline.
26613         * configure: Regenerated.
26614         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26616 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
26618         * string/test-strnlen.c: New file.
26619         * string/Makefile (strop-tests): Add strnlen.
26620         * string/tester.c (test_strnlen): Add a few more test cases.
26621         * string/tst-strlen.c: Better error reporting.
26623         * sysdeps/x86_64/strnlen.S: New file.
26625 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
26627         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26628         lower-latency instructions.
26630 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
26632         * string/test-strcasestr.c: New file.
26633         * string/test-strstr.c: New file.
26634         * string/Makefile (strop-tests): Add strstr and strcasestr.
26635         * string/str-two-way.h: Don't undefine MAX.
26636         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26638 2010-07-21  Andreas Schwab  <schwab@redhat.com>
26640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26641         strcasestr-nonascii.
26642         (CFLAGS-strcasestr-nonascii.c): Define.
26643         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26644         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26645         Remove unused attribute.
26647 2010-07-20  Roland McGrath  <roland@redhat.com>
26649         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26650         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
26651         ld.so.cache was broken.  With it, there is no way to disable dsocaps
26652         like LD_HWCAP_MASK can disable hwcaps.
26654 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26656         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26658 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
26660         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26661         call in strcasestr.
26662         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26663         __strcasestr_sse42_nonascii.
26664         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26665         strcasestr-nonascii.c.
26666         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26668 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
26670         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26671         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26672         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26673         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26675 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
26677         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26678         fcntl.
26680 2010-07-06  Andreas Schwab  <schwab@redhat.com>
26682         [BZ #11577]
26683         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26684         dl_signal_cerror.
26686 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
26688         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26689         _PC_PIPE_BUF using F_GETPIPE_SZ.
26691 2010-07-05  Roland McGrath  <roland@redhat.com>
26693         * manual/arith.texi (Rounding Functions): Fix rint description
26694         implicit in round description.
26696 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
26698         * elf/Makefile: Fix linking for a few tests to make recent linker
26699         happy.
26701 2010-06-30  Andreas Schwab  <schwab@redhat.com>
26703         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26704         $(common-objpfx)libc_nonshared.a.
26706 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
26708         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26709         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26710         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26711         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26712         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26713         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26714         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26715         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26730         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26731         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26732         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26733         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26734         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26735         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26736         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26737         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26738         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26739         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26740         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26741         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26757 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26759         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26760         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
26761         * string/memmove.c (memmove): Renamed to ...
26762         (MEMMOVE): ...this.  Default to memmove.
26763         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26764         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26765         (END_CHK): Define.
26766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26767         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26768         mempcpy-ssse3-back memmove-ssse3-back.
26769         * sysdeps/x86_64/multiarch/bcopy.S: New file .
26770         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26771         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26772         * sysdeps/x86_64/multiarch/memcpy.S: New file.
26773         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26774         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26775         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26776         * sysdeps/x86_64/multiarch/memmove.c: New file.
26777         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26778         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26779         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26780         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26781         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26782         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26783         Define.
26784         (index_Fast_Copy_Backward): Define.
26785         (HAS_ARCH_FEATURE): Define.
26786         (HAS_FAST_REP_STRING): Define.
26787         (HAS_FAST_COPY_BACKWARD): Define.
26789 2010-06-21  Andreas Schwab  <schwab@redhat.com>
26791         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26792         Restore proper fallback handling.
26794 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
26796         [BZ #11701]
26797         * posix/group_member.c (__group_member): Correct checking loop.
26799         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26800         OOM in getpwuid_r correctly.  Return error number when the caller
26801         should return, otherwise -1.
26802         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26803         call returning > 0 value.
26804         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26806 2010-06-07  Andreas Schwab  <schwab@redhat.com>
26808         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26809         libc_nonshared.a from targets in modules-names.
26811 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
26813         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26814         requires it.
26816 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
26818         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26819         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26820         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26821         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26823 2010-06-02  Andreas Schwab  <schwab@redhat.com>
26825         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26827 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
26829         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26830         and F_GETPIPE_SZ.
26831         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26832         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26835         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26836         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26838 2010-06-14  Roland McGrath  <roland@redhat.com>
26840         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26842 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
26844         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26845         __REDIRECT followed by __THROW.
26846         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26847         * posix/getopt.h (getopt): Likewise.
26849 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26851         * hurd/lookup-at.c (__file_name_lookup_at): Accept
26852         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
26853         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26854         in AT_FLAGS.
26855         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26856         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26858 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
26860         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26862 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
26864         [BZ #11640]
26865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26866         Properly check family and model.
26868 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
26870         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26872 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
26874         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26876 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
26878         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26879         symbol reference.
26881 2010-05-19  Andreas Schwab  <schwab@redhat.com>
26883         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26884         symbol reference.
26886 2010-05-21  Andreas Schwab  <schwab@redhat.com>
26888         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26889         and internal_recvmmsg.
26890         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26891         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26892         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26893         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26895         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26896         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26897         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26899 2010-05-20  Andreas Schwab  <schwab@redhat.com>
26901         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26903 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
26905         POWER7 optimizations.
26906         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26907         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26909 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
26911         * version.h: Update for 2.13 development version.
26913 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
26915         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26916         exceptions.  Return 0.
26918 2010-05-07  Roland McGrath  <roland@redhat.com>
26920         * elf/ldconfig.c (main): Add a const.
26922 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
26924         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26925         (args_options): Add no-idn option.
26926         (ahosts_keys_int): Add idn_flags to ai_flags.
26927         (parse_option): Handle 'i' option to clear idn_flags.
26929         * malloc/malloc.c (_int_free): Possible race in the most recently
26930         added check.  Only act on the data if no current modification
26931         happened.
26933 See ChangeLog.17 for earlier changes.