Fix up log entry.
[glibc.git] / ChangeLog
blobdb68e8a5f943707c4dbcbcfdd46527404227f3bc
1 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
3         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4         definining bcopy.
5         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6         Remove Prefer_SSE_for_memop.
7         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9         HAS_PREFER_SSE_FOR_MEMOP.
10         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11         memset-x86-64.
12         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13         Remove bzero, memset ifunc support.
14         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19 2013-03-11  Andreas Schwab  <schwab@suse.de>
21         [BZ #15234]
22         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23         by SHLIB_COMPAT.
24         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25         (GLIBC_2.16): Remove pthread_atfork.
27 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30         (ptestcases.h): Likewise.
32 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34         * Makeconfig ($(common-objpfx)config.status): Depend on
35         sysdeps/*/preconfigure{,.in} too.
37 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
39         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
40         (__free_hook): Use void * instead of __malloc_ptr_t.
41         (__malloc_hook): Likewise.
42         (__realloc_hook): Likewise.
43         (__memalign_hook): Likewise.
44         (__after_morecore_hook): Likewise.
45         * malloc/arena.c (save_malloc_hook): Likewise.
46         (save_free_hook): Likewise.
47         * malloc/hooks.c (malloc_hook_ini): Likewise.
48         (realloc_hook_ini): Likewise.
49         (memalign_hook_ini): Likewise.
50         * malloc/malloc.c (malloc_hook_ini): Likewise.
51         (realloc_hook_ini): Likewise.
52         (memalign_hook_ini): Likewise.
53         (__free_hook): Likewise.
54         (__malloc_hook): Likewise.
55         (__realloc_hook): Likewise.
56         (__memalign_hook): Likewise.
57         (__libc_malloc): Likewise.
58         (__libc_free): Likewise.
59         (__libc_realloc): Likewise.
60         (__libc_memalign): Likewise.
61         (__libc_valloc): Likewise.
62         (__libc_pvalloc): Likewise.
63         (__libc_calloc): Likewise.
64         (__posix_memalign): Likewise.
65         * malloc/morecore.c (__sbrk): Likewise.
66         (__default_morecore): Likewise.
68         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
70         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
71         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
72         __malloc_ptrdiff_t.
74         * malloc/malloc.h (__malloc_size_t): Remove macro.
75         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
76         __malloc_size_t.
77         (old_memalign_hook): Likewise.
78         (old_realloc_hook): Likewise.
79         (struct hdr): Likewise.
80         (flood): Likewise.
81         (mallochook): Likewise.
82         (memalignhook): Likewise.
83         (reallochook): Likewise.
84         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
85         (tr_old_realloc_hook): Likewise.
86         (tr_old_memalign_hook): Likewise.
87         (tr_mallochook): Likewise.
88         (tr_reallochook): Likewise.
89         (tr_memalignhook): Likewise.
91 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
93         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
94         default_ldbl_pack and using as default implementation.
95         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
96         implementation.
97         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
98         redundant definition.
99         (ldbl_insert_mantissa): Likewise.
100         (ldbl_canonicalize): Likewise.
101         (ldbl_nearbyint): Likewise.
102         (ldbl_pack): Rename to ldbl_pack_ppc.
103         (ldbl_unpack): Rename to ldbl_unpack_ppc.
104         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
105         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
107 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
110         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
111         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
112         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
113         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
114         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
115         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
116         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
118 2013-03-07  Andreas Jaeger  <aj@suse.de>
120         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
121         bits/mman-linux.h.
123 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
125         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
126         Include mpa.h and declare __MPEXP.
127         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
128         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
129         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
130         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
131         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
132         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
133         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
135         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
136         (__slowpow): Use long double EXPL and LOGL functions to
137         compute POW.
138         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
139         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
140         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
141         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
142         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
143         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
146         intermediate variable to calculate exponent.
147         (__sqr): Likewise.
148         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
149         Likewise.
150         (__sqr): Likewise.
152         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
153         [!NO__SQR]: Define __sqr.
154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
155         and NO__SQR.  Remove all code except __mul and __sqr.  Include
156         sysdeps/ieee754/dbl-64/mpa.c.
157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
159         [BZ #12723]
160         * posix/Makefile (tests): Add tst-pathconf.
161         * posix/tst-pathconf.c: New test case.
162         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
163         _PC_PIPE_BUF.
164         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
166 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
168         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
170 2013-03-06  Andreas Jaeger  <aj@suse.de>
172         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
173         definition via __MAP_ANONYMOUS.
175         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
176         it's not part of Linux headers.
178         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
179         (MAP_HUGE_MASK): Define.
181         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
182         Define.
183         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
184         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
185         Define.
186         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
187         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
188         Define.
189         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
191         Define.
192         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
194         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
195         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
196         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
197         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
198         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
199         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
201         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
202         Handle f2fs.
204         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
205         Handle f2fs and efivarfs.
207         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
208         f2fs.
210         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
211         (EFIVARFS_MAGIC): Add.
212         (F2FS_LINK_MAX): Add.
214 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
216         * stdio-common/vfprintf.c: Replace __builtin_expect with
217         __glibc_unlikely.
219 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
221         [BZ #13550]
222         * sysdeps/generic/bp-sym.h: Remove file.
223         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
224         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
225         <bp-sym.h> and <bp-asm.h>.
226         (__longjmp): Don't use BP_SYM.
227         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
228         and <bp-asm.h>.
229         (memcpy): Don't use BP_SYM.
230         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
231         <bp-sym.h> and <bp-asm.h>.
232         (memcpy): Don't use BP_SYM.
233         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
234         <bp-asm.h>.
235         (memcpy): Don't use BP_SYM.
236         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
237         <bp-asm.h>.
238         (memset): Don't use BP_SYM.
239         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
240         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
241         (__bzero): Don't use BP_SYM.
242         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
243         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
244         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
245         <bp-sym.h> and <bp-asm.h>.
246         (memcmp): Don't use BP_SYM.  Remove comment about bounded
247         pointers.
248         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
249         <bp-sym.h> and <bp-asm.h>.
250         (memcpy): Don't use BP_SYM.
251         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
252         <bp-sym.h> and <bp-asm.h>.
253         (memset): Don't use BP_SYM.
254         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
255         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
256         (__bzero): Don't use BP_SYM.
257         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
258         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
259         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
260         <bp-sym.h> and <bp-asm.h>.
261         (strncmp): Don't use BP_SYM.  Remove comment about bounded
262         pointers.
263         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
264         <bp-sym.h> and <bp-asm.h>.
265         (memcpy): Don't use BP_SYM.
266         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
267         <bp-sym.h> and <bp-asm.h>.
268         (memset): Don't use BP_SYM.
269         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
270         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
271         (__bzero): Don't use BP_SYM.
272         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
273         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
274         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
275         <bp-sym.h> and <bp-asm.h>.
276         (__memchr): Don't use BP_SYM.
277         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
278         <bp-sym.h> and <bp-asm.h>.
279         (memcmp): Don't use BP_SYM.  Remove comment about bounded
280         pointers.
281         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
282         <bp-sym.h> and <bp-asm.h>.
283         (memcpy): Don't use BP_SYM.
284         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
285         <bp-sym.h> and <bp-asm.h>.
286         (__mempcpy): Don't use BP_SYM.
287         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
288         <bp-sym.h> and <bp-asm.h>.
289         (__memrchr): Don't use BP_SYM.
290         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
291         <bp-sym.h> and <bp-asm.h>.
292         (memset): Don't use BP_SYM.
293         (__bzero): Likewise.
294         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
295         <bp-sym.h> and <bp-asm.h>.
296         (__rawmemchr): Don't use BP_SYM.
297         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
298         <bp-sym.h> and <bp-asm.h>.
299         (__STRCMP): Don't use BP_SYM.
300         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
301         <bp-sym.h> and <bp-asm.h>.
302         (strchr): Don't use BP_SYM.
303         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
304         <bp-sym.h> and <bp-asm.h>.
305         (__strchrnul): Don't use BP_SYM.
306         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
307         <bp-sym.h> and <bp-asm.h>.
308         (strlen): Don't use BP_SYM.
309         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
310         <bp-sym.h> and <bp-asm.h>.
311         (strncmp): Don't use BP_SYM.  Remove comment about bounded
312         pointers.
313         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
314         <bp-sym.h> and <bp-asm.h>.
315         (__strnlen): Don't use BP_SYM.
316         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
317         <bp-sym.h> and <bp-asm.h>.
318         (__GI__setjmp): Don't use BP_SYM.
319         (_setjmp): Likewise.
320         (__sigsetjmp): Likewise.
321         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
322         (L(start_addresses)): Don't use BP_SYM.
323         (_start): Likewise.
324         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
325         <bp-asm.h>.
326         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
327         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
328         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
329         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
330         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
331         <bp-asm.h>.
332         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
333         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
334         about bounded pointers.
335         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
336         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
337         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
338         <bp-asm.h>.
339         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
340         about bounded pointers.  Remove GKM FIXME comments.
341         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
342         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
343         <bp-asm.h>.
344         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
345         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
346         Remove GKM FIXME comments.
347         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
348         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
349         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
350         <bp-asm.h>.
351         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
352         about bounded pointers.  Remove GKM FIXME comment.
353         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
354         and <bp-asm.h>.
355         (strncmp): Don't use BP_SYM.  Remove comment about bounded
356         pointers.
357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
358         <bp-sym.h> and <bp-asm.h>.
359         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
361         <bp-sym.h> and <bp-asm.h>.
362         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
363         comment.
365 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
367         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
368         call free(NULL).
370 2013-03-05  David S. Miller  <davem@davemloft.net>
372         * po/es.po: Update from translation team.
374 2013-03-05  Andreas Jaeger  <aj@suse.de>
376         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
377         <bits/mman-linux.h>.
378         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
379         is fine.
380         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
381         <bits/mman-linux.h> to end of file.
382         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
383         is fine.
384         * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
389         <bits/mman-linux.h> to end of file.
391         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
392         (MCL_CURRENT, MCL_FUTURE): Define here.
394 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
396         [BZ #15232]
397         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
398         attribute_hidden.
399         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
401 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
403         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
404         fourth parameter needed for rt_sigprocmask syscall.
405         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
406         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
407         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
408         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
409         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
410         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
412 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
414         [BZ #13550]
415         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
416         comment about bounded pointers.
417         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
418         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
420 2013-03-04  Andreas Jaeger  <aj@suse.de>
422         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
423         common definitions.
425         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
426         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
427         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
428         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
429         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
430         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
432 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
434         [BZ #15055]
435         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
436         __ieee754_sqrl instead of __sqrl.
438 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
440         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
441         * sysdeps/powerpc/fpu_control.h: ... here.
442         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
443         * sysdeps/powerpc/bits/fenvinline.h: ... here.
444         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
445         * sysdeps/powerpc/bits/mathinline.h: ... here.
447 2013-03-01  Roland McGrath  <roland@hack.frob.com>
449         * elf/dl-hwcaps.c (_dl_important_hwcaps):
450         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
451         to just [NEED_DL_SYSINFO_DSO].
452         * elf/dl-support.c: Likewise.
453         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
454         * elf/rtld.c (dl_main): Likewise.
455         * elf/setup-vdso.h (setup_vdso): Likewise.
456         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
457         * sysdeps/unix/sysv/linux/dl-sysdep.c
458         (_dl_discover_osversion): Likewise.
460 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
462         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
463         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
465 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
467         * NEWS: Mention libm performance improvements and non-x86 PI
468         futex support.
470         * csu/libc-start.c (__pthread_initialize_minimal): Change
471         function arguments.
472         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
474 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
476         [BZ #13550]
477         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
478         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
479         <bp-sym.h> and <bp-asm.h>.
480         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
481         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
482         and <bp-asm.h>.
483         (memcpy): Don't use BP_SYM.
484         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
485         <bp-asm.h>.
486         (__mpn_add_n): Don't use BP_SYM.
487         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
488         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
489         and <bp-asm.h>.
490         (__mpn_addmul_1): Don't use BP_SYM.
491         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
492         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
493         <bp-sym.h>.
494         (_setjmp): Don't use BP_SYM.
495         (__novmx_setjmp): Likewise.
496         (__GI__setjmp): Likewise.
497         (__vmx_setjmp): Likewise.
498         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
499         <bp-sym.h>.
500         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
501         (__bzero): Don't use BP_SYM.
502         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
503         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
504         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
505         <bp-sym.h> and <bp-asm.h>.
506         (memcpy): Don't use BP_SYM.
507         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
508         <bp-sym.h> and <bp-asm.h>.
509         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
510         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
511         <bp-sym.h> and <bp-asm.h>.
512         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
513         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
514         <bp-asm.h>.
515         (__mpn_lshift): Don't use BP_SYM.
516         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
517         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
518         <bp-asm.h>.
519         (memset): Don't use BP_SYM.
520         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
521         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
522         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
523         <bp-asm.h>.
524         (__mpn_mul_1): Don't use BP_SYM.
525         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
526         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
527         <bp-sym.h> and <bp-asm.h>.
528         (memcmp): Don't use BP_SYM.
529         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
530         <bp-sym.h> and <bp-asm.h>.
531         (memcpy): Don't use BP_SYM.
532         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
533         <bp-sym.h> and <bp-asm.h>.
534         (memset): Don't use BP_SYM.
535         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
536         <bp-sym.h> and <bp-asm.h>.
537         (strncmp): Don't use BP_SYM.
538         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
539         <bp-sym.h> and <bp-asm.h>.
540         (memcpy): Don't use BP_SYM.
541         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
542         <bp-sym.h> and <bp-asm.h>.
543         (memset): Don't use BP_SYM.
544         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
545         <bp-sym.h> and <bp-asm.h>.
546         (__memchr): Don't use BP_SYM.
547         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
548         <bp-sym.h> and <bp-asm.h>.
549         (memcmp): Don't use BP_SYM.
550         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
551         <bp-sym.h> and <bp-asm.h>.
552         (memcpy): Don't use BP_SYM.
553         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
554         <bp-sym.h> and <bp-asm.h>.
555         (__mempcpy): Don't use BP_SYM.
556         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
557         <bp-sym.h> and <bp-asm.h>.
558         (__memrchr): Don't use BP_SYM.
559         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
560         <bp-sym.h> and <bp-asm.h>.
561         (memset): Don't use BP_SYM.
562         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
563         <bp-sym.h> and <bp-asm.h>.
564         (__rawmemchr): Don't use BP_SYM.
565         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
566         <bp-sym.h> and <bp-asm.h>.
567         (__STRCMP): Don't use BP_SYM.
568         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
569         <bp-sym.h> and <bp-asm.h>.
570         (strchr): Don't use BP_SYM.
571         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
572         <bp-sym.h> and <bp-asm.h>.
573         (__strchrnul): Don't use BP_SYM.
574         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
575         <bp-sym.h> and <bp-asm.h>.
576         (strlen): Don't use BP_SYM.
577         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
578         <bp-sym.h> and <bp-asm.h>.
579         (strncmp): Don't use BP_SYM.
580         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
581         <bp-sym.h> and <bp-asm.h>.
582         (__strnlen): Don't use BP_SYM.
583         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
584         <bp-asm.h>.
585         (__mpn_rshift): Don't use BP_SYM.
586         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
587         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
588         <bp-sym.h> and <bp-asm.h>.
589         (__sigsetjmp): Don't use BP_SYM.
590         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
591         (L(start_addresses)): Don't use BP_SYM.
592         (_start): Likewise.
593         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
594         <bp-asm.h>.
595         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
596         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
597         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
598         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
599         <bp-asm.h>.
600         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
601         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
602         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
603         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
604         <bp-asm.h>.
605         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
606         comments.
607         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
608         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
609         <bp-asm.h>.
610         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
611         FIXME comments.
612         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
613         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
614         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
615         <bp-asm.h>.
616         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
617         comment.
618         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
619         and <bp-asm.h>.
620         (strncmp): Don't use BP_SYM,
621         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
622         <bp-asm.h>.
623         (__mpn_sub_n): Don't use BP_SYM.
624         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
625         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
626         and <bp-asm.h>.
627         (__mpn_submul_1): Don't use BP_SYM.
628         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
630         <bp-sym.h> and <bp-asm.h>.
631         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
633         <bp-sym.h> and <bp-asm.h>.
634         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
635         comment.
637 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
640         Use ZK to minimize writes to Z.
641         (sub_magnitudes): Simplify code a bit.
642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
643         Use ZK to minimize writes to Z.
644         (sub_magnitudes): Simplify code a bit.
646 2013-02-27  Roland McGrath  <roland@hack.frob.com>
648         * csu/gmon-start.c: Add special exception to license text.
650 2013-02-27  Richard Henderson  <rth@redhat.com>
652         * scripts/config.guess: Update from config.git.
653         * scripts/config.sub: Likewise.
655 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
657         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
659         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
661         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
663         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
665         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
667 2013-02-26  Roland McGrath  <roland@hack.frob.com>
669         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
670         [$(build-shared = yes].
672 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
674         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
675         (__mul): Reduce iterations for calculating mantissa.
677         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
678         MPTWO.
679         (__mpranred): Likewise.
681         [BZ #15160]
682         * malloc/memusagestat.c (main): Draw graphs for heap and stack
683         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
685 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
687         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
688         Define __attribute__.
690 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
692         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
693         unused.
694         * posix/regex_internal.h (__attribute): Remove.
695         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
696         (re_string_context_at): Likewise.
697         (bitset_not): Use __attribute__ and mark function as possibly
698         unused.
699         (bitset_merge): Likewise.
700         (bitset_mask): Likewise.
701         (re_string_char_size_at): Likewise.
702         (re_string_wchar_at): Likewise.
703         (re_string_elem_size_at): Likewise.
705 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
707         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
708         code.
709         (cc32): Likewise.
711         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
712         (__acr): Likewise.
713         (__cpy): Likewise.
714         (norm): Likewise.
715         (denorm): Likewise.
716         (__dbl_mp): Likewise.
717         (add_magnitudes): Likewise.
718         (sub_magnitudes): Likewise.
719         (__mul): Likewise.
720         (__inv): Likewise.
722         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
723         style.
725         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
726         style.
728         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
729         code.
731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
732         up changes with default code.
733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
734         Likewise.
736 2013-02-24  Allan McRae  <allan@archlinux.org>
738         * manual/socket.texi (The Internet Namespace): Order menu items
739         to match that in the file.
741         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
742         node listing of the info page menu.
744 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
746         [BZ #13550]
747         * sysdeps/i386/bp-asm.h: Remove file.
748         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
749         (PARMS): Do not use macros from bp-asm.h.
750         (S1): Likewise.
751         (S2): Likewise.
752         (SIZE): Likewise.
753         (__mpn_add_n): Do not use BP_SYM
754         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
755         "bp-asm.h".
756         (PARMS): Do not use macros from bp-asm.h.
757         (S1): Likewise.
758         (SIZE): Likewise.
759         (__mpn_addmul_1): Do not use BP_SYM
760         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
761         "bp-asm.h".
762         (PARMS): Do not use macros from bp-asm.h.
763         (SIGMSK): Likewise.
764         (_setjmp): Likewise.  Do not use BP_SYM.
765         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
766         "bp-asm.h".
767         (PARMS): Do not use macros from bp-asm.h.
768         (SIGMSK): Likewise.
769         (setjmp): Likewise.  Do not use BP_SYM.
770         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
771         "bp-asm.h".
772         (PARMS): Do not use macros from bp-asm.h.
773         (__frexp): Do not use BP_SYM.
774         (frexp): Likewise.
775         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
776         "bp-asm.h".
777         (PARMS): Do not use macros from bp-asm.h.
778         (__frexpf): Do not use BP_SYM.
779         (frexpf): Likewise.
780         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
781         "bp-asm.h".
782         (PARMS): Do not use macros from bp-asm.h.
783         (__frexpl): Do not use BP_SYM.
784         (frexpl): Likewise.
785         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
786         "bp-asm.h".
787         (PARMS): Do not use macros from bp-asm.h.
788         (__remquo): Do not use BP_SYM.
789         (remquo): Likewise.
790         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
791         "bp-asm.h".
792         (PARMS): Do not use macros from bp-asm.h.
793         (__remquof): Do not use BP_SYM.
794         (remquof): Likewise.
795         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
796         "bp-asm.h".
797         (PARMS): Do not use macros from bp-asm.h.
798         (__remquol): Do not use BP_SYM.
799         (remquol): Likewise.
800         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
801         "bp-asm.h".
802         (PARMS): Do not use macros from bp-asm.h.
803         (DEST): Likewise.
804         (SRC): Likewise.
805         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
806         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
807         "bp-asm.h".
808         (PARMS): Do not use macros from bp-asm.h.
809         (strlen): Do not use BP_SYM.
810         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
811         "bp-asm.h".
812         (PARMS): Do not use macros from bp-asm.h.
813         (S1): Likewise.
814         (S2): Likewise.
815         (SIZE): Likewise.
816         (__mpn_add_n): Do not use BP_SYM.
817         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
818         "bp-asm.h".
819         (PARMS): Do not use macros from bp-asm.h.
820         (S1): Likewise.
821         (SIZE): Likewise.
822         (__mpn_addmul_1): Do not use BP_SYM.
823         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
824         weak_alias.
825         (bzero): Likewise.
826         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
827         "bp-asm.h".
828         (PARMS): Do not use macros from bp-asm.h.
829         (S): Likewise.
830         (SIZE): Likewise.
831         (__mpn_lshift): Do not use BP_SYM.
832         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
833         "bp-asm.h".
834         (PARMS): Do not use macros from bp-asm.h.
835         (DEST): Likewise.
836         (SRC): Likewise.
837         (LEN): Likewise.
838         (memcpy): Likewise.  Do not use BP_SYM.
839         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
840         libc_hidden_def and weak_alias.
841         (mempcpy): Do not use BP_SYM in weak_alias.
842         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
843         "bp-asm.h".
844         (PARMS): Do not use macros from bp-asm.h.
845         (DEST): Likewise.
846         (LEN): Likewise.
847         [!BZERO_P] (CHR): Likewise.
848         (memset): Likewise.  Do not use BP_SYM.
849         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
850         "bp-asm.h".
851         (PARMS): Do not use macros from bp-asm.h.
852         (S1): Likewise.
853         (SIZE): Likewise.
854         (__mpn_mul_1): Do not use BP_SYM.
855         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
856         "bp-asm.h".
857         (PARMS): Do not use macros from bp-asm.h.
858         (S): Likewise.
859         (SIZE): Likewise.
860         (__mpn_rshift): Do not use BP_SYM.
861         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
862         "bp-asm.h".
863         (PARMS): Do not use macros from bp-asm.h.
864         (STR): Likewise.
865         (CHR): Likewise.
866         (strchr): Likewise.  Do not use BP_SYM.
867         (index): Do not use BP_SYM in weak_alias.
868         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
869         "bp-asm.h".
870         (PARMS): Do not use macros from bp-asm.h.
871         (DEST): Likewise.
872         (SRC): Likewise.
873         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
874         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
875         "bp-asm.h".
876         (PARMS): Do not use macros from bp-asm.h.
877         (strlen): Do not use BP_SYM.
878         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
879         "bp-asm.h".
880         (PARMS): Do not use macros from bp-asm.h.
881         (S1): Likewise.
882         (S2): Likewise.
883         (SIZE): Likewise.
884         (__mpn_sub_n): Do not use BP_SYM.
885         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
886         "bp-asm.h".
887         (PARMS): Do not use macros from bp-asm.h.
888         (S1): Likewise.
889         (SIZE): Likewise.
890         (__mpn_submul_1): Do not use BP_SYM.
891         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
892         "bp-asm.h".
893         (PARMS): Do not use macros from bp-asm.h.
894         (S1): Likewise.
895         (S2): Likewise.
896         (SIZE): Likewise.
897         (__mpn_add_n): Do not use BP_SYM.
898         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
899         weak_alias.
900         (bzero): Likewise.
901         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
902         "bp-asm.h".
903         (PARMS): Do not use macros from bp-asm.h.
904         (BLK2): Likewise.
905         (LEN): Likewise.
906         (memcmp): Do not use BP_SYM.
907         (bcmp): Do not use BP_SYM in weak_alias.
908         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
909         "bp-asm.h".
910         (PARMS): Do not use macros from bp-asm.h.
911         (DEST): Likewise.
912         (SRC): Likewise.
913         (LEN): Likewise.
914         (memcpy): Likewise.  Do not use BP_SYM.
915         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
916         "bp-asm.h".
917         (PARMS): Do not use macros from bp-asm.h.
918         (DEST): Likewise.
919         (SRC): Likewise.
920         (LEN): Likewise.
921         (memmove): Likewise.  Do not use BP_SYM.
922         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
923         "bp-asm.h".
924         (PARMS): Do not use macros from bp-asm.h.
925         (DEST): Likewise.
926         (SRC): Likewise.
927         (LEN): Likewise.
928         (__mempcpy): Likewise.  Do not use BP_SYM.
929         (mempcpy): Do not use BP_SYM in weak_alias.
930         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
931         "bp-asm.h".
932         (PARMS): Do not use macros from bp-asm.h.
933         (DEST): Likewise.
934         (LEN): Likewise.
935         [!BZERO_P] (CHR): Likewise.
936         (memset): Likewise.  Do not use BP_SYM.
937         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
938         "bp-asm.h".
939         (PARMS): Do not use macros from bp-asm.h.
940         (STR2): Likewise.
941         (strcmp): Do not use BP_SYM.
942         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
943         "bp-asm.h".
944         (PARMS): Do not use macros from bp-asm.h.
945         (STR): Likewise.
946         (DELIM): Likewise.
947         [USE_AS_STRTOK_R] (SAVE): Likewise.
948         (FUNCTION): Likewise.  Do not use BP_SYM.
949         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
950         aliases.
951         (strtok_r): Likewise.
952         (__GI___strtok_r): Likewise.
953         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
954         (PARMS): Do not use macros from bp-asm.h.
955         (S): Likewise.
956         (SIZE): Likewise.
957         (__mpn_lshift): Do not use BP_SYM.
958         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
959         (PARMS): Do not use macros from bp-asm.h.
960         (STR): Likewise.
961         (CHR): Likewise.
962         (__memchr): Do not use BP_SYM.
963         (memchr): Do not use BP_SYM in weak_alias.
964         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
965         (PARMS): Do not use macros from bp-asm.h.
966         (BLK2): Likewise.
967         (LEN): Likewise.
968         (memcmp): Do not use BP_SYM.
969         (bcmp): Do not use BP_SYM in weak_alias.
970         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
971         (PARMS): Do not use macros from bp-asm.h.
972         (S1): Likewise.
973         (SIZE): Likewise.
974         (__mpn_mul_1): Do not use BP_SYM.
975         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
976         "bp-asm.h".
977         (PARMS): Do not use macros from bp-asm.h.
978         (STR): Likewise.
979         (CHR): Likewise.
980         (__rawmemchr): Do not use BP_SYM.
981         (rawmemchr): Do not use BP_SYM in weak_alias.
982         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
983         (PARMS): Do not use macros from bp-asm.h.
984         (S): Likewise.
985         (SIZE): Likewise.
986         (__mpn_rshift): Do not use BP_SYM.
987         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
988         (PARMS): Do not use macros from bp-asm.h.
989         (SIGMSK): Likewise.
990         (__sigsetjmp): Likewise.  Do not use BP_SYM.
991         * sysdeps/i386/start.S: Do not include "bp-sym.h".
992         (_start): Do not use BP_SYM.
993         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
994         (PARMS): Do not use macros from bp-asm.h.
995         (DEST): Likewise.
996         (SRC): Likewise.
997         (__stpcpy): Likewise.  Do not use BP_SYM.
998         (stpcpy): Do not use BP_SYM in weak_alias.
999         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1000         "bp-asm.h".
1001         (PARMS): Do not use macros from bp-asm.h.
1002         (DEST): Likewise.
1003         (SRC): Likewise.
1004         (LEN): Likewise.
1005         (__stpncpy): Likewise.  Do not use BP_SYM.
1006         (stpncpy): Do not use BP_SYM in weak_alias.
1007         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1008         (PARMS): Do not use macros from bp-asm.h.
1009         (STR): Likewise.
1010         (CHR): Likewise.
1011         (strchr): Likewise.  Do not use BP_SYM.
1012         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1013         "bp-asm.h".
1014         (PARMS): Do not use macros from bp-asm.h.
1015         (STR): Likewise.
1016         (CHR): Likewise.
1017         (__strchrnul): Likewise.  Do not use BP_SYM.
1018         (strchrnul): Do not use BP_SYM in weak_alias.
1019         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1020         "bp-asm.h".
1021         (PARMS): Do not use macros from bp-asm.h.
1022         (STOP): Likewise.
1023         (strcspn): Do not use BP_SYM.
1024         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1025         "bp-asm.h".
1026         (PARMS): Do not use macros from bp-asm.h.
1027         (STR): Likewise.
1028         (STOP): Likewise.
1029         (strpbrk): Likewise.  Do not use BP_SYM.
1030         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1031         "bp-asm.h".
1032         (PARMS): Do not use macros from bp-asm.h.
1033         (STR): Likewise.
1034         (CHR): Likewise.
1035         (strrchr): Likewise.  Do not use BP_SYM.
1036         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1037         (PARMS): Do not use macros from bp-asm.h.
1038         (SKIP): Likewise.
1039         (strspn): Do not use BP_SYM.
1040         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1041         (PARMS): Do not use macros from bp-asm.h.
1042         (STR): Likewise.
1043         (DELIM): Likewise.
1044         (SAVE): Likewise.
1045         (FUNCTION): Likewise.  Do not use BP_SYM.
1046         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1047         aliases.
1048         (strtok_r): Likewise.
1049         (__GI___strtok_r): Likewise.
1050         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1051         (PARMS): Do not use macros from bp-asm.h.
1052         (S1): Likewise.
1053         (S2): Likewise.
1054         (SIZE): Likewise.
1055         (__mpn_sub_n): Do not use BP_SYM.
1056         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1057         "bp-asm.h".
1058         (PARMS): Do not use macros from bp-asm.h.
1059         (S1): Likewise.
1060         (SIZE): Likewise.
1061         (__mpn_submul_1): Do not use BP_SYM.
1062         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1063         <bp-sym.h>.
1064         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1065         and <bp-asm.h>.
1066         (PARMS): Do not use macros from bp-asm.h.
1067         (FLAGS): Likewise.
1068         (PTID): Likewise.
1069         (TLS): Likewise.
1070         (CTID): Likewise.
1071         (__clone): Do not use BP_SYM.
1072         (clone): Do not use BP_SYM in weak_alias.
1073         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1074         and <bp-asm.h>.
1075         (PARMS): Do not use macros from bp-asm.h.
1076         (LEN): Likewise.
1077         (__mmap64): Do not use BP_SYM.
1078         (mmap64): Do not use BP_SYM in weak_alias.
1079         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1080         <bp-sym.h> and <bp-asm.h>.
1081         (PARMS): Do not use macros from bp-asm.h.
1082         (__posix_fadvise64_l64): Do not use BP_SYM.
1083         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1084         (PARMS): Do not use macros from bp-asm.h.
1085         (NSOPS): Likewise.
1086         (semtimedop): Do not use BP_SYM.
1087         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1088         and <bp-asm.h>.
1090 2013-02-21  Allan McRae  <allan@archlinux.org>
1092         * manual/message.texi (Charset conversion in gettext):
1093         Move @end statement to beginning of line.
1095 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1098         static.
1099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1100         Likewise.
1102         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1103         (denorm): Likewise.
1104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1105         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1107 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1109         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1110         tail-call to the resolved function if pltexit isn't needed.
1112 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1115         or Y being zero as being unlikely.
1116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1117         Likewise.
1119 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1121         * manual/nss.texi (System Databases and Name Service Switch):
1122         Remove frobnicate @pxref.
1124 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1126         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1127         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1129 2013-02-20  Petr Machata  <pmachata@redhat.com>
1131         * elf/elf.h (R_ARM_TARGET1): New macro.
1132         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1133         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1134         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1135         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1136         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1137         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1138         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1139         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1140         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1141         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1142         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1143         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1144         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1145         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1146         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1147         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1148         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1149         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1150         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1151         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1152         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1153         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1154         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1155         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1156         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1157         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1158         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1159         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1160         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1161         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1162         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1163         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1164         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1165         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1166         (R_ARM_THM_GOT_BREL12): Likewise.
1167         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1168         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1169         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1170         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1171         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1172         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1173         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1174         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1175         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1177 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1179         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1180         __attribute_used__ to __attribute__ ((unused)).
1182 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1184         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1185         powerpc mpa.c.
1186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1187         comment formatting.
1188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1190 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1192         [BZ #13550]
1193         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1194         Remove macro.
1195         (ENTER): Remove both macro definitions.
1196         (LEAVE): Likewise.
1197         (CHECK_BOUNDS_LOW): Likewise.
1198         (CHECK_BOUNDS_HIGH): Likewise.
1199         (CHECK_BOUNDS_BOTH): Likewise.
1200         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1201         (RETURN_BOUNDED_POINTER): Likewise.
1202         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1203         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1204         (POP_ERRNO_LOCATION_RETURN): Likewise.
1205         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1206         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1207         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1208         macros.
1209         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1210         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1211         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1212         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1213         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1214         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1215         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1216         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1217         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1218         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1219         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1220         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1221         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1222         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1223         removed macros.
1224         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1225         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1226         macros.
1227         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1228         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1229         * sysdeps/i386/i586/memset.S (memset): Likewise.
1230         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1231         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1232         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1233         macros.
1234         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1235         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1236         Change uses of L(2) to L(out).
1237         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1238         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1239         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1240         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1241         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1242         removed macros.
1243         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1244         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1245         macros.
1246         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1247         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1248         (RETURN): Do not use macro LEAVE.
1249         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1250         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1251         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1252         * sysdeps/i386/i686/memset.S (memset): Likewise.
1253         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1254         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1255         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1256         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1257         Likewise.
1258         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1259         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1260         L(1_2) and L(1_3) into L(1).
1261         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1262         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1263         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1264         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1265         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1266         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1267         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1268         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1269         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1270         macros.
1271         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1272         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1273         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1274         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1275         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1276         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1277         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1278         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1279         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1280         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1281         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1282         * sysdeps/i386/strspn.S (strspn): Likewise.
1283         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1284         conditional code.
1285         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1286         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1287         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1288         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1289         L(1_3) into L(1_1).
1290         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1291         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1292         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1293         macros.
1294         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1296 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1298         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1299         macro.
1301 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1303         * math/atest-exp.c (exp_mpn): Remove ROUND.
1304         * math/atest-exp2.c (exp_mpn): Likewise.
1305         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1307         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1308         * stdlib/tst-tls-atexit-lib.c: Likewise.
1309         * stdlib/tst-tls-atexit.c: Likewise.
1311 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1313         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1314         and __attribute_alloc_size__.
1316 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1318         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1319         __attribute_alloc_size__.
1320         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1321         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1323 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1325         * include/programs/xmalloc.h: New file.
1326         * catgets/gencat.c: Include it.
1327         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1328         * elf/pldd.c: Likewise.
1329         * iconv/iconv_charmap.c: Likewise.
1330         * iconv/iconvconfig.c: Likewise.
1331         * iconv/strtab.c: Likewise.
1332         * locale/programs/locale.c: Likewise.
1333         * locale/programs/localedef.h: Likewise.
1334         * locale/programs/simple-hash.c: Likewise.
1335         * nscd/nscd.h: Likewise.
1336         * nss/makedb.c: Likewise.
1337         * sysdeps/generic/ldconfig.h: Likewise.
1339 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1341         * Versions.def: Add GLIBC_2.18.
1342         * include/link.h (struct link_map): New member l_tls_dtor_count.
1343         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1344         (__call_tls_dtors): Likewise.
1345         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1346         __cxa_thread_atexit_impl.
1347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1348         Likewise.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1350         Likewise.
1351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1352         Likewise.
1353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1357         Likewise.
1358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1359         Likewise.
1360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1362         Likewise.
1363         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1364         (tests): Add test case tst-tls-atexit.
1365         (modules-names): Add shared library for tst-tls-atexit.
1366         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1367         (GLIBC_PRIVATE): Add __call_tls_dtors.
1368         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1369         for libstdc++.
1370         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1371         * stdlib/tst-tls-atexit.c: New test case.
1372         * stdlib/tst-tls-atexit-lib.c: New test case.
1374         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1376         * elf/Versions (ld): Add _dl_find_dso_for_object.
1377         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1378         * elf/dl-open.c (_dl_find_dso_for_object): New function.
1379         (dl_open_worker): Use _dl_find_dso_for_object.
1380         * elf/dl-sym.c (do_sym): Likewise.
1381         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1383 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1385         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1386         Syntactic changes only.
1387         (_dl_runtime_profile): Do a tail-call to the resolved function.
1389 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
1391         [BZ #13550]
1392         * sysdeps/x86_64/bp-asm.h: Remove file.
1393         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1394         <bp-sym.h> and <bp-asm.h>.
1395         (__clone): Do not use BP_SYM.
1396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1397         <bp-sym.h> and <bp-asm.h>.
1398         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1399         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1400         "bp-asm.h".
1401         (_setjmp): Do not use BP_SYM.
1402         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1403         "bp-asm.h".
1404         (setjmp): Do not use BP_SYM.
1405         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1406         libc_hidden_def.
1407         (mempcpy): Do not use BP_SYM in weak_alias.
1408         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1409         "bp-asm.h".
1410         (strchr): Do not use BP_SYM.
1411         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1412         "bp-asm.h".
1413         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1414         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1415         (_start): Do not use BP_SYM.
1416         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1417         "bp-asm.h".
1418         (strcat): Do not use BP_SYM.
1419         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1420         "bp-asm.h".
1421         (STRCMP): Do not use BP_SYM.
1422         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1423         "bp-asm.h".
1424         (STRCPY): Do not use BP_SYM.
1425         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1426         "bp-asm.h".
1427         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1428         "bp-asm.h".
1429         (FUNCTION): Do not use BP_SYM.
1430         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1431         weak_alias.
1432         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1434 2013-02-17  Andreas Jaeger  <aj@suse.de>
1436         * time/Versions: Sort entries.
1437         * string/Versions: Likewise.
1438         * resolv/Versions: Likewise.
1439         * posix/Versions: Likewise.
1440         * iconv/Versions: Likewise.
1441         * elf/Versions: Likewise.
1442         * wcsmbs/Versions: Likewise.
1444 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1446         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1447         loop termination condition.
1449         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1450         variable to calculate EZ.
1451         (__sqr): Likewise.
1453         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1454         the lower precision input.
1456 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
1458         [BZ #13550]
1459         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1460         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1461         (run-via-rtld-prefix): Do not handle %-bp tests.
1462         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1463         (all-object-suffixes): Remove .ob.
1464         (bppfx): Remove variable.
1465         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1466         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1467         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1468         [$(build-bounded) = yes] (libtype.ob): Likewise.
1469         * Makerules (elide-routines.ob): Remove variable.
1470         (do-tests-clean): Do not handle *-bp.out.
1471         (common-mostlyclean): Do not handle *-bp and *-bp.out.
1472         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1473         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1474         (tests): Do not include $(tests-bp.out).
1475         (xtests): Do not include $(xtests-bp.out).
1476         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1477         [$(build-bounded) = yes] ($(addprefix
1478         $(objpfx),$(binaries-bounded))): Remove rule.
1479         ($(objpfx)%-bp.out): Remove rule.
1480         * config.make.in (build-bounded): Remove variable.
1481         * crypt/Makefile [$(build-bounded) = yes]
1482         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1483         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1484         append to variable.
1485         [$(build-bounded) = yes] (install-lib): Likewise.
1486         [$(build-bounded) = yes] (generated): Likewise.
1487         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1488         Remove rule.
1489         * intl/Makefile [$(build-bounded) = yes]
1490         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1491         * math/Makefile [$(build-bounded) = yes]
1492         ($(tests:%=$(objpfx)%-bp): Likewise.
1493         * misc/Makefile [$(build-bounded) = yes]
1494         ($(objpfx)tst-tsearch-bp): Likewise.
1495         * nptl/Makeconfig (bounded-thread-library): Remove variable.
1496         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1497         Remove dependency.
1498         * string/Makefile (o-objects.ob): Remove variable.
1499         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1500         (CFLAGS-.ob): Remove variable.
1501         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1502         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1503         both definitions of variable.
1504         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1505         (ASFLAGS-.ob): Remove variable.
1507 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
1509         [BZ #13550]
1510         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1511         Remove __BOUNDED_POINTERS__ from condition.
1512         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1513         * string/bits/string2.h [!__NO_STRING_INLINES &&
1514         !__BOUNDED_POINTERS__]: Likewise.
1515         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1516         Likewise.
1517         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1518         Remove conditional code.
1519         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1520         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1521         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1522         condition.
1524         [BZ #13550]
1525         * csu/libc-start.c: Do not include <bp-sym.h>.
1526         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1527         * elf/dl-open.c: Do not include <bp-sym.h>.
1528         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1529         * math/fegetenv.c: Do not include <bp-sym.h>.
1530         (fegetenv): Do not use BP_SYM in versioned symbols.
1531         * nptl/sysdeps/pthread/bits/libc-lockP.h
1532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1533         <bp-sym.h>.
1534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1535         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1537         (__pthread_mutex_destroy): Likewise.
1538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1539         (__pthread_mutex_lock): Likewise.
1540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1541         (__pthread_mutex_trylock): Likewise.
1542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1543         (__pthread_mutex_unlock): Likewise.
1544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1545         (__pthread_mutexattr_init): Likewise.
1546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1547         (__pthread_mutexattr_destroy): Likewise.
1548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1549         (__pthread_mutexattr_settype): Likewise.
1550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1551         (__pthread_rwlock_init): Likewise.
1552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1553         (__pthread_rwlock_destroy): Likewise.
1554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1555         (__pthread_rwlock_rdlock): Likewise.
1556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1557         (__pthread_rwlock_tryrdlock): Likewise.
1558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1559         (__pthread_rwlock_wrlock): Likewise.
1560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1561         (__pthread_rwlock_trywrlock): Likewise.
1562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1563         (__pthread_rwlock_unlock): Likewise.
1564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1565         (__pthread_key_create): Likewise.
1566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1567         (__pthread_setspecific): Likewise.
1568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1569         (__pthread_getspecific): Likewise.
1570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1571         Likewise.
1572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1573         (_pthread_cleanup_push_defer): Likewise.
1574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1575         (_pthread_cleanup_pop_restore): Likewise.
1576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1577         (pthread_setcancelstate): Likewise.
1578         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1579         <bp-sym.h>.
1580         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1581         (memchr): Do not use BP_SYM in weak_alias.
1582         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1583         (fegetenv): Do not use BP_SYM in versioned symbols.
1584         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1585         (fesetenv): Do not use BP_SYM in versioned symbols.
1586         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1587         (feupdateenv): Do not use BP_SYM in versioned symbols.
1588         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1589         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1590         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1591         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1592         (open64): Do not use BP_SYM in weak_alias.
1593         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1594         (fegetenv): Do not use BP_SYM in versioned symbols.
1595         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1596         (fesetenv): Do not use BP_SYM in versioned symbols.
1597         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1598         (feupdateenv): Do not use BP_SYM in versioned symbols.
1599         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1600         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1601         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1602         (feraiseexcept): Do not use BP_SYM in versioned symbols.
1603         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1604         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1605         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1606         <bp-sym.h>.
1607         (__libc_start_main): Do not use BP_SYM.
1609 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1612         redundant return line.
1613         (norm): Likewise.
1614         (denorm): Likewise.
1615         (dbl_mp): Likewise.
1616         (sub_magnitudes): Likewise.
1617         (__add): Likewise.
1618         (__sub): Likewise.
1619         (__mul): Likewise.
1620         (__inv): Likewise.
1621         (__dvd): Likewise.
1622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1623         (norm): Likewise.
1624         (denorm): Likewise.
1625         (dbl_mp): Likewise.
1626         (sub_magnitudes): Likewise.
1627         (__add): Likewise.
1628         (__sub): Likewise.
1629         (__mul): Likewise.
1630         (__inv): Likewise.
1631         (__dvd): Likewise.
1633         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1634         instead of __mul.
1635         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1636         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1637         (cc32): Likewise.
1639         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1640         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1642         of __mul for squares.
1643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1644         function
1645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1646         Likewise.
1647         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1648         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1650 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
1652         [BZ #13550]
1653         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1654         code.
1655         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1656         prototype or function definition.  Rename ubp_* variables and
1657         parameters.  Remove argv definitions conditional on
1658         [__BOUNDED_POINTERS__].
1659         * debug/backtrace.c (__backtrace): Do not use __unbounded.
1660         * elf/dl-runtime.c (_dl_fixup): Likewise.
1661         * include/set-hooks.h (RUN_HOOK): Likewise.
1662         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1663         definition.
1664         * string/strcpy.c (strcpy): Do not use __unbounded.
1665         * sysdeps/generic/frame.h (struct layout): Likewise.
1666         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1667         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1668         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1669         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1670         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1671         (__backtrace): Likewise.
1672         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1673         use __ptrvalue.
1674         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1675         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1676         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1677         Likewise.
1678         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1679         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1680         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1681         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1682         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1683         Do not use __unbounded.
1684         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1685         Rename __unboundedrlimits parameter to rlimits in prototype.
1686         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1687         Do not use __unbounded.
1688         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1689         not use __ptrvalue.
1690         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1691         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1692         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1693         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1694         __ptrvalue or __unbounded.
1695         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1696         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1697         use __unbounded.
1698         (__new_msgctl): Do not use __ptrvalue.
1699         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1700         __unbounded.
1701         (__libc_msgrcv): Do not use __ptrvalue.
1702         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1703         startup_info): Do not use __unbounded.
1704         (__libc_start_main): Likewise.  Rename ubp_* variables and
1705         parameters.  Remove argv definitions conditional on
1706         [__BOUNDED_POINTERS__].
1707         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1708         __ptrvalue.
1709         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1710         use __unbounded.
1711         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1712         or __ptrvalue.
1713         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1714         use __unbounded.
1715         (__new_shmctl): Do not use __ptrvalue.
1716         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1717         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1718         Likewise.
1719         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1720         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1721         (__libc_sigaction): Likewise.
1722         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1723         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1724         Likewise.
1725         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1727 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
1729         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1731         * string/mempcpy.c: Implement by calling memcpy.
1733 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1737         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1738         evaluation.
1740         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1741         values in the mantissa.
1743         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1744         minimize writes to Z.
1745         (sub_magnitudes): Simplify code a bit.
1747 2013-02-12  Roland McGrath  <roland@hack.frob.com>
1749         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1750         from the message.  The linker prefixes all warnings with that already.
1752 2013-02-12  Andreas Schwab  <schwab@suse.de>
1754         [BZ #15078]
1755         * posix/regexec.c (extend_buffers): Add parameter min_len.
1756         (check_matching): Pass minimum needed length.
1757         (clean_state_log_if_needed): Likewise.
1758         (get_subexp): Likewise.
1759         * posix/Makefile (tests): Add bug-regex34.
1760         (bug-regex34-ENV): Define.
1761         * posix/bug-regex34.c: New file.
1763         [BZ #11561]
1764         * posix/regcomp.c (parse_bracket_exp): When looking up collating
1765         elements compare against the byte sequence of it, not its name.
1766         * posix/Makefile (tests): Add bug-regex35.
1767         (bug-regex35-ENV): Define.
1768         * posix/bug-regex35.c: New file.
1770 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1772         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
1773         comment.
1774         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1775         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1776         (CHECK_EOL): Add undef.
1778 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
1780         * bits/stdlib-bsearch.h: New file.
1781         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1782         * stdlib/stdlib.h: Likewise.
1784 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1786         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1787         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1788         declaration.
1789         * manual/search.texi (Array Search Function): Add missing const in
1790         lfind prototype.
1791         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1792         declaration to use rlim_t.
1793         (Basic Scheduling Functions): Remove erroneous const from
1794         sched_getparam prototype.  Remove erroneous * from
1795         sched_get_priority_max and sched_get_priority_min prototypes.
1796         (Resource Usage): Fix summary @comment on vtimes to refer to
1797         sys/vtimes.h rather than vtimes.h.
1798         Add missing *s in vtimes prototype.
1799         (Limits on Resources): Fix ulimit prototype to return long int.
1800         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1801         prototypes to use long int rather than double.
1802         (BSD Random): Fix initstate and setstate to use char *, not void *.
1803         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1804         prototype to make second argument 'struct aiocb64 *const[]'.
1805         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1806         (Status of AIO Operations): Remove erroneous const in aio_return and
1807         aio_return64 prototypes.
1808         (Synchronizing I/O): Fix sync prototype to return void.
1809         * manual/startup.texi (Suboptions): Remove an erroneous const in
1810         getsubopt prototype.
1811         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1812         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1813         use size_t rather than int.
1814         (Scanning All Users): Likewise for getpwent_r.
1815         (Setting Groups): Add missing const to setgroups prototype.
1816         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1817         * manual/socket.texi (Host Names): Fix gethostbyaddr and
1818         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1819         'const void *' rather than 'const char *'.
1820         (Host Address Functions): Likewise for inet_ntop.
1821         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1822         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1823         ssize_t for return value.
1824         (Sending Data): Likewise for send, sendto, sendmsg.
1825         (Socket Option Functions): Add a missing const in setsockopt prototype.
1826         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1827         use wchar_t for the argument.
1828         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1829         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1830         take no arguments.
1831         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1832         double/float/long double for second argument.
1833         Fix return types of significand, significandf, significandl.
1834         * manual/filesys.texi (Setting Permissions): Use mode_t for second
1835         argument in fchmod prototype.
1836         (File Owner): Use uid_t and gid_t in fchown prototype.
1837         (File Times): Add const to utimes, futimes, and lutimes prototypes.
1838         (Making Special Files): Use mode_t and dev_t in mknod prototype.
1839         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1840         use 'const struct dirent **' as argument types to CMP function pointer
1841         argument.
1842         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1843         (File Times): Fix summary magic @comment for struct utimbuf and utime
1844         to refer to utime.h, not time.h.
1845         * manual/string.texi (Argz Functions): Add missing const in
1846         argz_extract and argz_next prototypes.
1847         (Finding Tokens in a String): Likewise for basename.
1848         (String/Array Comparison): Fix typo in wcscasecmp prototype.
1849         (Copying and Concatenation): Fix typo in wmemmove prototype.
1850         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1851         (Signal Stack): Remove erroneous const in sigstack prototype.
1852         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1853         prototype.
1854         (Simple Calendar Time): Likewise for stime.
1855         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1856         prototype.
1857         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1858         say sys/sysctl.h instead.
1859         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1860         and vsyslog prototypes.
1862 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1864         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1865         Remove.
1867 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1869         * misc/sys/mman.h: Fix typo in mremap comment.
1871 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1873         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1874         the '\0' terminator.
1876 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1878         [BZ #13550]
1879         * debug/segfault.c: Don't include <bp-checks.h>.
1880         * sysdeps/generic/bp-checks.h: Remove file.
1881         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1882         (__GETDENTS): Don't use CHECK_N.
1883         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1884         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1885         (__getgroups): Don't use CHECK_N.
1886         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1887         (setgroups): Don't use CHECK_N.
1888         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1889         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1890         (__libc_msgrcv): Don't use CHECK_N.
1891         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1892         (__libc_msgsnd): Don't use CHECK_N.
1893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1894         <bp-checks.h>.
1895         (__libc_pread): Don't use CHECK_N.
1896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1897         include <bp-checks.h>.
1898         (__libc_pread64): Don't use CHECK_N.
1899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1900         include <bp-checks.h>.
1901         (__libc_pwrite): Don't use CHECK_N.
1902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1903         include <bp-checks.h>.
1904         (__libc_pwrite64): Don't use CHECK_N.
1905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1906         <bp-checks.h>.
1907         (__libc_pread): Don't use CHECK_N.
1908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1909         include <bp-checks.h>.
1910         (__libc_pread64): Don't use CHECK_N.
1911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1912         include <bp-checks.h>.
1913         (__libc_pwrite): Don't use CHECK_N.
1914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1915         include <bp-checks.h>.
1916         (__libc_pwrite64): Don't use CHECK_N.
1917         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1918         (do_pread): Don't use CHECK_N.
1919         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1920         (do_pread64): Don't use CHECK_N.
1921         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1922         (do_pwrite): Don't use CHECK_N.
1923         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1924         (do_pwrite64): Don't use CHECK_N.
1925         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1926         (__libc_readv): Don't use CHECK_N.
1927         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1928         (semop): Don't use CHECK_N.
1929         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1930         <bp-checks.h>.
1931         (semtimedop): Don't use CHECK_N.
1932         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1933         (__libc_pread): Don't use CHECK_N.
1934         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1935         <bp-checks.h>.
1936         (__libc_pread64): Don't use CHECK_N.
1937         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1938         <bp-checks.h>.
1939         (__libc_pwrite): Don't use CHECK_N.
1940         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1941         <bp-checks.h>.
1942         (__libc_pwrite64): Don't use CHECK_N.
1943         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1944         <bp-checks.h>.
1945         (__libc_msgrcv): Don't use CHECK_N.
1946         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1947         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
1948         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1949         (__libc_writev): Don't use CHECK_N.
1951 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1953         * string/strcpy.c: Removed unused variable.
1955         * Makeconfig (+sysdep-includes): Define with := rather than =.
1956         Use an existing include/ subdir of each sysdeps dir before it.
1958 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1960         * nscd/connection.c (register_traced_file): Comment function.
1961         [HAVE_INOTIFY] (union __inev): Define.
1962         [HAVE_INOTIFY] (inotify_check_files): New function.
1963         [HAVE_INOTIFY] (clear_db_cache): Likewise.
1964         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1965         clear_db_cache.
1966         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1968 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1970         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1971         loaded if not already and that a failure is permanent.
1973 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1975         [BZ #15006]
1976         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1977         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1979 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1981         [BZ #13550]
1982         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1983         (CHECK_1_NULL_OK): Likewise.
1984         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1985         (__fxstat): Do not use CHECK_1.
1986         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1987         <bp-checks.h>.
1988         (___fxstat64): Do not use CHECK_1.
1989         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1990         <bp-checks.h>.
1991         (__fxstatat): Do not use CHECK_1.
1992         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1993         <bp-checks.h>.
1994         (__fxstatat64): Do not use CHECK_1.
1995         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1996         <bp-checks.h>.
1997         (__fxstat): Do not use CHECK_1.
1998         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1999         <bp-checks.h>.
2000         (__fxstatat): Do not use CHECK_1.
2001         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2002         <bp-checks.h>.
2003         (__getresgid): Do not use CHECK_1.
2004         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2005         <bp-checks.h>.
2006         (__getresuid): Do not use CHECK_1.
2007         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2008         <bp-checks.h>.
2009         (__lxstat): Do not use CHECK_1.
2010         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2011         <bp-checks.h>.
2012         (__old_msgctl): Do not use CHECK_1.
2013         (__new_msgctl): Likewise.
2014         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2015         <bp-checks.h>.
2016         (__new_setrlimit): Do not use CHECK_1.
2017         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2018         <bp-checks.h>.
2019         (__old_shmctl): Do not use CHECK_1.
2020         (__new_shmctl): Likewise.
2021         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2022         <bp-checks.h>.
2023         (__xstat): Do not use CHECK_1.
2024         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2025         (__lxstat): Do not use CHECK_1.
2026         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2027         <bp-checks.h>.
2028         (___lxstat64): Do not use CHECK_1.
2029         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2030         (__old_msgctl): Do not use CHECK_1.
2031         (__new_msgctl): Likewise.
2032         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2033         <bp-checks.h>.
2034         (__gettimeofday): Do not use CHECK_1.
2035         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2036         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2037         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2038         <bp-checks.h>.
2039         (__gettimeofday): Do not use CHECK_1.
2040         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2041         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2042         (__new_shmctl): Do not use CHECK_1.
2043         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2044         <bp-checks.h>.
2045         (do_sigtimedwait): Do not use CHECK_1.
2046         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2047         <bp-checks.h>.
2048         (do_sigwaitinfo): Do not use CHECK_1.
2049         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2050         <bp-checks.h>.
2051         (msgctl): Do not use CHECK_1.
2052         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2053         <bp-checks.h>.
2054         (shmctl): Do not use CHECK_1.
2055         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2056         (ustat): Do not use CHECK_1.
2057         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2058         <bp-checks.h>.
2059         (__fxstat): Do not use CHECK_1.
2060         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2061         <bp-checks.h>.
2062         (__fxstatat): Do not use CHECK_1.
2063         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2064         <bp-checks.h>.
2065         (__lxstat): Do not use CHECK_1.
2066         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2067         <bp-checks.h>.
2068         (__xstat): Do not use CHECK_1.
2069         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2070         (__xstat): Do not use CHECK_1.
2071         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2072         (___xstat64): Do not use CHECK_1.
2074         [BZ #13550]
2075         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2076         definitions.
2077         (CHECK_BOUNDS_HIGH): Likewise.
2078         * string/strcpy.c: Do not include <bp-checks.h>.
2079         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2081 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2083         * nscd/nscd-client.h (__nscd_drop_map_ref):
2084         Add __attribute__ ((unused)).
2085         * nis/nss-nisplus.h (niserr2nss): Likewise.
2087         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2088         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2090         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2091         Remove inline keyword.
2092         * include/rounding-mode.h (round_away): Likewise.
2093         * libio/wfileops.c (adjust_wide_data): Likewise.
2094         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2095         (__m128i_strloadu_tolower): Likewise.
2096         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2097         (__m128i_strloadu_tolower): Likewise.
2098         * time/mktime.c (ydhms_diff): Likewise.
2099         * locale/elem-hash.h (elem_hash): Likewise.
2100         * locale/setlocale.c (setdata): Likewise.
2101         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2102         (re_string_wchar_at): Likewise.
2103         (bitset_not, bitset_merge, bitset_mask): Likewise.
2104         [!(__GNUC__ > 3)] (inline): Remove macro.
2105         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2106         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2107         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2108         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2109         * string/memcmp.c (memcmp_bytes): Likewise.
2110         * locale/programs/locarchive.c (compute_hashval): Likewise.
2111         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2112         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2113         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2114         * nss/getent.c (print_rpc, print_protocols): Likewise.
2115         (print_passwd, print_group, print_aliases): Likewise.
2116         * nis/nss-nisplus.h (niserr2nss): Likewise.
2117         * nscd/connections.c (restart_p): Likewise.
2118         Change return type to bool.
2120 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2122         * Makeconfig (all-Depend-files): Add existing
2123         $(sorted-subdirs:=/Depend) files.
2124         (all-subdirs): Remove nss.
2125         * sysdeps/unix/inet/Subdirs: Add it here instead.
2126         * hesiod/Depend: New file.
2128         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2129         instead of calling alloca.
2131         * io/lseek.c (__lseek): Rename to __libc_lseek.
2132         Define __lseek as an alias.
2134         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2136 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2138         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2139         else clause and remove check for non-standard endianness.
2141 2013-02-04  David S. Miller  <davem@davemloft.net>
2143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2145 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2147         [BZ #13550]
2148         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2149         (__ubp_memchr): Remove prototype.
2150         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2151         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2152         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2153         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2154         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2155         Remove alias.
2156         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2157         (__ubp_memchr): Likewise.
2158         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2159         (__ubp_memchr): Likewise.
2160         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2161         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2162         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2163         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2164         CHECK_STRING.
2165         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2166         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2167         (__getcwd): Do not use CHECK_STRING.
2168         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2169         <bp-checks.h>.
2170         (__real_chown): Do not use CHECK_STRING.
2171         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2172         <bp-checks.h>.
2173         (fchownat): Do not use CHECK_STRING.
2174         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2175         CHECK_STRING.
2176         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2177         <bp-checks.h>.
2178         (__lchown): Do not use CHECK_STRING.
2179         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2180         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2181         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2182         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2184         include <bp-checks.h>.
2185         (truncate64): Do not use CHECK_STRING.
2186         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2187         <bp-checks.h>.
2188         (__real_chown): Do not use CHECK_STRING.
2189         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2190         <bp-checks.h>.
2191         (__lchown): Do not use CHECK_STRING.
2192         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2193         <bp-checks.h>.
2194         (__chown): Do not use CHECK_STRING.
2195         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2196         <bp-checks.h>.
2197         (truncate64): Do not use CHECK_STRING.
2198         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2199         Likewise.
2200         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2201         (__xmknod): Do not use CHECK_STRING.
2202         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2203         <bp-checks.h>.
2204         (__xmknodat): Do not use CHECK_STRING.
2205         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2206         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2208 2013-02-04  Andreas Schwab  <schwab@suse.de>
2210         [BZ #14142]
2211         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2212         * include/netdb.h: Likewise for h_errno.
2213         * elf/tst-stackguard1.c: Include <tls.h>.
2215 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2217         * elf/link.h (struct link_map): Extend the l_addr comment.
2218         * include/link.h (struct link_map): Likewise.
2220 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2222         [BZ #13550]
2223         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2224         (BOUNDED_1): Remove macro.
2225         * debug/backtrace.c: Don't include <bp-checks.h>.
2226         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2227         (__backtrace): Likewise.
2228         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2229         <bp-checks.h>.
2230         (__backtrace): Don't use BOUNDED_1.
2231         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2232         <bp-checks.h>.
2233         (__backtrace): Don't use BOUNDED_1.
2234         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2235         (__backtrace): Don't use BOUNDED_1.
2236         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2237         (shmat): Don't use BOUNDED_N.
2239 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2241         [BZ #13550]
2242         * sysdeps/generic/bp-start.h: Remove file.
2243         * csu/libc-start.c: Don't include <bp-start.h>.
2244         (LIBC_START_MAIN): Set up __environ directly instead of using
2245         INIT_ARGV_and_ENVIRON.
2246         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2247         <bp-start.h>.
2249         [BZ #13550]
2250         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2251         definitions.
2252         (CHECK_FCNTL): Likewise.
2253         (CHECK_N_PAGES): Likewise.
2255         [BZ #13550]
2256         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2257         definitions.
2258         (CHECK_SIGSET_NULL_OK): Likewise.
2259         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2260         <bp-checks.h>.
2261         (sigpending): Don't use CHECK_SIGSET.
2262         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2263         <bp-checks.h>.
2264         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2265         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2266         <bp-checks.h>.
2267         (do_sigsuspend): Don't use CHECK_SIGSET.
2268         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2269         use CHECK_SIGSET.
2270         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2271         (do_sigwait): Don't use CHECK_SIGSET.
2272         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2273         use CHECK_SIGSET.
2274         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2275         include <bp-checks.h>.
2276         (sigpending): Don't use CHECK_SIGSET.
2277         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2278         include <bp-checks.h>.
2279         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2280         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2281         <bp-checks.h>.
2282         (sigpending): Don't use CHECK_SIGSET.
2283         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2284         <bp-checks.h>.
2285         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2287         [BZ #13550]
2288         * sysdeps/generic/bp-semctl.h: Remove file.
2289         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2290         <bp-checks.h> and <bp-semctl.h>.
2291         (__old_semctl): Don't use CHECK_SEMCTL.
2292         (__new_semctl): Likewise.
2293         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2294         and <bp-semctl.h>.
2295         (__old_semctl): Don't use CHECK_SEMCTL.
2296         (__new_semctl): Likewise.
2297         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2298         <bp-checks.h> and <bp-semctl.h>.
2299         (__old_semctl): Don't use CHECK_SEMCTL.
2300         (__new_semctl): Likewise.
2301         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2302         <bp-checks.h> and <bp-semctl.h>.
2303         (semctl): Don't use CHECK_SEMCTL.
2305         [BZ #13550]
2306         * Makerules (elide-bp-thunks): Remove variable.
2307         (elide-routines.oS): Don't use $(elide-bp-thunks).
2308         (elide-routines.os): Likewise.
2309         (elide-routines.o): Likewise.
2310         (elide-routines.op): Likewise.
2311         (elide-routines.og): Likewise.
2312         (objects): Don't use $(bp-thunks).
2313         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2314         include.
2315         (common-generated): Do not add s-proto-bp.d.
2316         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2317         (int): Likewise.
2318         (typ): Likewise.
2319         Do not generate makefile rules for bounded-pointer thunks.
2320         * sysdeps/generic/bp-thunks.h: Remove file.
2321         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2322         * sysdeps/unix/s-proto-bp.S: Likewise.
2324         [BZ #15062]
2325         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2326         parts of result separately when argument is not close to line from
2327         -i to i and one part of argument is small.
2328         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2329         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2330         * math/libm-test.inc (cacos_test): Add more tests.
2331         (casin_test): Likewise.
2332         (casinh_test): Likewise.
2333         * sysdeps/i386/fpu/libm-test-ulps: Update.
2334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2336 2013-01-31  David S. Miller  <davem@davemloft.net>
2338         * po/de.po: Update from translation team.
2340 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2342         * time/tzfile.c: Include stdint.h for SIZE_MAX.
2344 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
2346         * configure.in (_AC_PROG_CC_C89): New definition.
2347         * configure: Regenerate.
2349         * configure.in (AC_PROG_CPP): New definition.
2350         * configure: Regenerate.
2352 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2354         * debug/tst-backtrace.h: New file.
2355         * debug/tst-backtrace2.c: Include tst-backtrace.h.
2356         (ret): Remove variable.
2357         (x): Likewise.
2358         (FAIL): Remove macro.
2359         (NO_INLINE): Likewise.
2360         (fn1): Use match function instead of strstr.
2361         * debug/tst-backtrace3.c: Include tst-backtrace.h.
2362         (ret): Remove variable.
2363         (x): Likewise.
2364         (FAIL): Remove macro.
2365         (NO_INLINE): Likewise.
2366         (fn): Use match function instead of strstr.
2367         * debug/tst-backtrace4.c: Include tst-backtrace.h.
2368         (ret): Remove variable.
2369         (x): Likewise.
2370         (FAIL): Remove macro.
2371         (NO_INLINE): Likewise.
2372         (handle_signal): Use match function instead of strstr.
2373         * debug/tst-backtrace5.c: Include tst-backtrace.h.
2374         (ret): Remove variable.
2375         (x): Likewise.
2376         (FAIL): Remove macro.
2377         (NO_INLINE): Likewise.
2378         (handle_signal): Use match function instead of strstr.
2380 2013-01-23  Roland McGrath  <roland@hack.frob.com>
2382         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2384 2013-01-23  David S. Miller  <davem@davemloft.net>
2386         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2387         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2388         argument of CAS if possible.
2389         * sysdeps/sparc/sparc64/bits/atomic.h
2390         (__arch_compare_and_exchange_val_32_acq): Likewise.
2391         (__arch_compare_and_exchange_val_64_acq): Likewise.
2393 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
2395         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2396         * sysdeps/posix/ulimit.c: ... this.
2397         Include <limits.h>.
2398         * sysdeps/unix/bsd/ulimit.c: Remove file.
2400 2013-01-23  Adam Conrad  <adconrad@0c3.net>
2402         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2403         (LDFLAGS-tst-array5): Likewise.
2405 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2407         [BZ #15036]
2408         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2409         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2410         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2411         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2413 2013-01-21  David S. Miller  <davem@davemloft.net>
2415         * sysdeps/sparc/backtrace.c: New file.
2416         * sysdeps/sparc/sparc32/backtrace.h: New file.
2417         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2418         * sysdeps/sparc/sparc64/backtrace.h: New file.
2419         * sysdeps/sparc/sparc64/backtrace.c: Delete.
2420         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2421         -funwind-tables.
2423 2013-01-21  Andreas Schwab  <schwab@suse.de>
2425         [BZ #15020]
2426         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2427         closed its stdout.
2429 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
2431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2432         "mpa2.h".
2433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2435 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
2436             Mark Mitchell  <mark@codesourcery.com>
2437             Tom de Vries  <tom@codesourcery.com>
2438             Paul Pluzhnikov  <ppluzhnikov@google.com>
2440         * debug/tst-backtrace2.c: New file.
2441         * debug/tst-backtrace3.c: Likewise.
2442         * debug/tst-backtrace4.c: Likewise.
2443         * debug/tst-backtrace5.c: Likewise.
2444         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2445         (CFLAGS-tst-backtrace3.c): Likewise.
2446         (CFLAGS-tst-backtrace4.c): Likewise.
2447         (CFLAGS-tst-backtrace5.c): Likewise.
2448         (LDFLAGS-tst-backtrace2): Likewise.
2449         (LDFLAGS-tst-backtrace3): Likewise.
2450         (LDFLAGS-tst-backtrace4): Likewise.
2451         (LDFLAGS-tst-backtrace5): Likewise.
2452         (tests): Add new tests tst-backtrace2, tst-backtrace3,
2453         tst-backtrace4 and tst-backtrace5.
2455 2013-01-18  Anton Blanchard  <anton@samba.org>
2456             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2458         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2459         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2460         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2461         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2463         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2464         "+r" and remove output regs list as redundant.  Add explicit inline
2465         asm to specify register of return val to work around compiler codegen
2466         bug.  Remove (int) cast on return value.  Add return type parameter to
2467         use in macro so that this macro does not truncate return value for
2468         64-bit values.
2469         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2470         pass to INTERNAL_VSYSCALL_NCS.
2471         (INLINE_VSYSCALL): Add 'long int' as return type to
2472         INTERNAL_VSYSCALL_NCS macro invocation.
2473         (INTERNAL_VSYSCALL): Add 'long int' as return type to
2474         INTERNAL_VSYSCALL_NCS macro invocation.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2477 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2479         [BZ #14496]
2480         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2481         Fix application of SIMD FP exception mask.
2483         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2484         mp_no from a power of two.
2485         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2486         __mpexp_twomm1.  Use __pow_mp.
2488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2489         multiplication.
2491 2013-01-17  David S. Miller  <davem@davemloft.net>
2493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2495 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2497         [BZ #15023]
2498         * include/complex.h: Condition contents on [!_COMPLEX_H].
2499         (__kernel_casinhf): New prototype.
2500         (__kernel_casinh): Likewise.
2501         (__kernel_casinhl): Likewise.
2502         * math/Makefile (libm_calls): Add k_casinh.
2503         * math/k_casinh.c: New file.
2504         * math/k_casinhf.c: Likewise.
2505         * math/k_casinhl.c: Likewise.
2506         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2507         finite nonzero arguments.
2508         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2509         finite nonzero arguments.
2510         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2511         finite nonzero arguments.
2512         * math/s_casinh.c: Do not include <float.h>.
2513         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2514         * math/s_casinhf.c: Do not include <float.h>.
2515         (__casinhf): Move code for finite nonzero arguments to
2516         k_casinhf.c.
2517         * math/s_casinhl.c: Do not include <float.h>.
2518         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2519         redefine.
2520         (__casinhl): Move code for finite nonzero arguments to
2521         k_casinhl.c.
2522         * math/libm-test.inc (cacos_test): Add more tests.
2523         * sysdeps/i386/fpu/libm-test-ulps: Update.
2524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2526 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
2528         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2529         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2530         [!HAVE_MREMAP]: Remove [defined linux] case.
2531         * malloc/arena.c: Do not include <malloc-sysdep.h>.
2533 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2535         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2537 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
2539         * elf/elf.h (R_386_SIZE32): New relocation.
2540         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2541         R_386_SIZE32.
2542         (elf_machine_rela): Likewise.
2543         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2544         R_X86_64_SIZE64 and R_X86_64_SIZE32.
2546 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2548         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2549         (FP_FAST_FMA): Do not define.
2550         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2551         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2552         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2553         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2554         !_SOFT_FLOAT]: Likewise.
2555         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2556         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2557         value.
2558         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2559         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2560         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2561         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2562         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2563         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2564         file.
2566 2013-01-16  Andreas Schwab  <schwab@suse.de>
2568         [BZ #14327]
2569         * include/stdlib.h (__mktemp): Add declaration.
2570         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2571         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2573 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2575         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2576         definitions.
2577         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2578         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2579         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2580         definitions here.
2581         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2582         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2583         definitions.
2584         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2585         and ONE.
2586         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2587         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2588         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2589         definitions.
2590         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2591         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2592         definitions.
2593         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2595         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2597 2013-01-15  David S. Miller  <davem@davemloft.net>
2599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2600         trunc{,f} to libm-sysdep_routes.
2601         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2603         file.
2604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2606         file.
2607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2608         file.
2609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2611         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2612         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2613         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2614         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2615         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2616         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2619         nearbyint{,f} to libm-sysdep_routes.
2620         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2622         New file.
2623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2624         file.
2625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2626         New file.
2627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2628         file.
2629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2631         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2632         file.
2633         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2634         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2635         file.
2636         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2637         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2638         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2640         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2641         libc_feholdexcept and libc_fesetenv.
2643 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
2645         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2647 2013-01-14  David S. Miller  <davem@davemloft.net>
2649         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2650         (SPARC_ASM_VIS2_IFUNC): Likewise.
2651         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2653         use of 'siam' instruction.
2654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2655         Likewise.
2656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2657         Likewise.
2658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2659         Likewise.
2660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2661         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2665         file.
2666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2667         file.
2668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2669         file.
2670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2671         file.
2672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2674         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2677         new VIS2 routines.
2678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2681         Likewise.
2682         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2683         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2684         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2685         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2687         routines to libm-sysdep_routines.
2688         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2691         fdim/fdimf to libm-sysdep_routines.
2692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2693         file.
2694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2696         file.
2697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2700         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2701         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2702         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2703         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2705 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2707         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2708         to optimize copies.
2710         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2715         local variable MPTWO.
2716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2717         Likewise.
2719 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2721         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2722         GLOB_NOESCAPE.
2724 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2726         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2728 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2730         * manual/pattern.texi (glob_t): Document gl_flags.
2731         (glob64_t): Likewise.
2733 2013-01-11  David S. Miller  <davem@davemloft.net>
2735         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2736         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2737         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
2738         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2739         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2740         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2741         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2742         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2743         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2744         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2745         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2746         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2747         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2749         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2750         sparc V9 rather than using V8 code.
2751         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2752         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2754         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2755         Move to...
2756         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2757         Here.
2759 2013-01-11  Roland McGrath  <roland@hack.frob.com>
2761         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2762         not in the main loop.
2763         * configure: Regenerated.
2765 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
2767         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2768         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2769         to just #else.
2770         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
2771         [!__GLIBC_HAVE_LONG_LONG] case.
2772         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2773         condition to just #else.
2774         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2775         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2776         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2777         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2778         unconditional.
2779         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2780         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2781         #elif condition to just #else.
2782         * sysdeps/unix/sysv/linux/sys/sysmacros.h
2783         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2784         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2785         #elif condition to just #else.
2787 2013-01-11  Steve Ellcey  <sellcey@mips.com>
2789         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2790         (EF_MIPS_ARCH_64): Fix value.
2791         (EF_MIPS_ARCH_32R2): New.
2792         (EF_MIPS_ARCH_64R2): New.
2794 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2796         * Makeconfig (+link-pie-before-libc): New.
2797         (+link-pie-after-libc): Likewise.
2798         (+link-pie-tests): Likewise.
2799         (+link-pie): Rewritten.
2800         (link-before-libc): Remove $(config-LDFLAGS).
2801         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2802         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2803         (config-LDFLAGS): Renamed to ...
2804         (rtld-LDFLAGS): This.
2805         (rtld-tests-LDFLAGS): New macro.
2806         (link-libc-rpath-link): Likewise.
2807         (link-libc-tests-rpath-link): Likewise.
2808         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2809         (link-libc): Prepand $(link-libc-rpath-link).
2810         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2811         (test-program-prefix): New macro.
2812         (test-via-rtld-prefix): Likewise.
2813         (test-program-cmd): Likewise.
2814         (host-test-program-cmd): Likewise.
2815         * Makefile ($(common-objpfx)testrun.sh): Replace
2816         $(run-program-prefix) with $(test-program-prefix).
2817         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2818         $(rtld-LDFLAGS).
2819         ($(common-objpfx)shlib.lds): Likewise.
2820         (build-module-helper): Likewise.
2821         ($(common-objpfx)format.lds): Likewise.
2822         * Rules (binaries-pie-tests): New.
2823         (binaries-pie-notests): Likewise.
2824         (binaries-pie): Rewritten.
2825         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2826         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2827         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2828         (make-test-out): Replace $(host-built-program-cmd) with
2829         $(host-test-program-cmd).
2830         * config.make.in (build-hardcoded-path-in-tests): New variable.
2831         * configure.in (--enable-hardcoded-path-in-tests): New configure
2832         option.
2833         (hardcoded_path_in_tests): New AC_SUBST.
2834         * configure: Regenerated.
2835         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2836         $(built-program-cmd) with $(test-program-cmd).
2837         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2838         (test_program_cmd): This.
2839         * elf/Makefile ($(objpfx)order.out): Run test with
2840         $(test-program-prefix).
2841         ($(objpfx)order2.out): Likewise.
2842         ($(objpfx)tst-initorder.out): Likewise.
2843         ($(objpfx)tst-initorder2.out): Likewise.
2844         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2845         $(test-program-cmd).
2846         ($(objpfx)tst-array1-static.out): Likewise.
2847         ($(objpfx)tst-array2.out): Likewise.
2848         ($(objpfx)tst-array3.out): Likewise.
2849         ($(objpfx)tst-array4.out): Likewise.
2850         ($(objpfx)tst-array5.out): Likewise.
2851         ($(objpfx)tst-array5-static.out): Likewise.
2852         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2853         $(test-program-cmd).
2854         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2855         $(run-program-prefix) with $(test-program-prefix).
2856         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2857         (test_program_prefix): This.
2858         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2859         $(run-program-prefix) with $(test-program-prefix).
2860         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2861         (test_program_prefix): This.
2862         * iconvdata/tst-tables.sh: Likewise.
2863         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2864         $(run-program-prefix) with $(test-program-prefix).
2865         ($(objpfx)tst-translit.out): Likewise.
2866         ($(objpfx)tst-gettext2.out): Likewise.
2867         ($(objpfx)tst-gettext4.out): Likewise.
2868         ($(objpfx)tst-gettext6.out): Likewise.
2869         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2870         (test_program_prefix): This.
2871         * intl/tst-gettext2.sh: Likewise.
2872         * intl/tst-gettext4.sh  Likewise.
2873         * intl/tst-gettext6.sh: Likewise.
2874         * intl/tst-translit.sh: Likewise.
2875         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2876         with $(test-program-cmd).
2877         * libio/Makefile ($(objpfx)test-freopen.out): Replace
2878         $(run-program-prefix) with $(test-program-prefix).
2879         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2880         (test_program_prefix): This.
2881         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2882         $(run-program-prefix) with $(test-program-prefix).
2883         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2884         (test_program_prefix): This.
2885         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2886         * posix/Makefile ($(objpfx)globtest.out): Replace
2887         $(run-via-rtld-prefix) and $(test-wrapper) with
2888         $(test-program-prefix) and $(test-via-rtld-prefix).
2889         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2890         $(test-program-prefix).
2891         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2892         $(host-test-program-cmd).
2893         (tst-spawn-ARGS): Likewise.
2894         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2895         $(test-program-prefix).
2896         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2897         (test_via_rtld_prefix): This.
2898         (test_wrapper): Renamed to ...
2899         (test_program_prefix): This.
2900         (run_program_prefix): Replaced by test_program_prefix.
2901         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2902         (test_program_prefix): This.
2903         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2904         with $(host-test-program-cmd).
2905         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2906         $(run-program-prefix) with $(test-program-prefix).
2907         ($(objpfx)tst-printf.out): Likewise.
2908         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2909         $(test-program-cmd).
2910         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2911         (test_program_prefix): This.
2912         * stdio-common/tst-unbputc.sh: Likewise.
2913         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2914         $(run-program-prefix) with $(test-program-prefix).
2915         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2916         (test_program_prefix): This.
2917         * string/Makefile ($(objpfx)tst-svc.out):  Replace
2918         $(built-program-cmd) with $(test-program-cmd).
2920 2013-01-11  Andreas Jaeger  <aj@suse.de>
2922         [BZ #15003]
2923         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2924         value. Sync with Linux 3.7.
2926 2013-01-10  David S. Miller  <davem@davemloft.net>
2928         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2929         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2930         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2932 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2934         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2935         never set.
2936         * configure: Regenerated.
2938 2013-01-10  David S. Miller  <davem@davemloft.net>
2940         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2941         sparc V9 rather than using V8 code.
2942         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2943         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2945 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2947         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2948         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2949         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2950         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2951         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2952         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2953         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2954         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2955         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2956         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2957         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2958         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2959         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2960         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2961         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2962         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2963         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2964         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2965         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2966         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2967         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2968         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2969         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2970         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2971         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2972         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2973         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2975 2013-01-10  David S. Miller  <davem@davemloft.net>
2977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2979 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2981         * posix/Makefile (tests-static): New variable.
2982         (tests): Add $(tests-static).
2983         (tst-exec-static-ARGS): New variable.
2984         (tst-spawn-static-ARGS): Likewise.
2985         * posix/tst-exec-static.c: New file.
2986         * posix/tst-spawn-static.c: Likewise.
2987         * posix/tst-exec.c: Support run directly.
2988         * posix/tst-spawn.c: Likewise.
2990 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
2992         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2993         long.
2994         * math/bits/mathcalls.h (llrint): Likewise.
2995         (llround): Likewise.
2996         * stdlib/stdlib.h (struct drand48_data): Likewise.
2997         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2998         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2999         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3000         Likewise.
3001         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3002         Likewise.
3003         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3004         (elf_greg_t): Likewise.
3005         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3006         (__jmp_buf): Likewise.
3007         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3008         definitions.
3009         (llrint): Likewise, for all definitions.
3010         (llrintl): Likewise.
3012         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3013         Remove [__GNUC__] condition.
3014         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3015         condition to just [__USE_ISOC99].
3016         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3018 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3020         [BZ #14200]
3021         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3022         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3023         defined.
3024         (_POSIX_V6_ILP32_OFF32): Likewise.
3025         (_XBS5_ILP32_OFF32): Likewise.
3026         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3027         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3029 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3031         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3034         doubles __mpexp_twomm1.  Adjust usage.
3035         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3036         Remove.
3038 2013-01-10  Andreas Schwab  <schwab@suse.de>
3040         [BZ #14964]
3041         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3042         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3044 2013-01-09  David S. Miller  <davem@davemloft.net>
3046         [BZ #15003]
3047         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3048         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3049         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3050         TCP_FASTOPEN): Define.
3051         (tcp_repair_opt): New structure.
3052         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3053         enum values.
3054         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3055         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3056         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3057         (tcp_cookie_transactions): New structure.
3059 2013-01-09  Anton Blanchard  <anton@samba.org>
3061         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3062         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3063         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3064         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3066 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3068         * include/features.h (__USE_ANSI): Remove.
3070 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3072         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3074         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3076 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3078         * sysdeps/s390/fpu/libm-test-ulps: Update.
3080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3082         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3083         (__acr): Likewise.
3084         (__cpy): Likewise.
3085         (norm): Likewise.
3086         (denorm): Likewise.
3087         (__mp_dbl): Likewise.
3088         (__dbl_mp): Likewise.
3089         (add_magnitudes): Likewise.
3090         (sub_magnitudes): Likewise.
3091         (__add): Likewise.
3092         (__sub): Likewise.
3093         (__mul): Likewise.
3094         (__inv): Likewise.
3095         (__dvd): Likewise.
3096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3097         (__acr): Likewise.
3098         (__cpy): Likewise.
3099         (norm): Likewise.
3100         (denorm): Likewise.
3101         (__mp_dbl): Likewise.
3102         (__dbl_mp): Likewise.
3103         (add_magnitudes): Likewise.
3104         (sub_magnitudes): Likewise.
3105         (__add): Likewise.
3106         (__sub): Likewise.
3107         (__mul): Likewise.
3108         (__inv): Likewise.
3109         (__dvd): Likewise.
3110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3111         (__acr): Likewise.
3112         (__cpy): Likewise.
3113         (norm): Likewise.
3114         (denorm): Likewise.
3115         (__mp_dbl): Likewise.
3116         (__dbl_mp): Likewise.
3117         (add_magnitudes): Likewise.
3118         (sub_magnitudes): Likewise.
3119         (__add): Likewise.
3120         (__sub): Likewise.
3121         (__mul): Likewise.
3122         (__inv): Likewise.
3123         (__dvd): Likewise.
3125 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3127         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3128         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3129         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3130         2 && __USE_EXTERN_INLINES]: Likewise.
3132 2013-01-08  Andreas Jaeger  <aj@suse.de>
3134         [BZ# 14985]
3135         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3136         Remove.
3137         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3138         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3140 2013-01-07  Anton Blanchard  <anton@samba.org>
3142         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3143         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3144         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3145         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3146         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3147         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3148         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3149         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3151         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3152         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3153         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3154         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3155         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3156         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3157         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3158         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3159         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3160         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3161         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3162         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3163         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3164         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3165         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3166         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3167         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3168         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3169         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3170         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3171         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3172         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3174         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3175         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3176         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3177         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3178         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3179         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3180         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3181         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3182         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3183         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3184         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3186 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3188         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3189         (__MALLOC_PMT): Likewise.
3190         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3191         [__GNUC__], only on [_LIBC].
3192         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3193         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3194         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3195         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3196         forward declaration.
3197         (realloc_hook_ini): Likewise.
3198         (memalign_hook_ini): Likewise.
3199         (__libc_memalign): Do not use __MALLOC_PMT in variable
3200         declaration.
3201         (__libc_valloc): Likewise.
3202         (__libc_pvalloc): Likewise.
3203         (__libc_calloc): Likewise.
3204         (__posix_memalign): Likewise.
3206         [BZ #14996]
3207         * math/s_casinh.c: Include <float.h>.
3208         (__casinh): Do not do computation with squaring and square root
3209         for large arguments.
3210         * math/s_casinhf.c: Include <float.h>.
3211         (__casinhf): Do not do computation with squaring and square root
3212         for large arguments.
3213         * math/s_casinhl.c: Include <float.h>.
3214         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3215         (__casinhl): Do not do computation with squaring and square root
3216         for large arguments.
3217         * math/libm-test.inc (casin_test): Add more tests.
3218         (casinh_test): Likewise.
3219         * sysdeps/i386/fpu/libm-test-ulps: Update.
3220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3222 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3224         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3225         (__x86_64_raw_data_cache_size): Likewise.
3226         (__x86_64_data_cache_size_half): Likewise.
3227         (__x86_64_raw_data_cache_size_half): Likewise.
3228         (__x86_64_shared_cache_size): Likewise.
3229         (__x86_64_raw_shared_cache_size): Likewise.
3230         (__x86_64_shared_cache_size_half): Likewise.
3231         (__x86_64_raw_shared_cache_size_half): Likewise.
3232         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3233         to ...
3234         (__x86_data_cache_size): This.
3235         (__x86_64_raw_data_cache_size): Renamed to ...
3236         (__x86_raw_data_cache_size): This.
3237         (__x86_64_data_cache_size_half): Renamed to ...
3238         (__x86_data_cache_size_half): This.
3239         (__x86_64_raw_data_cache_size_half): Renamed to ...
3240         (__x86_raw_data_cache_size_half): This.
3241         (__x86_64_shared_cache_size): Renamed to ...
3242         (__x86_shared_cache_size): This.
3243         (__x86_64_raw_shared_cache_size): Renamed to ...
3244         (__x86_raw_shared_cache_size): This.
3245         (__x86_64_shared_cache_size_half): Renamed to ...
3246         (__x86_shared_cache_size_half): This.
3247         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3248         (__x86_raw_shared_cache_size_half): This.
3249         * sysdeps/x86_64/memcpy.S: Updated.
3250         * sysdeps/x86_64/memset.S: Likewise.
3251         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3252         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3253         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3255 2013-01-04  David S. Miller  <davem@davemloft.net>
3257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3259 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3261         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3262         1 to avoid redefinition warning.
3263         (__USE_GNU): Don't define.
3264         (init_signaling_nan): Protoize.
3266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3268 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3270         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3272         (__cpymn): Likewise.
3273         (norm): Remove commented code.
3274         (denorm): Likewise.
3275         (__mp_dbl): Likewise.
3276         (__inv): Likewise.
3277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3278         (__cpymn): Likewise.
3279         (norm): Remove commented code.
3280         (denorm): Likewise.
3281         (__mp_dbl): Likewise.
3282         (__inv): Likewise.
3284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3285         mp_no value for 1.0 and 2.0.
3286         (norm): Use RADIXI instead of radixi.d.
3287         (denorm): Likewise.
3288         (__mul): Use 0.0 instead of zero.d.
3289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3290         mp_no value for 1.0 and 2.0.
3291         (norm): Use RADIXI instead of radixi.d.
3292         (denorm): Likewise.
3293         (__mul): Use 0.0 instead of zero.d.
3295 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3297         [BZ #14994]
3298         * math/s_casinh.c (__casinh): Reduce finite argument to first
3299         quadrant then set signs of results at the end.
3300         * math/s_casinhf.c (__casinhf): Likewise.
3301         * math/s_casinhl.c (__casinhl): Likewise.
3302         * math/libm-test.inc (casin_test): Add more tests.
3303         (casinh_test): Likewise.
3304         * sysdeps/i386/fpu/libm-test-ulps: Update.
3305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3307 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3309         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3311         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3313         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3314         declarations.
3315         (denorm): Likewise.
3316         (__mp_dbl): Likewise.
3317         (__inv): Likewise.
3319         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3320         and adjust the header comment.
3322         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3323         variable name from declaration.
3325 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3328         Initialize COMMON_CPUID_INDEX_7 element.
3329         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3330         (CPUID_RTM): Likewise.
3331         (HAS_RTM): Likewise.
3332         (COMMON_CPUID_INDEX_7): New enum.
3334 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
3336         [BZ #14981]
3337         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3338         size is zero, record memory as freed.
3340 2013-01-03  Andreas Jaeger  <aj@suse.de>
3342         * po/ia.po: Add new Interlingua translation.
3344 2012-01-03  Allan McRae  <allan@archlinux.org>
3346         * locale/programs/localedef.c: Fix description of '--posix' flag.
3348 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
3350         * NEWS: Update dates in second copyright notice.
3351         * README: Update copyright dates in example.
3352         * manual/libc.texinfo: Update copyright dates.
3353         * scripts/test-installation.pl: Update copyright date in --version
3354         output.
3356         * hurd/ctty-input.c: Fix copyright notice formatting.
3357         * hurd/ctty-output.c: Likewise.
3358         * hurd/dtable.c: Likewise.
3359         * hurd/hurd-raise.c: Likewise.
3360         * hurd/hurdprio.c: Likewise.
3361         * hurd/msgportdemux.c: Likewise.
3362         * misc/sys/file.h: Likewise.
3363         * misc/sys/ioctl.h: Likewise.
3364         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3365         * sysdeps/mach/hurd/chdir.c: Likewise.
3366         * sysdeps/mach/hurd/fchdir.c: Likewise.
3367         * sysdeps/mach/hurd/rename.c: Likewise.
3368         * sysdeps/mach/hurd/rmdir.c: Likewise.
3369         * sysdeps/mach/hurd/seekdir.c: Likewise.
3370         * sysdeps/mach/hurd/setsid.c: Likewise.
3371         * sysdeps/posix/wait3.c: Likewise.
3373         * All files with FSF copyright notices: Update copyright dates
3374         using scripts/update-copyrights.
3375         * intl/plural.c: Regenerated.
3376         * locale/programs/charmap-kw.h: Likewise.
3377         * locale/programs/locfile-kw.h: Likewise.
3379 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3381         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3382         four values.
3384         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3385         calculation loop and add branch prediction.
3387         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3388         check access beyond bounds of m1np.
3390         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3391         MPTWO.
3392         (__inv): Remove local variable MPTWO to use the global
3393         constant.
3394         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3395         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3396         variable MPTWO.
3397         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3398         MP3HALFS static const.
3400 2013-01-01  David S. Miller  <davem@davemloft.net>
3402         * po/ca.po: Update from translation team.
3404 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
3406         * scripts/update-copyrights: New file.
3407         * Makeconfig: Reformat copyright notice.
3408         * ctype/ctype.h: Likewise.
3409         * debug/swprintf_chk.c: Likewise.
3410         * elf/dl-cache.c: Likewise.
3411         * elf/dl-debug.c: Likewise.
3412         * elf/dl-object.c: Likewise.
3413         * grp/initgroups.c: Likewise.
3414         * hurd/Makefile: Likewise.
3415         * hurd/hurd/signal.h: Likewise.
3416         * hurd/hurdfault.c: Likewise.
3417         * hurd/hurdioctl.c: Likewise.
3418         * hurd/hurdlookup.c: Likewise.
3419         * hurd/intr-msg.c: Likewise.
3420         * iconv/gconv_open.c: Likewise.
3421         * libio/swprintf.c: Likewise.
3422         * locale/lc-ctype.c: Likewise.
3423         * locale/nl_langinfo.c: Likewise.
3424         * mach/Machrules: Likewise.
3425         * mach/Makefile: Likewise.
3426         * malloc/obstack.h: Likewise.
3427         * manual/Makefile: Likewise.
3428         * manual/tsort.awk: Likewise.
3429         * misc/bits/stab.def: Likewise.
3430         * nis/nis_print_group_entry.c: Likewise.
3431         * nis/nis_table.c: Likewise.
3432         * nis/nss_compat/compat-pwd.c: Likewise.
3433         * nis/nss_compat/compat-spwd.c: Likewise.
3434         * po/Makefile: Likewise.
3435         * posix/fnmatch.c: Likewise.
3436         * posix/regex.h: Likewise.
3437         * resolv/Makefile: Likewise.
3438         * resolv/nss_dns/dns-network.c: Likewise.
3439         * resolv/res_hconf.c: Likewise.
3440         * scripts/gen-sorted.awk: Likewise.
3441         * soft-fp/soft-fp.h: Likewise.
3442         * stdio-common/printf.h: Likewise.
3443         * stdlib/monetary.h: Likewise.
3444         * stdlib/random.c: Likewise.
3445         * stdlib/random_r.c: Likewise.
3446         * sysdeps/generic/Makefile: Likewise.
3447         * sysdeps/gnu/Makefile: Likewise.
3448         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3449         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3450         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3451         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3452         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3453         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3454         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3455         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3458         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3459         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3460         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3461         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3462         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3463         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3464         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3465         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3466         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3467         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3468         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3469         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3470         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3471         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3472         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3474         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3475         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3476         * sysdeps/mach/hurd/errnos.awk: Likewise.
3477         * sysdeps/mach/hurd/fork.c: Likewise.
3478         * sysdeps/mach/hurd/getcwd.c: Likewise.
3479         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3480         * sysdeps/mach/hurd/mmap.c: Likewise.
3481         * sysdeps/mach/hurd/utimes.c: Likewise.
3482         * sysdeps/mach/hurd/xmknod.c: Likewise.
3483         * sysdeps/posix/profil.c: Likewise.
3484         * sysdeps/posix/readdir_r.c: Likewise.
3485         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3486         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3487         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3488         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3490         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3491         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3492         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3494         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3495         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3496         * sysdeps/pthread/lio_listio.c: Likewise.
3497         * sysdeps/sparc/dl-procinfo.h: Likewise.
3498         * sysdeps/unix/i386/sysdep.S: Likewise.
3499         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3500         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3501         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3502         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3504         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3505         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3506         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3507         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3508         * sysdeps/wordsize-32/divdi3.c: Likewise.
3509         * time/sys/time.h: Likewise.
3510         * wcsmbs/Makefile: Likewise.
3512 2013-01-01  David S. Miller  <davem@davemloft.net>
3514         * po/fr.po: Update from translation team.
3516         * catgets/gencat.c: Update copyright year.
3517         * csu/version.c: Likewise.
3518         * debug/catchsegv.sh: Likewise.
3519         * debug/pcprofiledump.c: Likewise.
3520         * debug/xtrace.sh: Likewise.
3521         * elf/ldconfig.c: Likewise.
3522         * elf/ldd.bash.in: Likewise.
3523         * elf/pldd.c: Likewise.
3524         * elf/sotruss.ksh: Likewise.
3525         * elf/sprof.c: Likewise.
3526         * iconv/iconv_prog.c: Likewise.
3527         * iconv/iconvconfig.c: Likewise.
3528         * locale/programs/locale.c: Likewise.
3529         * locale/programs/localedef.c: Likewise.
3530         * login/programs/pt_chown.c: Likewise.
3531         * malloc/memusage.sh: Likewise.
3532         * malloc/memusagestat.c: Likewise.
3533         * malloc/mtrace.pl: Likewise.
3534         * nscd/nscd.c: Likewise.
3535         * nss/getent.c: Likewise.
3536         * nss/makedb.c: Likewise.
3537         * posix/getconf.c: Likewise.
3539 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3541         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3542         numbers.
3544 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
3546         * math/bits/mathcalls.h (modf): Use __nonnull.
3548 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3550         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3551         (split): Use macro CN instead of the bare value.
3552         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3553         could be used.
3554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3555         instead of the bare value.
3556         (power1): Likewise.
3558 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3560         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3561         __ATAN_TWOM.
3562         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3564         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3565         their values.
3566         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3567         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3568         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3569         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3571 2012-12-28  Andreas Jaeger  <aj@suse.de>
3573         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
3574         values are from Linux 3.7.
3576         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3577         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
3579 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3581         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3582         TRUE case.
3584         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3585         (norm): Likewise.
3586         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3587         variables with preprocessor constants.
3588         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3589         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3590         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3592 2012-12-27  Bruno Haible  <bruno@clisp.org>
3594         [BZ #14317]
3595         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3596         only if needed.
3598 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3600         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3601         and use variable directly.
3602         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3604         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3605         MPONE.
3606         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3607         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3608         variable MPONE.
3609         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3611         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3612         include directive.  Remove local variable MPONE.
3613         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3614         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3615         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3617 2012-12-25  David S. Miller  <davem@davemloft.net>
3619         * version.h (RELEASE): Set to "development".
3620         (VERSION): Set to "2.17.90".
3621         * NEWS: Add 2.18 section.
3623 2012-12-21  David S. Miller  <davem@davemloft.net>
3625         * po/hr.po: Update from translation team.
3627 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3629         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3631 2012-12-19  Steve Ellcey  <sellcey@mips.com>
3633         * NEWS:  Mention new memcpy for MIPS.
3635 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3637         * manual/contrib.texi (Contributors): Spelling correction.
3639 2012-12-15  David S. Miller  <davem@davemloft.net>
3641         * po/ru.po: Update from translation team.
3643 2012-12-13  David S. Miller  <davem@davemloft.net>
3645         * NEWS: Mention IFUNC testsuite enhancements.
3647         * po/pl.po: Update from translation team.
3648         * po/bg.po: Likewise.
3650         * manual/contrib.texi (Contributors): Update entries for Hongjiu
3651         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
3653 2012-12-11  David S. Miller  <davem@davemloft.net>
3655         * po/sv.po: Update from translation team.
3657         * po/vi.po: Update from translation team.
3659         * po/cs.po: Update from translation team.
3661         * po/de.po: Update from translation team.
3662         * po/eo.po: Likewise.
3663         * po/nl.po: Likewise.
3665 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3667         [BZ #14246]
3668         * manual/argp.texi (Argp Helper Functions): Move node to follow
3669         Argp Parsing State.
3671         [BZ #14872]
3672         * manual/conf.texi (Limits on File System Capacity): Mention if
3673         terminating null is included in the max size.
3675 2012-12-10  Andreas Jaeger  <aj@suse.de>
3677         * po/cs.po: Update from translation team.
3679 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3681         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3682         void pointer and cast to uintptr_t.
3683         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3684         path.
3685         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3686         * sysdeps/s390/s390-64/memset.S: Likewise.
3688 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
3690         [BZ #14833]
3691         * menual/message.texi (Message Translation): Fix typos.
3692         (Helper programs for gettext): Likewise.
3694 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
3696         [BZ #14898]
3697         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3698         Change to -1.
3700 2012-12-07  David S. Miller  <davem@davemloft.net>
3702         * po/libc.pot: Update.
3704 2012-12-07  Richard Henderson  <rth@redhat.com>
3706         [BZ #10114]
3707         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3708         normal/normal case to before the switch.
3709         (_FP_DIV): Likewise.
3711 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
3712             Mike Frysinger  <vapier@gentoo.org>
3714         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3715         check for __NR_fadvise64_64.
3717 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
3719         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3720         0, not just to plain "0" as a statement.
3721         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3722         with cw.
3724 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
3726         * NEWS: Use sourceware.org in Bugzilla URL.
3728 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3731         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3733         * stdio-common/tst-put-error.c (do_test): Add newline to the
3734         padded test to ensure flush.
3736 2012-12-05  Jeff Law  <law@redhat.com>
3738         * sunrpc/etc.rpc (fedfs_admin): Add entry.
3740 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
3742         * README: Don't refer to ports add-on as distributed separately.
3743         Mention AArch64 in list of systems supported in the ports add-on.
3745         * LICENSES: Add more non-FSF copyright and license notices.
3747         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3748         ((unused)).
3750         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3752         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3753         10000 as width of padded output.
3755 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3757         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3759         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3760         variable LX with __attribute__ ((unused)).
3761         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3762         Likewise.
3763         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3764         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3765         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3766         with __attribute__ ((unused)).
3768 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
3770         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3772 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3774         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3775         (CFLAGS-nldbl-acos.c): New variable.
3776         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3777         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3778         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3779         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3780         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3781         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3782         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3783         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3784         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3785         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3786         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3787         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3788         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3789         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3790         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3791         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3792         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3793         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3794         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3795         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3796         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3797         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3798         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3799         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3800         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3801         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3802         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3803         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3804         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3805         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3806         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3807         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3808         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3809         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3810         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3811         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3812         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3813         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3814         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3815         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3816         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3817         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3818         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3819         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3820         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3821         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3822         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3823         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3824         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3825         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3826         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3827         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3828         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3829         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3830         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3831         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3832         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3833         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3834         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3835         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3836         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3837         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3838         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3839         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3840         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3841         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3842         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3843         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3844         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3845         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3846         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3847         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3848         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3849         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3850         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3851         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3852         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3853         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3854         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3855         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3856         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3857         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3858         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3859         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3860         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3861         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3862         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3863         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3864         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3865         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3866         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3867         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3868         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3869         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3870         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3871         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3872         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3875         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3877         [BZ #14914]
3878         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3879         whole low double instead of just low 47 bits when splitting values
3880         into two parts.
3882 2012-12-03  Allan McRae  <allan@archlinux.org>
3884         * manual/stdio.texi (Predefined Printf Handlers): Remove
3885         @hsep and @vsep usage.
3887 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
3889         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3890         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3892 2012-12-03  Jeff Law  <law@redhat.com>
3894         * time/sys/time.h (settimeofday): Do not mark TV argument
3895         as __nonnull.
3897 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
3899         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3900         when currently writing and seek to current position when not.
3901         * libio/Makefile (tests): Remove bug-fclose1.
3902         * libio/bug-fclose1.c: Delete.
3904 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
3906         * manual/arith.texi (feenableexcept): Fix typo.
3907         (fedisableexcept): Likewise.
3909 2012-11-30  Roland McGrath  <roland@hack.frob.com>
3911         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3912         second, differently-typed declaration, rather than a cast.
3914 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3916         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3917         * include/rpc/svc.h: ... here.
3919 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
3921         [BZ #13013]
3922         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3923         depending n and resplen2 to catch cases where answer
3924         equals answerp2.
3926 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
3928         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3929         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3931 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
3933         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3935 2012-11-29  Roland McGrath  <roland@hack.frob.com>
3937         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3939 2012-11-28  Jeff Law  <law@redhat.com>
3941         [BZ #13761]
3942         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3943         dataset_temporary.  Track alloca usage into alloca_used.
3944         If dataset is large allocate and release it via malloc/free.
3946 2012-06-04  Florian Weimer  <fweimer@redhat.com>
3948         [BZ #14197]
3949         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3951 2012-11-28  David S. Miller  <davem@davemloft.net>
3953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3955 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3957         [BZ #14803]
3958         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3959         of pi/2 rounded to nearest to 64 bits.
3960         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3961         nearest to 64 bits.
3962         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3963         bits.
3965 2012-11-28  Jeff Law <law@redhat.com>
3966             Martin Osvald <mosvald@redhat.com>
3968         [BZ #14889]
3969         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3970         * sunrpc/svc.c: Include time.h.
3971         (__svc_accept_failed): New function.
3972         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3973         any reason other than EINTR, call __svc_accept_failed.
3974         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3975         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3977 2012-11-28  Andreas Schwab  <schwab@suse.de>
3979         * scripts/abilist.awk: Also handle indirect functions in .opd
3980         section.
3982 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3984         [BZ #13881]
3985         * sysdeps/x86/fpu/powl_helper.c: New file.
3986         * sysdeps/x86/fpu/Makefile: Likewise.
3987         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3988         (p3): New object.
3989         (__ieee754_powl): Use __powl_helper for finite arguments except
3990         integer exponents below 8.
3991         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests and enable some
3996         previously disabled tests.
3997         * sysdeps/i386/fpu/libm-test-ulps: Update.
3998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4000 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4001             Carlos O'Donell  <carlos_odonell@mentor.com>
4003         * nss/makedb.c (is_prime): Assert that input is odd and greater
4004         than 4.  Note that fact in a comment too.
4005         (next_prime): Add 4 to input.
4007 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4009         [BZ #11741]
4010         * libio/Makefile (tests): Add test case tst-fwrite-error.
4011         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4012         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4013         * libio/tst-fwrite-error.c: New test case.
4015 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4017         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4018         before casting to void *.
4019         * include/libc-internal.h (__pointer_type): New macro.
4020         (__integer_if_pointer_type_sub): Likewise.
4021         (__integer_if_pointer_type): Likewise.
4022         (cast_to_integer): Likewise.
4023         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4024         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4025         before casting to atomic64_t.
4026         (atomic_exchange_acq): Likewise.
4027         (__arch_exchange_and_add_body): Likewise.
4028         (__arch_add_body): Likewise.
4029         (atomic_add_negative): Likewise.
4030         (atomic_add_zero): Likewise.
4032 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4034         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4035         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4036         (add_fdes): Likewise.
4037         (linear_search_fdes): Likewise.
4038         (binary_search_unencoded_fdes): Likewise.
4040 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4042         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4044 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4046         * configure.in: Autodetect C++ header directories.
4047         * configure: Regenerated.
4049 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4051         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4053 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4057 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4059         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4060         LDBL_MANT_DIG == 106]: Disable some tests.
4061         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4062         Likewise.
4063         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4064         Likewise.
4066         [BZ #14871]
4067         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4068         input for small inputs.  Return +/- pi/2 for large inputs.
4069         * math/libm-test.inc (atan_test): Add more tests.
4071         * sysdeps/generic/unwind-dw2-fde-glibc.c
4072         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4073         __attribute__ ((unused)).
4075         [BZ #14645]
4076         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4077         x * y if x and y are nonzero and z is zero.
4079         [BZ #14811]
4080         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4081         nonzero exponents with absolute value below 0x1p-117 to +/-
4082         0x1p-117.
4084         [BZ #14869]
4085         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4086         up arguments below 2**-450, not just those below 2**-500.
4087         * math/libm-test.inc (hypot_test): Add another test.
4089         [BZ #14868]
4090         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4091         Return a+b for ratio over 2**120, not 2**60.
4092         * math/libm-test.inc (hypot_test): Add another test.
4094         * math/libm-test.inc (clog_test): Use
4095         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4096         (clog10_test): Likewise.
4098         [BZ #6778]
4099         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4101 2012-11-22  Andreas Schwab  <schwab@suse.de>
4103         * sysdeps/i386/fpu/libm-test-ulps: Update.
4105 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4107         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4108         printf output with newline.
4110 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4112         [BZ #14865]
4113         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4114         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4115         -z nodlopen, -z initfirst and -z execstack support.
4116         * configure: Regenerated.
4118         * elf/elf.h (DF_1_NODIRECT): New macro.
4119         (DF_1_IGNMULDEF): Likewise.
4120         (DF_1_NOKSYMS): Likewise.
4121         (DF_1_NOHDR): Likewise.
4122         (DF_1_EDITED): Likewise.
4123         (DF_1_NORELOC): Likewise.
4124         (DF_1_SYMINTPOSE): Likewise.
4125         (DF_1_GLOBAUDIT): Likewise.
4126         (DF_1_SINGLETON): Likewise.
4127         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4128         DT_1_SUPPORTED_MASK bits.
4129         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4131 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4133         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4135 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4137         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4138         macro.
4140         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4141         (sendmmsg): Move declarations...
4142         * socket/sys/socket.h: ... here.
4143         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4144         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4145         include it from...
4146         * socket/recvmmsg.c: ... this new file.
4147         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4148         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4149         definition of __sendmmsg hidden.
4150         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4151         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4152         Move ENOSYS stub into and include it from...
4153         * socket/sendmmsg.c: ... this new file.
4154         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4155         (sysdep_routines): Move recvmmsg and sendmmsg...
4156         * socket/Makefile (routines): ... here.
4157         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4158         (GLIBC_PRIVATE): Add __sendmmsg.
4159         * include/sys/socket.h (__sendmmsg): Add declarations.
4160         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4161         sendmmsg.
4163 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4165         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4166         variable I1 with __attribute__ ((unused)).
4167         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4169 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4171         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4172         DUMMY variables with __attribute__ ((unused)).
4174         * bits/byteswap.h: Include <bits/types.h>.
4175         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4177 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4179         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4180         string_t.  Do not manually set errno.
4181         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4182         length with __strnlen.  Make sure to both set errno and return it on
4183         failure.
4185 2012-11-19  David S. Miller  <davem@davemloft.net>
4187         With help from Joseph Myers.
4188         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4189         very large arguments properly.
4190         * math/libm-test.inc (atan_test): New tests.
4191         (atan2_test): New tests.
4192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4195 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4197         [BZ #14856]
4198         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4199         Define to 3.
4201         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4202         [POSIX] (EADDRNOTAVAIL): Likewise.
4203         [POSIX] (EAFNOSUPPORT): Likewise.
4204         [POSIX] (EALREADY): Likewise.
4205         [POSIX] (ECONNABORTED): Likewise.
4206         [POSIX] (ECONNREFUSED): Likewise.
4207         [POSIX] (ECONNRESET): Likewise.
4208         [POSIX] (EDESTADDRREQ): Likewise.
4209         [POSIX] (EDQUOT): Likewise.
4210         [POSIX] (EHOSTUNREACH): Likewise.
4211         [POSIX] (EIDRM): Likewise.
4212         [POSIX] (EISCONN): Likewise.
4213         [POSIX] (ELOOP): Likewise.
4214         [POSIX] (EMULTIHOP): Likewise.
4215         [POSIX] (ENETDOWN): Likewise.
4216         [POSIX] (ENETUNREACH): Likewise.
4217         [POSIX] (ENOBUFS): Likewise.
4218         [POSIX] (ENODATA): Likewise.
4219         [POSIX] (ENOLINK): Likewise.
4220         [POSIX] (ENOMSG): Likewise.
4221         [POSIX] (ENOPROTOOPT): Likewise.
4222         [POSIX] (ENOSR): Likewise.
4223         [POSIX] (ENOSTR): Likewise.
4224         [POSIX] (ENOTCONN): Likewise.
4225         [POSIX] (ENOTSOCK): Likewise.
4226         [POSIX] (EOPNOTSUPP): Likewise.
4227         [POSIX] (EOVERFLOW): Likewise.
4228         [POSIX] (EPROTO): Likewise.
4229         [POSIX] (EPROTONOSUPPORT): Likewise.
4230         [POSIX] (EPROTOTYPE): Likewise.
4231         [POSIX] (ESTALE): Likewise.
4232         [POSIX] (ETIME): Likewise.
4233         [POSIX] (ETXTBSY): Likewise.
4234         [POSIX] (EWOULDBLOCK): Likewise.
4235         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4236         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4237         [POSIX] (SEEK_CUR): Likewise.
4238         [POSIX] (SEEK_END): Likewise.
4239         [POSIX || UNIX98] (mode_t): Do not require.
4240         [POSIX] (off_t): Likewise.
4241         [POSIX] (pid_t): Likewise.
4242         [POSIX] (sys/stat.h): Do not allow header.
4243         [POSIX] (unistd.h): Likewise.
4244         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4245         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4246         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4247         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4248         require.
4249         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4250         sigevent): Specify elements.
4251         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4252         entry.
4253         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4254         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4256         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4257         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4258         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4259         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4260         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4261         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4262         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4263         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4264         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4265         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4266         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4267         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4268         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4269         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4270         Likewise.
4271         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4272         Likewise.
4273         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4274         Likewise.
4275         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4276         Likewise.
4277         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4278         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4279         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4280         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4281         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4282         Specify lower bound on value.
4283         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4284         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4285         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4286         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4287         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4288         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4289         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4290         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4291         value.
4292         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4293         as optional.
4294         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4295         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4296         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4297         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4298         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4299         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4300         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4301         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4302         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4303         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4304         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4305         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4306         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4307         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4308         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4309         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4310         entry.
4311         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4312         optional.
4313         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4314         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4315         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4316         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4317         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4318         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4319         Likewise.
4320         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4321         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4322         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4323         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4324         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4325         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4326         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4327         as optional.
4328         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4329         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4330         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4331         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4332         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4333         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4334         specify as optional.
4335         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4336         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4337         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4338         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4339         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4340         [XPG3] (NL_LANGMAX): Likewise.
4341         [POSIX || XPG3] (NL_MSGMAX): Likewise.
4342         [POSIX || XPG3] (NL_NMAX): Likewise.
4343         [POSIX || XPG3] (NL_SETMAX): Likewise.
4344         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4345         [XPG3] (NZERO): Likewise.
4346         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4347         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4348         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4349         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4350         (REG_ERANGE): Expect.
4351         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4352         optional-constant.
4353         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4354         Use (void) in prototype.
4355         [POSIX] (*_t): Allow.
4356         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4357         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4358         (WRDE_BADVAL): Expect.
4360         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4361         expect.
4362         [XPG3 || XPG4] (O_RSYNC): Likewise.
4363         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4364         Likewise.
4365         [XPG3 || XPG4] (pthread_sigmask): Likewise.
4366         [XPG3 || XPG4] (sigqueue): Likewise.
4367         [XPG3 || XPG4] (sigtimedwait): Likewise.
4368         [XPG3 || XPG4] (sigwaitinfo): Likewise.
4369         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4370         [XPG3 || XPG4] (vsnprintf): Likewise.
4371         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4372         Likewise.
4373         [XPG3 || XPG4] (blksize_t): Likewise.
4374         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4375         Likewise.
4376         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4377         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4378         [XPG3 || XPG4] (struct itimerspec): Likewise.
4379         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4380         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4381         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4382         [XPG3 || XPG4] (clockid_t): Likewise.
4383         [XPG3 || XPG4] (timer_t): Likewise.
4384         [XPG3 || XPG4] (clock_getres): Likewise.
4385         [XPG3 || XPG4] (clock_gettime): Likewise.
4386         [XPG3 || XPG4] (clock_settime): Likewise.
4387         [XPG3 || XPG4] (nanosleep): Likewise.
4388         [XPG3 || XPG4] (timer_create): Likewise.
4389         [XPG3 || XPG4] (timer_delete): Likewise.
4390         [XPG3 || XPG4] (timer_gettime): Likewise.
4391         [XPG3 || XPG4] (timer_getoverrun): Likewise.
4392         [XPG3 || XPG4] (timer_settime): Likewise.
4393         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4394         [XPG3 || XPG4] (getlogin_r): Likewise.
4395         [XPG3 || XPG4] (pread): Likewise.
4396         [XPG3 || XPG4] (pthread_atfork): Likewise.
4397         [XPG3 || XPG4] (pwrite): Likewise.
4399         [BZ #14835]
4400         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4401         <bits/siginfo.h>.
4403 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4405         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4406         finalizing MALLSTREAM.
4408         * sysdeps/mach/hurd/syncfs.c: New file.
4410 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4412         [BZ #14719]
4413         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4414         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4415         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4416         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4417         (_nss_dns_gethostbyname4_r): Likewise.
4418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4419         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4421 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
4423         [BZ #13763]
4424         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4426 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
4428         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4429         * elf/cache.c (print_entry): Print ",AArch64" for
4430         FLAG_AARCH64_LIB64
4432         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4433         * elf/cache.c (print_entry): Print ",hard-float" for
4434         FLAG_ARM_LIBHF.
4436 2012-11-18  David S. Miller  <davem@davemloft.net>
4438         With help from Joseph Myers.
4439         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4440         cutoff to 2**-13.
4441         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4442         cutoff to 2**-25.
4443         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4444         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4445         small.
4446         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4447         * math/libm-test.inc (y0_test): New tests.
4448         (y1_test): New tests.
4449         * sysdeps/i386/fpu/libm-test-ulps: Update.
4450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4453 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
4455         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4456         64-bit targets.
4457         * configure: Regenerated.
4459 2012-11-17  David S. Miller  <davem@davemloft.net>
4461         [BZ #14811]
4462         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4463         nonzero exponents with absolute value below 0x1p-128 to +/-
4464         0x1p-128.
4466 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
4468         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4470         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4472         * posix/getconf-speclist.c: New file.
4473         * posix/posix-envs.def: Likewise.
4474         * posix/confstr.c (START_ENV_GROUP): New macro.
4475         (END_ENV_GROUP): Likewise.
4476         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4477         (KNOWN_PRESENT_ENV_STRING): Likewise.
4478         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4479         (UNKNOWN_ENVIRONMENT): Likewise.
4480         (confstr): Include posix-envs.def instead of handling
4481         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4482         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4483         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4484         (END_ENV_GROUP): Likewise.
4485         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4486         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4487         (UNKNOWN_ENVIRONMENT): Likewise.
4488         (__sysconf): Include posix-envs.def instead of handling associated
4489         cases directly here.
4490         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4491         preprocessing getconf-speclist.c rather than running getconf or
4492         generating empty file.
4494 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
4496         * scripts/check-local-headers.sh: Ignore 'mach' headers.
4498 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
4500         [BZ #14672]
4501         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4503 2012-11-16  David S. Miller  <davem@davemloft.net>
4505         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4506         smaller than LDBL_EPSILON/2.0L, just return xm1.
4508 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
4510         * elf/tst-array1.c (init): Set constructor priority to 1000.
4511         (fini): Set destructor priority to 1000.
4512         * elf/tst-array2dep.c: Likewise.
4514 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4516         [BZ #11741]
4517         * libio/fileops.c (_IO_new_file_write): Correctly return error.
4518         (_IO_new_file_xsputn): Also return EOF if none of the input
4519         data was written when overflow failed.
4520         * libio/iopadn.c (_IO_padn): Likewise.
4521         * libio/iowpadn.c (_IO_wpadn): Likewise.
4522         * stdio-common/tst-put-error.c: Add copyright notice.
4523         (do_test): Add case for printing padded string.
4524         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4525         _IO_padn returned error.
4526         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4527         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4528         return EOF.
4530 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4532         * libio/libioP.h: Add comment note that the references to C++
4533         bits are now obsolete.
4535 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4537         * math/libm-test.inc (check_complex): Use asprintf.
4539 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
4541         * debug/pcprofiledump.c (print_version): Update copyright year.
4542         * malloc/memusagestat.c (print_version): Likewise.
4544 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4546         [BZ #14831]
4547         * elf/Makefile (tests): Add tst-audit8.
4548         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4549         ($(objpfx)tst-audit8.out): New target.
4550         (tst-audit8-ENV): New variable.
4551         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4552         audit if l_reloc_result is NULL.
4553         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4554         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4555         * elf/tst-audit8.c: New file.
4557 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4559         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4560         * misc/Makefile (CFLAGS-select.c): Define.
4561         * posix/Makefile (CFLAGS-pause.c): Define.
4563 2012-11-13  David S. Miller  <davem@davemloft.net>
4565         * crypt/Makefile: Move test targets after toplevel Rules
4566         inclusion.  Grab any necessary sysdep routines when linking.
4567         * crypt/md5.c (md5_process_block): Remove define, we will always
4568         name it __md5_process_block.
4569         (md5_finish_ctx): Update md5_process_block call.
4570         (md5_stream): Likewise.
4571         (md5_process_bytes): Likewise.
4572         (md5_process_block): Rename to __md5_process_block and move to ...
4573         * crypt/md5-block.c: ... here.
4574         * crypt/sha256.c (sha256_process_block): Move to ...
4575         * crypt/sha256-block.c: ... here.
4576         * crypt/sha512.c (sha512_process_block): Move to ...
4577         * crypt/sha512-block.c: ... here.
4578         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4579         path.
4580         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4581         * sysdeps/sparc/sparc64/multiarch/Makefile
4582         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4583         crypt subdir.
4584         (localedef-aux): Add md5 crypto assembler when in locale subdir.
4585         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4586         multiarch changes.
4587         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4588         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4589         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4590         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4591         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4592         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4593         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4594         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4595         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4596         file.
4597         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4598         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4599         file.
4600         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4602 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
4604         * timezone/tzselect.ksh: Update from tzcode git revision
4605         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4606         * timezone/zdump.c: Likewise.
4607         * timezone/zic.c: Likewise.
4608         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4609         in TZVERSION setting, not $(PKGVERSION).
4610         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
4611         REPORT_BUGS_TO settings.
4613         [BZ #14838]
4614         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4615         macro.
4617 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4619         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4620         detection to immediately after _FP_ROUND().
4621         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4622         bits are 0.
4624 2012-11-11  David S. Miller  <davem@davemloft.net>
4626         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4627         inttypes.h
4628         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4629         __close rather than their public counterparts.
4631 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
4633         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4634         file.
4635         [UNIX98] (sem_timedwait): Do not expect.
4636         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4637         [XPG4 || UNIX98] (sockatmark): Do not expect.
4638         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4639         (clock_getcpuclockid): Do not expect.
4640         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4641         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4642         Do not expect.
4643         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4644         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4645         [UNIX98] (vwscanf): Likewise.
4646         [UNIX98] (vswscanf): Likewise.
4648 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
4650         * timezone/version.h: Remove file.
4651         * timezone/README: Do not refer to version.h.
4652         * timezone/Makefile ($(objpfx)zic.o): New dependency on
4653         $(objpfx)version.h.
4654         ($(objpfx)zdump.o): Likewise.
4655         ($(objpfx)version.h): New target.
4657         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4658         2012i.
4659         * timezone/README: Don't mention modification to tzselect.ksh.
4660         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4661         work on unmodified tzselect.ksh.  Substitute version numbers in
4662         tzselect.ksh.
4664         * Makefile (format-me): Remove.
4665         (INSTALL): Adjust indentation.  Use commands directly instead of
4666         using $(format-me).
4668         * aclocal.m4 (ACX_PKGVERSION): New macro.
4669         (ACX_BUGURL): Likewise.
4670         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4671         (PKGVERSION): New AC_DEFINE_UNQUOTED.
4672         (REPORT_BUGS_TO): Likewise.
4673         * configure: Regenerated.
4674         * config.h.in (PKGVERSION): New macro.
4675         (REPORT_BUGS_TO): Likewise.
4676         * config.make.in (PKGVERSION): New variable.
4677         (PKGVERSION_TEXI): Likewise.
4678         (REPORT_BUGS_TO): Likewise.
4679         (REPORT_BUGS_TEXI): Likewise.
4680         * Makefile (format-me): Use -I$(common-objpfx)manual.
4681         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4682         ($(common-objpfx)manual/%): New target.
4683         (manual/%): Remove target.
4684         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4685         (print_version): Use PKGVERSION.
4686         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4687         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4688         and REPORT_BUGS_TO.
4689         ($(objpfx)xtrace): Likewise.
4690         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4691         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4692         (print_version): Use PKGVERSION.
4693         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4694         (do_version): Use PKGVERSION.
4695         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4696         REPORT_BUGS_TO.
4697         (common-ldd-rewrite): Likewise.
4698         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4699         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4700         (print_version): Use PKGVERSION.
4701         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4702         * elf/pldd.c (argp_program_bug_address): Remove variable.
4703         (more_help): New function.
4704         (argp): Use more_help.
4705         (print_version): Use PKGVERSION.
4706         * elf/sln.c (main): Use PKGVERSION.
4707         (usage): Use REPORT_BUGS_TO.
4708         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4709         (top level): Use PKGVERSION.
4710         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4711         (print_version): Use PKGVERSION.
4712         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4713         (print_version): Use PKGVERSION.
4714         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4715         (print_version): Use PKGVERSION.
4716         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4717         (print_version): Use PKGVERSION.
4718         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4719         (print_version): Use PKGVERSION.
4720         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4721         (print_version): Use PKGVERSION.
4722         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4723         and BUGURL.
4724         ($(objpfx)memusage): Likewise.
4725         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4726         (do_version): Use PKGVERSION.
4727         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4728         (print_version): Use PKGVERSION.
4729         * malloc/mtrace.pl ($PACKAGE): Remove variable.
4730         ($PKGVERSION): New variable.
4731         ($REPORT_BUGS_TO): Likewise.
4732         (usage): Use $REPORT_BUGS_TO.
4733         (top level): Use $PKGVERSION.
4734         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4735         ($(objpfx)pkgvers.texi): New rule.
4736         ($(objpfx)stamp-pkgvers): Likewise.
4737         * manual/install.texi: Include pkgvers.texi.
4738         (--with-pkgversion): Document new configure option.
4739         (--with-bugurl): Likewise.
4740         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4741         than necessarily for this particular distribution.  Use
4742         REPORT_BUGS_TO for where to report bugs.
4743         * INSTALL: Regenerated.
4744         * manual/libc.texinfo: Include pkgvers.texi.
4745         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4746         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4747         (print_version): Use PKGVERSION.
4748         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4749         (print_version): Use PKGVERSION.
4750         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4751         (print_version): Use PKGVERSION.
4752         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4753         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4754         macro.
4755         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4756         (print_version): Use PKGVERSION.
4757         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4758         (print_version): Use PKGVERSION.
4759         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4760         and PKGVERSION.
4762         * timezone/checktab.awk: Update from tzcode 2012i.
4763         * timezone/ialloc.c: Likewise.
4764         * timezone/private.h: Likewise.
4765         * timezone/scheck.c: Likewise.
4766         * timezone/tzfile.h: Likewise.
4767         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4768         (TZVERSION): Hardcode tzcode version number.
4769         * timezone/zdump.c: Update from tzcode 2012i.
4770         * timezone/zic.c: Likewise.
4771         * timezone/version.h: New file.
4772         * timezone/README: Describe version.h.  Update upstream location.
4774         [BZ #14824]
4775         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4776         (mktemp): Enable declaration.
4777         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4778         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4779         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4780         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4781         Likewise.
4782         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4783         Likewise.
4784         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4785         Likewise.
4786         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4787         Likewise.
4788         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4789         Likewise.
4790         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4791         Likewise.
4793         [BZ #14821]
4794         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4795         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
4796         for copies of such integer values.
4797         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4798         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4800 2012-11-09  Andreas Jaeger  <aj@suse.de>
4802         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4803         definitions and declarations that are provided by
4804         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4806 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4808         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4809         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4810         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4811         definition.
4813 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4815         * elf/elf.h: Update comment before AArch64 relocations.
4817 2012-11-07  David S. Miller  <davem@davemloft.net>
4819         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4820         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4821         (__start_context): Declare.
4822         (__makecontext_ret): Delete.
4823         (__makecontext): Hook up __start_context instead of
4824         __makecontext_ret.
4825         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4826         (sysdep_routines): Add __start_context when in stdlib.
4828 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4830         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4831         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4832         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
4833         hardcoded "nm".
4834         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
4835         (READELF): New variable.  Use it instead of hardcoded "readelf".
4837 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4839         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4840         * sysdeps/x86/Makefile: Here.
4841         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4842         * sysdeps/x86/tst-xmmymm.sh: This.
4844 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4846         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4847         expectations.
4848         [UNIX98] (pthread_barrier_t): Do not expect.
4849         [UNIX98] (pthread_barrierattr_t): Likewise.
4850         [UNIX98] (pthread_spinlock_t): Likewise.
4851         [UNIX98] (pthread_barrier_destroy): Likewise.
4852         [UNIX98] (pthread_barrier_init): Likewise.
4853         [UNIX98] (pthread_barrier_wait): Likewise.
4854         [UNIX98] (pthread_barrierattr_destroy): Likewise.
4855         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4856         [UNIX98] (pthread_barrierattr_init): Likewise.
4857         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4858         [UNIX98] (pthread_getcpuclockid): Likewise.
4859         [UNIX98] (pthread_mutex_timedlock): Likewise.
4860         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4861         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4862         [UNIX98] (pthread_sigmask): Likewise.
4863         [UNIX98] (pthread_spin_destroy): Likewise.
4864         [UNIX98] (pthread_spin_init): Likewise.
4865         [UNIX98] (pthread_spin_lock): Likewise.
4866         [UNIX98] (pthread_spin_trylock): Likewise.
4867         [UNIX98] (pthread_spin_unlock): Likewise.
4868         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4869         Do not expect.
4870         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4871         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4872         [XPG3 || XPG4] (pthread_cond_t): Likewise.
4873         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4874         [XPG3 || XPG4] (pthread_key_t): Likewise.
4875         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4876         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4877         [XPG3 || XPG4] (pthread_once_t): Likewise.
4878         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4879         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4880         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4881         [XPG3 || XPG4] (pthread_t): Likewise.
4883         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4884         not expect.
4885         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4887         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4888         Change function return type to int.
4890         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4891         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4892         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4893         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4894         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4895         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4896         [!POSIX] (posix_madvise): Likewise.
4897         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4898         && !UNIX98].
4899         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4900         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4901         (mode_t): Likewise.
4902         (posix_mem_offset): Likewise.
4903         (posix_typed_mem_get_info): Likewise.
4904         (posix_typed_mem_open): Likewise.
4906         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4907         Change condition to [XOPEN2K8].
4909         * conform/conformtest.pl: Preprocess allow-header data with -x c
4910         instead of from stdin.
4911         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4912         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4913         [C99-based standards] (cerfc): Likewise.
4914         [C99-based standards] (cexp2): Likewise.
4915         [C99-based standards] (cexpm1): Likewise.
4916         [C99-based standards] (clog10): Likewise.
4917         [C99-based standards] (clog1p): Likewise.
4918         [C99-based standards] (clog2): Likewise.
4919         [C99-based standards] (clgamma): Likewise.
4920         [C99-based standards] (ctgamma): Likewise.
4921         [C99-based standards] (cerff): Likewise.
4922         [C99-based standards] (cerfcf): Likewise.
4923         [C99-based standards] (cexp2f): Likewise.
4924         [C99-based standards] (cexpm1f): Likewise.
4925         [C99-based standards] (clog10f): Likewise.
4926         [C99-based standards] (clog1pf): Likewise.
4927         [C99-based standards] (clog2f): Likewise.
4928         [C99-based standards] (clgammaf): Likewise.
4929         [C99-based standards] (ctgammaf): Likewise.
4930         [C99-based standards] (cerfl): Likewise.
4931         [C99-based standards] (cerfcl): Likewise.
4932         [C99-based standards] (cexp2l): Likewise.
4933         [C99-based standards] (cexpm1l): Likewise.
4934         [C99-based standards] (clog10l): Likewise.
4935         [C99-based standards] (clog1pl): Likewise.
4936         [C99-based standards] (clog2l): Likewise.
4937         [C99-based standards] (clgammal): Likewise.
4938         [C99-based standards] (ctgammal): Likewise.
4939         * conform/data/inttypes.h-data [C99-based standards]: Include
4940         stdint.h-data.  Remove all expectations for stdint.h contents.
4941         [C99-based standards] (PRI*): Do not allow.
4942         [C99-based standards] (SCN*): Likewise.
4943         [C99-based standards] (*_t): Likewise.
4944         [C99-based-standards] (PRId8): Expect macro.
4945         [C99-based-standards] (PRIi8): Likewise.
4946         [C99-based-standards] (PRIo8): Likewise.
4947         [C99-based-standards] (PRIu8): Likewise.
4948         [C99-based-standards] (PRIx8): Likewise.
4949         [C99-based-standards] (PRIX8): Likewise.
4950         [C99-based-standards] (SCNd8): Likewise.
4951         [C99-based-standards] (SCNi8): Likewise.
4952         [C99-based-standards] (SCNo8): Likewise.
4953         [C99-based-standards] (SCNu8): Likewise.
4954         [C99-based-standards] (SCNx8): Likewise.
4955         [C99-based-standards] (PRIdLEAST8): Likewise.
4956         [C99-based-standards] (PRIiLEAST8): Likewise.
4957         [C99-based-standards] (PRIoLEAST8): Likewise.
4958         [C99-based-standards] (PRIuLEAST8): Likewise.
4959         [C99-based-standards] (PRIxLEAST8): Likewise.
4960         [C99-based-standards] (PRIXLEAST8): Likewise.
4961         [C99-based-standards] (SCNdLEAST8): Likewise.
4962         [C99-based-standards] (SCNiLEAST8): Likewise.
4963         [C99-based-standards] (SCNoLEAST8): Likewise.
4964         [C99-based-standards] (SCNuLEAST8): Likewise.
4965         [C99-based-standards] (SCNxLEAST8): Likewise.
4966         [C99-based-standards] (PRIdFAST8): Likewise.
4967         [C99-based-standards] (PRIiFAST8): Likewise.
4968         [C99-based-standards] (PRIoFAST8): Likewise.
4969         [C99-based-standards] (PRIuFAST8): Likewise.
4970         [C99-based-standards] (PRIxFAST8): Likewise.
4971         [C99-based-standards] (PRIXFAST8): Likewise.
4972         [C99-based-standards] (SCNdFAST8): Likewise.
4973         [C99-based-standards] (SCNiFAST8): Likewise.
4974         [C99-based-standards] (SCNoFAST8): Likewise.
4975         [C99-based-standards] (SCNuFAST8): Likewise.
4976         [C99-based-standards] (SCNxFAST8): Likewise.
4977         [C99-based-standards] (PRId16): Likewise.
4978         [C99-based-standards] (PRIi16): Likewise.
4979         [C99-based-standards] (PRIo16): Likewise.
4980         [C99-based-standards] (PRIu16): Likewise.
4981         [C99-based-standards] (PRIx16): Likewise.
4982         [C99-based-standards] (PRIX16): Likewise.
4983         [C99-based-standards] (SCNd16): Likewise.
4984         [C99-based-standards] (SCNi16): Likewise.
4985         [C99-based-standards] (SCNo16): Likewise.
4986         [C99-based-standards] (SCNu16): Likewise.
4987         [C99-based-standards] (SCNx16): Likewise.
4988         [C99-based-standards] (PRIdLEAST16): Likewise.
4989         [C99-based-standards] (PRIiLEAST16): Likewise.
4990         [C99-based-standards] (PRIoLEAST16): Likewise.
4991         [C99-based-standards] (PRIuLEAST16): Likewise.
4992         [C99-based-standards] (PRIxLEAST16): Likewise.
4993         [C99-based-standards] (PRIXLEAST16): Likewise.
4994         [C99-based-standards] (SCNdLEAST16): Likewise.
4995         [C99-based-standards] (SCNiLEAST16): Likewise.
4996         [C99-based-standards] (SCNoLEAST16): Likewise.
4997         [C99-based-standards] (SCNuLEAST16): Likewise.
4998         [C99-based-standards] (SCNxLEAST16): Likewise.
4999         [C99-based-standards] (PRIdFAST16): Likewise.
5000         [C99-based-standards] (PRIiFAST16): Likewise.
5001         [C99-based-standards] (PRIoFAST16): Likewise.
5002         [C99-based-standards] (PRIuFAST16): Likewise.
5003         [C99-based-standards] (PRIxFAST16): Likewise.
5004         [C99-based-standards] (PRIXFAST16): Likewise.
5005         [C99-based-standards] (SCNdFAST16): Likewise.
5006         [C99-based-standards] (SCNiFAST16): Likewise.
5007         [C99-based-standards] (SCNoFAST16): Likewise.
5008         [C99-based-standards] (SCNuFAST16): Likewise.
5009         [C99-based-standards] (SCNxFAST16): Likewise.
5010         [C99-based-standards] (PRId32): Likewise.
5011         [C99-based-standards] (PRIi32): Likewise.
5012         [C99-based-standards] (PRIo32): Likewise.
5013         [C99-based-standards] (PRIu32): Likewise.
5014         [C99-based-standards] (PRIx32): Likewise.
5015         [C99-based-standards] (PRIX32): Likewise.
5016         [C99-based-standards] (SCNd32): Likewise.
5017         [C99-based-standards] (SCNi32): Likewise.
5018         [C99-based-standards] (SCNo32): Likewise.
5019         [C99-based-standards] (SCNu32): Likewise.
5020         [C99-based-standards] (SCNx32): Likewise.
5021         [C99-based-standards] (PRIdLEAST32): Likewise.
5022         [C99-based-standards] (PRIiLEAST32): Likewise.
5023         [C99-based-standards] (PRIoLEAST32): Likewise.
5024         [C99-based-standards] (PRIuLEAST32): Likewise.
5025         [C99-based-standards] (PRIxLEAST32): Likewise.
5026         [C99-based-standards] (PRIXLEAST32): Likewise.
5027         [C99-based-standards] (SCNdLEAST32): Likewise.
5028         [C99-based-standards] (SCNiLEAST32): Likewise.
5029         [C99-based-standards] (SCNoLEAST32): Likewise.
5030         [C99-based-standards] (SCNuLEAST32): Likewise.
5031         [C99-based-standards] (SCNxLEAST32): Likewise.
5032         [C99-based-standards] (PRIdFAST32): Likewise.
5033         [C99-based-standards] (PRIiFAST32): Likewise.
5034         [C99-based-standards] (PRIoFAST32): Likewise.
5035         [C99-based-standards] (PRIuFAST32): Likewise.
5036         [C99-based-standards] (PRIxFAST32): Likewise.
5037         [C99-based-standards] (PRIXFAST32): Likewise.
5038         [C99-based-standards] (SCNdFAST32): Likewise.
5039         [C99-based-standards] (SCNiFAST32): Likewise.
5040         [C99-based-standards] (SCNoFAST32): Likewise.
5041         [C99-based-standards] (SCNuFAST32): Likewise.
5042         [C99-based-standards] (SCNxFAST32): Likewise.
5043         [C99-based-standards] (PRId64): Likewise.
5044         [C99-based-standards] (PRIi64): Likewise.
5045         [C99-based-standards] (PRIo64): Likewise.
5046         [C99-based-standards] (PRIu64): Likewise.
5047         [C99-based-standards] (PRIx64): Likewise.
5048         [C99-based-standards] (PRIX64): Likewise.
5049         [C99-based-standards] (SCNd64): Likewise.
5050         [C99-based-standards] (SCNi64): Likewise.
5051         [C99-based-standards] (SCNo64): Likewise.
5052         [C99-based-standards] (SCNu64): Likewise.
5053         [C99-based-standards] (SCNx64): Likewise.
5054         [C99-based-standards] (PRIdLEAST64): Likewise.
5055         [C99-based-standards] (PRIiLEAST64): Likewise.
5056         [C99-based-standards] (PRIoLEAST64): Likewise.
5057         [C99-based-standards] (PRIuLEAST64): Likewise.
5058         [C99-based-standards] (PRIxLEAST64): Likewise.
5059         [C99-based-standards] (PRIXLEAST64): Likewise.
5060         [C99-based-standards] (SCNdLEAST64): Likewise.
5061         [C99-based-standards] (SCNiLEAST64): Likewise.
5062         [C99-based-standards] (SCNoLEAST64): Likewise.
5063         [C99-based-standards] (SCNuLEAST64): Likewise.
5064         [C99-based-standards] (SCNxLEAST64): Likewise.
5065         [C99-based-standards] (PRIdFAST64): Likewise.
5066         [C99-based-standards] (PRIiFAST64): Likewise.
5067         [C99-based-standards] (PRIoFAST64): Likewise.
5068         [C99-based-standards] (PRIuFAST64): Likewise.
5069         [C99-based-standards] (PRIxFAST64): Likewise.
5070         [C99-based-standards] (PRIXFAST64): Likewise.
5071         [C99-based-standards] (SCNdFAST64): Likewise.
5072         [C99-based-standards] (SCNiFAST64): Likewise.
5073         [C99-based-standards] (SCNoFAST64): Likewise.
5074         [C99-based-standards] (SCNuFAST64): Likewise.
5075         [C99-based-standards] (SCNxFAST64): Likewise.
5076         [C99-based-standards] (PRIdMAX): Likewise.
5077         [C99-based-standards] (PRIiMAX): Likewise.
5078         [C99-based-standards] (PRIoMAX): Likewise.
5079         [C99-based-standards] (PRIuMAX): Likewise.
5080         [C99-based-standards] (PRIxMAX): Likewise.
5081         [C99-based-standards] (PRIXMAX): Likewise.
5082         [C99-based-standards] (SCNdMAX): Likewise.
5083         [C99-based-standards] (SCNiMAX): Likewise.
5084         [C99-based-standards] (SCNoMAX): Likewise.
5085         [C99-based-standards] (SCNuMAX): Likewise.
5086         [C99-based-standards] (SCNxMAX): Likewise.
5087         [C99-based-standards] (PRIdPTR): Likewise.
5088         [C99-based-standards] (PRIiPTR): Likewise.
5089         [C99-based-standards] (PRIoPTR): Likewise.
5090         [C99-based-standards] (PRIuPTR): Likewise.
5091         [C99-based-standards] (PRIxPTR): Likewise.
5092         [C99-based-standards] (PRIXPTR): Likewise.
5093         [C99-based-standards] (SCNdPTR): Likewise.
5094         [C99-based-standards] (SCNiPTR): Likewise.
5095         [C99-based-standards] (SCNoPTR): Likewise.
5096         [C99-based-standards] (SCNuPTR): Likewise.
5097         [C99-based-standards] (SCNxPTR): Likewise.
5098         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5099         allow.
5100         * conform/data/stdint.h-data: Update comments to clarify
5101         requirements.
5102         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5103         type.
5104         [C99-based standards] (INT8_MAX): Likewise.
5105         [C99-based standards] (INT16_MIN): Likewise.
5106         [C99-based standards] (INT16_MAX): Likewise.
5107         [C99-based standards] (INT32_MIN): Likewise.
5108         [C99-based standards] (INT32_MAX): Likewise.
5109         [C99-based standards] (INT64_MIN): Likewise.
5110         [C99-based standards] (INT64_MAX): Likewise.
5111         [C99-based standards] (UINT8_MAX): Likewise.
5112         [C99-based standards] (UINT16_MAX): Likewise.
5113         [C99-based standards] (UINT32_MAX): Likewise.
5114         [C99-based standards] (UINT64_MAX): Likewise.
5115         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5116         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5117         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5118         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5119         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5120         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5121         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5122         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5123         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5124         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5125         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5126         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5127         [C99-based standards] (INT_FAST8_MIN): Likewise.
5128         [C99-based standards] (INT_FAST8_MAX): Likewise.
5129         [C99-based standards] (INT_FAST16_MIN): Likewise.
5130         [C99-based standards] (INT_FAST16_MAX): Likewise.
5131         [C99-based standards] (INT_FAST32_MIN): Likewise.
5132         [C99-based standards] (INT_FAST32_MAX): Likewise.
5133         [C99-based standards] (INT_FAST64_MIN): Likewise.
5134         [C99-based standards] (INT_FAST64_MAX): Likewise.
5135         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5136         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5137         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5138         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5139         [C99-based standards] (INTPTR_MIN): Likewise.
5140         [C99-based standards] (INTPTR_MAX): Likewise.
5141         [C99-based standards] (UINTPTR_MAX): Likewise.
5142         [C99-based standards] (INTMAX_MIN): Likewise.
5143         [C99-based standards] (INTMAX_MAX): Likewise.
5144         [C99-based standards] (UINTMAX_MAX): Likewise.
5145         [C99-based standards] (PTRDIFF_MIN): Likewise.
5146         [C99-based standards] (PTRDIFF_MAX): Likewise.
5147         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5148         [C99-based standards] (SIZE_MAX): Likewise.
5149         [C99-based standards] (WCHAR_MAX): Likewise.
5150         [C99-based standards] (WINT_MAX): Likewise.
5151         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5152         constraint on value.
5153         [C99-based standards] (WCHAR_MIN): Likewise.
5154         [C99-based standards] (WINT_MIN): Likewise.
5155         [C99-based standards] (*_t): Allow.
5156         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5157         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5158         Include math.h-data and complex.h-data.  Remove all expectations
5159         of math.h and complex.h contents.
5160         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5161         at end of line.
5162         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5163         (struct tm): Expect tag.
5164         [C99-based-standards] (wcstof): Expect function.
5165         [C99-based-standards] (wcstold): Likewise.
5166         [C99-based-standards] (wcstoll): Likewise.
5167         [C99-based-standards] (wcstoull): Likewise.
5168         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5169         macro-int-constant.  Specify type.
5170         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5171         constraint on value.
5172         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5173         Specify type.
5174         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5175         Specify value.
5176         [ISO C standards]: Do not allow headers.
5177         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5178         wcs[abcdefghijklmnopqrstuvwxyz]*.
5179         [ISO C standards] (*_t): Do not allow.
5180         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5181         Expect function.
5182         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5183         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5184         Specify type.
5185         [ISO C standards]: Do not allow headers.
5186         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5187         is[abcdefghijklmnopqrstuvwxyz]*.
5188         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5189         to[abcdefghijklmnopqrstuvwxyz]*.
5190         [ISO C standards] (*_t): Do not allow.
5191         * conform/data/stdalign.h-data: New file.
5192         * conform/data/stdbool.h-data: Likewise.
5193         * conform/data/stdnoreturn.h-data: Likewise.
5195 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5197         [BZ #14815]
5198         * manual/filesys.texi (Directory Entries): Typo fix.
5199         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5201 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5203         * elf/elf.h (EM_AARCH64): New macro.
5204         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5205         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5206         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5207         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5208         (R_AARCH64_TLSDESC): Likewise.
5209         (NT_ARM_TLS): Likewise.
5210         (NT_ARM_HW_BREAK): Likewise.
5211         (NT_ARM_HW_WATCH): Likewise.
5213 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5215         [BZ #14811]
5216         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5217         (__ieee754_powl): Saturate nonzero exponents with absolute value
5218         below 0x1p-79 to +/- 0x1p-79.
5219         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5220         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5221         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5222         nonzero exponents with absolute value below 0x1p-32 to +/-
5223         0x1p-32.
5224         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5225         (__ieee754_powl): Saturate nonzero exponents with absolute value
5226         below 0x1p-79 to +/- 0x1p-79.
5227         * math/libm-test.inc (pow_test): Add more tests.
5229 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5231         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5232         _dl_s390_cap_flags with kernel. Increase string length.
5233         (_dl_s390_platforms): Add z196 and zEC12.
5235 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5237         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5238         Change XOPEN21K to XOPEN2K.
5240 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5242         * string/memmove.c: Use memcpy when possible.
5244 2012-11-06  Andreas Jaeger  <aj@suse.de>
5246         * po/eo.po: Update from translation team.
5248 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5250         [BZ #14793]
5251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5252         exponent and small x and y exponents, scale x or y up.  Increase
5253         by 2 the exponent used in scaling up.
5254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5255         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5256         * math/libm-test.inc (fma_test): Add more tests.
5257         (fma_test_towardzero): Likewise.
5258         (fma_test_downward): Likewise.
5259         (fma_test_upward): Likewise.
5261 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5263         [BZ #14805]
5264         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5265         fenv_t *.
5267         [BZ #14801]
5268         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5269         namespace for names of struct fields.
5270         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5271         fenv_t fields.
5272         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5273         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5275 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5277         [BZ #3665]
5278         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5280 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5282         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5283         PTR_DEMANGLE.
5285         [BZ #5246]
5286         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5287         PTR_DEMANGLE.
5289 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5291         [BZ #14797]
5292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5293         definitely overflow as x * y not x * y + z.
5294         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5295         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5296         * math/libm-test.inc (fma_test): Add more tests.
5297         (fma_test_towardzero): Likewise.
5298         (fma_test_downward): Likewise.
5299         (fma_test_upward): Likewise.
5301 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5303         [BZ #157]
5305         * include/stub-tag.h: Remove file.
5306         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5307         '#include' of it.
5308         * manual/maint.texi (Porting): Don't reference it.
5309         * Makerules ($(objpfx)stubs): Likewise.
5310         * dirent/closedir.c: Don't include <stub-tag.h>.
5311         * dirent/dirfd.c: Likewise.
5312         * dirent/fdopendir.c: Likewise.
5313         * dirent/getdents.c: Likewise.
5314         * dirent/getdents64.c: Likewise.
5315         * dirent/opendir.c: Likewise.
5316         * dirent/readdir.c: Likewise.
5317         * dirent/readdir64.c: Likewise.
5318         * dirent/readdir64_r.c: Likewise.
5319         * dirent/readdir_r.c: Likewise.
5320         * dirent/rewinddir.c: Likewise.
5321         * dirent/seekdir.c: Likewise.
5322         * dirent/telldir.c: Likewise.
5323         * gmon/profil.c: Likewise.
5324         * grp/setgroups.c: Likewise.
5325         * inet/if_index.c: Likewise.
5326         * io/access.c: Likewise.
5327         * io/chdir.c: Likewise.
5328         * io/chmod.c: Likewise.
5329         * io/chown.c: Likewise.
5330         * io/close.c: Likewise.
5331         * io/dup.c: Likewise.
5332         * io/dup2.c: Likewise.
5333         * io/dup3.c: Likewise.
5334         * io/euidaccess.c: Likewise.
5335         * io/faccessat.c: Likewise.
5336         * io/fchdir.c: Likewise.
5337         * io/fchmod.c: Likewise.
5338         * io/fchmodat.c: Likewise.
5339         * io/fchown.c: Likewise.
5340         * io/fchownat.c: Likewise.
5341         * io/fcntl.c: Likewise.
5342         * io/flock.c: Likewise.
5343         * io/fstatfs.c: Likewise.
5344         * io/fstatfs64.c: Likewise.
5345         * io/fstatvfs.c: Likewise.
5346         * io/fstatvfs64.c: Likewise.
5347         * io/futimens.c: Likewise.
5348         * io/fxstat.c: Likewise.
5349         * io/fxstat64.c: Likewise.
5350         * io/fxstatat.c: Likewise.
5351         * io/fxstatat64.c: Likewise.
5352         * io/getcwd.c: Likewise.
5353         * io/isatty.c: Likewise.
5354         * io/lchmod.c: Likewise.
5355         * io/lchown.c: Likewise.
5356         * io/link.c: Likewise.
5357         * io/linkat.c: Likewise.
5358         * io/lseek.c: Likewise.
5359         * io/lseek64.c: Likewise.
5360         * io/lxstat64.c: Likewise.
5361         * io/mkdir.c: Likewise.
5362         * io/mkdirat.c: Likewise.
5363         * io/mkfifo.c: Likewise.
5364         * io/mkfifoat.c: Likewise.
5365         * io/open.c: Likewise.
5366         * io/open64.c: Likewise.
5367         * io/openat.c: Likewise.
5368         * io/openat64.c: Likewise.
5369         * io/pipe.c: Likewise.
5370         * io/pipe2.c: Likewise.
5371         * io/poll.c: Likewise.
5372         * io/posix_fadvise.c: Likewise.
5373         * io/posix_fadvise64.c: Likewise.
5374         * io/posix_fallocate.c: Likewise.
5375         * io/posix_fallocate64.c: Likewise.
5376         * io/read.c: Likewise.
5377         * io/readlink.c: Likewise.
5378         * io/readlinkat.c: Likewise.
5379         * io/rmdir.c: Likewise.
5380         * io/sendfile.c: Likewise.
5381         * io/sendfile64.c: Likewise.
5382         * io/statfs.c: Likewise.
5383         * io/statfs64.c: Likewise.
5384         * io/statvfs.c: Likewise.
5385         * io/statvfs64.c: Likewise.
5386         * io/symlink.c: Likewise.
5387         * io/symlinkat.c: Likewise.
5388         * io/ttyname.c: Likewise.
5389         * io/ttyname_r.c: Likewise.
5390         * io/umask.c: Likewise.
5391         * io/unlink.c: Likewise.
5392         * io/unlinkat.c: Likewise.
5393         * io/utime.c: Likewise.
5394         * io/utimensat.c: Likewise.
5395         * io/write.c: Likewise.
5396         * io/xmknod.c: Likewise.
5397         * io/xmknodat.c: Likewise.
5398         * io/xstat.c: Likewise.
5399         * io/xstat64.c: Likewise.
5400         * login/getpt.c: Likewise.
5401         * login/grantpt.c: Likewise.
5402         * login/unlockpt.c: Likewise.
5403         * math/e_acoshl.c: Likewise.
5404         * math/e_acosl.c: Likewise.
5405         * math/e_asinl.c: Likewise.
5406         * math/e_atan2l.c: Likewise.
5407         * math/e_atanhl.c: Likewise.
5408         * math/e_coshl.c: Likewise.
5409         * math/e_expl.c: Likewise.
5410         * math/e_fmodl.c: Likewise.
5411         * math/e_gammal_r.c: Likewise.
5412         * math/e_hypotl.c: Likewise.
5413         * math/e_j0l.c: Likewise.
5414         * math/e_j1l.c: Likewise.
5415         * math/e_jnl.c: Likewise.
5416         * math/e_lgammal_r.c: Likewise.
5417         * math/e_log10l.c: Likewise.
5418         * math/e_log2l.c: Likewise.
5419         * math/e_logl.c: Likewise.
5420         * math/e_powl.c: Likewise.
5421         * math/e_rem_pio2l.c: Likewise.
5422         * math/e_sinhl.c: Likewise.
5423         * math/e_sqrtl.c: Likewise.
5424         * math/fclrexcpt.c: Likewise.
5425         * math/fedisblxcpt.c: Likewise.
5426         * math/feenablxcpt.c: Likewise.
5427         * math/fegetenv.c: Likewise.
5428         * math/fegetexcept.c: Likewise.
5429         * math/fegetround.c: Likewise.
5430         * math/feholdexcpt.c: Likewise.
5431         * math/fesetenv.c: Likewise.
5432         * math/fesetround.c: Likewise.
5433         * math/feupdateenv.c: Likewise.
5434         * math/fgetexcptflg.c: Likewise.
5435         * math/fraiseexcpt.c: Likewise.
5436         * math/fsetexcptflg.c: Likewise.
5437         * math/ftestexcept.c: Likewise.
5438         * math/k_cosl.c: Likewise.
5439         * math/k_rem_pio2l.c: Likewise.
5440         * math/k_sinl.c: Likewise.
5441         * math/k_tanl.c: Likewise.
5442         * math/s_asinhl.c: Likewise.
5443         * math/s_atanl.c: Likewise.
5444         * math/s_cbrtl.c: Likewise.
5445         * math/s_erfl.c: Likewise.
5446         * math/s_expm1l.c: Likewise.
5447         * math/s_log1pl.c: Likewise.
5448         * math/s_tanhl.c: Likewise.
5449         * misc/acct.c: Likewise.
5450         * misc/brk.c: Likewise.
5451         * misc/chflags.c: Likewise.
5452         * misc/chroot.c: Likewise.
5453         * misc/fchflags.c: Likewise.
5454         * misc/fgetxattr.c: Likewise.
5455         * misc/flistxattr.c: Likewise.
5456         * misc/fremovexattr.c: Likewise.
5457         * misc/fsetxattr.c: Likewise.
5458         * misc/fsync.c: Likewise.
5459         * misc/ftruncate.c: Likewise.
5460         * misc/futimes.c: Likewise.
5461         * misc/futimesat.c: Likewise.
5462         * misc/getdomain.c: Likewise.
5463         * misc/getdtsz.c: Likewise.
5464         * misc/gethostid.c: Likewise.
5465         * misc/gethostname.c: Likewise.
5466         * misc/getloadavg.c: Likewise.
5467         * misc/getpagesize.c: Likewise.
5468         * misc/getsysstats.c: Likewise.
5469         * misc/getxattr.c: Likewise.
5470         * misc/gtty.c: Likewise.
5471         * misc/ioctl.c: Likewise.
5472         * misc/lgetxattr.c: Likewise.
5473         * misc/listxattr.c: Likewise.
5474         * misc/llistxattr.c: Likewise.
5475         * misc/lremovexattr.c: Likewise.
5476         * misc/lsetxattr.c: Likewise.
5477         * misc/lutimes.c: Likewise.
5478         * misc/madvise.c: Likewise.
5479         * misc/mincore.c: Likewise.
5480         * misc/mlock.c: Likewise.
5481         * misc/mlockall.c: Likewise.
5482         * misc/mmap.c: Likewise.
5483         * misc/mprotect.c: Likewise.
5484         * misc/msync.c: Likewise.
5485         * misc/munlock.c: Likewise.
5486         * misc/munlockall.c: Likewise.
5487         * misc/munmap.c: Likewise.
5488         * misc/preadv.c: Likewise.
5489         * misc/preadv64.c: Likewise.
5490         * misc/ptrace.c: Likewise.
5491         * misc/pwritev.c: Likewise.
5492         * misc/pwritev64.c: Likewise.
5493         * misc/readv.c: Likewise.
5494         * misc/reboot.c: Likewise.
5495         * misc/remap_file_pages.c: Likewise.
5496         * misc/removexattr.c: Likewise.
5497         * misc/revoke.c: Likewise.
5498         * misc/select.c: Likewise.
5499         * misc/setdomain.c: Likewise.
5500         * misc/setegid.c: Likewise.
5501         * misc/seteuid.c: Likewise.
5502         * misc/sethostid.c: Likewise.
5503         * misc/sethostname.c: Likewise.
5504         * misc/setregid.c: Likewise.
5505         * misc/setreuid.c: Likewise.
5506         * misc/setxattr.c: Likewise.
5507         * misc/sstk.c: Likewise.
5508         * misc/stty.c: Likewise.
5509         * misc/swapoff.c: Likewise.
5510         * misc/swapon.c: Likewise.
5511         * misc/sync.c: Likewise.
5512         * misc/syncfs.c: Likewise.
5513         * misc/syscall.c: Likewise.
5514         * misc/truncate.c: Likewise.
5515         * misc/ualarm.c: Likewise.
5516         * misc/usleep.c: Likewise.
5517         * misc/ustat.c: Likewise.
5518         * misc/utimes.c: Likewise.
5519         * misc/vhangup.c: Likewise.
5520         * misc/writev.c: Likewise.
5521         * posix/_exit.c: Likewise.
5522         * posix/alarm.c: Likewise.
5523         * posix/execve.c: Likewise.
5524         * posix/fexecve.c: Likewise.
5525         * posix/fork.c: Likewise.
5526         * posix/fpathconf.c: Likewise.
5527         * posix/getaddrinfo.c: Likewise.
5528         * posix/getegid.c: Likewise.
5529         * posix/geteuid.c: Likewise.
5530         * posix/getgid.c: Likewise.
5531         * posix/getgroups.c: Likewise.
5532         * posix/getlogin.c: Likewise.
5533         * posix/getlogin_r.c: Likewise.
5534         * posix/getpgid.c: Likewise.
5535         * posix/getpid.c: Likewise.
5536         * posix/getppid.c: Likewise.
5537         * posix/getresgid.c: Likewise.
5538         * posix/getresuid.c: Likewise.
5539         * posix/getsid.c: Likewise.
5540         * posix/getuid.c: Likewise.
5541         * posix/glob64.c: Likewise.
5542         * posix/nanosleep.c: Likewise.
5543         * posix/pathconf.c: Likewise.
5544         * posix/pause.c: Likewise.
5545         * posix/posix_madvise.c: Likewise.
5546         * posix/pread.c: Likewise.
5547         * posix/pread64.c: Likewise.
5548         * posix/pwrite.c: Likewise.
5549         * posix/pwrite64.c: Likewise.
5550         * posix/sched_getaffinity.c: Likewise.
5551         * posix/sched_getp.c: Likewise.
5552         * posix/sched_gets.c: Likewise.
5553         * posix/sched_primax.c: Likewise.
5554         * posix/sched_primin.c: Likewise.
5555         * posix/sched_rr_gi.c: Likewise.
5556         * posix/sched_setaffinity.c: Likewise.
5557         * posix/sched_setp.c: Likewise.
5558         * posix/sched_sets.c: Likewise.
5559         * posix/sched_yield.c: Likewise.
5560         * posix/setgid.c: Likewise.
5561         * posix/setlogin.c: Likewise.
5562         * posix/setpgid.c: Likewise.
5563         * posix/setresgid.c: Likewise.
5564         * posix/setresuid.c: Likewise.
5565         * posix/setsid.c: Likewise.
5566         * posix/setuid.c: Likewise.
5567         * posix/sleep.c: Likewise.
5568         * posix/spawni.c: Likewise.
5569         * posix/sysconf.c: Likewise.
5570         * posix/times.c: Likewise.
5571         * posix/wait.c: Likewise.
5572         * posix/wait3.c: Likewise.
5573         * posix/wait4.c: Likewise.
5574         * posix/waitpid.c: Likewise.
5575         * resolv/gai_sigqueue.c: Likewise.
5576         * resource/getpriority.c: Likewise.
5577         * resource/getrlimit.c: Likewise.
5578         * resource/getrusage.c: Likewise.
5579         * resource/nice.c: Likewise.
5580         * resource/setpriority.c: Likewise.
5581         * resource/setrlimit.c: Likewise.
5582         * resource/ulimit.c: Likewise.
5583         * rt/aio_cancel.c: Likewise.
5584         * rt/aio_fsync.c: Likewise.
5585         * rt/aio_read.c: Likewise.
5586         * rt/aio_sigqueue.c: Likewise.
5587         * rt/aio_suspend.c: Likewise.
5588         * rt/aio_write.c: Likewise.
5589         * rt/clock_getres.c: Likewise.
5590         * rt/clock_gettime.c: Likewise.
5591         * rt/clock_nanosleep.c: Likewise.
5592         * rt/clock_settime.c: Likewise.
5593         * rt/lio_listio.c: Likewise.
5594         * rt/mq_close.c: Likewise.
5595         * rt/mq_getattr.c: Likewise.
5596         * rt/mq_notify.c: Likewise.
5597         * rt/mq_open.c: Likewise.
5598         * rt/mq_receive.c: Likewise.
5599         * rt/mq_send.c: Likewise.
5600         * rt/mq_setattr.c: Likewise.
5601         * rt/mq_timedreceive.c: Likewise.
5602         * rt/mq_timedsend.c: Likewise.
5603         * rt/mq_unlink.c: Likewise.
5604         * rt/shm_open.c: Likewise.
5605         * rt/shm_unlink.c: Likewise.
5606         * rt/timer_create.c: Likewise.
5607         * rt/timer_delete.c: Likewise.
5608         * rt/timer_getoverr.c: Likewise.
5609         * rt/timer_gettime.c: Likewise.
5610         * rt/timer_settime.c: Likewise.
5611         * setjmp/__longjmp.c: Likewise.
5612         * setjmp/setjmp.c: Likewise.
5613         * signal/kill.c: Likewise.
5614         * signal/killpg.c: Likewise.
5615         * signal/raise.c: Likewise.
5616         * signal/sigaction.c: Likewise.
5617         * signal/sigaltstack.c: Likewise.
5618         * signal/sigblock.c: Likewise.
5619         * signal/sigignore.c: Likewise.
5620         * signal/sigintr.c: Likewise.
5621         * signal/signal.c: Likewise.
5622         * signal/sigpause.c: Likewise.
5623         * signal/sigpending.c: Likewise.
5624         * signal/sigqueue.c: Likewise.
5625         * signal/sigreturn.c: Likewise.
5626         * signal/sigset.c: Likewise.
5627         * signal/sigsetmask.c: Likewise.
5628         * signal/sigstack.c: Likewise.
5629         * signal/sigsuspend.c: Likewise.
5630         * signal/sigtimedwait.c: Likewise.
5631         * signal/sigvec.c: Likewise.
5632         * signal/sigwait.c: Likewise.
5633         * signal/sigwaitinfo.c: Likewise.
5634         * signal/sysv_signal.c: Likewise.
5635         * socket/accept.c: Likewise.
5636         * socket/accept4.c: Likewise.
5637         * socket/bind.c: Likewise.
5638         * socket/connect.c: Likewise.
5639         * socket/getpeername.c: Likewise.
5640         * socket/getsockname.c: Likewise.
5641         * socket/getsockopt.c: Likewise.
5642         * socket/isfdtype.c: Likewise.
5643         * socket/listen.c: Likewise.
5644         * socket/recv.c: Likewise.
5645         * socket/recvfrom.c: Likewise.
5646         * socket/recvmsg.c: Likewise.
5647         * socket/send.c: Likewise.
5648         * socket/sendmsg.c: Likewise.
5649         * socket/sendto.c: Likewise.
5650         * socket/setsockopt.c: Likewise.
5651         * socket/shutdown.c: Likewise.
5652         * socket/sockatmark.c: Likewise.
5653         * socket/socket.c: Likewise.
5654         * socket/socketpair.c: Likewise.
5655         * stdio-common/ctermid.c: Likewise.
5656         * stdio-common/cuserid.c: Likewise.
5657         * stdio-common/remove.c: Likewise.
5658         * stdio-common/rename.c: Likewise.
5659         * stdio-common/renameat.c: Likewise.
5660         * stdio-common/tempname.c: Likewise.
5661         * stdlib/getcontext.c: Likewise.
5662         * stdlib/makecontext.c: Likewise.
5663         * stdlib/setcontext.c: Likewise.
5664         * stdlib/swapcontext.c: Likewise.
5665         * stdlib/system.c: Likewise.
5666         * streams/fattach.c: Likewise.
5667         * streams/fdetach.c: Likewise.
5668         * streams/getmsg.c: Likewise.
5669         * streams/getpmsg.c: Likewise.
5670         * streams/putmsg.c: Likewise.
5671         * streams/putpmsg.c: Likewise.
5672         * sysdeps/unix/bsd/getpt.c: Likewise.
5673         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5674         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5675         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5677         Likewise.
5678         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5679         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5680         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5681         * sysvipc/msgctl.c: Likewise.
5682         * sysvipc/msgget.c: Likewise.
5683         * sysvipc/msgrcv.c: Likewise.
5684         * sysvipc/msgsnd.c: Likewise.
5685         * sysvipc/semctl.c: Likewise.
5686         * sysvipc/semget.c: Likewise.
5687         * sysvipc/semop.c: Likewise.
5688         * sysvipc/semtimedop.c: Likewise.
5689         * sysvipc/shmat.c: Likewise.
5690         * sysvipc/shmctl.c: Likewise.
5691         * sysvipc/shmdt.c: Likewise.
5692         * sysvipc/shmget.c: Likewise.
5693         * termios/tcdrain.c: Likewise.
5694         * termios/tcflow.c: Likewise.
5695         * termios/tcflush.c: Likewise.
5696         * termios/tcgetattr.c: Likewise.
5697         * termios/tcgetpgrp.c: Likewise.
5698         * termios/tcsendbrk.c: Likewise.
5699         * termios/tcsetattr.c: Likewise.
5700         * termios/tcsetpgrp.c: Likewise.
5701         * time/adjtime.c: Likewise.
5702         * time/clock.c: Likewise.
5703         * time/getitimer.c: Likewise.
5704         * time/gettimeofday.c: Likewise.
5705         * time/setitimer.c: Likewise.
5706         * time/settimeofday.c: Likewise.
5707         * time/stime.c: Likewise.
5708         * time/time.c: Likewise.
5710 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
5712         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5713         /usr/old/bin.
5715         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5716         instead of spaces.
5717         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5719 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
5721         [BZ #14796]
5722         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5723         FE_TONEAREST before applying Dekker multiplication and Knuth
5724         addition.  Clear inexact exceptions and check for exact zero
5725         results afterwards.
5726         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5727         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5729         * math/libm-test.inc (fma_test): Add more tests.
5730         (fma_test_towardzero): Likewise.
5731         (fma_test_downward): Likewise.
5732         (fma_test_upward): Likewise.
5733         * sysdeps/generic/math_private.h (default_libc_fesetround): New
5734         function.
5735         (libc_fesetround): New macro.
5736         (libc_fesetroundf): Likewise.
5737         (libc_fesetroundl): Likewise.
5738         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5739         function.
5740         (libc_fesetround_387): Likewise.
5741         (libc_fesetroundf): New macro.
5742         (libc_fesetround): Likewise.
5743         (libc_fesetroundl): Likewise.
5744         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5745         function.
5746         (libc_fesetroundf): New macro.
5747         (libc_fesetround): Likewise.
5748         (libc_fesetroundl): Likewise.
5749         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5750         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5751         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5752         libm_hidden_ver.
5753         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5754         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5755         libm_hidden_def.
5756         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5757         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5758         libm_hidden_ver.
5759         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5760         libm_hidden_def.
5762         [BZ #3439]
5763         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5764         integer constant usable in #if and use that to give value to enum
5765         constant.
5766         (FE_DIVBYZERO): Likewise.
5767         (FE_UNDERFLOW): Likewise.
5768         (FE_OVERFLOW): Likewise.
5769         (FE_INVALID): Likewise.
5770         (FE_INVALID_SNAN): Likewise.
5771         (FE_INVALID_ISI): Likewise.
5772         (FE_INVALID_IDI): Likewise.
5773         (FE_INVALID_ZDZ): Likewise.
5774         (FE_INVALID_IMZ): Likewise.
5775         (FE_INVALID_COMPARE): Likewise.
5776         (FE_INVALID_SOFTWARE): Likewise.
5777         (FE_INVALID_SQRT): Likewise.
5778         (FE_INVALID_INTEGER_CONVERSION): Likewise.
5779         (FE_TONEAREST): Likewise.
5780         (FE_TOWARDZERO): Likewise.
5781         (FE_UPWARD): Likewise.
5782         (FE_DOWNWARD): Likewise.
5783         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5784         (FE_DIVBYZERO): Likewise.
5785         (FE_OVERFLOW): Likewise.
5786         (FE_UNDERFLOW): Likewise.
5787         (FE_INEXACT): Likewise.
5788         (FE_TONEAREST): Likewise.
5789         (FE_DOWNWARD): Likewise.
5790         (FE_UPWARD): Likewise.
5791         (FE_TOWARDZERO): Likewise.
5792         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5793         (FE_UNDERFLOW): Likewise.
5794         (FE_OVERFLOW): Likewise.
5795         (FE_DIVBYZERO): Likewise.
5796         (FE_INVALID): Likewise.
5797         (FE_TONEAREST): Likewise.
5798         (FE_TOWARDZERO): Likewise.
5799         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5800         (FE_OVERFLOW): Likewise.
5801         (FE_UNDERFLOW): Likewise.
5802         (FE_DIVBYZERO): Likewise.
5803         (FE_INEXACT): Likewise.
5804         (FE_TONEAREST): Likewise.
5805         (FE_TOWARDZERO): Likewise.
5806         (FE_UPWARD): Likewise.
5807         (FE_DOWNWARD): Likewise.
5808         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5809         (FE_DIVBYZERO): Likewise.
5810         (FE_OVERFLOW): Likewise.
5811         (FE_UNDERFLOW): Likewise.
5812         (FE_INEXACT): Likewise.
5813         (FE_TONEAREST): Likewise.
5814         (FE_DOWNWARD): Likewise.
5815         (FE_UPWARD): Likewise.
5816         (FE_TOWARDZERO): Likewise.
5818 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
5820         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5822 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
5824         * scripts/cross-test-ssh.sh (command): Use newlines to separate
5825         commands.  Quote $PWD.
5826         (blacklist_exports): Don't use remove_newlines.  Replace "declare
5827         -x" by "export".
5828         (remove_newlines): Remove.
5830 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
5832         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5833         * stdlib/stdlib.h (atof): Moved to ...
5834         * include/bits/stdlib-float.h: Here.  New file.
5835         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5836         * stdlib/bits/stdlib-float.h: New file.
5837         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5838         -mno-sse -mno-mmx.
5839         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5840         <xmmintrin.h>.
5842 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5844         * conform/conformtest.pl (@headers): Add fenv.h.
5845         * conform/data/fenv.h-data: New file.
5846         * include/fenv.h [_ISOMAC]: Disable all contents of file except
5847         include of <math/fenv.h>.
5849         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5850         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5851         && !UNIX98].  Enables tests for XOPEN2K8.
5852         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5853         POSIX2008]: Likewise.
5855         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5856         (struct rusage): Do not expect type or its members.
5858         [BZ #3439]
5859         * math/math.h (FP_NAN): Define macro to integer constant usable in
5860         #if and use that to give value to enum constant.
5861         (FP_INFINITE): Likewise.
5862         (FP_ZERO): Likewise.
5863         (FP_SUBNORMAL): Likewise.
5864         (FP_NORMAL): Likewise.
5866 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
5868         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5869         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5870         arguments.
5872 2012-11-02  Roland McGrath  <roland@hack.frob.com>
5874         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5875         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5876         autoconf-time if not.
5877         * configure.in: Remove AC_PREREQ.
5879 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5881         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5882         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5883         of the internal implementation.
5885 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5887         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5888         except include of <misc/sys/syslog.h>.
5890 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5893         function returns with a NULL context exit with zero.
5895 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5897         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5899 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
5901         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5902         (run_program_cmd): This.
5903         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5904         (tst_langinfo): New variable.  Use it.
5906 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
5908         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5909         floating point opcodes.
5911 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5913         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5914         variable.
5916         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5918         * sysdeps/mach/hurd/powerpc: Remove directory.
5919         * sysdeps/mach/powerpc: Likewise.
5921 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5923         * scripts/check-local-headers.sh: Ignore c++ headers.
5925 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5927         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5928         __libc_cleanup_region_start argument.
5930 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
5932         [BZ #14784]
5933         [BZ #14785]
5934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5935         x * y using scaling, not as x * y + z.
5936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5937         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5938         * math/libm-test.inc (fma_test): Add more tests.
5939         (fma_test_towardzero): Likewise.
5940         (fma_test_downward): Likewise.
5941         (fma_test_upward): Likewise.
5943 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5945         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5947 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5949         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5950         New variable.
5952 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
5954         * rt/tst-shm.c (worker): Correct checking for mmap failure.
5956 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5959         Fix sort order.
5960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5961         Likewise.
5963 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5966         Fix the order of the list for glibc 2.17.
5967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5968         Likewise.
5970 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5974 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5976         [BZ #14610]
5977         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5978         for low part of x being zero before using __atanl (y).
5979         * math/libm-test.inc (atan2_test): Add another test.
5981         * manual/install.texi (Configuring and compiling): Document
5982         general use of test-wrapper and test-wrapper-env.
5983         * INSTALL: Regenerated.
5985         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5986         (__fma): Do not extract and scale down low bits on after-rounding
5987         systems when result rounded to normal precision would have normal
5988         exponent.
5989         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5990         (__fmal): 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-96/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         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5998         macro.
5999         (fma_test): Add more tests.
6000         (fma_test_towardzero): Likewise.
6001         (fma_test_downward): Likewise.
6002         (fma_test_upward): Likewise.
6004 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6006         * sysdeps/i386/tininess.h: Renamed to ...
6007         * sysdeps/x86/tininess.h: This.
6008         * sysdeps/x86_64/tininess.h: Removed.
6010 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6012         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6013         input.  Use $(build-program-cmd).
6014         ($(objpfx)tst-array1-static.out): Likewise.
6015         ($(objpfx)tst-array2.out): Likewise.
6016         ($(objpfx)tst-array3.out): Likewise.
6017         ($(objpfx)tst-array4.out): Likewise.
6018         ($(objpfx)tst-array5.out): Likewise.
6019         ($(objpfx)tst-array5-static.out): Likewise.
6021 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6023         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6024         if defined.
6026         * nss/nsswitch.h (nss_interface_function): Provide new
6027         macro for use with NSS functions.
6028         * grp/initgroups.c: Use new macro.
6029         * nss/getXXbyYY.c: Likewise.
6030         * nss/getXXbyYY_r.c: Likewise.
6031         * nss/getXXent.c: Likewise.
6032         * nss/getXXent_r.c: Likewise.
6033         * sysdeps/posix/getaddrinfo.c: Likewise.
6035 2012-10-30  Andreas Jaeger  <aj@suse.de>
6037         * po/ru.po: Update Russion translation from translation project.
6039 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6041         [BZ #14152]
6042         [BZ #14783]
6043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6044         result and shift together with sticky bit instead of replicating
6045         round-to-nearest rounding.
6046         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6047         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6048         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6049         missing underflow exceptions.
6050         (fma_test_towardzero): Add more tests.
6051         (fma_test_downward): Likewise.
6052         (fma_test_upward): Likewise.
6054         [BZ #14047]
6055         * sysdeps/generic/tininess.h: New file.
6056         * sysdeps/i386/tininess.h: Likewise.
6057         * sysdeps/sh/tininess.h: Likewise.
6058         * sysdeps/x86_64/tininess.h: Likewise.
6059         * stdlib/tst-strtod-underflow.c: Likewise.
6060         * stdlib/tst-tininess.c: Likewise.
6061         * stdlib/strtod_l.c: Include <tininess.h>.
6062         (round_and_return): Do not set errno for exact underflow cases.
6063         Force an underflow exception when setting errno for underflow.
6064         Determine underflow based on rounding to normal precision if
6065         TININESS_AFTER_ROUNDING.
6066         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6067         ERANGE for exact underflow cases.
6068         * stdlib/Makefile (tests): Add tst-tininess and
6069         tst-strtod-underflow.
6070         ($(objpfx)tst-tininess): Use $(link-libm).
6071         ($(objpfx)tst-strtod-underflow): Likewise.
6073 2012-10-30  Andreas Jaeger  <aj@suse.de>
6075         [BZ#14767]
6076         * elf/Makefile (tests): Remove conditional for have-initfini-array
6077         since this is now always required and the variable does not exist
6078         anymore.
6079         (tests-static): Likewise.
6080         (modules-names): Likewise.
6082         * po/eo.po: Add Esperanto translation from translation project.
6084         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6085         merged with constructor/destructor.
6086         (init_array): Likewise.
6087         * elf/tst-array2dep.c (fini_array): Likewise.
6088         (init_array): Likewise.
6090 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6092         * manual/message.texi: Delete @cartouche tags.
6094 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6096         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6097         EOPNOTSUPP.
6098         * sysdeps/mach/hurd/fsync.c: Likewise.
6100         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6101         [_POSIX_REALTIME_SIGNALS]: Change condition to
6102         [_POSIX_REALTIME_SIGNALS > 0].
6104 2012-10-27  Andreas Jaeger  <aj@suse.de>
6106         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6107         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6108         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6109         [__WORDSIZE != 64]: Likewise.
6111 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6113         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6114         *  iconvdata/tst-tables.sh: Likewise.
6116 2012-10-25  David S. Miller  <davem@davemloft.net>
6118         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6119         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6120         of strtoull.
6122         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6123         ifunc-impl-list.c
6124         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6125         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6126         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6127         file.
6129 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6131         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6132         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6133         __getdirentries.
6135 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6136             Jim Blandy  <jimb@codesourcery.com>
6138         * scripts/cross-test-ssh.sh: New file.
6139         * manual/install.texi (Configuring and compiling): Document use of
6140         cross-test-ssh.sh.
6141         * INSTALL: Regenerated.
6143 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6145         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6146         EOPNOTSUPP.
6148 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6150         * Makeconfig (run-program-prefix): Fix comment.
6152 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6153             Jim Blandy  <jimb@codesourcery.com>
6155         * Makeconfig (test-wrapper): New variable,
6156         (test-wrapper-env): Likewise.
6157         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6158         (run-built-tests): Define to yes.
6159         (run-program-prefix): Use $(test-wrapper).
6160         (built-program-cmd): Likewise.
6161         * Rules (make-test-out): Use $(test-wrapper-env) and
6162         $(host-built-program-cmd).
6163         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6164         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6165         tst-pathopt.sh.
6166         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6167         $(test-wrapper-env) to tst-rtld-load-self.sh.
6168         ($(objpfx)order2.out): Use $(test-wrapper).
6169         ($(objpfx)tst-initorder.out): Likewise.
6170         ($(objpfx)tst-initorder2.out): Likewise.
6171         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6172         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6173         (test_wrapper_env): New variable.  Use it to run ld.so.
6174         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6175         Use it to run ld.so.
6176         (test_wrapper_env): Likewise.
6177         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6178         $(test-wrapper) to run-iconv-test.sh.
6179         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6180         (ICONV): Use $test_wrapper.
6181         * posix/Makefile ($(objpfx)globtest.out): Pass
6182         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6183         globtest.sh, not $(run-program-prefix).
6184         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6185         (test_wrapper): Likewise.
6186         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6187         set together with run_via_rtld_prefix.
6188         (run_program_prefix): Define in terms of test_wrapper and
6189         run_via_rtld_prefix.
6191 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6193         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6194         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6195         Targets removed.
6197         [BZ #14743]
6198         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6199         Declare __clock_getres, __clock_gettime, __clock_settime,
6200         __clock_nanosleep, and __clock_getcpuclockid.
6201         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6202         Remove librt_hidden_def (clock_gettime).
6203         * sysdeps/unix/clock_gettime.c: Likewise.
6204         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6205         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6206         * rt/clock_getres.c: Define __clock_getres as an alias.
6207         * sysdeps/posix/clock_getres.c: Likewise.
6208         * rt/clock_settime.c: Define __clock_settime as an alias.
6209         * sysdeps/unix/clock_settime.c: Likewise.
6210         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6211         * sysdeps/unix/clock_nanosleep.c: Likewise.
6212         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6213         * rt/clock-compat.c: New file.
6214         * rt/Makefile (librt-routines): Add clock-compat and move
6215         $(clock-routines) to ...
6216         (routines): ... here, new variable.
6217         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6218         Don't add get_clockfreq here.
6219         * rt/Versions (libc: GLIBC_2.17): New version set.
6220         Add clock_* symbols here.
6221         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6222         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6223         (GLIBC_2.17): Add clock_* symbols.
6224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6226         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6228         Likewise.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6230         Likewise.
6231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6235         * NEWS: Mention the move.
6237         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6238         Use __open, __read, __close rather than their public counterparts.
6239         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6240         (__get_clockfreq_via_cpuinfo): Likewise.
6241         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6242         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6244         * config.h.in (HAVE_IFUNC): New #undef.
6245         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6246         was successful.
6247         * configure: Regenerated.
6249 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6251         * configure.in: Move READELF check to start of file.
6252         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6253         libc_cv_asm_gnu_indirect_function in the process.
6254         * configure: Regenerated.
6256 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6258         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6259         send the output to /dev/null.
6260         (libc_cv_cc_with_libunwind): Likewise.
6261         (libc_cv_as_noexecstack): Likewise.
6262         * configure: Regenerate.
6264 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6266         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6268         * posix/globtest.sh (TMPDIR): Do not set.
6269         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6270         (testout): Likewise.
6272 2012-10-24  Andreas Jaeger  <aj@suse.de>
6274         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6275         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6276         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6277         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6278         posix_fadvise64, posix_fallocate64.
6280         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6281         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6282         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6283         Likewise.
6284         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6285         Likewise.
6286         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6289         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6290         <bits/fcntl-linux.h>.
6291         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6293         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6294         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6295         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6296         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6297         [__WORDSIZE != 64]: Likewise.
6299 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6301         * Makeconfig (run-built-tests): New variable.
6302         * Rules [$(cross-compiling) = yes]: Change condition to
6303         [$(run-built-tests) = no].
6304         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6305         to [$(run-built-tests) = yes].
6306         * elf/Makefile [$(cross-compiling) = no]: Likewise
6307         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6308         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6309         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6310         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6311         * io/Makefile [$(cross-compiling) = no]: Likewise.
6312         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6313         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6314         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6315         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6316         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6317         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6318         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6319         * string/Makefile [$(cross-compiling) = no]: Likewise.
6321         * posix/Makefile ($(objpfx)globtest.out): Pass
6322         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6323         $(rtld-installed-name).
6324         * posix/globtest.sh (elf_objpfx): Remove variable.
6325         (rtld_installed_name): Likewise.
6326         (library_path): Likewise.
6327         (run_program_prefix): New variable.  Use for running globtest
6328         binary.
6330 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6331             Joseph Myers  <joseph@codesourcery.com>
6333         * Makeconfig (host-built-program-cmd): New variable.
6334         * elf/Makefile (tst-stackguard1-ARGS): Use
6335         $(host-built-program-cmd).
6336         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6337         (tst-spawn-ARGS): Likewise.
6338         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6340 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6341             Jim Blandy  <jimb@codesourcery.com>
6343         * Makeconfig (run-via-rtld-prefix): New variable.
6344         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6345         (built-program-cmd): Likewise.
6347 2012-10-22  Andreas Jaeger  <aj@suse.de>
6349         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6350         __O_RSYNC if it exists, otherwise to O_SYNC.
6352 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
6353             Joseph Myers  <joseph@codesourcery.com>
6355         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6356         /dev/null.
6357         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6358         from /dev/null
6359         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6360         /dev/null.
6362 2012-10-22  Andreas Jaeger  <aj@suse.de>
6364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6365         Define always.
6366         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6368         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6369         bits/fcntl-linux.h.
6371         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6372         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6374         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6375         to __O_LARGEFILE.
6376         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6377         to __O_LARGEFILE.
6379 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
6380             Joseph Myers  <joseph@codesourcery.com>
6382         * config.make.in (NM): New variable.
6384 2012-10-21  Andreas Jaeger  <aj@suse.de>
6386         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6387         definitions and declarations that are provided by
6388         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6390 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6392         [BZ #14683]
6393         * elf/Makefile (tests-static): Add tst-leaks1-static.
6394         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6395         ($(objpfx)tst-leaks1-static): New rule.
6396         ($(objpfx)tst-leaks1-static-mem): Likewise.
6397         (tst-leaks1-static-ENV): New macro.
6398         * elf/dl-open.c (dl_open_worker): Check the main application
6399         only if SHARED is defined.
6400         * elf/tst-leaks1-static.c: New file.
6402 2012-10-20  Andreas Jaeger  <aj@suse.de>
6404         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6405         generic values for Linux.
6406         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6407         and declarations that are provided by <bits/fcntl-linux.h> and
6408         include <bits/fcntl-linux.h>.
6409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6410         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6412 2012-10-20  Roland McGrath  <roland@hack.frob.com>
6414         * io/fcntl.h: Move include of <bits/types.h> to the top and
6415         include it unconditionally.
6417 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6419         * wcsmbs/Makefile (tests-ifunc): New variable.
6420         (tests): Add $(tests-ifunc).
6421         * wcsmbs/test-wcschr-ifunc.c: New file.
6422         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6423         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6424         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6425         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6426         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6428         * string/Makefile (tests-ifunc): New variable.
6429         (tests): Add $(tests-ifunc).
6430         * string/test-memccpy.c (TEST_NAME): New macro.
6431         * string/test-memchr.c (TEST_NAME): Likewise.
6432         * string/test-memcmp.c (TEST_NAME): Likewise.
6433         * string/test-memcpy.c (TEST_NAME): Likewise.
6434         * string/test-memmem.c (TEST_NAME): Likewise.
6435         * string/test-memmove.c (TEST_NAME): Likewise.
6436         * string/test-memset.c (TEST_NAME): Likewise.
6437         * string/test-rawmemchr.c (TEST_NAME): Likewise.
6438         * string/test-stpcpy.c (TEST_NAME): Likewise.
6439         * string/test-stpncpy.c (TEST_NAME): Likewise.
6440         * string/test-strcasecmp.c (TEST_NAME): Likewise.
6441         * string/test-strcasestr.c (TEST_NAME): Likewise.
6442         * string/test-strcat.c (TEST_NAME): Likewise.
6443         * string/test-strchr.c (TEST_NAME): Likewise.
6444         * string/test-strcmp.c(TEST_NAME): Likewise.
6445         * string/test-strcpy.c (TEST_NAME): Likewise.
6446         * string/test-strcspn.c (TEST_NAME): Likewise.
6447         * string/test-strlen.c (TEST_NAME): Likewise.
6448         * string/test-strncasecmp.c (TEST_NAME): Likewise.
6449         * string/test-strncmp.c (TEST_NAME): Likewise.
6450         * string/test-strncpy.c (TEST_NAME): Likewise.
6451         * string/test-strnlen.c (TEST_NAME): Likewise.
6452         * string/test-strpbrk.c (TEST_NAME): Likewise.
6453         * string/test-strrchr.c (TEST_NAME): Likewise.
6454         * string/test-strspn.c (TEST_NAME): Likewise.
6455         * string/test-strstr.c (TEST_NAME): Likewise.
6456         * string/test-bcopy-ifunc.c: New file.
6457         * string/test-bzero-ifunc.c: Likewise.
6458         * string/test-memccpy-ifunc.c: Likewise.
6459         * string/test-memchr-ifunc.c: Likewise.
6460         * string/test-memcmp-ifunc.c: Likewise.
6461         * string/test-memcpy-ifunc.c: Likewise.
6462         * string/test-memmem-ifunc.c: Likewise.
6463         * string/test-memmove-ifunc.c: Likewise.
6464         * string/test-mempcpy-ifunc.c: Likewise.
6465         * string/test-memset-ifunc.c: Likewise.
6466         * string/test-rawmemchr-ifunc.c: Likewise.
6467         * string/test-stpcpy-ifunc.c: Likewise.
6468         * string/test-stpncpy-ifunc.c: Likewise.
6469         * string/test-strcasecmp-ifunc.c: Likewise.
6470         * string/test-strcasestr-ifunc.c: Likewise.
6471         * string/test-strcat-ifunc.c: Likewise.
6472         * string/test-strchr-ifunc.c: Likewise.
6473         * string/test-strchrnul-ifunc.c: Likewise.
6474         * string/test-strcmp-ifunc.c: Likewise.
6475         * string/test-strcpy-ifunc.c: Likewise.
6476         * string/test-strcspn-ifunc.c: Likewise.
6477         * string/test-strlen-ifunc.c: Likewise.
6478         * string/test-strncasecmp-ifunc.c: Likewise.
6479         * string/test-strncat-ifunc.c: Likewise.
6480         * string/test-strncmp-ifunc.c: Likewise.
6481         * string/test-strncpy-ifunc.c: Likewise.
6482         * string/test-strnlen-ifunc.c: Likewise.
6483         * string/test-strpbrk-ifunc.c: Likewise.
6484         * string/test-strrchr-ifunc.c: Likewise.
6485         * string/test-strspn-ifunc.c: Likewise.
6486         * string/test-strstr-ifunc.c: Likewise.
6488         * debug/Makefile (tests-ifunc): New variable.
6489         (tests): Add $(tests-ifunc).
6490         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6491         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6492         * debug/test-stpcpy_chk-ifunc.c: New file.
6493         * debug/test-strcpy_chk-ifunc.c: Likewise.
6495 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6497         [BZ #13601]
6498         * elf/dl-load.c (open_verify): Retry read if the entire ELF
6499         header is not read in.
6501 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
6503         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
6504         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
6505         directly.  Pass built executable to script as
6506         $(built-program-cmd).
6507         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
6508         $testprogram without using LD_LIBRARY_PATH and $ldso.
6510         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6511         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6512         $(rtld-installed-name).
6513         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6514         (rtld_installed_name): Likewise.
6515         (library_path): Likewise.
6516         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
6517         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6518         $(run-program-prefix) to tst-tables.sh.
6519         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
6520         it to run tst-table-from and tst-table-to.
6521         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6522         Pass it to tst-table.sh.
6523         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6524         $(run-program-prefix) to tst-gettext.sh.
6525         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6526         tst-translit.sh.
6527         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6528         tst-gettext2.sh.
6529         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
6530         to run tst-gettext.
6531         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
6532         to run tst-gettext2.
6533         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
6534         to run tst-translit.
6535         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6536         $(run-program-prefix) to tst-mtrace.sh.
6537         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
6538         to run tst-mtrace.
6539         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6540         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6541         $(rtld-installed-name).
6542         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6543         (rtld_installed_name): Likewise.
6544         (run_program_prefix): New variable.  Use it to run wordexp-test.
6546         * Makeconfig (ARCH): Remove all definitions.
6547         (machine): Likewise.
6548         [ARCH]: Remove conditional code.
6549         [!objdir]: Give error.
6550         [!objdir] (objpfx): Remove.
6551         [!objdir] (common-objpfx): Likewise.
6552         [!objdir] (common-objdir): Likewise.
6553         * configure.in (config_makefile): Remove.  Hardcode Makefile in
6554         AC_CONFIG_FILES call.
6555         * configure: Regenerated.
6557         [BZ #13888]
6558         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6559         or TMPDIR.
6560         (testout): Likewise.
6562         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6563         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6564         $(rtld-installed-name).
6565         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6566         (rtld_installed_name): Likwise.
6567         (runit): Remove function.
6568         (run_getconf): New variable,  Use it for running getconf binary.
6570 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
6572         [BZ #14716]
6573         * string/test-memmem.c (check_result): New function.
6574         (do_one_test): Use it.
6575         (check1): New function.
6576         (test_main): Use it.
6578 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
6580         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6582 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
6584         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6585         (_G_LSEEK64): Likewise.
6586         (_G_MMAP64): Likewise.
6587         (_G_FSTAT64): Likewise.
6588         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6589         (_G_LSEEK64): Likewise.
6590         (_G_MMAP64): Likewise.
6591         (_G_FSTAT64): Likewise.
6592         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6593         unconditional.  Call __mmap64 directly.
6594         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6595         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
6596         __lseek64 directly.
6597         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6598         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
6599         __mmap64 directly.
6600         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6601         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6602         __lseek64 directly.
6603         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6604         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6605         __lseek64 directly.
6606         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6607         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
6608         __lseek64 directly.
6609         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6610         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
6611         __fxstat64 directly.
6612         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6613         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6614         unconditional.
6615         (freopen64) [!_G_OPEN64]: Remove conditional code.
6616         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6617         unconditional.
6618         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6619         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6620         unconditional.
6621         (ftello64) [!_G_LSEEK64]: Remove conditional code.
6622         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6623         unconditional.
6624         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6625         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6626         unconditional.
6627         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6628         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6629         unconditional.
6630         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6631         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6632         unconditional.
6633         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6634         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6635         unconditional.
6636         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6638 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6640         [BZ #12140]
6641         * manual/memory.texi (Malloc Tunable Parameters): Add note
6642         about free list pointers overwriting some perturb bytes.
6643         Wording suggested by Roland McGrath.
6645 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
6647         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6648         (lgamma_test): Likewise.
6649         (tgamma_test): Likewise.
6651 2012-10-16  Florian Weimer  <fweimer@redhat.com>
6653         [BZ #14700]
6654         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6655         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6657 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
6659         * NEWS: Mention BZ #14716.
6660         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6661         when removing AVAILABLE1_USES_J macro.
6663 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6665         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6666         (__bswap_64): __uint64_t for unsigned 64-bit int.
6668 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
6670         * include/string.h (memmem): Declare libc hidden alias.
6671         * string/memmem.c (memmem): Define libc hidden alias.
6672         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6673         __read, __close instead of open, read, close.
6675 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
6677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6678         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6679         global and hidden.
6680         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6681         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6682         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6683         Likewise.
6684         (__rawmemchr_sse2): Likewise.
6685         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6686         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6687         (__strchr_sse2): Likewise.
6688         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6689         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6690         (__strcasecmp_sse2): Likewise.
6691         (__strncasecmp_sse2): Likewise.
6692         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6693         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6694         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6695         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6696         (__strrchr_sse2): Likewise.
6697         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6698         ifunc-impl-list.c.
6699         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6700         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6701         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6702         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6703         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6704         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6705         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6706         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6707         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6708         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6709         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6710         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6711         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6712         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6713         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6714         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6715         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6716         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6717         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6718         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6719         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6720         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6721         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6722         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6723         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6724         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6725         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6726         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6727         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6728         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6730         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6731         global and hidden.
6732         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6733         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6734         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6735         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6736         Likewise.
6737         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6738         Likewise.
6739         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6740         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6741         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6742         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6743         ifunc-impl-list.c.
6744         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6745         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6746         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6747         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6748         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6749         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6750         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6751         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6752         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6753         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6754         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6755         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6756         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6757         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6758         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6759         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6760         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6761         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6762         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6763         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6764         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6765         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6766         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6767         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6768         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6769         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6770         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6771         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6772         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6773         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6774         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6775         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6776         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6777         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6778         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6779         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6780         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6781         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6782         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6783         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6784         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6786         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6787         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6788         * include/ifunc-impl-list.h: New file.
6789         * misc/ifunc-impl-list.c: Likewise.
6790         * misc/Makefile (routines): Add ifunc-impl-list.
6791         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6792         * string/test-string.h: Include <ifunc-impl-list.h>.
6793         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6794         impl_array): New variables.
6795         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6796         are defined.
6797         (test_init): Call __libc_ifunc_impl_list to initialize
6798         func_list if TEST_IFUNC and TEST_NAME are defined.
6800         * string/Makefile (strop-tests): Add bcopy and bzero.
6801         * string/test-bcopy.c: New file.
6802         * string/test-bzero.c: Likewise.
6803         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6804         defined.
6805         * string/test-memset.c: Support bzero test if TEST_BZERO is
6806         defined.
6807         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6808         __libc_memmove.
6809         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6810         __libc_memset.
6811         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6812         of memset.
6814 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
6816         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6817         * configure: Regenerated.
6819         * Makeconfig (+link-static-before-libc): Don't include
6820         $(link-static-libc).
6822         * libio/libio.h (_IO_pos_t): Remove.
6824 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6826         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
6827         McGrath.
6829 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6831         * crypt/crypt-entry.c: Include fips-private.h.
6832         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6833         * crypt/md5c-test.c (main): Tolerate disabled MD5.
6834         * sysdeps/unix/sysv/linux/fips-private.h: New file.
6835         * sysdeps/generic/fips-private.h: New file, dummy fallback.
6837 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6839         * crypt/crypt-private.h: Include stdbool.h.
6840         (_ufc_setup_salt_r): Return bool.
6841         * crypt/crypt-entry.c: Include errno.h.
6842         (__crypt_r): Return NULL with EINVAL for bad salt.
6843         * crypt/crypt_util.c (bad_for_salt): New.
6844         (_ufc_setup_salt_r): Check that salt is long enough and within
6845         the specified alphabet.
6846         * crypt/badsalttest.c: New file.
6847         * crypt/Makefile (tests): Add it.
6848         ($(objpfx)badsalttest): New.
6850 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
6852         * NEWS: Add entry for BZ #14602.
6854 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6856         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6857         type-generic.
6858         * math/libm-test.inc: Update comment listing what functions and
6859         macros are tested.
6860         (isgreater_test): New function.
6861         (isgreaterequal_test): Likewise.
6862         (isless_test): Likewise.
6863         (islessequal_test): Likewise.
6864         (islessgreater_test): Likewise.
6865         (isunordered_test): Likewise.
6866         (main): Call the new functions.
6868 2012-10-09  Roland McGrath  <roland@hack.frob.com>
6870         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6871         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6872         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6873         * sysdeps/i386/configure: Regenerated.
6874         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6875         * sysdeps/mach/configure: Regenerated.
6876         * sysdeps/mach/hurd/configure: Regenerated.
6877         * sysdeps/powerpc/configure: Regenerated.
6878         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6879         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6880         * sysdeps/s390/s390-32/configure: Regenerated.
6881         * sysdeps/s390/s390-64/configure: Regenerated.
6882         * sysdeps/sh/configure: Regenerated.
6883         * sysdeps/sparc/configure: Regenerated.
6884         * sysdeps/unix/sysv/linux/configure: Regenerated.
6885         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6886         * sysdeps/x86_64/configure: Regenerated.
6888         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6889         defined.  Don't check if MAP is NULL.
6891 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6893         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6894         (_G_stat64): Likewise.
6895         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6896         (_G_stat64): Likewise.
6897         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6898         instead of struct _G_stat64.
6899         * libio/fileops.c (mmap_remap_check): Likewise.
6900         (decide_maybe_mmap): Likewise.
6901         (_IO_new_file_seekoff): Likewise.
6902         (_IO_file_stat): Likewise.
6903         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6904         _G_off64_t.
6905         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6906         instead of struct _G_stat64.
6907         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6909 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
6911         [BZ #14602]
6912         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6913         Replace with ...
6914         (CHECK_EOL): New macro.
6915         (two_way_short_needle): Check beginning of haystack for EOL.  Use
6916         CHECK_EOL.
6917         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6918         Replace with CHECK_EOL.
6919         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6920         Replace with CHECK_EOL.
6922 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
6924         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6925         type-generic.
6926         * math/libm-test.inc: Update comment listing what functions and
6927         macros are tested.
6928         (finite_test): New function.
6929         (isinf_test): Likewise.
6930         (isnan_test): Likewise.
6931         (fpclassify_test): Test subnormal input.
6932         (isfinite_test): Likewise.
6933         (isnormal_test): Likewise.
6934         (main): Call the new functions.
6936 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
6938         [BZ #14660]
6939         * Makerules (%.dynsym): Force C locale when running
6940         $(OBJDUMP) --dynamic-syms.
6942 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6944         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6945         <stdint.h>.
6947 2012-10-06  David S. Miller  <davem@davemloft.net>
6949         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6950         upper 32-bits of the length value in %o2 since we use branch-on-register
6951         tests which consider the entire 64-bit register.
6953 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
6955         * string/test-strstr.c (check2): Add a test for page boundary.
6957 2012-10-05  David S. Miller  <davem@davemloft.net>
6959         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6960         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6961         file.
6962         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6963         sysdep_routines.
6964         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6965         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6966         and bzero when HWCAP_SPARC_CRYPTO is present.
6968 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
6970         [BZ #14602]
6971         * string/test-strstr.c (check2): New function.
6972         (test_main): Call check2.
6974         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6975         and bug-strchr1.
6976         * string/bug-strcasestr1.c (do_test): Moved to ...
6977         * string/test-strcasestr.c (check1): Here.  New function.
6978         (do_one_test): Break out result checking code into ...
6979         (check_result): This.  New function.
6980         (do_one_test): Call check_result.
6981         (test_main): Call check1.
6982         * string/bug-strchr1.c (do_test): Moved to ...
6983         * string/test-strchr.c (check1): Here.  New function.
6984         (do_one_test): Break out result checking code into ...
6985         (check_result): This.  New function.
6986         (do_one_test): Call check_result.
6987         (test_main): Call check1.
6988         * string/bug-strstr1.c (main): Moved to ...
6989         * string/test-strstr.c (check1): Here.  New function.
6990         (do_one_test): Break out result checking code into ...
6991         (check_result): This.  New function.
6992         (do_one_test): Call check_result.
6993         (test_main): Call check1.
6994         * string/bug-strcasestr1.c: Removed.
6995         * string/bug-strchr1.c: Likewise.
6996         * string/bug-strstr1.c: Likewise.
6998         * elf/Makefile (dl-routines): Add hwcaps.
6999         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7000         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7001         (_dl_important_hwcaps): Moved to ...
7002         * elf/dl-hwcaps.c: Here.  New file.
7003         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7005         [BZ #14557]
7006         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7007         if IS_IN_rtld isn't defined.
7009         * elf/dl-support.c (_dl_sysinfo_map): New.
7010         Include "get-dynamic-info.h" and "setup-vdso.h".
7011         (_dl_non_dynamic_init): Call setup_vdso.
7012         * elf/dynamic-link.h: Don't include <assert.h>.
7013         (elf_get_dynamic_info): Moved to ...
7014         * elf/get-dynamic-info.h: Here.  New file.
7015         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7016         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7017         * elf/setup-vdso.h: Here.  New file.
7018         * elf/rtld.c: Include "setup-vdso.h".
7019         (dl_main): Call setup_vdso.
7021 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7023         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7024         creal in comment listing functions tested.  List finite, isinf,
7025         isnan, isless, islessequal, isgreater, isgreaterequal,
7026         islessgreater, isunordered, lgamma_r and pow10 as functions and
7027         macros not tested.  Mention which functions not tested are aliases
7028         for other functions.  Fix typo.  Note that signs of NaNs are not
7029         tested.
7031         * scripts/config.guess: Update from config.git.
7032         * scripts/config.sub: Likewise.
7034 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7036         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7037         * misc/madvise.c (madvise): Renamed to __madvise.
7038         Make madvise a weak alias.
7039         * include/sys/mman.h: Declare __madvise.
7040         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7041         * sysdeps/unix/syscalls.list
7042         (madvise): Make __madvise the strong name, and madvise a weak alias.
7043         * sysdeps/unix/sysv/linux/syscalls.list
7044         (madvise, mmap): Remove redundant entries.
7045         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7046         * malloc/malloc.c (mtrim): Likewise.
7047         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7049 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7051         * sysdeps/mach/hurd/dl-cache.c: File removed.
7052         * config.h.in (USE_LDCONFIG): New #undef.
7053         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7054         * configure: Regenerated.
7055         * elf/Makefile (dl-routines): Add dl-cache only under
7056         [$(use-ldconfig) = yes].
7057         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7058         cache on [USE_LDCONFIG].
7059         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7060         [USE_LDCONFIG].
7061         * elf/rtld.c (dl_main): Likewise.
7063 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7065         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7066         _SC_LEVEL4_CACHE_LINESIZE.
7068 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7070         * sysdeps/unix/bsd/confstr.h: File removed.
7072 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7074         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7075         sys/sdt-config.h.
7077 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7079         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7080         Make 'mapoff' field ElfW(Off) rather than off_t.
7082 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7084         * nscd/Makefile: Remove nscd-cflags and all its users.
7085         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7086         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7088         [BZ #10631]
7089         * malloc.c (malloc_printerr): Clarify error message.
7091 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7093         [BZ #14648]
7094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7095         Set bit_FMA_Usable if FMA is supported.
7096         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7097         macro.
7098         (bit_FMA4_Usable): Updated.
7099         (index_FMA_Usable): New macro.
7100         (CPUID_FMA): Likewise
7101         (HAS_FMA): Defined with bit_FMA_Usable.
7103 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7105         * bits/types.h (__swblk_t): Type removed.
7106         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7107         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7108         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7109         (__SWBLK_T_TYPE): Likewise.
7110         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7111         (__SWBLK_T_TYPE): Likewise.
7112         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7113         (__SWBLK_T_TYPE): Likewise.
7114         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7115         (__SWBLK_T_TYPE): Likewise.
7117 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7118             Honza Horak <hhorak@redhat.com>
7120         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7121         (xdr_mapname): Use YPMAXMAP as maxsize.
7122         (xdr_peername): Use YPMAXPEER as maxsize.
7123         (xdr_keydat): Use YPAXRECORD as maxsize.
7124         (xdr_valdat): Use YPMAXRECORD as maxsize.
7126 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7128         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7130         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7131         * csu/init-first.c: ... here.
7132         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7133         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7134         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7135         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7136         * sysdeps/i386/init-first.c: File removed.
7137         * sysdeps/sh/init-first.c: File removed.
7139 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7141         [BZ #14645]
7142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7143         if x * y might underflow to zero and z is zero.
7144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7145         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7146         * math/libm-test.inc (min_subnorm_value): New variable.
7147         (fma_test): Add more tests.
7148         (fma_test_towardzero): Likewise.
7149         (fma_test_downward): Likewise
7150         (fma_test_upward): Likewise.
7151         (initialize): Set min_subnorm_value.
7153 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7155         [BZ #14638]
7156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7157         0 + 0.
7158         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7159         mode for addition resulting in exact zero.
7160         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7162         exact 0 + 0.
7163         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7164         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7165         * math/libm-test.inc (fma_test): Add more tests.
7166         (fma_test_towardzero): New function.
7167         (fma_test_downward): Likewise.
7168         (fma_test_upward): Likewise.
7169         (main): Call the new functions.
7171 2012-09-28  David S. Miller  <davem@davemloft.net>
7173         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7175 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7177         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7178         instead of SIGALRM.
7180         * sysdeps/gnu/_G_config.h: Moved to ...
7181         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7182         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7183         * sysdeps/generic/_G_config.h: ... here.
7185         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7187         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7189         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7190         Conditionalize target on [libnss_test1.so-version].
7192         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7194         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7195         (elfobjdir): Move out of conditionals.
7197         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7198         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7199         (__nss_lookup_function): Conditionalize label remove_from_tree on
7200         [!DO_STATIC_NSS || SHARED], matching its only use.
7202 2012-09-28  David S. Miller  <davem@davemloft.net>
7204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7205         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7206         file.
7207         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7208         sysdep_routines.
7209         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7210         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7211         when HWCAP_SPARC_CRYPTO is present.
7213 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7215         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7217 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7219         [BZ #6530]
7220         * stdio-common/vfprintf.c (process_string_arg): Revert
7221         2000-07-22 change.
7223 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7225         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7226         for testcase.
7227         * stdio-common/tst-sprintf.c: Include <locale.h>
7228         (main): Test sprintf's handling of incomplete multibyte
7229         characters.
7231 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7233         * elf/dl-runtime.c (VERSYMIDX): Removed.
7234         * elf/dl-version.c (VERSYMIDX): Likewise.
7235         * elf/do-rel.h (VERSYMIDX): Likewise.
7236         (VALIDX): Likewise.
7237         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7238         * elf/rtld.c (VALIDX): Likewise.
7239         (ADDRIDX): Likewise.
7240         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7241         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7242         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7243         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7244         (VALIDX): Likewise.
7245         (ADDRIDX): Likewise.
7247 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7249         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7251 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7253         [BZ #11438]
7254         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7255         to global scope.
7256         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7257         addresses are in the same scope as 192.0.2/24.
7258         * posix/gai.conf: Document new scope table defaults.
7260 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7262         [BZ #5298]
7263         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7264         for ftell.  Compute offsets from write pointers instead.
7265         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7267 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7269         [BZ #14543]
7270         * libio/Makefile (tests): New test case tst-fseek.
7271         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7272         combination works in wide mode.
7273         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7274         state when the external buffer state changes.
7276 2012-09-27  David S. Miller  <davem@davemloft.net>
7278         [BZ #14376]
7279         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7280         pass reloc->r_addend in as the 'high' argument to
7281         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7285 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7287         * rt/tst-aio2.c: Include <pthread.h>.
7288         * rt/tst-aio3.c: Likewise.
7290 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7292         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7294 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7296         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7297         contents on [SHARED].
7299 2012-09-26  Marek Polacek  <polacek@redhat.com>
7301         [BZ #14530]
7302         [BZ #13741]
7303         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7304         for C++ and GCC <4.3 as well as for non GCC compilers.
7306 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7310 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7312         * Makefile.in (all, install): Declare with .PHONY.
7313         Reported by Michael Hope <michael.hope@linaro.org>.
7315 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7317         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7318         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7319         system header.
7320         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7321         Likewise.
7322         (sydep_routines): Add the new and the internal functions.
7323         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7324         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7326         (GLIBC_2.17): Add the new function.
7327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7328         (GLIBC_2.17): Likewise.
7329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7330         (GLIBC_2.17): Likewise.
7331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7332         (GLIBC_2.17): Likewise.
7333         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7335 2012-09-25  Alan Modra  <amodra@gmail.com>
7337         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7338         Add release barrier before setting once_control to say
7339         initialisation is done.  Add hints on lwarx.  Use macro in
7340         place of isync.
7341         (clear_once_control): Add release barrier.
7343 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7345         [BZ #13629]
7346         * math/s_clog.c (__clog): Handle more values close to |z| = 1
7347         specially.
7348         * math/s_clog10.c (__clog10): Likewise.
7349         * math/s_clog10f.c (__clog10f): Likewise.
7350         * math/s_clog10l.c (__clog10l): Likewise.
7351         * math/s_clogf.c (__clogf): Likewise.
7352         * math/s_clogl.c (__clogl): Likewise.
7353         * math/Makefile (libm-calls): Add x2y2m1.
7354         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7355         (__x2y2m1): Likewise.
7356         (__x2y2m1l): Likewise.
7357         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7358         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7359         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7360         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7361         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7362         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7363         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7364         * sysdeps/i386/fpu/libm-test-ulps: Update.
7365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7367         [BZ #14621]
7368         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7369         int as type of variable DEPTH.
7370         (glob): Use size_t instead of int as type of variables NEWCOUNT
7371         and OLD_PATHC.
7373 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7375         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7376         Add s_sincosf-sse2.
7377         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7378         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7379         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7380         macros for using routine as __sincosf_ia32.
7381         Use macro for function declaration and weak_alias.
7382         * sysdeps/i386/fpu/libm-test-ulps: Update.
7384         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7387         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7388         subnormal argument.
7389         * math/s_cexpf.c (__cexpf): Likewise.
7390         * math/s_csinf.c (__csinf): Likewise.
7391         * math/s_csinhf.c (__csinhf): Likewise.
7392         * math/s_ctanf.c (__ctanf): Likewise.
7393         * math/s_ctanhf.c (__ctanhf): Likewise.
7394         * math/s_ccosh.c (__ccoshf): Likewise.
7395         * math/s_cexp.c (__cexpl): Likewise.
7396         * math/s_csin.c (__csin): Likewise.
7397         * math/s_csinh.c (__csinh): Likewise.
7398         * math/s_ctan.c (__ctan): Likewise.
7399         * math/s_ctanh.c (ctanh): Likewise.
7400         * math/s_ccoshl.c (__ccoshl): Likewise.
7401         * math/s_cexpl.c (__cexpl): Likewise.
7402         * math/s_csinl.c (__csinl): Likewise.
7403         * math/s_csinhl.c (__csinhl): Likewise.
7404         * math/s_ctanl.c (__ctanl): Likewise.
7405         * math/s_ctanhl.c (__ctanhl): Likewise.
7407 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7409         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7410         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7411         (_IO_off_t): Define to __off_t, not _G_off_t.
7412         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7413         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7414         (_IO_wint_t): Define to wint_t, not _G_wint_t.
7415         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7416         type of __dummy and __dummy2 fields.
7417         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7418         (_G_ssize_t): Likewise.
7419         (_G_off_t): Likewise.
7420         (_G_pid_t): Likewise.
7421         (_G_uid_t): Likewise.
7422         (_G_wchar_t): Likewise.
7423         (_G_wint_t): Likewise.
7424         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7425         (_G_ssize_t): Likewise.
7426         (_G_off_t): Likewise.
7427         (_G_pid_t): Likewise.
7428         (_G_uid_t): Likewise.
7429         (_G_wchar_t): Likewise.
7430         (_G_wint_t): Likewise.
7431         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7432         (_G_ssize_t): Likewise.
7433         (_G_off_t): Likewise.
7434         (_G_pid_t): Likewise.
7435         (_G_uid_t): Likewise.
7436         (_G_wchar_t): Likewise.
7437         (_G_wint_t): Likewise.
7439 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7441         * malloc/arena.c: Include malloc-sysdep.h.
7442         (shrink_heap): Use check_may_shrink_heap to decide if madvise
7443         is sufficient to shrink the heap or an unmap is needed.
7444         * sysdeps/generic/malloc-sysdep.h: New file.  Define
7445         new function check_may_shrink_heap.
7446         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
7447         new function check_may_shrink_heap.
7449 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7451         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7452         comments.
7454 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
7456         * catgets/test-gencat.sh: Add "set -e".
7457         * elf/tst-pathopt.sh: Likewise.
7458         * grp/tst_fgetgrent.sh: Likewise.
7459         * iconvdata/run-iconv-test.sh: Likewise.
7460         * intl/tst-gettext.sh: Likewise.
7461         * intl/tst-gettext2.sh: Likewise.
7462         * intl/tst-gettext4.sh: Likewise.
7463         * intl/tst-gettext6.sh: Likewise.
7464         * intl/tst-translit.sh: Likewise.
7465         * io/ftwtest-sh: Likewise.
7466         * libio/test-freopen.sh: Likewise.
7467         * malloc/tst-mtrace.sh: Likewise.
7468         * posix/globtest.sh: Likewise.
7469         * posix/tst-getconf.sh: Likewise.
7470         * posix/wordexp-tst.sh: Likewise.
7471         * stdio-common/tst-printf.sh: Likewise.
7472         * stdio-common/tst-unbputc.sh: Likewise.
7473         * stdlib/tst-fmtmsg.sh: Likewise.
7474         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7475         * catgets/Makefile: Do not specify -e option when running
7476         testsuite shell scripts.
7477         * elf/Makefile: Likewise.
7478         * grp/Makefile: Likewise.
7479         * iconvdata/Makefile: Likewise.
7480         * intl/Makefile: Likewise.
7481         * io/Makefile: Likewise.
7482         * libio/Makefile: Likewise.
7483         * malloc/Makefile: Likewise.
7484         * posix/Makefile: Likewise.
7485         * stdio-common/Makefile: Likewise.
7486         * stdlib/Makefile: Likewise.
7487         * sysdeps/x86_64/Makefile: Likewise.
7489         * io/ftwtest-sh: Add copyright header.
7490         * posix/globtest.sh: Likewise.
7491         * posix/tst-getconf.sh: Likewise.
7492         * posix/wordexp-tst.sh: Likewise.
7493         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7495 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
7497         [BZ #13679]
7498         * Makeconfig (+link): Defined as $(+link-static) if
7499         $(build-shared) isn't yes.
7500         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7501         isn't yes.
7502         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7504         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7506         [BZ #14562]
7507         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7508         new chunk size with MALLOC_ALIGN_MASK.
7510 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
7512         [BZ #5044]
7513         * stdio-common/printf_fphex.c: Include <stdbool.h> and
7514         <rounding-mode.h>.
7515         (__printf_fphex): Determine rounding using get_rounding_mode and
7516         round_away.
7517         * stdio-common/tst-printf-round.c (struct hex_test): New
7518         structure.
7519         (hex_tests): New variable.
7520         (test_hex_in_one_mode): New function.
7521         (do_test): Also run tests for hex float output.
7523 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
7525         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7526         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7527         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7528         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7529         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7530         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7531         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7532         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7534 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
7536         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7537         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7538         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7539         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7541 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
7543         [BZ #14579]
7544         * elf/rtld.c (dl_main): Limit the check for self loading to normal
7545         mode only.
7546         * elf/tst-rtld-load-self.sh: New test.
7547         * elf/Makefile: Run it.
7549 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
7551         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7552         (tst-writev-ENV): Remove.
7553         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7555 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
7557         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7559 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
7561         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7562         unconditional.
7563         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7564         Likewise.
7565         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7566         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7567         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7568         Likewise.
7570 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7572         [BZ #14587]
7573         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7574         * config.make.in (have-cpp-asm-debuginfo): Removed.
7575         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7576         * configure: Regenerated.
7578 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
7580         [BZ #5044]
7581         * stdio-common/printf_fp.c: Include <stdbool.h> and
7582         <rounding-mode.h>.
7583         (___printf_fp): Determine rounding using get_rounding_mode and
7584         round_away.
7585         * stdio-common/tst-printf-round.c: New file.
7586         * stdio-common/Makefile (tests): Add tst-printf-round.
7587         (link-libm): New variable.
7588         ($(objpfx)tst-printf-round): Depend in $(link-libm).
7590 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
7592         [BZ #14576]
7593         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7594         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7595         Likewise.
7596         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7597         Likewise.
7599 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
7601         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7602         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7603         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7604         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7606 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
7608         [BZ #14518]
7609         * include/rounding-mode.h: New file.
7610         * sysdeps/generic/get-rounding-mode.h: Likewise.
7611         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7612         * stdlib/strtod_l.c: Include <rounding-mode.h>.
7613         (MAX_VALUE): New macro.
7614         (MIN_VALUE): Likewise.
7615         (overflow_value): New function.
7616         (underflow_value): Likewise.
7617         (round_and_return): Use overflow_value and underflow_value to
7618         determine return values in overflow and underflow cases.  Use
7619         round_away to determine rounding depending on rounding mode.
7620         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7621         determine return values in overflow and underflow cases.
7622         * stdlib/tst-strtod-round.c: Include <fenv.h>.
7623         (struct test_results): New structure.
7624         (struct test): Use struct test_results to store expected results
7625         for all rounding modes.
7626         (TEST): Include expected results for all rounding modes.
7627         (test_in_one_mode): New function.
7628         (do_test): Use test_in_one_mode to compute and check results.
7629         Check results for all rounding modes.
7630         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7631         $(link-libm).
7633 2012-12-09  Allan McRae  <allan@archlinux.org>
7635         * sysdeps/i386/fpu/libm-test-ulps: Update
7637 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
7639         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7640         (_G_int32_t): Likewise.
7641         (_G_uint16_t): Likewise.
7642         (_G_uint32_t): Likewise.
7643         (_G_HAVE_BOOL): Likewise.
7644         (_G_HAVE_ATEXIT): Likewise.
7645         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7646         (_G_HAVE_IO_FILE_OPEN): Likewise.
7647         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7648         (_G_int32_t): Likewise.
7649         (_G_uint16_t): Likewise.
7650         (_G_uint32_t): Likewise.
7651         (_G_HAVE_BOOL): Likewise.
7652         (_G_HAVE_ATEXIT): Likewise.
7653         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7654         (_G_HAVE_IO_FILE_OPEN): Likewise.
7655         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7656         (_G_int32_t): Likewise.
7657         (_G_uint16_t): Likewise.
7658         (_G_uint32_t): Likewise.
7659         (_G_HAVE_BOOL): Likewise.
7660         (_G_HAVE_ATEXIT): Likewise.
7661         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7662         (_G_HAVE_IO_FILE_OPEN): Likewise.
7664 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
7666         * csu/libc-tls.c: Update copyright years.
7668 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
7670         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7671         [!_G_USING_THUNKS]: Remove conditional code.
7672         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7673         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7675         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7676         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7677         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7678         (_G_VTABLE_LABEL_PREFIX): Likewise.
7679         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7680         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7681         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7682         (_G_VTABLE_LABEL_PREFIX): Likewise.
7683         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7684         * sysdeps/mach/hurd/_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.
7689 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
7691         * libio/Makefile: Include ../Makeconfig before tests.
7692         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7693         only if $(build-shared) is yes.
7695         * iconv/gconv_db.c: Update copyright years.
7697 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7699         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7700         unwind info if defined PIC. Fix special cases description.
7701         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7703         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7704         DP_HI_MASK entry.
7705         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7707 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
7709         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7711         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7712         is NULL.
7714         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7715         (LDLIBS-tst-chk4): This.
7716         (LDFLAGS-tst-chk5): Renamed to ...
7717         (LDLIBS-tst-chk5): This.
7718         (LDFLAGS-tst-chk6): Renamed to ...
7719         (LDLIBS-tst-chk6): This.
7720         (LDFLAGS-tst-lfschk4): Renamed to ...
7721         (LDLIBS-tst-lfschk4): This.
7722         (LDFLAGS-tst-lfschk5): Renamed to ...
7723         (LDLIBS-tst-lfschk5): This.
7724         (LDFLAGS-tst-lfschk6): Renamed to ...
7725         (LDLIBS-tst-lfschk6): This.
7727         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7728         on $(common-objpfx)soversions.mk.
7730 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
7732         [BZ #10014]
7733         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7734         example host name.
7736 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7738         * malloc/arena.c (arena_get_retry): New function that gets
7739         another arena for the caller to try its request on.
7740         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7741         current arena cannot fulfill the request.
7742         (__libc_memalign): Likewise.
7743         (__libc_memalign): Likewise.
7744         (__libc_pvalloc): Likewise.
7745         (__libc_calloc): Likewise.
7747 2012-09-05  John Tobey  <john.tobey@gmail.com>
7749         [BZ #13542]
7750         * manual/arith.texi (Operations on Complex): Fix description
7751         of carg branch cut.
7753 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7755         [BZ #10014]
7756         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7757         host name.
7759         [BZ #10038]
7760         * manual/memory.texi (Memory): Make order of menu items match
7761         order of sections.
7763 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7765         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7766         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
7767         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7769 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7771         * csu/libc-tls.c (static_dtv): Renamed to ...
7772         (_dl_static_dtv): This.  Make it global.
7773         (_dl_initial_dtv): Removed.
7774         (__libc_setup_tls): Updated.
7775         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7776         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7777         DL_INITIAL_DTV.
7779 2012-09-06  Petr Machata  <pmachata@redhat.com>
7781         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7782         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7783         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7784         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7786 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7788         [BZ #14545]
7789         * csu/libc-tls.c (_dl_initial_dtv): New variable.
7790         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7791         freeing dtv[-1].
7793 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7795         [BZ #14544]
7796         * Makeconfig (link-static-before-libc): Replace $(+prector)
7797         with $(+prectorT).
7798         (link-static-after-libc): Replace $(+postctor) with
7799         $(+postctorT).
7800         (link-bounded): Replace $(+prector)/$(+postctor) with
7801         $(+prectorT)/$(+postctorT).
7802         (+prectorT): New macro.
7803         (+postctorT): Likewise.
7805 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7807         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7808         (round_str): Handle values above the maximum for IBM long double
7809         as inexact.
7810         * stdlib/tst-strtod-round.c (tests): Regenerated.
7812 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7814         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7815         assembler flag.
7816         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7817         zarch_nohighgprs around the zarch optimized routines.
7818         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7819         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7820         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7821         for zarch.
7823 2012-09-05  David S. Miller  <davem@davemloft.net>
7825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7827         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7828         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7829         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7830         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7831         entries.
7833 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7835         * malloc/arena.c: Fold copyright years.
7836         * malloc/mcheck.c, malloc/memusage.c: Likewise.
7838 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7840         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7842 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7844         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
7846 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7848         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7849         change internal state upon failure.
7851 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7853         * malloc/mcheck.c (mcheck_check_all): Fix typo.
7854         * malloc/memusage.c (mmap): Likewise.
7855         (mmap64, mremap): Likewise.  Adjust name in comment.
7857 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7859         * libio/fileops.c: Fix typos in comments.
7860         * libio/oldfileops.c: Likewise.
7861         * libio/wfileops.c: Likewise.
7863 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7865         [BZ #1349]
7866         * malloc/Makefile (tests): Add tst-malloc-usable test case.
7867         (tst-malloc-usable-ENV): Set environment for test case.
7868         * malloc/hooks.c (malloc_check_get_size): New function to get
7869         requested size.
7870         * malloc/malloc.c (musable): Use malloc_check_get_size.
7871         * malloc/tst-malloc-usable.c: New test case.
7873 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7875         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7877 2012-09-05  Allan McRae  <allan@archlinux.org>
7879         [BZ #13966]
7880         * configure.in (CXX_SYSINCLUDES): Use compiler output to
7881         determine header location.
7882         * configure: Regenerated.
7884 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7886         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7887         float format.
7888         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7889         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7890         format.
7891         (test): Regenerate.
7893 2012-09-04  David S. Miller  <davem@davemloft.net>
7895         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7896         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7897         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7899 2012-09-04  Florian Weimer  <fweimer@redhat.com>
7901         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7902         failures.
7904         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7906 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
7908         [BZ #9914]
7909         * libio/iogetdelim.c: Include <limits.h>.
7910         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7911         + len + 1 would overflow.
7913 2012-09-03  Andreas Jaeger  <aj@suse.de>
7915         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7916         * sysdeps/i386/fpu/libm-test-ulps: Update.
7918 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7920         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7921         Add s_sinf-sse2, s_conf-sse2.
7923         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7924         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7925         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7926         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7928         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7929         for using routine as __sinf_ia32.
7930         Use macro for function declaration and weak_alias.
7931         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7932         for using routine as __cosf_ia32.
7933         Use macro for function declaration and weak_alias.
7935         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7936         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7938         * sysdeps/x86_64/fpu/s_sinf.S: New file.
7939         * sysdeps/x86_64/fpu/s_cosf.S: New file.
7940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7942         * math/libm-test.inc (cos_test): Add more test cases.
7943         (sin_test): Likewise.
7944         (sincos_test): Likewise.
7946 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7948         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7949         (IFUNC_RESOLVE): Make pointers to the specialized implementations
7950         hidden.
7951         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7953 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
7955         [BZ #14538]
7956         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7957         first element of the GOT.
7958         (elf_machine_load_address): Return the difference between
7959         the runtime address of _DYNAMIC and elf_machine_dynamic ().
7961 2012-09-01  Allan McRae  <allan@archlinux.org>
7963         [BZ #13412]
7964         * configure.in (AWK): Require gawk version 3.0 or later.
7965         * configure: Regenerated.
7967 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
7969         * sysdeps/unix/sysv/linux/kernel-features.h
7970         (__ASSUME_POSIX_CPU_TIMERS): Remove.
7971         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7972         [__NR_clock_getres]: Make code unconditional.
7973         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7974         (clock_getcpuclockid): Remove code left unreachable by removal of
7975         conditionals.
7976         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7977         code unconditional.
7978         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7979         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7980         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7981         Make code unconditional.
7982         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7983         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7984         * sysdeps/unix/sysv/linux/clock_settime.c
7985         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7986         conditional code.
7987         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7988         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7990 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
7992         [BZ #14476]
7993         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7994         scripts/test-installation.pl.
7996         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7997         and $ld_so_version if it is set.
7999 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8001         [BZ #14516]
8002         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8003         failure if reading from procfs failed.
8004         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8006 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8008         * sysdeps/unix/sysv/linux/kernel-features.h
8009         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8010         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8011         Remove conditional code.
8012         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8013         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8014         Remove conditional code.
8015         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8016         * sysdeps/unix/sysv/linux/i386/fxstat.c
8017         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8018         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8019         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8020         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8021         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8022         * sysdeps/unix/sysv/linux/i386/lxstat.c
8023         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8024         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8025         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8026         Remove conditional code.
8027         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8028         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8029         Remove conditional code.
8030         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8031         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8032         <kernel-features.h>.
8033         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8034         Remove.
8035         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8036         Remove conditional code.
8037         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8038         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8039         Remove conditional.
8041 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8043         [BZ #5400]
8044         * NEWS: Add fixed bug number.
8046 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8048         [BZ #14519]
8049         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8050         underflowing exponent in case of negative sign.
8051         * stdlib/tst-strtod-round-data: Add more tests.
8052         * stdlib/tst-strtod-round.c (tests): Regenerated.
8054         [BZ #3479]
8055         * stdlib/strtod_l.c (NDIG): Remove.
8056         (HEXNDIG): Likewise.
8057         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8058         smallest representable value.
8059         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8060         lie within an exact representation of 1/2 ulp of the result.
8061         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8062         unconditionally.
8063         (TENS_P9_IDX): Define unconditionally.
8064         (TENS_P9_SIZE): Likewise.
8065         (TENS_P10_IDX): Likewise.
8066         (TENS_P10_SIZE): Likewise.
8067         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8068         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8069         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8070         entries for 10^2^13 and 10^2^14.
8071         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8072         (TENS_P13_IDX): Define.
8073         (TENS_P13_SIZE): Likewise.
8074         (TENS_P14_IDX): Likewise.
8075         (TENS_P14_SIZE): Likewise.
8076         (_fpioconst_pow10): Change array size to
8077         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8078         unconditional.
8079         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8080         1024]: Add entries for 10^2^13 and 10^2^14.
8081         [LAST_POW10 > _LAST_POW10]: Remove #error.
8082         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8083         (_fpioconst_pow10): Change array size to
8084         FPIOCONST_POW10_ARRAY_SIZE.
8085         * stdlib/gen-fpioconst.c: New file.
8086         * stdlib/gen-tst-strtod-round.c: Likewise.
8087         * stdlib/tst-strtod-round-data: Likewise.
8088         * stdlib/tst-strtod-round.c: Likewise.
8089         * stdlib/Makefile (tests): Add tst-strtod-round.
8091         [BZ #14459]
8092         * stdlib/strtod_l.c: Include <stdint.h>.
8093         (NDEBUG): Do not define.
8094         (round_and_return): Change EXPONENT parameter to type intmax_t.
8095         Rearrange calculations to avoid internal overflow possibilities.
8096         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8097         Rearrange calculations to avoid internal overflow possibilities.
8098         Assert that number fits inside MPNSIZE limbs.
8099         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8100         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8101         calculations and add assertions to avoid internal overflow
8102         possibilities.  Add casts to avoid signed/unsigned operations.
8103         * stdlib/tst-strtod-overflow.c: New file.
8104         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8106 2012-08-25  Marek Polacek  <polacek@redhat.com>
8108         * time/time.h: Fix some typos in comments.
8110 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8112         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8113         * posix/tst-rfc3484-2.c: Likewise.
8114         * posix/tst-rfc3484-3.c: Likewise.
8116 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8118         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8119         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8121 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8123         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8124         #include of fxstatat64.c.
8126 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8128         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8129         * shadow/getspent_r.c: Likewise.
8130         * shadow/getspnam.c: Likewise.
8131         * shadow/getspnam_r.c: Likewise.
8132         * gshadow/getsgent.c: Likewise.
8133         * gshadow/getsgent_r.c: Likewise.
8134         * gshadow/getsgnam.c: Likewise.
8135         * gshadow/getsgnam_r.c: Likewise.
8136         * inet/getnetbyad.c: Likewise.
8137         * inet/getnetbyad_r.c: Likewise.
8138         * inet/getnetbynm.c: Likewise.
8139         * inet/getnetbynm_r.c: Likewise.
8140         * inet/getnetent.c: Likewise.
8141         * inet/getnetent_r.c: Likewise.
8142         * inet/getproto.c: Likewise.
8143         * inet/getproto_r.c: Likewise.
8144         * inet/getprtent.c: Likewise.
8145         * inet/getprtent_r.c: Likewise.
8146         * inet/getprtname.c: Likewise.
8147         * inet/getprtname_r.c: Likewise.
8148         * inet/getrpcbyname.c: Likewise.
8149         * inet/getrpcbyname_r.c: Likewise.
8150         * inet/getrpcbynumber.c: Likewise.
8151         * inet/getrpcbynumber_r.c: Likewise.
8152         * inet/getrpcent.c: Likewise.
8153         * inet/getrpcent_r.c: Likewise.
8154         * inet/getaliasent.c: Likewise.
8155         * inet/getaliasent_r.c: Likewise.
8156         * inet/getaliasname.c: Likewise.
8157         * inet/getaliasname_r.c: Likewise.
8158         * nscd/getgrgid_r.c: Likewise.
8159         * nscd/getgrnam_r.c: Likewise.
8160         * nscd/gethstbyad_r.c: Likewise.
8161         * nscd/gethstbynm3_r.c: Likewise.
8162         * nscd/getpwnam_r.c: Likewise.
8163         * nscd/getpwuid_r.c: Likewise.
8164         * nscd/getsrvbynm_r.c: Likewise.
8165         * nscd/getsrvbypt_r.c: Likewise.
8166         * nscd/gai.c: Likewise.
8168         * configure.in (build_nscd): New substituted variable, set
8169         by --disable-build-nscd and defaults to $use_nscd.
8170         * configure: Regenerated.
8171         * config.make.in (build-nscd): New substituted variable.
8172         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8173         Change conditional to require [$(build-nscd) = yes] as well.
8174         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8176         [BZ# 13696]
8177         * configure.in (use_nscd): New substituted variable, set by
8178         --disable-nscd.  If enabled, define USE_NSCD.
8179         * configure: Regenerated.
8180         * config.h.in: Add USE_NSCD.
8181         * config.make.in (use-nscd): New substituted variable.
8182         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8183         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8184         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8185         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8186         (CFLAGS-getgrnam_r.c): Likewise.
8187         (CFLAGS-initgroups.c): Likewise.
8188         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8189         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8190         Variables removed.
8191         * inet/getnetgrent_r.c
8192         (nscd_setnetgrent): New function, broken out of ...
8193         (setnetgrent): ... here.  Call it.
8194         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8195         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8196         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8197         * nscd/Makefile (routines, aux): Move definitions after include of
8198         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8199         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8200         Conditionalize on [USE_NSCD].
8201         (is_nscd, nscd_init_cb): Likewise.
8202         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8203         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8204         * nss/nss_db/db-init.c: Likewise.
8205         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8206         [USE_NSCD].
8207         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8208         (make_request): Use it.
8209         (cache_valid_p): New function.
8210         (__check_pf): Use it.
8211         * NEWS: Add item for --disable-nscd.
8213 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8215         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8216         to support sed >= 4.2.1-20-ga9bf076.
8217         * configure: Regenerated.
8219 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8221         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8222         Conditionalize whole body on [IREL].
8224 2012-08-22  Jeff Law <law@redhat.com>
8226         [BZ #14505]
8227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8228         if the family is PF_UNSPEC.
8230 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8232         * Makerules (lib-version): Rename from V.
8233         (install-lib-nosubdir): Change V to lib-version.
8235 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8237         [BZ #14252]
8238         * powerpc32/power6/wcschr.c: New file.
8239         * powerpc32/power6/wcscpy.c: New file.
8240         * powerpc32/power6/wcsrchr.c: New file.
8241         * powerpc64/power6/wcschr.c: New file.
8242         * powerpc64/power6/wcscpy.c: New file.
8243         * powerpc64/power6/wcsrchr.c: New file.
8245 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8247         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8248         (two_way_short_needle): Use it.
8249         * string/strstr.c (AVAILABLE1_USES_J): Define.
8250         * string/strcasestr.c: Likewise.
8252         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8253         array references.
8254         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8256         [BZ #11607]
8257         * NEWS: Add an entry.
8258         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8259         define their defaults.
8260         (two_way_short_needle): Detect end-of-string on-the-fly.
8261         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8262         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8263         * string/bug-strcasestr1.c: New test.
8264         * string/Makefile: Run it.
8266 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8268         [BZ #11607]
8269         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8270         the first character.
8272 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8274         * csu/elf-init.c (__libc_csu_irel): Function removed.
8275         * csu/libc-start.c (apply_irel): New function.
8276         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8278 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8280         * sysdeps/unix/sysv/linux/kernel-features.h
8281         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8282         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8283         <kernel-features.h>.
8284         [__NR_fadvise64_64]: Make code unconditional.
8285         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8286         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8287         !__NR_fadvise64_64)]: Likewise.
8288         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8289         !__NR_fadvise64_64))]: Likewise.
8290         [__NR_fadvise64]: Make code unconditional.
8291         [!__NR_fadvise64]: Remove conditional code.
8292         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8293         <kernel-features.h>.
8294         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8295         unconditional.
8296         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8297         conditional code.
8298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8299         not include <kernel-features.h>.
8300         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8301         unconditional.
8302         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8303         conditional code.
8304         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8305         include <kernel-features.h>.
8306         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8307         unconditional.
8308         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8309         conditional code.
8311 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8313         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8314         slight instruction rearrangements per scrollpipe analysis.
8315         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8317 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8319         * manual/syslog.texi (syslog; vsyslog, closelog):
8320         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8321         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8323         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8324         DSOCAPS to match condition on defining it.
8326 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8328         * sysdeps/unix/sysv/linux/kernel-features.h
8329         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8331         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8332         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8334         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8335         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8337         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8338         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8340         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8341         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8343         * sysdeps/unix/sysv/linux/kernel-features.h
8344         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8345         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8346         unconditional.
8347         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8348         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8349         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8350         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8351         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8352         Make code unconditional.
8353         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8354         (__mmap64) [!__NR_mmap2]: Likewise.
8355         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8356         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8357         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8358         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8359         [__NR_mmap2]: Make code unconditional.
8360         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8361         (__mmap64) [!__NR_mmap2]: Likewise.
8363 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8365         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8367 2012-08-18  Andreas Jaeger  <aj@suse.de>
8369         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8371 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8373         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8374         * include/unistd.h (__have_sock_cloexec): Likewise.
8375         (__have_pipe2): Likewise.
8376         (__have_dup3): Likewise.
8378 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8380         [BZ #9685]
8381         * include/unistd.h (__have_pipe2): Change define into an extern int.
8382         (__have_dup3): Likewise.
8383         * socket/have_sock_cloexec.c: Include fcntl.h.
8384         (__have_pipe2): New variable.
8385         (__have_dup3): Likewise.
8387 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
8389         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8391 2012-08-17  Marek Polacek  <polacek@redhat.com>
8393         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8394         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8396 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8398         * configure.in: Add AC_SUBST for sysheaders.
8399         * configure: Regenerated.
8400         * config.make.in (sysheaders): New substituted variable.
8402         * sysdeps/unix/mkfifo.c: Moved ...
8403         * sysdeps/posix/mkfifo.c: ... here.
8404         * sysdeps/unix/mkfifoat.c: Moved ...
8405         * sysdeps/posix/mkfifoat.c: ... here.
8407         * sysdeps/unix/utime.c: Moved ...
8408         * sysdeps/posix/utime.c: ... here.
8410         * sysdeps/unix/time.c: Moved ...
8411         * sysdeps/posix/time.c: ... here.
8412         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8413         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8415         * sysdeps/unix/nice.c: Moved ...
8416         * sysdeps/posix/nice.c: ... here.
8418         * sysdeps/unix/alarm.c: Moved ...
8419         * sysdeps/posix/alarm.c: ... here.
8421         * intl/Makefile ($(codeset_mo)): Depend on the input file.
8423 2012-08-17  Jeff Law <law@redhat.com>
8425         * intl/Makefile (codeset_mo): New variable.
8426         ($(codeset_mo)): New target.
8427         (tst-codeset.out): Depend on that.  Remove explicit rule.
8428         (tst-gettext3.out, tst-gettext5.out): Likewise.
8429         (LOCPATH-ENV, tst-codeset-ENV): New variables.
8430         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8431         * intl/tst-codeset.sh: Remove.
8432         * intl/tst-gettext3.sh: Likewise.
8433         * intl/tst-gettext5.sh: Likewise.
8435 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8437         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
8438         * sysdeps/unix/syscalls.list: ... here.
8440         * sysdeps/posix/getaddrinfo.c
8441         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8442         (gaiconf_init, gaiconf_reload): Use them.
8443         [!_STATBUF_ST_NSEC]
8444         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8445         Define using time_t rather than struct timespec.
8447         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8448         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8449         Macros removed.
8450         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8451         [!NO_THREADS].
8452         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8453         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8454         Likewise.
8456         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8457         __libc_cleanup_push argument.
8459         * bits/param.h: New file.
8460         * misc/sys/param.h: New file.
8461         * include/sys/param.h: New file.
8462         * misc/Makefile (headers): Add bits/param.h.
8463         * sysdeps/generic/sys/param.h: File removed.
8464         * sysdeps/unix/sysv/linux/bits/param.h: New file.
8465         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8466         * sysdeps/mach/hurd/bits/param.h: New file.
8467         * sysdeps/mach/hurd/sys/param.h: File removed.
8469         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8470         last change.
8472         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8473         [_IO_MTSAFE_IO].
8474         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8475         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8476         New macros.
8478         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8479         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8480         rather than -D_IO_MTSAFE_IO conditionally.
8481         * stdio-common/Makefile (CPPFLAGS): Likewise.
8482         * wcsmbs/Makefile (CPPFLAGS): Likewise.
8483         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8484         Use $(libio-mtsafe).
8485         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8486         of -D_IO_MTSAFE_IO.
8487         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8488         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8489         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8490         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8491         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8492         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8493         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8494         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8495         (CFLAGS-fread_u_chk.c): Likewise.
8496         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8497         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8498         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8499         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8500         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8501         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8502         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8503         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8504         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8506         * libio/Makefile: Test [$(libc-reentrant) = yes]
8507         instead of [$(filter %REENTRANT, $(defines)) nonempty].
8509         * Makeconfig
8510         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8511         * sysdeps/pthread/configure: File removed.
8512         * sysdeps/pthread/Makeconfig: New file.
8513         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8514         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8516 2012-08-16  Gary Benson  <gbenson@redhat.com>
8518         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8519         unmapping the first object in a namespace.
8521 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8523         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8524         (__internal_setnetgrent): ... this.  Add internal_function to
8525         definition.  Add libc_hidden_def.
8526         (setnetgrent): Update caller.
8527         (internal_endnetgrent): Renamed to ...
8528         (__internal_endnetgrent): ... this.  Add internal_function to
8529         definition.  Add libc_hidden_def.
8530         (endnetgrent): Update caller.
8531         (internal_getnetgrent_r): Renamed to ...
8532         (__internal_getnetgrent_r): ... this.  Add internal_function to
8533         definition.  Add libc_hidden_def.
8534         (__getnetgrent_r): Update caller.
8535         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
8537 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8539         * stdlib/longlong.h: Update from GCC.
8541 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8543         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8544         on _QL, which is set by umul_ppmm but never used.
8545         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8546         variables, which are set by GMP macros but never used.
8547         * stdio-common/_itowa.c (_itowa): Likewise.
8548         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8549         * stdlib/mod_1.c (mpn_mod_1): Likewise.
8551 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
8553         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8554         struct La_sh_regs is not constant.
8555         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8556         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8557         and struct La_sparc64_regs are not constant.
8559 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8561         * sysdeps/unix/sysv/linux/kernel-features.h
8562         (__ASSUME_POSIX_TIMERS): Remove.
8563         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8564         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8565         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8566         Make code unconditional.
8567         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8568         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8569         Make code unconditional.
8570         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8571         * sysdeps/unix/sysv/linux/clock_nanosleep.c
8572         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8573         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8574         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8575         Make code unconditional.
8576         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8577         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8578         (__libc_missing_posix_timers): Remove.
8580 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8582         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8583         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8585         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8587         * elf/dl-sym.c: Include <stdlib.h>.
8589         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8590         constants, which avoids warnings in 32-bit builds.
8592         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8593         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8595         * misc/lseek.c: File moved to ...
8596         * io/lseek.c: ... here.
8598         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8600         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8601         shifting LEN more than 31 bits at once.
8603 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8605         [BZ #14195]
8606         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8607         segmentation fault for a case of two empty input strings.
8608         * string/test-strncasecmp.c (check1): Renamed to...
8609         (bz12205): ...this.
8610         (bz14195): Add new testcase for two empty input strings and N > 0.
8611         (test_main): Call new testcase, adapt for renamed function.
8613 2012-08-15  Andreas Jaeger  <aj@suse.de>
8615         [BZ #14090]
8616         * crypt/md5test2.c: New test, based on test supplied by Serge
8617         Belyshev <belyshev@depni.sinp.msu.ru>.
8618         * crypt/Makefile (xtests): Add md5test-giant..
8619         * crypt/Makefile ($(objpfx)md5test-giant): Add.
8621 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
8623         [BZ #14090]
8624         * crypt/md5.c (md5_process_block): Don't assume the buffer
8625         length is less than 2**32.
8626         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8627         length is less than 2**64.
8629 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8631         * string/str-two-way.h: Include <sys/param.h>.
8632         (MAX): Macro removed.
8634         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8635         Move #define and #undef of memmove to just before and after
8636         including <string.h>.
8638         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8639         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8640         and after including <string.h>.  Move declarations of
8641         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8642         to before #include "string/memmove.c".
8644         * include/dirent.h: Declare __getdirentries.
8646         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8647         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8649 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
8651         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8652         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8653         * sysdeps/i386/configure: Regenerated.
8654         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8655         STABS_CURRENT_FILE, and STABS_FUN.
8656         (END): Remove call to STABS_FUN_END.
8657         (STABS_CURRENT_FILE1): Delete.
8658         (STABS_CURRENT_FILE): Likewise.
8659         (STABS_FUN): Likewise.
8660         (STABS_FUN_END): Likewise.
8661         (STABS_FUN2): Likewise.
8662         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8663         * sysdeps/x86_64/configure: Regenerated.
8665 2012-08-14  Roland McGrath  <roland@hack.frob.com>
8667         * elf/dl-open.c: Include <atomic.h>.
8668         * elf/dl-lookup.c: Likewise.
8670 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
8672         * sysdeps/unix/sysv/linux/kernel-features.h
8673         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8674         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8675         unconditionally.
8676         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8677         unconditionally.
8678         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8679         condition on __ASSUME_CLONE_THREAD_FLAGS.
8681 2012-08-14  Andreas Jaeger  <aj@suse.de>
8683         * sysdeps/i386/fpu/libm-test-ulps: Update.
8685 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
8687         * include/atomic.h (atomic_exchange_and_add): Split into ...
8688         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8689         New atomic macros.
8691 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
8693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8695 2012-08-13  Jeff Law <law@redhat.com>
8697         * manual/stdio.texi (snprintf): Clarify handling of the trailing
8698         null byte in the output string.
8700 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
8702         * sysdeps/unix/sysv/linux/kernel-features.h
8703         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8704         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8705         (__ASSUME_ARG_MAX_STACK_BASED): Define.
8706         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8707         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8708         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
8709         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8711 2012-08-09  Jeff Law <law@redhat.com>
8713         [BZ #13939]
8714         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8715         When avoid_arena is set, don't retry in the that arena.  Pick the
8716         next one, whatever it might be.
8717         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8718         (arena_lock): Pass in new parameter to arena_get2.
8719         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8720         arena_get2.
8721         (__libc_malloc): Unify retrying after main arena failure with
8722         __libc_memalign version.
8723         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8725 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8727         [BZ #14166]
8728         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8729         to __redirect_strstr.
8730         (__strstr_sse42): Use typeof __redirect_strstr.
8731         (__strstr_ia32): Likewise.
8732         (__libc_strstr): New prototype.
8733         (strstr): Renamed to ...
8734         (__libc_strstr): This.
8735         (strstr): New strong alias of __libc_strstr.
8736         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8737         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8738         __redirect_time.
8739         Include <time.h>.
8740         (__libc_time): New prototype.
8741         (time_ifunc): Replace time with __libc_time.
8742         (time): New strong alias and hidden definition of __libc_time.
8743         (__GI_time): Remove strong alias.
8744         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8745         Include <stddef.h>.
8746         (memmove): Redefined to __redirect_memmove.
8747         (__memmove_sse2): Use typeof __redirect_memmove.
8748         (__memmove_ssse3): Likewise.
8749         (__memmove_ssse3_back): Likewise.
8750         (__libc_memmove): New prototype.
8751         (memmove): Renamed to ...
8752         (__libc_memmove): This.
8753         (memmove): New strong alias of __libc_memmove.
8755 2012-08-08  Mark Salter  <msalter@redhat.com>
8757         * elf/elf.h
8758         (R_MN10300_TLS_GD): Define.
8759         (R_MN10300_TLS_LD): Likewise.
8760         (R_MN10300_TLS_LDO): Likewise.
8761         (R_MN10300_TLS_GOTIE): Likewise.
8762         (R_MN10300_TLS_IE): Likewise.
8763         (R_MN10300_TLS_LE): Likewise.
8764         (R_MN10300_TLS_DTPMOD): Likewise.
8765         (R_MN10300_TLS_DTPOFF): Likewise.
8766         (R_MN10300_TLS_TPOFF): Likewise.
8767         (R_MN10300_SYM_DIFF): Likewise.
8768         (R_MN10300_ALIGN): Likewise.
8769         (R_MN10300_NUM): Update.
8771 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
8773         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8774         Remove.
8776 2012-08-08  Roland McGrath  <roland@hack.frob.com>
8778         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8780         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8781         sysdeps/unix -> sysdeps/posix move.
8782         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8784 2012-08-07      Allan McRae     <allan@archlinux.org>
8786         [BZ #14303]
8787         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8788         (SUNOS_CPP): Likewise.
8789         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8790         not found.
8791         (open_input): Call CPP using execvp.
8793 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8795         * sysdeps/unix/sysv/linux/kernel-features.h
8796         (__ASSUME_PROT_GROWSUPDOWN): Remove.
8797         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8798         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8799         (__ASSUME_WAITID_SYSCALL): Likewise.
8800         * sysdeps/unix/sysv/linux/dl-execstack.c
8801         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8802         code unconditional.
8803         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8804         conditional code.
8805         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8806         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8807         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8808         code.
8809         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8810         unconditional.
8811         [__ASSUME_WAITID_SYSCALL]: Likewise.
8812         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8814 2012-08-07  Roland McGrath  <roland@hack.frob.com>
8816         * sysdeps/unix/closedir.c: Renamed to ...
8817         * sysdeps/posix/closedir.c: ... here.
8818         * sysdeps/unix/dirfd.c: Renamed to ...
8819         * sysdeps/posix/dirfd.c: ... here.
8820         * sysdeps/unix/dirstream.h: Renamed to ...
8821         * sysdeps/posix/dirstream.h: ... here.
8822         * sysdeps/unix/fdopendir.c: Renamed to ...
8823         * sysdeps/posix/fdopendir.c: ... here.
8824         * sysdeps/unix/opendir.c: Renamed to ...
8825         * sysdeps/posix/opendir.c: ... here.
8826         * sysdeps/unix/readdir.c: Renamed to ...
8827         * sysdeps/posix/readdir.c: ... here.
8828         * sysdeps/unix/readdir_r.c: Renamed to ...
8829         * sysdeps/posix/readdir_r.c: ... here.
8830         * sysdeps/unix/rewinddir.c: Renamed to ...
8831         * sysdeps/posix/rewinddir.c: ... here.
8832         * sysdeps/unix/seekdir.c: Renamed to ...
8833         * sysdeps/posix/seekdir.c: ... here.
8834         * sysdeps/unix/telldir.c: Renamed to ...
8835         * sysdeps/posix/telldir.c: ... here.
8836         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8837         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8838         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8839         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8841         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8842         * bits/fcntl.h: ... here.
8844         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8845         not 0.
8846         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8847         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8848         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8849         (struct flock): Move l_start, l_len to the beginning.
8850         Use __pid_t for l_pid.
8851         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8852         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8853         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8854         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8855         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8856         [__USE_LARGEFILE64] (struct flock64): New type.
8857         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8859         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8860         * bits/dirent.h: ... here.
8862         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8863         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8865 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8867         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8868         Change from 2.6.0 to 2.6.16.
8869         * sysdeps/unix/sysv/linux/configure: Regenerated.
8870         * sysdeps/unix/sysv/linux/kernel-features.h
8871         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8872         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8873         version.
8874         (__ASSUME_UTIMES): Likewise.
8875         (__ASSUME_CLONE_STOPPED): Remove.
8876         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8877         architectures, not kernel version.
8878         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8879         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8880         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8881         (__ASSUME_WAITID_SYSCALL): Likewise.
8882         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8883         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8884         * README: State 2.6.16 as minimum Linux kernel version.  Do not
8885         refer to older versions.
8887 2012-08-06  Roland McGrath  <roland@hack.frob.com>
8889         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8890         Define alphasort64 as an alias.
8891         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8892         Define versionsort64 as an alias.
8893         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8894         Define scandir64 as an alias.
8895         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8896         Define scandirat64 as an alias.
8897         * dirent/alphasort64.c (alphasort64):
8898         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8899         * dirent/versionsort64.c: Likewise.
8900         * dirent/scandir64.c: Likewise.
8901         * dirent/scandirat64.c: Likewise.
8902         * sysdeps/wordsize-64/alphasort.c: File removed.
8903         * sysdeps/wordsize-64/alphasort64.c: File removed.
8904         * sysdeps/wordsize-64/scandir.c: File removed.
8905         * sysdeps/wordsize-64/scandir64.c: File removed.
8906         * sysdeps/wordsize-64/scandirat.c: File removed.
8907         * sysdeps/wordsize-64/scandirat64.c: File removed.
8908         * sysdeps/wordsize-64/versionsort.c: File removed.
8909         * sysdeps/wordsize-64/versionsort64.c: File removed.
8910         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8911         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8912         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8913         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8914         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8915         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8916         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8917         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8919         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8921         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8922         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8923         [defined __arch64__ || defined __sparcv9]
8924         (__INO_T_MATCHES_INO64_T): New macro.
8925         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8926         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8927         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8928         * sysdeps/unix/sysv/linux/bits/dirent.h
8929         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8930         (_DIRENT_MATCHES_DIRENT64): New macro.
8932         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8933         Define lockf64 as an alias.
8934         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8935         Define fseeko64 as an alias.
8936         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8937         Define ftello64 as an alias.
8938         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8939         Define _IO_fgetpos64 and fgetpos64 as aliases.
8940         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8941         Define _IO_fsetpos64 and fsetpos64 as aliases.
8942         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8943         Conditionalize body on this.
8944         * libio/fseeko64.c: Likewise.
8945         * libio/ftello64.c: Likewise.
8946         * libio/iofgetpos64.c: Likewise.
8947         * libio/iofsetpos64.c: Likewise.
8948         * sysdeps/wordsize-64/lockf.c: File removed.
8949         * sysdeps/wordsize-64/lockf64.c: File removed.
8950         * sysdeps/wordsize-64/fseeko.c: File removed.
8951         * sysdeps/wordsize-64/fseeko64.c: File removed.
8952         * sysdeps/wordsize-64/ftello.c: File removed.
8953         * sysdeps/wordsize-64/ftello64.c: File removed.
8954         * sysdeps/wordsize-64/iofgetpos.c: File removed.
8955         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8956         * sysdeps/wordsize-64/iofsetpos.c: File removed.
8957         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8958         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8959         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8960         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8961         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8962         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8963         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8964         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8965         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8966         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8967         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8969         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8970         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8971         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8972         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8973         [defined __arch64__ || defined __sparcv9]
8974         (__OFF_T_MATCHES_OFF64_T): New macro.
8975         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8976         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8977         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8978         (__OFF_T_MATCHES_OFF64_T): New macro.
8980 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8982         * stdlib/secure-getenv.c (__secure_getenv): Replace
8983         GLIBC_2_16 with GLIBC_2_17.
8985 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8987         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8988         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8990 2012-08-03  David S. Miller  <davem@davemloft.net>
8992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8994 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8997         Remove.
8998         (__ASSUME_CORRECT_SI_PID): Likewise.
8999         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9000         (__ASSUME_TMPFS_NAME): Likewise.
9001         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9002         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9003         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9004         (HAVE_AUX_SECURE): Make definition unconditional.
9005         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9006         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9008 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9010         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9011         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9012         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9013         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9014         __eloop_threshold instead of SYMLOOP_MAX.
9016         * sysdeps/generic/eloop-threshold.h: New file.
9017         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9018         of MAXSYMLINKS.
9019         * elf/chroot_canon.c (chroot_canon): Likewise.
9021 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9023         [BZ #13717]
9024         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9025         Change to 2.6.0 everywhere.
9026         * sysdeps/unix/sysv/linux/configure: Regenerated.
9027         * sysdeps/unix/sysv/linux/kernel-features.h
9028         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9029         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9030         kernel versions.
9031         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9032         (__ASSUME_FUTEX_REQUEUE): Remove.
9033         (__ASSUME_STATFS64): Define unconditionally.
9034         (__ASSUME_AT_SECURE): Likewise.
9035         (__ASSUME_CORRECT_SI_PID): Likewise.
9036         (__ASSUME_TGKILL): Define without depending on kernel version for
9037         i386.
9038         (__ASSUME_UTIMES): Likewise.
9039         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9040         kernel version.
9041         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9042         (__ASSUME_TMPFS_NAME): Likewise.
9043         * README: Update reference to Linux kernel versions.
9045 2012-08-02  Marek Polacek  <polacek@redhat.com>
9047         [BZ# 14150]
9048         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9049         libc_cv_asm_type_prefix with %.
9050         * configure: Regenerated.
9051         * include/libc-symbols.h: Remove comment about
9052         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9053         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9054         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9055         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9056         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9057         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9058         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9059         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9060         * elf/tst-unique2mod1.c: Likewise.
9061         * elf/tst-unique1mod2.c: Likewise.
9062         * elf/tst-unique1mod1.c: Likewise.
9063         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9064         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9065         Replace ASM_TYPE_DIRECTIVE with .type.
9066         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9067         * sysdeps/i386/sysdep.h: Likewise.
9068         * sysdeps/x86_64/sysdep.h: Likewise.
9069         * sysdeps/sh/sysdep.h: Likewise.
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9071         Do not define ASM_TYPE_DIRECTIVE.
9072         * sysdeps/powerpc/sysdep.h: Likewise.
9073         * sysdeps/powerpc/powerpc32/sysdep.h:
9074         Replace ASM_TYPE_DIRECTIVE with .type.
9075         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9076         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9077         * sysdeps/i386/fpu/e_powf.S: Likewise.
9078         * sysdeps/i386/fpu/e_expl.S: Likewise.
9079         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9080         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9081         * sysdeps/i386/fpu/e_pow.S: Likewise.
9082         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9083         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9084         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9085         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9086         * sysdeps/i386/fpu/e_log2.S: Likewise.
9087         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9088         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9089         * sysdeps/i386/fpu/e_powl.S: Likewise.
9090         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9091         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9092         * sysdeps/i386/fpu/e_logl.S: Likewise.
9093         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9094         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9095         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9096         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9097         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9098         * sysdeps/i386/fpu/e_log.S: Likewise.
9099         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9100         * sysdeps/i386/fpu/e_logf.S: Likewise.
9101         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9102         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9103         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9104         * sysdeps/i386/fpu/e_log10.S: Likewise.
9105         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9106         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9107         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9108         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9109         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9110         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9111         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9112         * sysdeps/i386/i686/strtok.S: Likewise.
9113         * sysdeps/i386/i386-mcount.S: Likewise.
9114         * sysdeps/i386/strtok.S: Likewise.
9115         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9116         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9117         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9118         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9119         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9120         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9121         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9122         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9123         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9124         * sysdeps/x86_64/_mcount.S: Likewise.
9125         * sysdeps/x86_64/strtok.S: Likewise.
9126         * sysdeps/sh/_mcount.S: Likewise.
9128 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9130         * libio/iofopen.c: Include <fcntl.h>.
9131         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9132         (_IO_fopen64, fopen64): Define as aliases.
9133         * libio/iofopen64.c: Include <fcntl.h>.
9134         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9135         Conditionalize body on this.
9136         * sysdeps/wordsize-64/iofopen.c: File removed.
9137         * sysdeps/wordsize-64/iofopen64.c: File removed.
9139 2012-08-01  Marek Polacek  <polacek@redhat.com>
9141         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9142         Use dlfcn directly instead of a variable.
9143         (binfmt-subdir): Do not define.
9144         (dlfcn): Likewise.
9146 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9148         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9149         Remove all definitions.
9150         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9151         <kernel-features.h>.
9152         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9153         (miss_F_GETOWN_EX): Remove all definitions.
9154         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9155         macro definition.
9156         [!__ASSUME_FCNTL64]: Remove conditional code.
9157         [__ASSUME_FCNTL64]: Make code unconditional.
9158         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9159         <kernel-features.h>.
9160         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9161         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9162         (lockf64) [__NR_fcntl64]: Make code unconditional.
9163         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9165         * sysdeps/unix/sysv/linux/kernel-features.h
9166         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9167         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9168         Make code unconditional.
9169         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9170         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9172         [__NR_vfork]: Make code unconditional.
9173         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9174         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9176         [__NR_vfork]: Make code unconditional.
9177         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9178         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9180 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9182         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9183         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9185         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9186         Define mkstemp64 as an alias.
9187         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9188         Define mkstemps64 as an alias.
9189         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9190         Define mkostemp64 as an alias.
9191         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9192         Define mkostemps64 as an alias.
9193         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9194         Conditionalize body on this.
9195         * misc/mkostemp64.c: Likewise.
9196         * misc/mkostemps64.c: Likewise.
9197         * misc/mkstemps64.c: Likewise.
9198         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9199         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9200         * sysdeps/wordsize-64/mkostemp.c: File removed.
9201         * sysdeps/wordsize-64/mkstemp.c: File removed.
9202         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9203         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9204         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9205         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9207         [BZ #14138]
9208         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9209         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9210         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9211         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9213         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9214         compat_symbol macros from <shlib-compat.h> rather than the underlying
9215         default_symbol_version and symbol_version macros, so that DEFAULT
9216         lines in shlib-versions are respected.
9217         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9219 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9221         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9222         Declare with warn_unused_result.
9223         (setgid, setregid, setegid, setresgid): Likewise.
9224         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9225         Likewise.
9226         * WUR-REPORT: Remove set*id functions.
9228 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9230         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9232 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9234         * include/sys/socket.h (__libc_accept, __libc_accept4):
9235         Add attribute_hidden.
9236         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9238         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9239         use of PTR_MANGLE.
9240         * inet/getnetgrent_r.c (setup): Likewise.
9242         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9244 2012-07-31  David S. Miller  <davem@davemloft.net>
9246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9248 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9250         [BZ #13629]
9251         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9252         value between 1.0 and 2.0 and smaller part has absolute value less
9253         than 1.0.
9254         * math/s_clog10.c (__clog10): Likewise.
9255         * math/s_clog10f.c (__clog10f): Likewise.
9256         * math/s_clog10l.c (__clog10l): Likewise.
9257         * math/s_clogf.c (__clogf): Likewise.
9258         * math/s_clogl.c (__clogl): Likewise.
9259         * math/libm-test.inc (clog_test): Add more tests.
9260         (clog10_test): Likewise.
9261         * sysdeps/i386/fpu/libm-test-ulps: Update.
9262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9264 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9266         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9267         Exit with zero in case no suitable GID is found, and write a
9268         message to standard error.
9270 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9272         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9273         rather than to 1.
9274         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9275         (MAXPATHLEN): Removed.
9276         (NOGROUP, NODEV): New macros.
9277         (setbit, clrbit, isset, isclr): New macros.
9278         (howmany, roundup, powerof2): New macros.
9279         (DEV_BSIZE): New macro.
9281         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9282         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9284         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9285         definition on [!__NO_LONG_DOUBLE_MATH].
9287         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9288         PTR_MANGLE and PTR_DEMANGLE.
9290         * socket/accept4.c (accept4): Rename to __libc_accept4.
9291         Define accept4 as a weak alias.
9293         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9294         on [_DIRENT_HAVE_D_TYPE].
9295         * io/ftw.c (ftw_dir): Likewise.
9297         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9299         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9301         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9302         Use the BSD numbers rather than the arbitrary ones we had.
9303         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9304         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9305         (SIGXCPU, SIGXFSZ): New macros.
9306         (_NSIG): Now 32.
9308         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9309         initializer on [_LIBC_REENTRANT].
9311         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9312         definitions inside [_POSIX_MAPPED_FILES].
9314         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9316         * dirent/opendir.c: Include <fcntl.h>.
9318         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9319         (__libc_getspecific): Likewise.
9320         (__libc_key_create): Likewise.
9322         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9323         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9324         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9325         (tmpfile64): Define as alias.
9326         * sysdeps/wordsize-64/tmpfile.c: File removed.
9327         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9328         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9329         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9331         * stdio-common/vfscanf.c: Include <stdbool.h>.
9332         * nss/makedb.c: Likewise.
9333         * stdio-common/_i18n_number.h: Likewise.
9334         * argp/argp-help.c: Likewise.
9335         * posix/wordexp.c: Likewise.
9336         * sysdeps/posix/spawni.c: Likewise.
9337         * nss/nss_files/files-initgroups.c: Likewise.
9338         * stdio-common/reg-modifier.c: Include <stdlib.h>.
9339         * nss/nss_files/files-initgroups.c: Likewise.
9340         * nss/nss_db/db-netgrp.c: Likewise.
9341         * nss/nss_db/db-initgroups.c: Likewise.
9342         * io/fchmodat.c: Include <sys/stat.h>.
9344         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9345         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9347         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9348         [HAVE_MMAP].
9350         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9351         Add multiple inclusion protection.
9353 2012-07-27  David S. Miller  <davem@davemloft.net>
9355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9357 2012-07-27  Gary Benson  <gbenson@redhat.com>
9359         [BZ #14298]
9360         * elf/rtld.c: Include <stap-probe.h>.
9361         (dl_main): Added static probes "init_start" and "init_complete".
9362         * elf/dl-load.c: Include <stap-probe.h>.
9363         (lose): Take new parameter "nsid".
9364         Added static probe "map_failed".
9365         (_dl_map_object_from_fd): Pass namespace id to lose.
9366         Added static probe "map_start".
9367         (open_verify): Pass namespace id to lose.
9368         * elf/dl-open.c: Include <stap-probe.h>.
9369         (dl_open_worker) Added static probes "map_complete", "reloc_start"
9370         and "reloc_complete".
9371         * elf/dl-close.c: Include <stap-probe.h>.
9372         (_dl_close_worker): Added static probes "unmap_start" and
9373         "unmap_complete".
9374         * elf/rtld-debugger-interface.txt: New file documenting the above.
9376 2012-07-26  Roland McGrath  <roland@hack.frob.com>
9378         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9379         rather than a string variable.
9380         * sunrpc/rpc_main.c (h_output): Likewise.
9381         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9383 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
9385         * inet/check_native.c: New file.
9387 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
9389         [BZ #13629]
9390         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9391         if larger part has absolute value 1.0.
9392         * math/s_clog10.c (__clog10): Likewise.
9393         * math/s_clog10f.c (__clog10f): Likewise.
9394         * math/s_clog10l.c (__clog10l): Likewise.
9395         * math/s_clogf.c (__clogf): Likewise.
9396         * math/s_clogl.c (__clogl): Likewise.
9397         * math/libm-test.inc (clog_test): Add more tests.
9398         (clog10_test): Likewise.
9399         * sysdeps/i386/fpu/libm-test-ulps: Update.
9400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9402         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9403         (pltexit): Likewise.
9404         (La_regs): Likewise.
9405         (La_retval): Likewise.
9406         (int_retval): Likewise.
9407         Update #error for removed macros to refer only to definitions in
9408         tst-audit.h.
9409         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9410         macro.
9411         (pltexit): Likewise.
9412         (La_regs): Likewise.
9413         (La_retval): Likewise.
9414         (int_retval): Likewise.
9415         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9416         macro.
9417         (pltexit): Likewise.
9418         (La_regs): Likewise.
9419         (La_retval): Likewise.
9420         (int_retval): Likewise.
9421         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9422         macro.
9423         (pltexit): Likewise.
9424         (La_regs): Likewise.
9425         (La_retval): Likewise.
9426         (int_retval): Likewise.
9427         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9428         macro.
9429         (pltexit): Likewise.
9430         (La_regs): Likewise.
9431         (La_retval): Likewise.
9432         (int_retval): Likewise.
9433         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9434         macro.
9435         (pltexit): Likewise.
9436         (La_regs): Likewise.
9437         (La_retval): Likewise.
9438         (int_retval): Likewise.
9439         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9440         macro.
9441         (pltexit): Likewise.
9442         (La_regs): Likewise.
9443         (La_retval): Likewise.
9444         (int_retval): Likewise.
9445         * sysdeps/generic/tst-audit.h: Update comment to refer only to
9446         macro definitions in tst-audit.h.
9447         * sysdeps/i386/tst-audit.h: New file.
9448         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9449         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9450         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9451         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9452         * sysdeps/sh/tst-audit.h: Likewise.
9453         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9454         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9455         * sysdeps/x86_64/tst-audit.h: Likewise.
9457 2012-07-26  Andreas Jaeger  <aj@suse.de>
9459         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9460         ptrace.
9462         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9463         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9464         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9465         PTRACE_O_MASK.
9466         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9467         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9468         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9470         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9471         value.
9473         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9474         _sigsys.
9475         (si_call_addr, si_syscall, si_arch): Define new macro.
9476         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9477         _sigsys.
9478         (si_call_addr, si_syscall, si_arch): Define new marcro.
9479         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9480         _sigsys.
9481         (si_call_addr, si_syscall, si_arch): Define new macro.
9482         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9483         _sigsys.
9484         (si_call_addr, si_syscall, si_arch): Define new macro.
9486 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9488         [BZ #13717]
9489         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9490         Change to 2.4.21 where previously 2.4.1.
9491         * sysdeps/unix/sysv/linux/configure: Regenerated.
9492         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9493         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9494         Linux kernel version.
9495         (__ASSUME_STD_AUXV): Remove.
9496         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9497         kernel version.
9498         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9499         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9500         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9501         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9502         (__ASSUME_NETLINK_SUPPORT): Likewise.
9503         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9504         (__no_netlink_support): Remove conditional definition.
9505         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9506         Remove.
9507         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9508         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9509         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9510         (if_nameindex_ioctl): Remove.
9511         (if_nameindex_netlink): Do not handle __no_netlink_support.
9512         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9513         code.
9514         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9515         Remove conditional code.
9516         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9517         code.
9518         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9519         unconditional.
9520         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9521         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9522         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9523         Remove.
9524         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9525         [!__ASSUME_STD_AUXV]: Remove conditional code.
9526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9527         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9528         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9530         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9531         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9532         code.
9533         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9535         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9536         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9537         conditional code.
9538         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9540         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9541         code.
9542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9543         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9544         conditional code.
9545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9546         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9547         code unconditional.
9548         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9549         conditional code.
9550         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9551         unconditional.
9552         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9553         conditional code.
9554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9555         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9556         unconditional.
9557         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9558         conditional code.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9560         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9561         code unconditional.
9562         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9563         conditional code.
9564         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9565         unconditional.
9566         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9567         conditional code.
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9569         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9570         code unconditional.
9571         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9572         conditional code.
9573         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9574         unconditional.
9575         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9576         conditional code.
9578 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
9580         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9581         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9582         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9583         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9584         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9585         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9586         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9587         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9588         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9589         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9590         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9591         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9592         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9593         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9594         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9595         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9596         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9597         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9598         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9599         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9600         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9601         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9602         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9604 2012-07-25  Florian Weimer  <fweimer@redhat.com>
9606         * Versions.def: Add GLIBC_2.17.
9607         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9608         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9609         Introduce __libc_secure_getenv.
9610         * stdlib/Versions (2.17): Add secure_getenv
9611         (GLIBC_PRIVATE): Add __libc_secure_getenv.
9612         * stdlib/secure-getenv.c: Rename __secure_getenv to
9613         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
9614         symbol __secure_getenv for GLIBC_2.0.
9615         * stdlib/tst-secure-getenv.c: New.
9616         * stdlib/Makefile (tests): Add testcase.
9617         * manual/startup.texi (Environment Access): Document
9618         secure_getenv.
9619         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9620         __libc_secure_getenv.
9621         * inet/ruserpass.c (ruserpass): Likewise.
9622         * malloc/mtrace.c (mtrace): Likewise.
9623         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9624         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9625         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9626         * sysdeps/posix/tempname.c: Likewise.  Evaluate
9627         HAVE_SECURE_GETENV.
9628         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9629         __secure_getenv to __libc_secure_getenv.
9630         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9632         Likewise.
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9634         Likewise.
9635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9637         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9643 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9645         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9646         (struct La_i86_retval): Likewise.
9647         (struct La_x86_64_regs): Likewise.
9648         (struct La_x86_64_retval): Likewise.
9649         (struct La_x32_regs): Likewise.
9650         (struct La_x32_retval): Likewise.
9651         (struct La_ppc32_regs): Likewise.
9652         (struct La_ppc32_retval): Likewise.
9653         (struct La_ppc64_regs): Likewise.
9654         (struct La_ppc64_retval): Likewise.
9655         (struct La_sh_regs): Likewise.
9656         (struct La_sh_retval): Likewise.
9657         (struct La_s390_32_regs): Likewise.
9658         (struct La_s390_32_retval): Likewise.
9659         (struct La_s390_64_regs): Likewise.
9660         (struct La_s390_64_retval): Likewise.
9661         (struct La_sparc32_regs): Likewise.
9662         (struct La_sparc32_retval): Likewise.
9663         (struct La_sparc64_regs): Likewise.
9664         (struct La_sparc64_retval): Likewise.
9665         (struct audit_ifaces): Remove architecture-specific pltenter and
9666         pltexit members.
9667         * sysdeps/i386/ldsodefs.h: New file.
9668         * sysdeps/powerpc/ldsodefs.h: Likewise.
9669         * sysdeps/s390/ldsodefs.h: Likewise.
9670         * sysdeps/sh/ldsodefs.h: Likewise.
9671         * sysdeps/sparc/ldsodefs.h: Likewise.
9672         * sysdeps/x86_64/ldsodefs.h: Likewise.
9674 2012-07-25  Marek Polacek  <polacek@redhat.com>
9676         [BZ #6808]
9677         * math/libm-test.inc (yn_test): Add another test.
9678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9679         to ERANGE when the result is +-Inf.
9680         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9681         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9682         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9683         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9685 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
9687         * conform/data/time.h-data (NULL): Use macro-constant.  Require
9688         equal to 0.
9689         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
9690         clock_t.
9691         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
9693 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
9695         * configure.in <sysdeps resolving>: Correct printing
9696         Implies_before.
9697         * configure: Regenerate.
9699 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
9701         * math/w_ilogb.c: Include <limits.h>.
9702         * math/w_ilogbl.c: Likewise.
9704 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9706         * manual/lang.texi (__va_copy): Document primarily as ISO C99
9707         va_copy.  Document allowing for unavailable va_copy only as
9708         pre-C99 compatibility.
9709         * manual/string.texi (Copying and Concatenation): Use va_copy
9710         instead of __va_copy in concat example.
9712 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
9714         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9715         (__sendto): Use create_address_port.  Initialize APORT and deallocate
9716         it if not null.
9718         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9719         with O_NOLINK passed to __file_name_lookup.
9721         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9722         with O_NOLINK passed to __file_name_lookup.
9724         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9725         negative N or less than NGIDS.
9727         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9728         type to string_t.  Set ERANGE as errno and return it if NAME is not big
9729         enough.  Use memcpy instead of strncpy.
9731 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9733         * elf/Makefile (check-data): Remove.
9734         (localplt.data): New vpath directive.
9735         ($(objpfx)check-localplt.out): Use localplt.data from vpath
9736         instead of $(check-data).
9737         * scripts/data/localplt-generic.data: Move to ...
9738         * sysdeps/generic/localplt.data: ... here.
9739         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9740         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9741         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9743         ... here.
9744         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9746         ... here.
9747         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9749         ... here.
9750         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9752         ... here.
9753         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9755         ... here.
9756         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9758         ... here.
9760 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9762         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9763         PPC32 and PPC64 files.
9764         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9765         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9767 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9769         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9770         __makecontext_ret to ...
9771         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9772         ... here and call exit if uc_link is NULL.  New file.
9773         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9774         __makecontext_ret.S.
9775         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9776         __makecontext_ret to ...
9777         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9778         ... here and call exit if uc_link is NULL.  New file.
9779         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9780         __makecontext_ret.S.
9782 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9784         * elf/elf.h (R_390_IRELATIVE): New definition.
9785         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9786         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
9787         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9788         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9789         (elf_machine_lazy_rel): Likewise.
9790         * sysdeps/s390/dl-irel.h: New file.
9791         * sysdeps/s390/s390-64/memcpy.S: New asm code.
9792         * sysdeps/s390/s390-64/memset.S: New asm code.
9793         * sysdeps/s390/s390-64/memcmp.S: New asm code.
9794         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9795         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9796         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9797         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9798         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9799         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9800         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9801         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9802         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9803         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9804         * sysdeps/s390/s390-32/memcpy.S: New asm code.
9805         * sysdeps/s390/s390-32/memset.S: New asm code.
9806         * sysdeps/s390/s390-32/memcmp.S: New asm code.
9808 2012-07-17  Marek Polacek  <polacek@redhat.com>
9810         [BZ #14349]
9811         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9812         * sysdeps/s390/s390-64/configure.in: Likewise.
9813         * sysdeps/sparc/configure.in: Likewise.
9814         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9815         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9816         * sysdeps/i386/configure.in: Likewise.
9817         * sysdeps/x86_64/configure.in: Likewise.
9818         * sysdeps/sh/configure.in: Likewise.
9819         * sysdeps/s390/s390-32/configure: Regenerated.
9820         * sysdeps/s390/s390-64/configure: Likewise.
9821         * sysdeps/x86_64/configure: Likewise.
9822         * sysdeps/sh/configure: Likewise.
9823         * sysdeps/powerpc/powerpc64/configure: Likewise.
9824         * sysdeps/powerpc/powerpc32/configure: Likewise.
9825         * sysdeps/sparc/configure: Likwise.
9826         * sysdeps/i386/configure: Likewise.
9828         * elf/dl-open.c: Comment fixes.
9830 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
9832         * Makefile [CXX] (check-data): Remove.
9833         [CXX] (c++-types.data): New vpath directive.
9834         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9835         vpath.  Do not allow for C++ type data being missing.
9836         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9837         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9838         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9839         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9840         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9841         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9842         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9844         ... here.
9845         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9847         ... here.
9848         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9850         ... here.
9851         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9853         ... here.
9854         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9856         ... here.
9857         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9859         ... here.
9860         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9862         ... here.
9863         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9866         * elf/tls-macros.h (TLS_LE): Move architecture-specific
9867         definitions to architecture-specific files.
9868         (TLS_IE): Likewise.
9869         (TLS_LD): Likewise.
9870         (TLS_GD): Likewise.
9871         * sysdeps/i386/tls-macros.h: New file.
9872         * sysdeps/powerpc/tls-macros.h: Likewise.
9873         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9874         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9875         * sysdeps/sh/tls-macros.h: Likewise.
9876         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9877         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9878         * sysdeps/x86_64/tls-macros.h: Likewise.
9880 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9882         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9883         zero value for regular exit case.
9885         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9886         (__start_context): Preserve zero value for regular exit case.
9888 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9889             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9891         * manual/setjmp.texi (setcontext): Clarify normal process
9892         termination when uc_link is the null pointer.
9893         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9894         exit call.
9896 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
9898         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9899         preprocessor.  Test for each exception mask separately.
9901 2012-07-16  Andreas Jaeger  <aj@suse.de>
9903         * po/ru.po: Update from translation team.
9905 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
9907         * conform/data/string.h-data (NULL): Use macro-constant.  Require
9908         equal to 0.
9909         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9910         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9911         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9912         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9913         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9915 2012-07-13  Andreas Jaeger  <aj@suse.de>
9917         * po/fr.po: Update from translation team.
9919 2012-07-12  Marek Polacek  <polacek@redhat.com>
9921         [BZ #14173]
9922         * math/libm-test.inc (yn_test): Add test for BZ #14173.
9923         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9924         loop condition.
9926 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
9928         [BZ #13717]
9929         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9930         Change to 2.4.1 where previously 2.4.0.
9931         * sysdeps/unix/sysv/linux/configure: Regenerated.
9932         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9933         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9934         version.
9935         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9936         (__ASSUME_AT_CLKTCK): Remove.
9937         (__ASSUME_AT_PAGESIZE): Likewise.
9938         (__ASSUME_AT_XID): Likewise.
9939         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9940         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9941         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9942         unconditionally.
9943         (HAVE_AUX_PAGESIZE): Likewise.
9944         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9945         [__ASSUME_AT_CLKTCK]: Make code unconditional.
9946         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9948 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
9950         [BZ #14307]
9951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9952         the temporary buffer used to invoke __gethostbyname2_r,
9953         __gethostbyaddr_r and gethostbyname4_r to make room for struct
9954         host_data / struct gaih_addrtuple.
9955         * resolv/nss_dns/dns-host.c (global scope): Move definition of
9956         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9957         header file nss/nsswitch.h.
9958         * nss/nsswitch.h (global scope): Add definition of implementation
9959         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9960         resolv/nss_dns/dns-host.c).
9962 2012-07-11  Andreas Jaeger  <aj@suse.de>
9964         * po/fr.po: Update from translation team.
9966         * po/sv.po: Update from translation team
9967         * po/fr.po: Another update from translation team.
9969 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9971         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9972         for subnormals or multiply small sinh result by itself.
9973         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9976 2012-07-11  David S. Miller  <davem@davemloft.net>
9978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9980 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
9982         [BZ #14347]
9983         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9984         (INTERNAL_MARK): Shift it here.
9986 2012-07-10  Marek Polacek  <polacek@redhat.com>
9988         [BZ #14151]
9989         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
9990         libc_cv_asm_global_directive with .globl.
9991         * configure: Regenerated.
9992         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9993         with .globl.
9994         * sysdeps/i386/configure: Regenerated.
9995         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9996         with .globl.
9997         * sysdeps/x86_64/configure: Regenerated.
9998         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9999         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10000         * elf/tst-unique2mod2.c: Likewise.
10001         * elf/tst-unique2mod1.c: Likewise.
10002         * elf/tst-unique1mod2.c: Likewise.
10003         * elf/tst-unique1mod1.c: Likewise.
10004         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10005         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10006         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10007         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10008         * sysdeps/mach/sysdep.h: Likewise.
10009         * sysdeps/i386/sysdep.h: Likewise.
10010         * sysdeps/i386/i386-mcount.S: Likewise.
10011         * sysdeps/x86_64/_mcount.S: Likewise.
10012         * sysdeps/x86_64/sysdep.h: Likewise.
10013         * sysdeps/sh/_mcount.S: Likewise.
10014         * sysdeps/sh/sysdep.h: Likewise.
10015         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10016         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10017         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10018         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10019         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10020         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10021         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10022         * locale/localeinfo.h: Likewise.
10023         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10024         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10026 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10028         [BZ #14336]
10029         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10030         system".
10031         * manual/message.texi (The Uniforum approach): Likewise.
10032         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10033         (glibc iconv Implementation): Likewise.
10035 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10037         [BZ #14337]
10038         * math/s_clog.c (__clog): Avoid scaling a value down where that
10039         could result in underflow.
10040         * math/s_clog10.c (__clog10): Likewise.
10041         * math/s_clog10f.c (__clog10f): Likewise.
10042         * math/s_clog10l.c (__clog10l): Likewise.
10043         * math/s_clogf.c (__clogf): Likewise.
10044         * math/s_clogl.c (__clogl): Likewise.
10045         * math/libm-test.inc (clog_test): Add more tests.
10046         (clog10_test): Likewise.
10047         * sysdeps/i386/fpu/libm-test-ulps: Update.
10048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10050 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10052         [BZ #14283]
10053         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10054         by 7 not 8 to examine high bit of fractional part.
10056         [BZ #14042]
10057         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10058         for call to __mcount_internal.
10059         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10060         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10061         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10063 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10065         [BZ #14154]
10066         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10067         approximation for values within 0x1p-13f of an odd multiple of
10068         pi/4.
10069         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10070         exception.  Add more tests.
10071         * sysdeps/i386/fpu/libm-test-ulps: Update.
10073         [BZ #6778]
10074         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10075         inputs and return -1 for them.  Do not check for +Inf in case not
10076         reachable for +Inf.
10077         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10078         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10079         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10080         and return -1 for them.  Do not check for +Inf in case not
10081         reachable for +Inf.
10082         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10083         define.
10084         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10085         and return -1 for them.  Do not check for +Inf in case not
10086         reachable for +Inf.
10087         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10088         spurious underflow.
10089         * sysdeps/i386/fpu/libm-test-ulps: Update.
10090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10092 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10094         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10096 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10098         [BZ #14157]
10099         [BZ #14331]
10100         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10101         could result in spurious underflow.  Scale down values above
10102         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10103         * math/s_csqrtf.c (__csqrtf): Likewise.
10104         * math/s_csqrtl.c (__csqrtl): Likewise.
10105         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10106         spurious underflow.
10107         * sysdeps/i386/fpu/libm-test-ulps: Update.
10108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10110 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10112         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10113         xopen-msg.sed.
10114         * catgets/xopen-msg.awk: New file.
10115         * catgets/xopen-msg.sed: Removed.
10117         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10118         po2text.sed.
10119         * intl/po2test.awk: New file.
10120         * intl/po2test.sed: Removed.
10122 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10124         [BZ #14328]
10125         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10126         or multiply small sinh result by itself.
10127         * math/s_ctanf.c (__ctanf): Likewise.
10128         * math/s_ctanh.c (__ctanh): Likewise.
10129         * math/s_ctanhf.c (__ctanhf): Likewise.
10130         * math/s_ctanhl.c (__ctanhl): Likewise.
10131         * math/s_ctanl.c (__ctanl): Likewise.
10132         * math/libm-test.inc (ctan_test_tonearest): New function.
10133         (ctan_test_towardzero): Likewise.
10134         (ctan_test_downward): Likewise.
10135         (ctan_test_upward): Likewise.
10136         (ctanh_test_tonearest): Likewise.
10137         (ctanh_test_towardzero): Likewise.
10138         (ctanh_test_downward): Likewise.
10139         (ctanh_test_upward): Likewise.
10140         (main): Call these new functions.
10141         * sysdeps/i386/fpu/libm-test-ulps: Update.
10142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10144 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10146         * .gitignore: Delete /ports entry.
10148 2012-07-03  Andreas Jaeger  <aj@suse.de>
10150         * po/bg.po: Update from translation team.
10151         * po/cs.po: Likewise.
10152         * po/de.po: Likewise.
10153         * po/hr.po: Likewise.
10154         * po/nl.pl: Likewise.
10155         * po/pl.po: Likewise.
10156         * po/vi.po: Likewise.
10158 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10160         * Makeconfig [!+link] (+link-before-libc): New variable.
10161         [!+link] (+link-after-libc): Likewise.
10162         [!+link] (+link-tests): Likewise.
10163         [!+link] (+link): Define in terms of $(+link-before-libc) and
10164         $(+link-after-libc).
10165         [!+link-static] (+link-static-before-libc): New variable.
10166         [!+link-static] (+link-static-after-libc): Likewise.
10167         [!+link-static] (+link-static-tests): Likewise.
10168         [!+link-static] (+link-static): Define in terms of
10169         $(+link-static-before-libc) and $(+link-static-after-libc).
10170         [build-shared] (link-libc-before-gnulib): New variable.
10171         [build-shared] (link-libc-tests): Likewise.
10172         [build-shared] (link-libc): Define in terms of
10173         $(link-libc-before-gnulib).
10174         [!build-shared] (link-libc-tests): New variable.
10175         (link-libc-static-tests): New variable.
10176         [!gnulib] (gnulib-arch): New variable.
10177         [!gnulib] (gnulib-tests): Likewise.
10178         [!gnulib] (static-gnulib-arch): Likewise.
10179         [!gnulib] (static-gnulib-tests): Likewise.
10180         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10181         Define with "=" instead of ":=".
10182         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10183         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10184         * Rules (binaries-all-notests): New variable.
10185         (binaries-all-tests): Likewise.
10186         (binaries-static-notests): Likewise.
10187         (binaries-static-tests): Likewise.
10188         (binaries-all): Define using $(binaries-all-notests) and
10189         $(binaries-all-tests).
10190         (binaries-static): Define using $(binaries-static-notests) and
10191         $(binaries-static-tests).
10192         (binaries-shared-tests): New variable.
10193         (binaries-shared-notests): Likewise.
10194         (binaries-shared): Remove variable.
10195         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10196         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10197         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10198         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10199         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10200         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10201         * elf/Makefile (sln-modules): New variable.
10202         (extra-objs): Add $(sln-modules:=.o).
10203         (ldconfig-modules): Add static-stubs.
10204         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10205         * elf/static-stubs.c: New file.
10207         [BZ #14283]
10208         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10209         by 7 not 8 to examine high bit of fractional part.  Use volatile
10210         variables when splitting into final array of floats if
10211         __FLT_EVAL_METHOD__ != 0.
10212         * math/libm-test.inc (cos_test): Add another test.
10213         (sin_test): Likewise.
10214         * sysdeps/i386/fpu/libm-test-ulps: Update.
10216         [BZ #14273]
10217         * math/libm-test.inc (cosh_test): Add more tests.
10219         * version.h (RELEASE): Set to "development".
10220         (VERSION): Set to "2.16.90".
10222 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10224         * NEWS: Update copyright. Remove last-updated date.
10225         Mention math library bug fixes and timezone data changes.
10226         * README: Mention GNU/Hurd, x32, and HPPA support status.
10228 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10230         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10232 2012-06-27  Andreas Jaeger  <aj@suse.de>
10234         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10236 2012-06-25  Andreas Jaeger  <aj@suse.de>
10238         * sysdeps/s390/fpu/libm-test-ulps: Update.
10240 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10241             Thomas Schwinge  <thomas@codesourcery.com>
10243         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10244         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10245         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10246         fanotify_mark.
10248 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10250         * sysdeps/mach/start.c: Remove file.
10251         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10252         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10253         * sysdeps/sh/init-first.c: Likewise.
10255         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10256         registers for frame unwinding purposes, add CFI directives.
10257         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10258         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10259         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10260         Likewise.
10262         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10263         __fortify_fail returning.
10264         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10266         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10267         sysdeps/sh/____longjmp_chk.S.
10268         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10269         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10270         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10271         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10273         * sysdeps/sh/abort-instr.h: New file.
10274         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10275         process in case exit returns.
10277         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10278         initialize the GOT register before use.
10280         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10281         calculation of ARGC > 4.
10283         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10284         meaningful names to some local labels.
10286 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10287             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10289         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10290         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10291         (__arch_compare_and_exchange_val_16_acq): Likewise.
10292         (__arch_compare_and_exchange_val_32_acq): Likewise.
10293         (atomic_exchange_and_add): Fix gUSA sequence.
10294         (atomic_add): Likewise.
10295         (atomic_add_negative): Likewise.
10296         (atomic_add_zero): Likewise.
10297         (atomic_bit_test_set): Likewise.
10299 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10301         [BZ #13579]
10302         * include/link.h (struct link_map): Add l_free_initfini.
10303         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10304         l_initfini.
10305         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10306         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10307         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10308         set.
10310 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10312         * configure.in: Use AC_LANG_SOURCE.
10313         * configure: Regenerate.
10315 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10317         * configure.in (libc_cv_localstatedir): New substituted variable.
10318         * configure: Regenerated.
10319         * config.make.in (localstatedir): New variable, substituted from
10320         libc_cv_localstatedir.
10321         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10322         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10323         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10324         * sysdeps/gnu/configure: Regenerated.
10326 2012-06-21  Jeff Law  <law@redhat.com>
10328         [BZ #14277]
10329         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10330         free.  Simplify list management for _LIBC case.
10332 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10334         [BZ #14273]
10335         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10336         Clear sign bit of 64-bit integer value before comparing against
10337         overflow value.
10339         * sysdeps/mach/configure: Regenerated.
10341 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
10343         [BZ #14278]
10344         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10346 2012-06-21  Jeff Law  <law@redhat.com>
10348         [BZ #13882]
10349         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
10350         uint16_t for elements in the "seen" array to avoid char overflows.
10351         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10352         * elf/dl-open.c (dl_open_worker): Likewise.
10354 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
10356         * scripts/list-sources.sh: Scan PORTS for translations.
10357         * po/libc.pot: Regenerated.
10359 2012-06-21  Andreas Jaeger  <aj@suse.de>
10361         [BZ #12194]
10362         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10363         warning.
10364         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10365         * bits/byteswap-16.h (__bswap_16): Likewise.
10366         * bits/byteswap.h (__bswap_constant_16): Likewise.
10368 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
10370         [BZ #14117]
10371         * sysdeps/i386/fpu_control.h: Removed.
10372         * sysdeps/x86_64/fpu_control.h: Moved to ...
10373         * sysdeps/x86/fpu_control.h: Here.
10375         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10376         (_FPU_SETCW): Likewise.
10378 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
10380         [BZ #14117]
10381         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10382         * sysdeps/x86/fpu/bits/mathinline.h: This.
10383         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10385         [BZ #14050]
10386         [BZ #14117]
10387         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10388         functions if __x86_64__ is defined.
10390 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
10392         * string/endian.h: Add !__ASSEMBLER__ condition for including
10393         conversion interfaces.
10395 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
10397         [BZ #14241]
10398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10399         of ABS(x) in calculating zero to negative powers other than odd
10400         integers.
10401         * math/libm-test.inc (pow_test): Add more tests.
10403 2012-06-15  Andreas Jaeger  <aj@suse.de>
10405         * manual/contrib.texi (Contributors): Update entry of Liubov
10406         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10407         Machado Filho.
10409 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
10411         * string/string.h: Add __wur to GNU version of strerror_r.
10413 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
10415         [BZ #14229]
10416         * string/Makefile (tests): Add tst-strtok_r.
10417         * string/tst-strtok_r.c: New file.
10418         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10419         RAX_LP/RDX_LP on SAVE_PTR.
10421 2012-06-14  Roland McGrath  <roland@hack.frob.com>
10423         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10425 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
10427         * libm_test.inc (csqrt_test): Allow more spurious underflow
10428         exceptions.
10429         (j0_test): Likewise.
10430         (j1_test): Likewise.
10431         (y0_test): Likewise.
10432         (y1_test): Likewise.
10434 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
10436         * po/Makefile (libc.pot): Use UTF-8 charset.
10438 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
10440         [BZ #14210]
10441         Suppress sign-conversion warning from FD_SET.
10442         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10443         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10444         not unsigned long int.
10445         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10447 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
10449         [BZ #14050]
10450         [BZ #14117]
10451         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10452         __extern_always_inline instead of __extern_inline.
10453         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10454         (__signbit): Likewise.
10455         (__signbitl): Support C++ namespace.
10456         (lrintf): New inline function.
10457         (lrint): Likewise.
10458         (llrintf): Likewise.
10459         (llrint): Likewise.
10460         (fmaxf): Likewise.
10461         (fmax): Likewise.
10462         (fminf): Likewise.
10463         (fmin): Likewise.
10464         (rint): Likewise.
10465         (rintf): Likewise.
10466         (ceil): Likewise.
10467         (ceilf): Likewise.
10468         (floor): Likewise.
10469         (floorf): Likewise.
10470         (nearbyint): Likewise.
10471         (nearbyintf): Likewise.
10473 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
10475         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10476         non-default versions.
10478 2012-06-11  Roland McGrath  <roland@hack.frob.com>
10480         [BZ #14218]
10481         * manual/argp.texi (Argp): Reword argp_parse description slightly.
10483 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
10485         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10486         (FE_UPWARD, FE_DOWNWARD): Don't define.
10487         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10488         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10490         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10491         reading it.
10492         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10493         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10495 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10497         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10498         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10499         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10500         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10502 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10504         [BZ #14117]
10505         * sysdeps/i386/fpu/bits/fenv.h: Removed.
10506         * sysdeps/i386/fpu/Implies: New file.
10507         * sysdeps/x86_64/fpu/Implies: Likewise.
10508         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10509         * sysdeps/x86/fpu/bits/fenv.h: This.
10511         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10512         __SSE_MATH__.
10514 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10516         [BZ #14134]
10517         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10518         character 0xffff that matches the last element of the
10519         conversion table.
10521 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10523         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10524         fmodl commit.
10526 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10529         values higher than 25.6283.
10531 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10533         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10534         subnormal exponent extraction and add some __builtin_expect.
10535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10536         Fix for subnormal mantissa calculation.
10538 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
10540         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10541         cpu2 is -1 and errno is not ENOSYS.
10543 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
10545         [BZ #14117]
10546         * sysdeps/i386/i486/bits/string.h: Renamed to ...
10547         * sysdeps/x86/bits/string.h: This.
10548         * sysdeps/x86_64/bits/string.h: Removed.
10550         * sysdeps/i386/i486/bits/string.h: Define inline functions only
10551         if not compiling for x86-64, but compiling for >= i486.
10553         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10554         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10556         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10557         New macro from Linux kernel 3.4.0.
10558         (FP_XSTATE_MAGIC2): Likewise.
10559         (FP_XSTATE_MAGIC2_SIZE): Likewise.
10560         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10561         (struct _fpx_sw_bytes): New struct.
10562         (struct _xsave_hdr): Likewise.
10563         (struct _ymmh_state): Likewise.
10564         (struct _xstate): Likewise.
10566         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10567         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10568         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10569         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10570         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10571         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10573         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10574         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10575         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10576         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10577         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10578         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10580 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10582         [BZ #13743]
10583         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10584         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10585         (sysdep_headers): Include sys/platform/ppc.h.
10586         * sysdeps/powerpc/test-gettimebase.c: Test for
10587         __ppc_get_timebase() to catch future ISA opcode/insn changes.
10588         * manual/Makefile (appendices): Include platform.texi.
10589         * manual/contrib.texi (Contributors): Update @node pointers.
10590         * manual/maint.texi (Maintenance): Likewise.
10591         (Platform): New node.
10592         * manual/platform.texi: New file.  Document the new features.
10594 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10595             Jakub Jelinek  <jakub@redhat.com>
10597         [BZ #14188]
10598         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10599         where __builtin_expect is unavailable.
10601 2012-06-03  David S. Miller  <davem@davemloft.net>
10603         * stdlib/longlong.h: Updated from GCC.
10605 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
10607         [BZ #14042]
10608         * sysdeps/powerpc/powerpc32/mcount.c: New file.
10609         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10610         __mcount_internal.
10611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10612         (GLIBC_2.16): Likewise.
10614 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10616         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10618 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10621         (default-abi): New variable.
10622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10623         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10624         variable.
10625         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10626         Likewise.
10627         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10628         Likewise.
10629         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10630         Likewise.
10632         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10633         definition.  Document in comment.
10635 2012-06-01  David S. Miller  <davem@davemloft.net>
10637         * stdlib/longlong.h: Updated from GCC.
10639 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10641         [BZ #14117]
10642         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10643         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10644         sys/debugreg.h sys/io.h here.
10645         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10646         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10647         sys/io.h.
10648         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10649         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10650         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10651         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10652         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10653         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10655         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10656         Define only if __x86_64__ is defined.
10658 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10660         [BZ #14048]
10661         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10662         Use int64_t for variable i.
10663         * math/libm-test.inc (fmod_test): Add more tests.
10665         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10666         z computation is not scheduled after fetestexcept.
10667         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10668         Use math_force_eval instead of asm to ensure calculation scheduled
10669         before exception test.
10670         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10671         Ensure a1 + u.d computation is not scheduled after fetestexcept.
10673 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
10675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10676         computation is not scheduled after fetestexcept.
10678 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10680         [BZ #14117]
10681         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10682         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10684 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10686         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10687         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10689 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10691         [BZ #14117]
10692         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10693         <bits/wordsize.h>.
10694         (__WCHAR_MIN): Support __WORDSIZE == 64.
10695         (__WCHAR_MAX): Likewise.
10697         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10698         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10700         [BZ #14183]
10701         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10702         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10704         [BZ #14117]
10705         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10706         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10708         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10709         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10711         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10712         Defined to 1 if __x86_64__ isn't defined.
10713         (_STAT_VER_LINUX_OLD): New.
10714         (st_atime): Remove duplicate.
10715         (st_mtime): Likewise.
10716         (st_ctime): Likewise.
10718 2012-05-31  David S. Miller  <davem@davemloft.net>
10720         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10721         entries.
10723 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
10725         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10726         gen-libm-test.pl.
10728         [BZ #14132]
10729         * elf/dl-reloc.c: Include <_itoa.h>.
10730         (_dl_reloc_bad_type): Remove use of INTUSE.
10731         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10732         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10733         * stdio-common/psiginfo.c (psiginfo): Likewise.
10734         * stdio-common/psignal.c (psignal): Likewise.
10735         * string/strsignal.c (strsignal): Likewise.
10736         * include/signal.h (_sys_siglist): Declare hidden proto.
10737         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
10738         INTVARDEF with libc_hidden_data_def.
10739         * stdio-common/itoa-udigits.c: Likewise.
10740         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10741         (_itoa_lower_digits_internal): Remove declaration.
10742         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10743         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10744         (_sys_sigabbrev_internal): Remove aliases.
10745         (_sys_siglist): Define hidden alias.
10747 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
10749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10750         bits/sysctl.h.
10752 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10754         [BZ #14117]
10755         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10756         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10758         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10759         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10760         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10761         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10762         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10763         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10765         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10766         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10767         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10769         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10770         with __addr.
10771         (insw): Likewise.
10772         (insl): Likewise.
10773         (outsb): Likewise.
10774         (outsw): Likewise.
10775         (outsl): Likewise.
10777         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10778         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10779         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10781         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10782         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10783         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10784         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10785         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10786         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10788         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10789         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10791         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10792         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10794         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10796         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10798         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10799         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10800         to ...
10801         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10803         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10804         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10805         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10807         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10808         for x86-64.
10809         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10811 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
10813         * math/math.h (M_El): Use two more decimal places.
10814         (M_LOG2El): Likewise.
10815         (M_LOG10El): Likewise.
10816         (M_LN2l): Likewise.
10817         (M_LN10l): Likewise.
10818         (M_PIl): Likewise.
10819         (M_PI_2l): Likewise.
10820         (M_PI_4l): Likewise.
10821         (M_1_PIl): Likewise.
10822         (M_2_PIl): Likewise.
10823         (M_2_SQRTPIl): Likewise.
10824         (M_SQRT2l): Likewise.
10825         (M_SQRT1_2l): Likewise.
10827 2012-05-31  David S. Miller  <davem@davemloft.net>
10829         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10830         values between float registers.
10831         * sysdeps/sparc/sparc64/memset.S: Likewise.
10832         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10834 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
10836         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10837         -D_FORTIFY_SOURCE=1.
10838         (CPPFLAGS-tst-longjmp_chk.c): Define.
10839         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10840         (CPPFLAGS-tst-longjmp_chk2.c): Define.
10841         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10842         CFLAGS-tst-wchar-h.c.
10844 2012-05-31  Marek Polacek  <polacek@redhat.com>
10846         [BZ #14132]
10847         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10848         __endmntent_internal): Remove declaration.
10849         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10850         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10851         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10853 2012-05-30  David S. Miller  <davem@davemloft.net>
10855         * sysdeps/sparc/sparc32/soft-fp/q_util.c
10856         (___Q_simulate_exceptions): Use real FP ops rather than writing
10857         into the %fsr.
10858         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10859         Likewise.
10861 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10863         [BZ #14117]
10864         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10865         * sysdeps/x86/bits/xtitypes.h: This.
10867         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10868         * sysdeps/x86/bits/wordsize.h: This.
10870         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10871         * sysdeps/x86/bits/huge_vall.h: This.
10873         * sysdeps/i386/bits/select.h: Removed.
10874         * sysdeps/x86_64/bits/select.h: Renamed to ...
10875         * sysdeps/x86/bits/select.h: This.
10877         * sysdeps/i386/bits/setjmp.h: Removed.
10878         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10879         * sysdeps/x86/bits/setjmp.h: This.
10881         * sysdeps/i386/bits/mathdef.h: Removed.
10882         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10883         * sysdeps/x86/bits/mathdef.h: This.
10885 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
10887         [BZ #14132]
10888         * include/sys/socket.h (__connect_internal)
10889         (__libc_sa_len_internal): Remove declaration.
10890         (__connect, __libc_sa_len): Declare hidden_proto.
10891         (SA_LEN): Remove use of INTUSE.
10892         * socket/connect.c: Add libc_hidden_def.
10893         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10894         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10895         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10896         alias.
10897         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10898         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10899         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10900         of adding _internal alias.
10902 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10904         [BZ #14117]
10905         * sysdeps/i386/bits/link.h: Removed.
10906         * sysdeps/i386/bits/linkmap.h: Likewise.
10907         * sysdeps/x86_64/bits/link.h: Renamed to ...
10908         * sysdeps/x86/bits/link.h: This.
10909         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10910         * sysdeps/x86/bits/linkmap.h: This.
10912         * sysdeps/i386/bits/endian.h: Removed.
10913         * sysdeps/x86_64/bits/endian.h: Renamed to ...
10914         * sysdeps/x86/bits/endian.h: This.
10916         * sysdeps/i386/bits/byteswap.h: Removed.
10917         * sysdeps/i386/bits/byteswap-16.h: Likewise.
10918         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10919         * sysdeps/x86/bits/byteswap.h: This.
10920         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10921         * sysdeps/x86/bits/byteswap-16.h: This.
10922         * sysdeps/i386/Implies: Add x86.
10923         * sysdeps/x86_64/Implies: Likewise.
10925 2012-05-30  David S. Miller  <davem@davemloft.net>
10927         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10928         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10929         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10930         (FP_TRAPPING_EXCEPTIONS): Define.
10931         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10932         (FP_TRAPPING_EXCEPTIONS): Define.
10933         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10934         subnormals only when inexact has been signalled or underflow
10935         exceptions are enabled.
10936         (_FP_PACK_CANONICAL): Likewise.
10938 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10940         [BZ #14183]
10941         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10942         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10944 2012-05-30  Richard Henderson  <rth@twiddle.net>
10946         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10947         with #ifndef NOT_IN_libc.
10949         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
10950         marked to avoid plt entry.
10952 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10954         [BZ #14112]
10955         * Makeconfig (default-abi): New macro.
10956         (abi-includes): Likewise.
10957         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
10958         $(abi-$(default-abi)-lib-soname) for soname if defined.
10959         ($(common-objpfx)gnu/lib-names.stmp): Generate from
10960         abi-variants.
10961         * Makefile (installed-stubs): Likewise.
10962         * include/stubs-biarch.h: Removed.
10963         * scripts/lib-names.awk: Only handle one library at a time.
10964         * scripts/soversions.awk: Remove WORDSIZE support.
10965         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10966         entries.
10967         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10968         Removed.
10969         (syscall-list-default-condition): Likewise.
10970         (syscall-list-default-condition): Likewise.
10971         (syscall-list-includes): Likewise.
10972         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10973         syscall-list-* with abi-*.  Handle undefined abi-variants.
10974         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10975         * sysdeps/unix/sysv/linux/i386/Implies: New file.
10976         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10977         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10978         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10979         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10980         Removed.
10981         (syscall-list-32-options): Likewise.
10982         (syscall-list-32-condition): Likewise.
10983         (syscall-list-64-options): Likewise.
10984         (syscall-list-64-condition): Likewise.
10985         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10986         macro.
10987         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10988         Renamed to ...
10989         (abi-*): This.
10990         (abi-64-ld-soname): New macro.
10991         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10992         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10993         Renamed to ...
10994         (abi-*): This.
10995         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10996         * sysdeps/x86_64/x32/shlib-versions: Likewise.
10998 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11000         * sysdeps/unix/sysv/linux/kernel-features.h
11001         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11002         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11003         include <kernel-features.h>.
11004         [!__NR_ftruncate64]: Remove conditional code.
11005         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11006         [__NR_ftruncate64]: Make code unconditional.
11007         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11008         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11009         include <kernel-features.h>.
11010         [!__NR_ftruncate64]: Remove conditional code.
11011         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11012         [__NR_ftruncate64]: Make code unconditional.
11013         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11015         include <kernel-features.h>.
11016         [!__NR_ftruncate64]: Remove conditional code.
11017         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11018         [__NR_ftruncate64]: Make code unconditional.
11019         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11021         include <kernel-features.h>.
11022         [!__NR_ftruncate64]: Remove conditional code.
11023         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11024         [__NR_ftruncate64]: Make code unconditional.
11025         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11027         * configure.in (libc_cv_fpie): Weaken to a compile test using
11028         LIBC_TRY_CC_OPTION.
11029         * configure: Regenerated.
11031 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11037         Refreshed.
11038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11044         Refreshed.
11046 2012-05-27  David S. Miller  <davem@davemloft.net>
11048         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11049         (___Q_zero): New.
11050         (__Q_simulate_exceptions): Return void.  Change to simulate
11051         exceptions by writing into the %fsr.
11052         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11053         (__Qp_handle_exceptions): Likewise.
11054         (numbers): Delete.
11055         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11056         __Qp_handle_exceptions.
11057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11058         __Qp_handle_exceptions.
11059         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11060         as unused and give dummy FP_RND_NEAREST initializer.
11061         (FP_INHIBIT_RESULTS): Define.
11062         (___Q_simulate_exceptions): Update declaration.
11063         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11064         formatting.
11065         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11066         as unused and give dummy FP_RND_NEAREST initializer.
11067         (__Qp_handle_exceptions): Update declaration.
11068         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11069         formatting.
11071 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11073         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11074         the temporary FPU control word.
11075         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11076         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11077         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11078         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11079         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11080         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11081         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11082         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11083         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11084         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11085         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11087 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11089         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11090         fields.
11092 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11094         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11095         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11096         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11097         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11098         Likewise.
11099         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11100         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11101         Likewise.
11103 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11105         * po/h.po: Update from translation team.
11107 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11109         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11111         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11112         handling of denormals.
11113         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11114         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11115         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11116         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11117         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11118         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11120         Likewise.
11122 2012-05-26  Marek Polacek  <polacek@redhat.com>
11124         [BZ #14152]
11125         * math/libm-test.inc (fma_test): Don't always expect underflow
11126         exception.
11128 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11130         [BZ #12416]
11131         * elf/tst-execstack.c: Include stackinfo.h.
11132         (do_test): Adjust test case to ensure that pthread_getattr_np
11133         behaviour remains the same after marking stack executable.
11135 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11137         * sysdeps/unix/sysv/linux/kernel-features.h
11138         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11139         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11140         kernel-features.h.
11141         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11142         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11143         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11144         kernel-features.h.
11145         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11146         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11148 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11150         * configure.in: Define the default includes to being none.
11151         * configure: Regenerated.
11153 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11155         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11156         * sysdeps/x86_64/setjmp.S: Likewise.
11157         * sysdeps/i386/bsd-setjmp.S: Likewise.
11158         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11159         * sysdeps/i386/setjmp.S: Likewise.
11160         * sysdeps/i386/__longjmp.S: Likewise.
11161         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11162         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11164         * include/stap-probe.h: New file.
11165         * configure.in: Handle --enable-systemtap.
11166         * configure: Regenerated.
11167         * config.h.in (USE_STAP_PROBE): New #undef.
11168         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11169         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11170         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11172 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11174         [BZ #13717]
11175         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11176         to 2.4.0 where earlier.
11177         * sysdeps/unix/sysv/linux/configure: Regenerated.
11178         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11179         <kernel-features.h>.
11180         [__ASSUME_32BITUIDS]: Make code unconditional.
11181         [!__ASSUME_32BITUIDS]: Remove conditional code.
11182         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
11187         [__ASSUME_32BITUIDS]: Make code unconditional.
11188         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11189         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11190         <kernel-features.h>.
11191         [__ASSUME_32BITUIDS]: Make code unconditional.
11192         [!__ASSUME_32BITUIDS]: Remove conditional code.
11193         * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
11230         <kernel-features.h>.
11231         [__NR_setresgid] (__setresgid): Do not declare.
11232         [__ASSUME_32BITUIDS]: Make code unconditional.
11233         [!__ASSUME_32BITUIDS]: Remove conditional code.
11234         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11235         <kernel-features.h>.
11236         [__NR_setresuid] (__setresuid): Do not declare.
11237         [__ASSUME_32BITUIDS]: Make code unconditional.
11238         [!__ASSUME_32BITUIDS]: Remove conditional code.
11239         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11240         <kernel-features.h>.
11241         [__ASSUME_32BITUIDS]: Make code unconditional.
11242         [!__ASSUME_32BITUIDS]: Remove conditional code.
11243         * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
11280         (__ASSUME_SETRESUID_SYSCALL): Remove.
11281         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11282         (__ASSUME_32BITUIDS): Likewise.
11283         (__ASSUME_LDT_WORKS): Likewise.
11284         (__ASSUME_O_DIRECTORY): Likewise.
11285         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11286         architecture but not kernel version.
11287         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11288         (__ASSUME_MMAP2_SYSCALL): Likewise.
11289         (__ASSUME_STAT64_SYSCALL): Likewise.
11290         (__ASSUME_IPC64): Likewise.
11291         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11292         <kernel-features.h>.
11293         [__ASSUME_32BITUIDS]: Make code unconditional.
11294         [!__ASSUME_32BITUIDS]: Remove conditional code.
11295         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11296         <kernel-features.h>.
11297         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11298         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11299         132096]: Remove conditional code.
11300         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11301         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11302         <kernel-features.h>.
11303         [__ASSUME_32BITUIDS]: Make code unconditional.
11304         [!__ASSUME_32BITUIDS]: Remove conditional code.
11305         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
11310         <kernel-features.h>.
11311         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11312         unconditional.
11313         (__setresgid): Do not declare.
11314         [__ASSUME_32BITUIDS]: Make code unconditional.
11315         [!__ASSUME_32BITUIDS]: Remove conditional code.
11316         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11317         <kernel-features.h>.
11318         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11319         unconditional.
11320         (__setresuid): Do not declare.
11321         [__ASSUME_32BITUIDS]: Make code unconditional.
11322         [!__ASSUME_32BITUIDS]: Remove conditional code.
11323         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11324         <kernel-features.h>.
11325         [__ASSUME_32BITUIDS]: Make code unconditional.
11326         [!__ASSUME_32BITUIDS]: Remove conditional code.
11327         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11328         <kernel-features.h>.
11329         [__ASSUME_32BITUIDS]: Make code unconditional.
11330         [!__ASSUME_32BITUIDS]: Remove conditional code.
11332 2012-05-25  Richard Henderson  <rth@twiddle.net>
11334         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11335         dl_hwcap to ifunc resolver.
11336         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11337         elf_ifunc_invoke.
11338         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11339         dl_hwcap to ifunc resolver.
11340         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11342 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11344         [BZ #14153]
11345         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11346         for |x| <= 2**-26, not 2**-57.
11347         * math/libm-test.inc (acos_test): Do not allow spurious underflow
11348         exception.
11350 2012-05-24  Jeff Law  <law@redhat.com>
11352         * stdio-common/Makefile (tests): Add bug25.
11353         * stdio-common/bug25.c: New test.
11355 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11357         [BZ #13576]
11358         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11359         multiple of MALLOC_ALIGNMENT in size.
11360         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11362 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11364         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11365         Require >= 256.
11366         (FILENAME_MAX): Use macro-int-constant.
11367         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
11368         (_IOFBF): Use macro-int-constant.
11369         (_IOLBF): Likewise.
11370         (_IONBF): Likewise.
11371         (SEEK_CUR): Likewise.
11372         (SEEK_END): Likewise.
11373         (SEEK_SET): Likewise.
11374         (TMP_MAX): Likewise.
11375         (EOF): Use macro-int-constant.  Require < 0.
11376         (NULL): Use macro-constant.  Require == 0.
11377         (stdin): Require type to be FILE *.
11378         (stdout): Likewise.
11379         (stderr): Likewise.
11380         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11381         macro-int-constant.
11382         (EXIT_SUCCESS): Likewise.
11383         (NULL): Use macro-constant.  Require == 0.
11384         (RAND_MAX): Use macro-int-constant.
11385         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11386         [C99-based standards] (strtof): Require function.
11387         [C99-based standards] (strtold): Likewise.
11388         [C99-based standards] (strtoll): Likewise.
11389         [C99-based standards] (strtoull): Likewise.
11390         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11391         [ISO || ISO99 || ISO11] (limits.h): Likewise.
11392         [ISO || ISO99 || ISO11] (math.h): Likewise.
11393         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11394         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11395         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11397 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
11399         [BZ #14132]
11400         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11401         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11402         * intl/dgettext.c (DCGETTEXT): Likewise.
11403         * intl/gettext.c (DCGETTEXT): Likewise.
11404         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11405         * posix/regex_internal.h (gettext): Likewise.
11406         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11407         Remove declaration.
11408         * include/argz.h (__argz_count_internal)
11409         (__argz_stringify_internal): Remove declaration.
11410         (__argz_count, __argz_stringify): Declare hidden proto.
11411         * intl/dcgettext.c: Remove use of INTDEF.
11412         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11413         * string/argz-stringify.c: Likewise.
11414         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11415         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11416         Declare hidden proto.
11417         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11418         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11419         Declare hidden proto.
11420         * include/stdio.h (__asprintf_internal): Don't declare.
11421         (__asprintf): Don't define as macro.  Declare hidden proto.
11422         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11423         (__fsetlocking): Declare hidden proto.
11424         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11425         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11426         hidden proto.
11427         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11428         (_IO_setlinebuf): Remove use of INTUSE.
11429         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11430         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11431         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11432         Remove declaration.
11433         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11434         (_IO_do_flush): Remove use of INTUSE.
11435         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11436         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11437         (_IO_adjust_column, _IO_least_wmarker)
11438         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11439         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11440         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11441         (_IO_default_doallocate, _IO_wdefault_doallocate)
11442         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11443         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11444         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11445         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11446         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11447         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11448         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11449         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11450         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11451         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11452         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11453         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11454         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11455         proto.
11456         (_IO_flush_all_internal, _IO_adjust_column_internal)
11457         (_IO_default_uflow_internal, _IO_default_finish_internal)
11458         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11459         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11460         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11461         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11462         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11463         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11464         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11465         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11466         (_IO_file_close_internal, _IO_file_close_it_internal)
11467         (_IO_file_underflow_internal, _IO_file_overflow_internal)
11468         (_IO_file_init_internal, _IO_file_attach_internal)
11469         (_IO_file_fopen_internal, _IO_file_read_internal)
11470         (_IO_file_sync_internal, _IO_file_seek_internal)
11471         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11472         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11473         (_IO_str_underflow_internal, _IO_str_overflow_internal)
11474         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11475         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11476         (_IO_list_all_internal, _IO_link_in_internal)
11477         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11478         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11479         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11480         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11481         (_IO_do_write_internal, _IO_padn_internal)
11482         (_IO_getline_info_internal, _IO_getline_internal)
11483         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11484         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11485         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11486         (_IO_vfscanf_internal, _IO_vfprintf_internal)
11487         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11488         (_IO_init_internal, _IO_un_link_internal): Don't declare.
11489         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11490         with libc_hidden_ver, remove use of INTUSE.
11491         * libio/genops.c: Likewise.
11492         * libio/freopen.c: Likewise.
11493         * libio/freopen64.c: Likewise.
11494         * libio/iofclose.c: Likewise.
11495         * libio/iofdopen.c: Likewise.
11496         * libio/iofflush.c: Likewise.
11497         * libio/iofflush_u.c: Likewise.
11498         * libio/iofgets.c: Likewise.
11499         * libio/iofgets_u.c: Likewise.
11500         * libio/iofopen.c: Likewise.
11501         * libio/iofopncook.c: Likewise.
11502         * libio/iofread.c: Likewise.
11503         * libio/iofread_u.c: Likewise.
11504         * libio/ioftell.c: Likewise.
11505         * libio/iofwrite.c: Likewise.
11506         * libio/iogetline.c: Likewise.
11507         * libio/iogets.c: Likewise.
11508         * libio/iogetwline.c: Likewise.
11509         * libio/iopadn.c: Likewise.
11510         * libio/iopopen.c: Likewise.
11511         * libio/ioseekoff.c: Likewise.
11512         * libio/ioseekpos.c: Likewise.
11513         * libio/iosetbuffer.c: Likewise.
11514         * libio/iosetvbuf.c: Likewise.
11515         * libio/ioungetc.c: Likewise.
11516         * libio/ioungetwc.c: Likewise.
11517         * libio/iovdprintf.c: Likewise.
11518         * libio/iovsprintf.c: Likewise.
11519         * libio/iovsscanf.c: Likewise.
11520         * libio/memstream.c: Likewise.
11521         * libio/obprintf.c: Likewise.
11522         * libio/oldfileops.c: Likewise.
11523         * libio/oldiofclose.c: Likewise.
11524         * libio/oldiofdopen.c: Likewise.
11525         * libio/oldiofopen.c: Likewise.
11526         * libio/oldiopopen.c: Likewise.
11527         * libio/oldstdfiles.c: Likewise.
11528         * libio/putc.c: Likewise.
11529         * libio/setbuf.c: Likewise.
11530         * libio/setlinebuf.c: Likewise.
11531         * libio/stdfiles.c: Likewise.
11532         * libio/strops.c: Likewise.
11533         * libio/vasprintf.c: Likewise.
11534         * libio/vscanf.c: Likewise.
11535         * libio/vsnprintf.c: Likewise.
11536         * libio/vswprintf.c: Likewise.
11537         * libio/wfiledoalloc.c: Likewise.
11538         * libio/wfileops.c: Likewise.
11539         * libio/wgenops.c: Likewise.
11540         * libio/wmemstream.c: Likewise.
11541         * libio/wstrops.c: Likewise.
11542         * libio/__fpurge.c: Likewise.
11543         * libio/__fsetlocking.c: Likewise.
11544         * assert/assert.c: Likewise.
11545         * debug/fgets_chk.c: Likewise.
11546         * debug/fgets_u_chk.c: Likewise.
11547         * debug/fread_chk.c: Likewise.
11548         * debug/fread_u_chk.c: Likewise.
11549         * debug/gets_chk.c: Likewise.
11550         * debug/obprintf_chk.c: Likewise.
11551         * debug/vasprintf_chk.c: Likewise.
11552         * debug/vdprintf_chk.c: Likewise.
11553         * debug/vsnprintf_chk.c: Likewise.
11554         * debug/vsprintf_chk.c: Likewise.
11555         * malloc/mtrace.c: Likewise.
11556         * misc/error.c: Likewise.
11557         * misc/syslog.c: Likewise.
11558         * stdio-common/asprintf.c: Likewise.
11559         * stdio-common/fxprintf.c: Likewise.
11560         * stdio-common/getw.c: Likewise.
11561         * stdio-common/isoc99_fscanf.c: Likewise.
11562         * stdio-common/isoc99_scanf.c: Likewise.
11563         * stdio-common/isoc99_vfscanf.c: Likewise.
11564         * stdio-common/isoc99_vscanf.c: Likewise.
11565         * stdio-common/isoc99_vsscanf.c: Likewise.
11566         * stdio-common/printf-prs.c: Likewise.
11567         * stdio-common/printf_fp.c: Likewise.
11568         * stdio-common/printf_fphex.c: Likewise.
11569         * stdio-common/printf_size.c: Likewise.
11570         * stdio-common/putw.c: Likewise.
11571         * stdio-common/scanf.c: Likewise.
11572         * stdio-common/sprintf.c: Likewise.
11573         * stdio-common/tmpfile.c: Likewise.
11574         * stdio-common/vfprintf.c: Likewise.
11575         * stdio-common/vfscanf.c: Likewise.
11576         * stdlib/strfmon_l.c: Likewise.
11577         * sunrpc/openchild.c: Likewise.
11578         * sunrpc/xdr_stdio.c: Likewise.
11579         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11580         * sysdeps/mach/hurd/tmpfile.c: Likewise.
11582 2012-05-24  Roland McGrath  <roland@hack.frob.com>
11584         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11586         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11587         in the third column, to generate for the shared library an IFUNC
11588         that uses _dl_vdso_vsym.
11589         * Makerules (COMPILE.c, compile-stdin.c): New variables.
11590         * Makeconfig (object-suffixes-noshared): New variable.
11592         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11593         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11594         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11595         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11597         [BZ #14132]
11598         * include/sys/time.h (__gettimeofday): Remove macro.
11599         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11600         * time/gettimeofday.c (__gettimeofday): Remove #undef.
11601         Remove INTDEF.
11602         (__gettimeofday): Add libc_hidden_def.
11603         (gettimeofday): Add libc_hidden_weak.
11604         * sysdeps/mach/gettimeofday.c: Likewise.
11605         * sysdeps/posix/gettimeofday.c: Likewise.
11606         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11607         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11608         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11609         (__gettimeofday_internal): Remove strong_alias.
11610         (__gettimeofday): Add libc_hidden_def.
11611         (gettimeofday): Add libc_hidden_weak.
11612         * sysdeps/unix/syscalls.list (gettimeofday):
11613         Remove __gettimeofday_internal alias.
11615 2012-05-24  Daniel Jacobowitz  <drow@false.org>
11616             H.J. Lu  <hongjiu.lu@intel.com>
11618         [BZ #12495]
11619         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11620         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11621         (largebin_index_32_big): New.
11622         (largebin_index): Use it for 16-byte alignment.
11623         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
11624         correction with front_misalign.
11626 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11630         Likewise.
11631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11632         Likewise.
11633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11634         Likewise.
11635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11636         Likewise.
11637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11638         Likewise.
11639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11640         Likewise.
11641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11642         Likewise.
11643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11644         Likewise.
11645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11646         Likewise.
11647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11648         Likewise.
11649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11650         Likewise.
11651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11652         Likewise.
11654         * scripts/data/c++-types-x32-linux-gnu.data: New file.
11655         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11657 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11659         [BZ #10846]
11660         [BZ #14036]
11661         * math/libm-test.inc (exp_test): Add test from bug 14036.
11662         (pow_test): Add test from bug 10846.
11664         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11665         and other flags.
11666         (special_function): Do not include flags in test name.
11667         (parse_args): Likewise.
11668         * sysdeps/i386/fpu/libm-test-ulps: Update.
11669         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11670         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11671         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11674         * math/gen-libm-test.pl (%beautify): Add entries for underflow
11675         exceptions.
11676         * math/libm-test.inc ("Philosophy"): Update comment about
11677         exception testing.
11678         (UNDERFLOW_EXCEPTION): New macro.
11679         (UNDERFLOW_EXCEPTION_OK): Likewise.
11680         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11681         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11682         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11683         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11684         (INVALID_EXCEPTION_OK): Update value.
11685         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11686         (OVERFLOW_EXCEPTION_OK): Likewise.
11687         (IGNORE_ZERO_INF_SIGN): Likewise.
11688         (test_exceptions): Handle underflow exceptions.
11689         (acos_test): Update for underflow exception expectations.
11690         (cexp_test): Likewise.
11691         (clog_test): Likewise.
11692         (clog10_test): Likewise.
11693         (csqrt_test): Likewise.
11694         (ctan_test): Likewise.
11695         (ctanh_test): Likewise.
11696         (exp_test): Likewise.
11697         (exp10_test): Likewise.
11698         (exp2_test): Likewise.
11699         (expm1_test): Likewise.
11700         (fma_test): Likewise.
11701         (j0_test): Likewise.
11702         (jn_test): Likewise.
11703         (nexttoward_test): Likewise.
11704         (pow_test): Likewise.
11705         (scalbn_test): Likewise.
11706         (scalbln_test): Likewise.
11707         (tan_test): Likewise.
11708         (y1_test): Likewise.
11709         * sysdeps/i386/fpu/libm-test-ulps: Update.
11710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11712 2012-05-23  David S. Miller  <davem@davemloft.net>
11714         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11715         (__libc_sigaction): Remove unused local variables.
11717 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11719         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11721 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
11723         mktime: avoid signed integer overflow
11724         * time/mktime.c (__mktime_internal): Do not mishandle the case
11725         where diff == INT_MIN.
11727         mktime: simplify computation of average
11728         * time/mktime.c (ranged_convert): Use new time_t_avg function
11729         instead of rolling our own (probably-slower) code.
11731         mktime: do not assume signed right shift propagates sign bit
11732         * time/mktime.c (isdst_differ): New static function.
11733         (__mktime_internal): No need to normalize tm_isdst now.
11734         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11735         tm_isdst values.
11737         mktime: merge another wrapv change from gnulib
11738         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11739         from some compilers.
11741         mktime: remove incorrect attempt at unusual arithmetics
11742         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11743         The code didn't really work on such machines anyway.
11744         (TYPE_MINIMUM): Assume two's complement.
11745         (twos_complement_arithmetic): Verify that long_int and time_t
11746         are two's complement (or unsigned, in the latter case).
11748         mktime: check signed shifts on long_int and time_t, too
11749         * time/mktime.c (SHR): Check that shifts work as desired
11750         on the types long_int and time_t too, as SHR is used on
11751         such types.
11753         mktime: do not assume 'long' is wide enough
11754         * time/mktime.c (verify): Move decl up.
11755         (long_int): New type.
11756         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11757         to remove assumption in the code that 'long' is wide enough to
11758         store year values.  This assumption is not true on x32 and on
11759         some non-glibc platforms.
11761         mktime: merge wrapv change from gnulib
11762         * time/mktime.c (WRAPV): New macro.
11763         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11764         (guess_time_tm, __mktime_internal): Do not assume that signed
11765         integer overflow wraps around; modern compilers generate code
11766         where this assumption is no longer valid.
11768 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11770         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11771         Replace "jmp L(pseudo_end)" with "ret".
11772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11773         Likewise.
11775 2012-05-23  Andreas Jaeger  <aj@suse.de>
11777         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11778         * sysdeps/unix/sysv/linux/poll.c: Remove file.
11780 2012-05-23  Andreas Jaeger  <aj@suse.de>
11781             Maximilian Attems  <max@stro.at>
11783         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11784         New macros.
11786 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11788         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11789         code so that pseudo_end is just ret and the stack pointer is
11790         correct also for static library in error case.
11792 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
11794         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11795         move to syscalls.list.
11796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11801         * manual/install.texi (Running make install): Do not mention Linux
11802         kernel version for which pt_chown is not needed.
11803         (Linux): Do not mention problems with nscd with 2.0 kernels.
11804         * INSTALL: Regenerated.
11806 2012-05-23  Andreas Jaeger  <aj@suse.de>
11808         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11809         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11810         macro.
11811         * sysdeps/unix/sysv/linux/s390/bits/mman.h
11812         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11813         * sysdeps/unix/sysv/linux/sh/bits/mman.h
11814         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11815         * sysdeps/unix/sysv/linux/i386/bits/mman.h
11816         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11817         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11818         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11819         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11820         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11821         * sysdeps/unix/sysv/linux/bits/in.h
11822         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11824 2012-05-22  Roland McGrath  <roland@hack.frob.com>
11826         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11827         (PREPARE_VERSION): Just use assert instead, it will be elided
11828         under [NDEBUG] anyway.
11830 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11832         * sysdeps/unix/sysv/linux/Makefile: Include
11833         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11834         (sysdep_routines): Remove sysctl.
11835         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11836         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11837         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11838         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11839         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11841 2012-05-22  Andreas Jaeger  <aj@suse.de>
11843         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11844         that pseudo_end is just ret and the stack pointer is correct also
11845         for static library in error case.
11847 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11849         [BZ #14122]
11850         * nss/nsswitch.c (defconfig_entries): New variable.
11851         (__nss_database_lookup): Don't leak defconfig entries.
11852         (nss_parse_service_list): Don't leak on error paths.
11853         (free_database_entries): New function.
11854         (free_defconfig): New function.
11855         (free_mem): Move common code to free_database_entries.
11857 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11859         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11860         Add arch_prctl.
11861         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11863         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11864         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11866         New macro.
11867         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11868         (INTERNAL_SYSCALL_TYPES): Likewise.
11869         (LOAD_ARGS_TYPES_[1-6]): Likewise.
11870         (LOAD_REGS_TYPES_[1-6]): Likewise.
11871         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11872         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11874 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11876         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11877         copysignl for GLIBC_2_0.
11878         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11879         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11880         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11881         logbl for GLIBC_2_0.
11882         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11883         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11885 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11887         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11888         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11890         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11891         Use "neg %eax".
11893         * time/mktime.c: Update copyright years.
11895 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11897         mktime: merge comment-quoting-style change from gnulib
11898         * time/mktime.c: Quote 'like this' in comments.
11899         The GNU coding standards suggest that we no longer quote `like this',
11900         as "`" and "'" are typically rendered asymmetrically nowadays.
11901         The typical gnulib style is to quote 'like this' when quoting
11902         code, and "like this" when quoting English.
11904         * time/mktime.c (compile-command): Add "-I.".
11906         mktime: merge mktime-internal.h change from gnulib
11907         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11909         mktime: merge time_r change from gnulib
11910         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11912         mktime: merge DEBUG change from gnulib
11913         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11914         case system <time.h> has a #define.
11916         mktime: merge <sys/types.h> change from gnulib
11917         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11918         since <time.t> is now guaranteed to define time_t.
11920         mktime: merge HAVE_CONFIG_H change from gnulib
11921         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11923 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11925         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11926         Use "neg %eax".
11928         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11929         __rlim_t cast.
11930         (struct rusage): Use anonymous union to pad each field to
11931         __syscall_slong_t.
11933 2012-05-21  David S. Miller  <davem@davemloft.net>
11935         * Makefules (o-iterator): Remove .s cases.
11936         (compile-command.s): Delete.
11937         (COMPILE.s): Delete.
11938         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11940 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
11942         * configure.in (libc_cv_predef_stack_protector): Only consider
11943         "foobar" and "__stack_chk_fail" lines in libc_undefs.
11944         * configure: Regenerated.
11946 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11949         New macro.  Use R*LP on int and pointer.
11950         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11951         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11952         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11953         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11955         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11956         [__WORDSIZE_TIME64_COMPAT32] instead of
11957         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11958         (struct utmp): Likewise.
11959         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11960         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11961         Renamed to ...
11962         (__WORDSIZE_TIME64_COMPAT32): This.
11963         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11964         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11965         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11966         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11967         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11968         (__WORDSIZE_TIME64_COMPAT32): New macro.
11970 2012-05-21  Andreas Jaeger  <aj@suse.de>
11972         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11973         only if [SHARED]. Add prototype for __wcschr_ia32.
11975 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11977         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11978         of %rbp unmolested in the jmp_buf while mangling the low bits.
11979         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11980         unmolested high bits of %rbp while demangling the low bits.
11981         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11983 2012-05-21  Andreas Jaeger  <aj@suse.de>
11985         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11986         * sunrpc/svc_simple.c: Use it for registerrpc.
11987         * sunrpc/xcrypt.c: Use it for passwd2des.
11989         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11991 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11993         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11994         Don't define if [__SYSCALL_WORDSIZE != 32].
11995         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11996         New macro.
11998 2012-05-21  Bruno Haible  <bruno@clisp.org>
11999             Andreas Jaeger  <aj@suse.de>
12001         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12002         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12003         inptr and inend for must_buffer_ch.
12004         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12005         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12006         * stdio-common/Makefile (tests): Remove bug15.
12007         (bug15-ENV): Remove macro.
12008         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12009         anymore.
12011 2012-05-19  Andreas Jaeger  <aj@suse.de>
12012             Roland McGrath  <roland@hack.frob.com>
12014         * manual/contrib.texi: Completely rewritten. It contains now an
12015         alphabetical list of contributors and their contributions.
12017 2012-05-21  Richard Henderson  <rth@twiddle.net>
12019         * misc/getauxval.c (__getauxval): Use unsigned long int.
12020         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12021         (getauxval): Use unsigned long int.
12023 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12025         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12027 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12029         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12030         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12031         __alignof__ (long double).
12033 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12037 2012-05-20  Richard Henderson  <rth@twiddle.net>
12039         * misc/getauxval.c: New file.
12040         * misc/sys/auxv.h: New file.
12041         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12042         (routines): Add getauxval.
12043         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12044         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12045         * elf/dl-sysdep.c (_dl_auxv): Remove.
12046         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12047         * elf/dl-support.c (_dl_auxv): New variable.
12048         (_dl_aux_init): Initialize it.
12049         * manual/startup.texi (Auxiliary Vector): New node.
12050         * sysdeps/generic/bits/hwcap.h: New file.
12051         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12052         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12053         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12054         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12055         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12056         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12058         Update.
12059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12062         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12068 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12072 2012-05-19  David S. Miller  <davem@davemloft.net>
12074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12076 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12078         [BZ #14123]
12079         * math/s_ccosh.c: Include <float.h>
12080         (__ccosh): Avoid internal overflow calculating sinh and cosh
12081         values before multiplying by sin and cos values.
12082         * math/s_ccoshf.c: Likewise.
12083         * math/s_ccoshl.c: Likewise.
12084         * math/s_csin.c: Likewise.
12085         * math/s_csinf.c: Likewise.
12086         * math/s_csinl.c: Likewise.
12087         * math/s_csinh.c: Likewise.
12088         * math/s_csinhf.c: Likewise.
12089         * math/s_csinhl.c: Likewise.
12090         * math/libm-test.inc (ccos_test): Add more tests.
12091         (ccosh_test): Likewise.
12092         (csin_test): Likewise.
12093         (csinh_test): Likewise.
12094         * sysdeps/i386/fpu/libm-test-ulps: Update.
12095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12097 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12099         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12100         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12102         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12104 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12106         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12107         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12108         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12109         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12110         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12111         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12112         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12113         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12114         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12115         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12116         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12117         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12118         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12119         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12120         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12121         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12122         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12123         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12124         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12125         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12126         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12127         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12128         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12129         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12130         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12131         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12132         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12133         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12134         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12135         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12136         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12138 2012-05-18  Andreas Jaeger  <aj@suse.de>
12140         * csu/.gitignore: Delete.
12142 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12144         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12145         (timex): Use __syscall_slong_t.
12147 2012-05-18  Andreas Jaeger  <aj@suse.de>
12148             Carlos O'Donell  <carlos_odonell@mentor.com>
12150         * manual/install.texi (Configuring and compiling): Update
12151         description about files modified in the source directory.
12152         * INSTALL: Regenerated.
12154 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12156         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12157         value.  Use "or" to set return value to -1.
12158         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12159         negate return value.
12161 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12163         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12164         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12165         failure if the compiler has Graphite support disabled.
12166         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12167         Likewise.
12168         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12169         CFLAGS-memmove.c): Likewise.
12170         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12171         Likewise.
12173 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12175         * sysdeps/x86_64/x32/_itoa.h: New file.
12177         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12178         getdents system call only if kernel and user dirents have the
12179         same d_ino and d_off.
12181         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12182         LLONG_MAX != LONG_MAX.
12183         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12184         (_fitoa_word): Likewise.
12186         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12187         years.
12188         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12189         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12190         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12192         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12193         include <bits/wordsize.h>.  Check __x86_64__ instead of
12194         __WORDSIZE.
12195         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12196         if __x86_64__ is defined.  Use anonymous union on fpstate.
12198         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12199         anonymous union.
12201 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12203         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12204         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12205         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12206         Refer to _rtld_local_ro instead of _rtld_global_ro.
12207         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12208         Likewise.
12209         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12210         Likewise.
12211         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12212         Likewise.
12213         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12214         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12215         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12217         * sysdeps/powerpc/powerpc32/dl-machine.c
12218         (__elf_machine_runtime_setup) [PROF]: Don't reference
12219         _dl_prof_resolve.
12221 2012-05-18  Andreas Jaeger  <aj@suse.de>
12223         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12224         function only available for GCCs before 3.4 since GCC 3.4
12225         introduced a builtin.
12226         (lrint): Likewise.
12227         (llrintf): Likewise.
12228         (llrint): Likewise.
12229         (fmaxf): Likewise.
12230         (fmax): Likewise.
12231         (fminf): Likewise.
12232         (fmin): Likewise.
12233         (rint): Likewise.
12234         (rintf): Likewise.
12235         (nearbyint): Likewise.
12236         (nearbyintf): Likewise.
12237         (ceil): Likewise.
12238         (ceilf): Likewise.
12239         (floor): Likewise.
12240         (floorf): Likewise.
12242 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12244         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12245         on both fields and cast pointer to __syscall_ulong_t.
12247         * bits/types.h (__fsword_t): New type.
12248         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12249         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12251         (__FSWORD_T_TYPE): Likewise.
12252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12253         (__FSWORD_T_TYPE): Likewise.
12254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12255         (__FSWORD_T_TYPE): Likewise.
12256         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12257         (__FSWORD_T_TYPE): Likewise.
12258         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12259         __SWORD_TYPE with __fsword_t.
12260         (statfs64): Likewise.
12262 2012-05-17  David S. Miller  <davem@davemloft.net>
12264         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12266 2012-05-17  Andreas Jaeger  <aj@suse.de>
12268         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12269         warning.
12271 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12273         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12275 2012-05-17  Andreas Jaeger  <aj@suse.de>
12277         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12278         when it is used.
12280 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12282         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12284 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12286         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12287         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12289 2012-05-17  Andreas Jaeger  <aj@suse.de>
12290             Carlos O'Donell  <carlos_odonell@mentor.com>
12292         [BZ #14059]
12293         * sysdeps/x86_64/multiarch/init-arch.h
12294         (bit_YMM_Usable): Rename to...
12295         (bit_AVX_Usable): ... this.
12296         (bit_FMA4_Usable): New macro.
12297         (bit_XMM_state): New macro.
12298         (bit_YMM_state): New macro.
12299         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12300         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12301         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12302         (CPUID_OSXSAVE): New macro.
12303         (CPUID_AVX): New macro.
12304         (CPUID_FMA4): New macro.
12305         (index_YMM_Usable): Rename to...
12306         (index_AVX_Usable): ... this.
12307         (HAS_AVX): Use HAS_ARCH_FEATURE.
12308         (HAS_FMA4): Likewise.
12309         (HAS_YMM_USABLE): Remove.
12310         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12311         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12312         are present.
12313         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12314         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12315         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12316         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12317         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12319 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12321         * math/libm-test.c: Support platforms without multiple rounding modes.
12322         * math/bug-nextafter.c: Support platforms without FP exceptions.
12323         * math/bug-nexttoward.c: Likewise.
12324         * math/test-fenv.c: Likewise.
12325         * math/test-misc.c: Likewise.
12326         * stdlib/bug-getcontext.c: Likewise.
12328 2012-05-17  Andreas Jaeger  <aj@suse.de>
12330         * manual/examples/search.c (critter_cmp): Change signature to
12331         avoid warnings.
12332         * manual/string.texi (Collation Functions): Likewise.
12334 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12336         * bits/types.h: Fold copyright years.
12337         * bits/typesizes.h: Likewise.
12338         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12339         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12340         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12341         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12342         * time/time.h: Likewise.
12344 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
12346         [BZ #208]
12347         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12348         in instead of returning them.  Return void.
12349         (__libc_mallinfo): Accumulate over all arenas.
12350         (__malloc_stats): Adjust for change in int_mallinfo interface.
12352 2012-05-16  Roland McGrath  <roland@hack.frob.com>
12354         [BZ #10375]
12355         * configure.in (NM): Add AC_CHECK_TOOL for it.
12356         (libc_extra_cflags): New substituted variable.
12357         Check for -fstack-protector being used implicitly.
12358         * configure: Regenerated.
12359         * config.make.in (config-extra-cflags): New variable,
12360         gets @libc_extra_cflags@.
12361         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12363         [BZ #10375]
12364         * configure.in: Check for _FORTIFY_SOURCE being predefined.
12365         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12366         * configure: Regenerated.
12367         * config.make.in (CPPUNDEFS): New substituted variable.
12368         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12369         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12370         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12372 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12374         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12375         (mq_attr): Use __syscall_slong_t.
12377 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12379         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12380         Check __x86_64__ instead of __WORDSIZE.
12381         (_STAT_VER_LINUX): Likewise.
12382         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
12383         __syscall_ulong_t and __syscall_slong_t.
12384         (stat64): Likewise.
12386 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12388         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12390 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12392         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12394 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12396         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12397         __syscall_ulong_t.
12399         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12400         include <bits/wordsize.h>.  Check __x86_64__ instead of
12401         __WORDSIZE.
12402         (greg_t): Use "__extension__ long long int" if __x86_64__ is
12403         defined.
12404         (mcontext_t): Replace "unsigned long" with "unsigned long long".
12406         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12407         include <bits/wordsize.h>.  Check __x86_64__ instead of
12408         __WORDSIZE.
12409         (user_regs_struct): Use "__extension__ unsigned long long"
12410         instead of "unsigned long" if __x86_64__ is defined.
12411         (user): Likewise.  Pad after pointer field if __ILP32__ is
12412         defined.
12414 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
12416         * configure.in (makeinfo): Require version 4.5 or later.  Allow
12417         versions 5 to 9.
12418         * configure: Regenerated.
12419         * manual/install.texi (texinfo): Increase version requirement to
12420         4.5 or later.
12421         * INSTALL: Regenerated.
12423         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12425 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12427         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12429         * sysdeps/x86_64/x32/ffs.c: New file.
12431         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12432         __syscall_ulong_t.
12433         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12434         defined.  Use __syscall_ulong_t.
12435         (shminfo): Use __syscall_ulong_t.
12436         (shm_info): Likewise.
12438         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12439         __syscall_ulong_t.
12441         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12442         <bits/wordsize.h>.
12443         (msgqnum_t): Use __syscall_ulong_t.
12444         (msglen_t): Likewise.
12445         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
12446         __syscall_ulong_t.
12448         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12449         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12451         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12453         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12454         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12456         * sysvipc/sys/msg.h (msgbuf): Replace long int with
12457         __syscall_slong_t.
12459         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12460         include <bits/wordsize.h>.  Check __x86_64__ instead of
12461         __WORDSIZE.
12463         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12464         "unsigned long long int" if __x86_64__ is defined.
12465         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12467         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12468         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12469         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12471         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12472         <stdint.h>.
12473         (GET_PC): Cast to uintptr_t first.
12474         (GET_FRAME): Likewise.
12475         (GET_STACK): Likewise.
12477         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12478         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12479         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12480         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12481         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12482         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12483         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12484         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12485         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12486         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12487         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12488         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12489         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12490         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12491         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12492         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12493         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12494         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12495         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12496         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12497         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12498         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12499         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12500         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12501         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12502         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12503         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12504         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12505         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12507 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
12509         * Makerules (+depfiles): Also collect depfiles from .oS in
12510         $(extra-objs).
12511         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12512         .oS, $(libnldbl-routines)).
12514         * Makerules (native-compile-mkdep-flags): Define.
12515         * sunrpc/Makefile (extra-objs): Add $(addprefix
12516         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12517         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12518         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
12519         calling $(make-target-directory).
12521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12523         * bits/types.h (__snseconds_t): Removed.
12524         * time/time.h (struct timespec): Replace __snseconds_t with
12525         __syscall_slong_t.
12526         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12527         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12528         Likewise.
12529         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12530         (__SNSECONDS_T_TYPE): Likewise.
12531         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12532         (__SNSECONDS_T_TYPE): Likewise.
12533         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12534         (__SNSECONDS_T_TYPE): Likewise.
12536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12538         * sysdeps/mach/hurd/bits/typesizes.h
12539         (__SYSCALL_SLONG_TYPE): New macro.
12540         (__SYSCALL_ULONG_TYPE): Likewise.
12542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12544         * bits/types.h (__syscall_slong_t): New type.
12545         (__syscall_ulong_t): Likewise.
12547         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12548         (__SYSCALL_ULONG_TYPE): Likewise.
12549         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12550         (__SYSCALL_SLONG_TYPE): Likewise.
12551         (__SYSCALL_ULONG_TYPE): Likewise.
12552         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12553         (__SYSCALL_SLONG_TYPE): Likewise.
12554         (__SYSCALL_ULONG_TYPE): Likewise.
12555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12556         (__SYSCALL_SLONG_TYPE): Likewise.
12557         (__SYSCALL_ULONG_TYPE): Likewise.
12559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12561         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12562         Add sigaltstack-offsets.sym.
12563         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12564         <sigaltstack-offsets.h>.
12565         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
12566         longjmp_msg pointer.
12567         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
12568         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12569         signal stack.
12570         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12572 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12574         * elf/stackguard-macros.h: Remove file.
12575         * sysdeps/generic/stackguard-macros.h: New file.
12576         * sysdeps/i386/stackguard-macros.h: Likewise.
12577         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12578         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12579         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12580         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12581         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12582         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12583         * sysdeps/x86_64/stackguard-macros.h: Likewise.
12584         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12585         <elf/stackguard-macros.h>.
12587         [BZ #14109]
12588         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12589         __aligned__ in attribute.
12590         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12591         (gregset_t): Likewise.
12593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12595         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12596         * sysdeps/x86_64/64/Implies-after: Here.  New file.
12597         * sysdeps/x86_64/x32/Implies-after: New file.
12599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12601         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12602         and access return value for _dl_profile_fixup.  Use R10_LP to
12603         load frame size.
12605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12607         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12611         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12612         * sysdeps/x86_64/x32/sysdep.h: New file.
12614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12616         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12617         * sysdeps/x86_64/setjmp.S: Likewise.
12619 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12621         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12622         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12623         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12624         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12625         remove unused global constant.
12627 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
12629         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12630         include of <not-cancel.h>.
12632 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12634         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12636 2012-05-15  Jeff Law  <law@redhat.com>
12637             Andreas Jaeger  <aj@suse.de>
12639         [BZ #13594]
12640         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12641         out from...
12642         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12643         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12644         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12645         code changing __hst_map_handle.map.
12647 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12649         * configure.in (sysnames): Look for Implies-before and Implies-after
12650         files.
12651         * configure: Regenerated.
12653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12655         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12656         8-byte data alignment with LP_SIZE alignment.
12658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12660         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12661         into R10_LP.
12663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12665         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12667 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12669         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12670         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12671         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12672         Likewise.
12673         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12677         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12678         (stackinfo_sub_sp): Likewise.
12680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12683         RAX_LP.
12685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12687         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12688         into R*_LP.
12690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12692         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12693         sizes into R*_LP.
12695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12697         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12701         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12702         into R11_LP and load __x86_64_shared_cache_size_half into
12703         R8_LP.
12705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12707         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12708         R8_LP.
12710 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12712         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12713         logb for POWER7.
12714         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12715         logbf for POWER7.
12716         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12717         logbl for POWER7.
12718         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12719         powerpc32/power7/fpu/s_logb.c via #include.
12720         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12721         powerpc32/power7/fpu/s_logbf.c via #include.
12722         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12723         powerpc32/power7/fpu/s_logbl.c via #include.
12725 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12727         * README.libm: Remove file.
12729 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12731         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12732         count for x32.  Use R*_LP and omit operand-size suffix.
12734 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12736         * shlib-versions: Move x86_64-.*-linux.* entries to ...
12737         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
12738         * sysdeps/x86_64/x32/shlib-versions: New file.
12740 2012-05-14  Roland McGrath  <roland@hack.frob.com>
12742         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12743         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12744         Use _dl_fatal_printf instead.
12746 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12748         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12749         set if not set by the user.  Do not allow for being unset.
12750         * sysdeps/unix/sysv/linux/configure: Regenerated.
12752 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12754         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12755         the `q' suffix from lea and replace .quad with ASM_ADDR.
12757 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12759         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12760         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
12761         instead of $17.
12762         (PTR_DEMANGLE): Likewise.
12764 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12766         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12767         (LP_OP): Likewise.
12768         (ASM_ADDR): Likewise.
12769         (RAX_LP): Likewise.
12770         (RBP_LP): Likewise.
12771         (RBX_LP): Likewise.
12772         (RCX_LP): Likewise.
12773         (RDI_LP): Likewise.
12774         (RSI_LP): Likewise.
12775         (RSP_LP): Likewise.
12776         (R8_LP): Likewise.
12777         (R9_LP): Likewise.
12778         (R10_LP): Likewise.
12779         (R10_LP): Likewise.
12780         (R11_LP): Likewise.
12781         (R12_LP): Likewise.
12782         (R13_LP): Likewise.
12783         (R14_LP): Likewise.
12784         (R15_LP): Likewise.
12786 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12788         * sysdeps/x86_64/x32/dl-machine.h: New file.
12790 2012-05-14  Andreas Jaeger  <aj@suse.de>
12792         * manual/Makefile (subdir): Remove export of subdir.
12793         (all): Remove target.
12794         (.PHONY): Remove all from list.
12795         (mkinstalldirs): Remove.
12796         (.PHONY): Remove installdirs from list.
12797         ($(inst_infodir)/libc.info): Use make-target-directory.
12798         (installdirs): Remove.
12799         (subdir_%): Remove.
12800         (glibc-targets): Remove.
12801         (lib): Remove.
12802         (stubs): Remove.
12803         ($(objpfx)stubs ../po/manual.pot): Remove.
12804         ($(objpfx)stamp%): Remove.
12805         (make-target-directory): Remove.
12806         (subdir_install): Remove.
12807         (routines): Remove.
12808         (aux): Remove.
12809         (sources): Remove.
12810         (objects): Remove.
12811         (headers): Remove.
12813         [BZ #13750]
12814         * manual/.gitignore: Remove, it's not needed anymore.
12815         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12816         all files in it.
12817         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12818         directory.
12819         (texis): Renamed to $(objpfx)texis.
12820         (texis-path): New, contains path to generated files.
12821         (chapters.%): Use texis-path for complete path, add extra argument
12822         libc-texinfo.sh.
12823         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12824         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12825         (summary,texi, stamp-summary): Use complete path of
12826         files. Generate files in build dir.
12827         (dir-add.texi): Build in build dir.
12828         (libm-err.texi,stamp-libm-err): Likewise.
12829         (version.texi, stamp-version): Likewise.
12830         (.%c.texi): Likewise.
12831         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12832         (mostlyclean): Remove target.
12833         (realclean): Remove target.
12834         (generated): Add new variable with contents from mostlyclean and
12835         realclean, remove entries duplicated in common-mostlyclean, add
12836         stamp-libm-err and stamp-version.
12837         (generated-dirs): Add libc directory.
12838         ($(inst_infodir)/libc.info): Install files from build dir.
12840         * manual/install.texi (Configuring and compiling): Adjust since
12841         the info files are not part of the tar ball anymore.
12843 2012-05-14  Andreas Jaeger  <aj@suse.de>
12845         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12846         variable.
12848 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12850         [BZ #13717]
12851         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12852         to 2.2.0 where earlier.
12853         * sysdeps/unix/sysv/linux/configure: Regenerated.
12854         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12855         Remove conditional code.
12856         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12857         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12858         Remove conditional code.
12859         [!__NR_lchown]: Likewise.
12860         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12861         [__NR_lchown]: Likewise.
12862         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12863         comment referencing __ASSUME_LCHOWN_SYSCALL.
12864         * sysdeps/unix/sysv/linux/i386/sigaction.c
12865         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12866         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12867         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12868         Remove conditional code.
12869         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12870         (__protocol_available): Remove #if 0 code.
12871         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12872         conditional code.
12873         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12874         * sysdeps/unix/sysv/linux/kernel-features.h
12875         (__ASSUME_GETCWD_SYSCALL): Don't define.
12876         (__ASSUME_REALTIME_SIGNALS): Likewise.
12877         (__ASSUME_PREAD_SYSCALL): Likewise.
12878         (__ASSUME_PWRITE_SYSCALL): Likewise.
12879         (__ASSUME_POLL_SYSCALL): Likewise.
12880         (__ASSUME_LCHOWN_SYSCALL): Likewise.
12881         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12882         non-SPARC.
12883         (__ASSUME_SIOCGIFNAME): Don't define.
12884         (__ASSUME_MSG_NOSIGNAL): Likewise.
12885         (__ASSUME_SENDFILE): Define unconditionally.
12886         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12887         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12888         conditional code.
12889         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12890         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12891         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12892         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12893         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12894         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12895         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12897         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12898         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12900         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12901         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12903         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12906         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12907         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12909         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12912         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12913         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12915         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12916         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12918         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12919         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12920         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12921         Remove conditional code.
12922         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12923         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12924         Remove conditional code.
12925         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12926         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12927         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12928         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12929         Remove conditional code.
12930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12931         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12932         Remove conditional code.
12933         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12934         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12935         Remove conditional code.
12936         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12937         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12938         Remove conditional code.
12939         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12940         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12941         Remove conditional code.
12942         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12943         * sysdeps/unix/sysv/linux/sh/pwrite64.c
12944         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12946         * sysdeps/unix/sysv/linux/sigaction.c
12947         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12948         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12949         * sysdeps/unix/sysv/linux/sigpending.c
12950         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12951         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12952         * sysdeps/unix/sysv/linux/sigprocmask.c
12953         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12954         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12955         * sysdeps/unix/sysv/linux/sigsuspend.c
12956         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12957         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12958         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12959         (__libc_missing_rt_sigs): Remove.
12960         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12961         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12962         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12963         Remove conditional code.
12964         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12965         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12966         return 1.
12967         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12968         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12969         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12970         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12972 2012-05-14  Andreas Jaeger  <aj@suse.de>
12974         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12975         it's not used in glibc.
12976         (__coshm1): Likewise.
12977         (__acosh1p): Likewise.
12978         (__sgn): Likewise.
12980         * manual/string.texi (Copying and Concatenation): Add missing
12981         variable in concat example.
12982         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12984 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12986         [BZ #14103]
12987         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12988         __builtin_clzl with __builtin_clzll.
12990 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12992         [BZ #14104]
12993         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12994         libc_freeres_ptr.
12996 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12998         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12999         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13000         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13001         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13003 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13005         * NEWS: Update ia64 info.
13007 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13009         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13010         used as bcopy.
13012 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13014         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13015         * sysdeps/unix/syscalls.list (dup3): Likewise.
13016         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13017         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13019 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13021         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13022         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13024 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13026         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13027         thread pointer.
13028         (TLS_IE): Use mov/add instead of movq/addq to load thread
13029         pointer.
13030         (TLS_GD_PREFIX): New.
13031         (TLS_GD): Use it.
13033 2012-05-11  David S. Miller  <davem@davemloft.net>
13035         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13036         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13037         (_FPU_SETCW): Likewise.
13039 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13041         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13042         is 32-byte aligned.
13044 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13046         [BZ #11837]
13047         * iconvdata/gb18030.c: Update tables.
13048         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13049         characters specially.
13050         (BODY for TO_LOOP): Add encoding of missing ranges.
13052 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13054         [BZ #13673]
13055         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13056         * sysdeps/mach/hurd/dup3.c: Likewise.
13057         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13058         * sysdeps/powerpc/memmove.c:: Likewise.
13060 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13062         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13063         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13065 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13067         * elf/elf.h (R_X86_64_RELATIVE64): New.
13068         (R_X86_64_NUM): Updated.
13069         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13070         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13071         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13072         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13073         tst-quad1pie tst-quad2pie
13074         (modules-names): Add tst-quadmod1 tst-quadmod2.
13075         ($(objpfx)tst-quad1): New dependency.
13076         ($(objpfx)tst-quad2): Likewise.
13077         ($(objpfx)tst-quad1pie): Likewise.
13078         ($(objpfx)tst-quad2pie): Likewise.
13079         * sysdeps/x86_64/tst-quad1.c: New file.
13080         * sysdeps/x86_64/tst-quad1pie.c: New file.
13081         * sysdeps/x86_64/tst-quad2.c: Likewise.
13082         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13083         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13084         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13085         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13086         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13088 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13090         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13091         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13092         * streams/stropts.h (t_scalar_t): Define type.
13094         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13095         (_PATH_PRESERVE): Set to "/var/lib".
13096         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13098         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13099         instead of int.
13101         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13102         if __dir_mkfile succeeded.
13104         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13105         checking for _hurd_dtablesize.  Unlock it right after having
13106         finished _hurd_dtable allocation.
13108 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13110         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13111         * sysdeps/mach/hurd/configure: Regenerated.
13112         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13113         special-casing to...
13114         * sysdeps/gnu/configure.in: ... this new file.
13115         * sysdeps/unix/sysv/linux/configure: Regenerated.
13116         * sysdeps/gnu/configure: New generated file.
13118         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13119         for Linux: use nsec instead of usec, as well as:
13120         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13121         members of type struct timespec.
13122         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13123         New macros.
13124         (struct stat64): Likewise.
13125         (_STATBUF_ST_NSEC): New macro.
13126         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13128         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13129         __strtoul_internal rather than strtoul.
13131 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13133         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13134         and reject them.
13136 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13138         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13139         which preserves existing values.
13140         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13142 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13144         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13145         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13146         greater than FD_SETSIZE.
13148 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13150         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13151         allocated, call __vm_protect to finish enabling the existing space, and
13152         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13153         allocate the remainder.
13155 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13157         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13158         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13160 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13162         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13163         sysdeps/mach/hurd/readlink.c.
13165         * posix/tst-sysconf.c (posix_options): Only use
13166         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13167         _POSIX_SYNCHRONIZED_IO when they are defined
13168         * sysdeps/mach/hurd/bits/posix_opt.h:
13169         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13170         (_XOPEN_REALTIME): Undefine macro.
13171         (_XOPEN_REALTIME_THREADS): Undefine macro.
13172         (_XOPEN_SHM): Undefine macro.
13173         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13174         macro to -1.
13175         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13176         macro to -1.
13177         (_POSIX_ASYNC_IO): Undefine macro.
13178         (_POSIX_PRIORITIZED_IO): Undefine macro.
13179         (_POSIX_SPIN_LOCKS): Define macro to -1.
13181         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13182         SA_NODEFER, SA_RESETHAND.
13183         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13184         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13185         F_DUPFD_CLOEXEC.
13187 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13189         * elf/Makefile (pldd-modules): Define unconditionally.
13191 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13193         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13195 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13197         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13198         Return ENOENT when name is empty.
13199         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13203         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13205         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13207 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13209         Fix mlock in all cases except non-readable pages.
13210         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13211         instead of VM_PROT_ALL as parameter to __vm_wire function.
13213         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13214         (__mkdir): When path is `/', just fail with EEXIST.
13215         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13219         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13220         <sys/uio.h> (for writev).
13221         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13222         and <sys/param.h> (for MIN).
13224 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13226         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13227         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13228         if interrupted.
13230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13232         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13233         Depend on against $(link-rpcuserlibs).
13235 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13237         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13238         (__libc_stack_end): Do not use attribute_relro.
13239         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13240         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13241         to libthread-provided value.
13242         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13243         attribute_relro.
13245 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13247         [BZ #3748]
13248         * bits/libc-lock.h (__libc_once_get): New macro.
13249         * sysdeps/mach/bits/libc-lock.h: Likewise.
13250         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13251         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13252         instead of using implementation details.
13254         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13255         * libio/freopen.c: Likewise.
13256         * libio/freopen64.c: Likewise.
13257         * misc/syslog.c: Likewise.
13258         * nscd/connections.c: Likewise.
13259         * nscd/netgroupcache.c: Likewise.
13260         * sysdeps/posix/getcwd.c: Likewise.
13262 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13264         * math/w_ilogbf.c: Add #include <limits.h>.
13266 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13268         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13269         path instead of returning without unlocking.
13271         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13272         immediate-write ioctls.
13273         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13275 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13277         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13278         __builtin_frame_address instead of making assumptions about the
13279         location of the return address relative to DATA.  Force early load of
13280         the return address.
13281         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13282         __builtin_frame_address.
13284         dup3 for GNU Hurd.
13285         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13286         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13287         implement dup3 and do some further code clean-ups.
13288         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13289         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13291 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13293         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13295         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13296         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13297         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13298         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13299         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13300         d->port.lock.
13302         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13303         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13304         when handler == SIG_ERR, not when handler != SIG_ERR.
13306 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13308         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13309         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13310         definitions.
13312         accept4 for GNU Hurd.
13313         * include/sys/socket.h (__libc_accept4): New prototype.
13314         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13315         to implement __libc_accept4.
13316         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13317         __libc_accept4.
13318         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13320         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13321         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13322         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13323         signal-defines.sym.
13325 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13327         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13329 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13331         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13332         assertion on O_CLOEXEC flag.
13333         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13334         * hurd/intern-fd.c: Likewise.
13335         * hurd/port2fd.c: Likewise.
13337 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13339         [BZ #3906]
13340         * bits/in.h (IPV6_PKTINFO): Define new macro.
13341         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13343 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13345         [BZ #13954]
13346         [BZ #13955]
13347         [BZ #13956]
13348         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13349         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13350         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13351         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13352         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13353         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13354         * math/libm-test.inc (logb_test) : Additional logb tests.
13356 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
13357             Andreas Jaeger  <aj@suse.de>
13359         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13360         * configure: Regenerated.
13361         * config.h.in (LINK_OBSOLETE_RPC): New macro.
13362         * config.make.in (link-obsolete-rpc): New substituted variable.
13363         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13364         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13365         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13366         (shared-only-routines): Don't set it under [link-obsolete-rpc],
13367         so that libc.a contains the symbols.
13368         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13369         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13370         * sunrpc/auth_none.c: Likewise.
13371         * sunrpc/auth_unix.c: Likewise.
13372         * sunrpc/authdes_prot.c: Likewise.
13373         * sunrpc/authuxprot.c: Likewise.
13374         * sunrpc/clnt_gen.c: Likewise.
13375         * sunrpc/clnt_perr.c: Likewise.
13376         * sunrpc/clnt_raw.c: Likewise.
13377         * sunrpc/clnt_simp.c: Likewise.
13378         * sunrpc/clnt_tcp.c: Likewise.
13379         * sunrpc/clnt_udp.c: Likewise.
13380         * sunrpc/clnt_unix.c: Likewise.
13381         * sunrpc/des_crypt.c: Likewise.
13382         * sunrpc/des_soft.c: Likewise.
13383         * sunrpc/get_myaddr.c: Likewise.
13384         * sunrpc/key_call.c: Likewise.
13385         * sunrpc/key_prot.c: Likewise.
13386         * sunrpc/netname.c: Likewise.
13387         * sunrpc/pm_getmaps.c: Likewise.
13388         * sunrpc/pm_getport.c: Likewise.
13389         * sunrpc/pmap_clnt.c: Likewise.
13390         * sunrpc/pmap_prot.c: Likewise.
13391         * sunrpc/pmap_prot2.c: Likewise.
13392         * sunrpc/pmap_rmt.c: Likewise.
13393         * sunrpc/publickey.c: Likewise.
13394         * sunrpc/rpc_cmsg.c: Likewise.
13395         * sunrpc/rpc_common.c: Likewise.
13396         * sunrpc/rpc_dtable.c: Likewise.
13397         * sunrpc/rpc_prot.c: Likewise.
13398         * sunrpc/rpc_thread.c: Likewise.
13399         * sunrpc/rtime.c: Likewise.
13400         * sunrpc/svc.c: Likewise.
13401         * sunrpc/svc_auth.c: Likewise.
13402         * sunrpc/svc_raw.c: Likewise.
13403         * sunrpc/svc_run.c: Likewise.
13404         * sunrpc/svc_tcp.c: Likewise.
13405         * sunrpc/svc_udp.c: Likewise.
13406         * sunrpc/svc_unix.c: Likewise.
13407         * sunrpc/svcauth_des.c: Likewise.
13408         * sunrpc/xcrypt.c: Likewise.
13409         * sunrpc/xdr.c: Likewise.
13410         * sunrpc/xdr_array.c: Likewise.
13411         * sunrpc/xdr_float.c: Likewise.
13412         * sunrpc/xdr_intXX_t.c: Likewise.
13413         * sunrpc/xdr_mem.c: Likewise.
13414         * sunrpc/xdr_rec.c: Likewise.
13415         * sunrpc/xdr_ref.c: Likewise.
13416         * sunrpc/xdr_sizeof.c: Likewise.
13417         * sunrpc/xdr_stdio.c: Likewise.
13419 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13421         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13422         change.  Update copyright years.
13424 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13426         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13428 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
13429             Joseph Myers  <joseph@codesourcery.com>
13430             Paul Pluzhnikov  <ppluzhnikov@google.com>
13432         [BZ #14012]
13433         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13434         requiring rpcgen.
13435         [cross-compiling] (extra-libs): Likewise.
13436         [cross-compiling] (extra-libs-others): Likewise.
13437         [cross-compiling] (librpcsvc-routines): Likewise.
13438         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13439         [cross-compiling] (omit-deps): Likewise.
13440         (sunrpc-CPPFLAGS): New variable.
13441         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13442         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13443         (cross-rpcgen-objs): New variable.
13444         (extra-objs): Append $(cross-rpcgen-objs).
13445         ($(cross-rpcgen-objs)): New rule.
13446         ($(objpfx)cross-rpcgen): Likewise.
13447         (rpcgen-cmd): Define to use $(built-program-file).  Expand
13448         comment.
13449         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13450         ($(objpfx)x%.stmp): Likewise.
13451         * sunrpc/proto.h [IS_IN_build] (_): Define.
13452         [IS_IN_build] (_libc_intl_domainname): Likewise.
13454 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13456         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13457         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13458         and R_X86_64_TPOFF64.
13460 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13462         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13463         sysdeps/unix/sysv/syscalls.list.
13464         (stime): Likewise.
13465         (utime): Likewise.
13466         * sysdeps/unix/sysv/syscalls.list: Remove file.
13468 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
13470         [BZ #3440]
13471         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13472         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13473         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13474         (__LC_IDENTIFICATION): Make these macros useful in #if
13475         expressions, as required by C99.
13477 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
13479         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13480         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
13481         after this.
13483 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
13485         * stdlib/longlong.h: Updated from GCC.
13487 2012-05-09  Andreas Jaeger  <aj@suse.de>
13489         * nscd/nscd.c (run_modes): Make named enum, reorder so that
13490         default is first entry.
13491         (run_mode): Set type.
13492         (main): Remove informal message about syslog.
13493         (options): Fix typo.
13495         [BZ #14053]
13496         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13497         to asm.
13498         (lrint): Likewise.
13499         (llrintf): Likewise.
13500         (llrint): Likewise.
13501         (rint): Likewise.
13502         (rintf): Likewise.
13503         (nearbyint): Likewise.
13504         (nearbyintf): Likewise.
13506 2012-05-09  Andreas Jaeger  <aj@suse.de>
13507             Pedro Alves  <palves@redhat.com>
13509         * nscd/nscd.c (run_mode): Use enum.
13510         (main): Cleanup coding style issue.
13512 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
13513             Andreas Jaeger  <aj@suse.de>
13515         * nscd/nscd.c (go_background): Replaced with...
13516         (run_mode): ... this.
13517         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13518         (options): Add -F --foreground.
13519         (main): Implement it.
13520         (parse_opt): Parse it.
13522 2012-05-09  Andreas Jaeger  <aj@suse.de>
13524         [BZ #14083]
13525         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13526         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13527         -Wconversion warning.
13528         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13529         Likewise.
13531 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
13533         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
13534         == 0.
13535         (LC_ALL): Use macro-int-constant.
13536         (LC_COLLATE): Likewise.
13537         (LC_CTYPE): Likewise.
13538         (LC_MESSAGES): Likewise.
13539         (LC_MONETARY): Likewise.
13540         (LC_NUMERIC): Likewise.
13541         (LC_TIME): Likewise.
13542         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13543         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13544         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13545         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13546         Specify type.
13547         [C99-based standards] (float_t): Expect type.
13548         [C99-based standards] (double_t): Expect type.
13549         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
13550         type.
13551         [C99-based standards] (HUGE_VALL): Likewise.
13552         [C99-based standards] (INFINITY): Likewise.
13553         [C99-based standards] (NAN): Likewise.
13554         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13555         [C99-based standards] (FP_NAN): Likewise.
13556         [C99-based standards] (FP_NORMAL): Likewise.
13557         [C99-based standards] (FP_SUBNORMAL): Likewise.
13558         [C99-based standards] (FP_ZERO): Likewise.
13559         [C99-based standards] (FP_FAST_FMA): Use
13560         optional-macro-int-constant.  Specify type.  Require == 1.
13561         [C99-based standards] (FP_FAST_FMAF): Likewise.
13562         [C99-based standards] (FP_FAST_FMAL): Likewise.
13563         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13564         [C99-based standards] (FP_ILOGBNAN): Likewise.
13565         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13566         Specify type.
13567         [C99-based standards] (MATH_ERREXCEPT): Likewise.
13568         [C99-based standards] (math_errhandling): Specify type.
13569         [ISO99 || ISO11] (signgam): Do not allow.
13570         [non-C99-based standards] (copysignf): Do not allow.
13571         [non-C99-based standards] (exp2f): Likewise.
13572         [non-C99-based standards] (log2f): Likewise.
13573         [non-C99-based standards] (modff): Allow.
13574         [non-C99-based standards] (erff): Do not allow.
13575         [non-C99-based standards] (erfcf): Likewise.
13576         [non-C99-based standards] (gammaf): Likewise.
13577         [non-C99-based standards] (hypotf): Likewise.
13578         [non-C99-based standards] (j0f): Likewise.
13579         [non-C99-based standards] (j1f): Likewise.
13580         [non-C99-based standards] (jnf): Likewise.
13581         [non-C99-based standards] (lgammaf): Likewise.
13582         [non-C99-based standards] (tgammaf): Likewise.
13583         [non-C99-based standards] (y0f): Likewise.
13584         [non-C99-based standards] (y1f): Likewise.
13585         [non-C99-based standards] (ynf): Likewise.
13586         [non-C99-based standards] (isnanf): Likewise.
13587         [non-C99-based standards] (acoshf): Likewise.
13588         [non-C99-based standards] (asinhf): Likewise.
13589         [non-C99-based standards] (atanhf): Likewise.
13590         [non-C99-based standards] (cbrtf): Likewise.
13591         [non-C99-based standards] (expm1f): Likewise.
13592         [non-C99-based standards] (ilogbf): Likewise.
13593         [non-C99-based standards] (log1pf): Likewise.
13594         [non-C99-based standards] (logbf): Likewise.
13595         [non-C99-based standards] (nextafterf): Likewise.
13596         [non-C99-based standards] (remainderf): Likewise.
13597         [non-C99-based standards] (rintf): Likewise.
13598         [non-C99-based standards] (scalbf): Likewise.
13599         [non-C99-based standards] (copysignl): Likewise.
13600         [non-C99-based standards] (exp2l): Likewise.
13601         [non-C99-based standards] (log2l): Likewise.
13602         [non-C99-based standards] (modfl): Allow.
13603         [non-C99-based standards] (erfl): Do not allow.
13604         [non-C99-based standards] (erfcl): Likewise.
13605         [non-C99-based standards] (gammal): Likewise.
13606         [non-C99-based standards] (hypotl): Likewise.
13607         [non-C99-based standards] (j0l): Likewise.
13608         [non-C99-based standards] (j1l): Likewise.
13609         [non-C99-based standards] (jnl): Likewise.
13610         [non-C99-based standards] (lgammal): Likewise.
13611         [non-C99-based standards] (tgammal): Likewise.
13612         [non-C99-based standards] (y0l): Likewise.
13613         [non-C99-based standards] (y1l): Likewise.
13614         [non-C99-based standards] (ynl): Likewise.
13615         [non-C99-based standards] (isnanl): Likewise.
13616         [non-C99-based standards] (acoshl): Likewise.
13617         [non-C99-based standards] (asinhl): Likewise.
13618         [non-C99-based standards] (atanhl): Likewise.
13619         [non-C99-based standards] (cbrtl): Likewise.
13620         [non-C99-based standards] (expm1l): Likewise.
13621         [non-C99-based standards] (ilogbl): Likewise.
13622         [non-C99-based standards] (log1pl): Likewise.
13623         [non-C99-based standards] (logbl): Likewise.
13624         [non-C99-based standards] (nextafterl): Likewise.
13625         [non-C99-based standards] (remainderl): Likewise.
13626         [non-C99-based standards] (rintl): Likewise.
13627         [non-C99-based standards] (scalbl): Likewise.
13628         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13629         [non-C99-based standards] (FP_*): Do not allow.
13630         [C99-based standards] (FP_*): Change to
13631         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13632         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13633         allow.
13634         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13635         (SIG_ERR): Likewise.
13636         [X/Open-based standards] (SIG_HOLD): Likewise.
13637         (SIG_IGN): Likewise.
13638         (SIGABRT): Use macro-int-constant.  Specify type.  Require
13639         positive value.
13640         (SIGFPE): Likewise.
13641         (SIGILL): Likewise.
13642         (SIGINT): Likewise.
13643         (SIGSEGV): Likewise.
13644         (SIGTER): Likewise.
13645         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13646         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13647         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13648         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13649         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13650         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13651         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13652         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13653         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13654         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13655         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13656         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13657         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13658         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13659         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13660         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13661         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13662         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13663         [X/Open-based standards] (SIGTRAP): Likewise.
13664         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13665         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13666         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13667         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13668         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13669         allow.
13671 2012-05-08  Ian Wienand  <ianw@vmware.com>
13673         [BZ #14080]
13674         * time/tzset.c (__tzset_parse_tz): Update default rules for
13675         daylight time changes in the Energy Policy Act of 2005.
13677 2012-05-09  Andreas Jaeger  <aj@suse.de>
13679         [BZ #13983]
13680         * elf/ldconfig.c (parse_conf): Change string to make clear that
13681         ldconfig only issued a warning if ld.so.conf does not exist.
13683 2012-05-08  David S. Miller  <davem@davemloft.net>
13685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13686         movxtod instead of popping the value on the stack.
13688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13690 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
13692         * config.h.in: Add HAVE_ARM_PCS_VFP.
13694 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
13696         [BZ #13979]
13697         * include/features.h: Warn if user requests __FORTIFY_SOURCE
13698         checking but the checks are disabled for any reason.
13700 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13702         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13703         and ELF64_R_TYPE with ELFW(R_TYPE).
13705 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
13707         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13708         (ulimit): Likewise.
13710         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13711         (settimeofday): Likewise.
13713 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
13715         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
13716         a struct th_u2 inside the union, and move tu_block/tu_code into
13717         a new th_u3 union of tu_block/tu_code inside of that.  Move
13718         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
13719         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
13720         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13721         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13722         (th_stuff): Change to th_u1.tu_stuff.
13723         (th_data): Define.
13724         (th_msg): Change to th_u1.th_u2.tu_data.
13726 2012-05-07  David S. Miller  <davem@davemloft.net>
13728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13730         [BZ #14074]
13731         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13732         (SETUP_PIC_REG): Use it.
13733         (SETUP_PIC_REG_LEAF): Use it.
13735 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
13737         [BZ #13885]
13738         [BZ #13923]
13739         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13740         USE_AS_EXPM1L.
13741         (EXPL_FINITE): Likewise.
13742         (FLDLOG): Likewise.
13743         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13744         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13745         e_expl.S.
13746         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13747         USE_AS_EXPM1L.
13748         (EXPL_FINITE): Likewise.
13749         (FLDLOG): Likewise.
13750         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13751         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13752         e_expl.S.
13753         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
13754         test of -max_value argument for long double.
13755         * sysdeps/i386/fpu/libm-test-ulps: Update.
13756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13758 2012-05-06  David S. Miller  <davem@davemloft.net>
13760         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13761         quad soft-float symbols whose references which are compiler
13762         generated.
13763         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13765 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
13767         [BZ #13884]
13768         [BZ #13914]
13769         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13770         USE_AS_EXP10L.
13771         (EXPL_FINITE): Likewise.
13772         (FLDLOG): Likewise.
13773         (c0): Likewise.
13774         (c1): Likewise.
13775         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13776         Adjust comments for base varying.
13777         (__expl_finite): Change alias to EXPL_FINITE.
13778         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13779         e_expl.S.
13780         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13781         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13782         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13783         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13784         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13785         USE_AS_EXP10L.
13786         (EXPL_FINITE): Likewise.
13787         (FLDLOG): Likewise.
13788         (c0): Likewise.
13789         (c1): Likewise.
13790         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13791         Adjust comments for base varying.
13792         (__expl_finite): Change alias to EXPL_FINITE.
13793         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
13794         tests for bugs.
13795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13797         [BZ #14064]
13798         * math/libm-test.inc (check_float_internal): Correct ulp
13799         calculation for subnormal expected results.
13801 2012-05-06  Andreas Jaeger  <aj@suse.de>
13803         * Makeconfig (+math-flags): New, set to -frounding-math.
13804         (+cflags): Add +math-flags so that all of glibc gets compiled with
13805         it.
13807         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13809 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
13811         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13812         Disable one test.
13814         [BZ #13787]
13815         [BZ #13922]
13816         [BZ #14036]
13817         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13818         (__ieee754_expl): Allow for and saturate large arguments.
13819         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13820         (u_threshold): Likewise.
13821         (__exp): Call __ieee754_exp before checking for overflow and
13822         underflow.
13823         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13824         (u_threshold): Likewise.
13825         (__expf): Call __ieee754_expf before checking for overflow and
13826         underflow.
13827         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13828         (u_threshold): Likewise.
13829         (__expl): Call __ieee754_expl before checking for overflow and
13830         underflow.
13831         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13832         (__ieee754_expl): Allow for and saturate large arguments.
13833         * math/libm-test.inc (exp_test): Add another test.  Do not allow
13834         missing overflow exception on overflow.
13835         (expm1_test): Do not allow missing overflow exception on overflow.
13837         * sysdeps/i386/fpu/e_expl.c: Move to ...
13838         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
13839         rather than using inline asm.
13840         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13841         * sysdeps/x86_64/fpu/e_expl.S: Copy from
13842         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13844         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13845         (nice): Likewise.
13846         (poll): Likewise.
13847         (signal): Likewise.
13848         (time): Likewise.
13849         (times): Likewise.
13851 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13853         * sysdeps/unix/syscalls.list (adjtime): Add entry from
13854         sysdeps/unix/common/syscalls.list.
13855         (fchmod): Likewise.
13856         (fchown): Likewise.
13857         (ftruncate): Likewise.
13858         (getrusage): Likewise.
13859         (gettimeofday): Likewise.
13860         (setpgid): Likewise.
13861         (setregid): Likewise.
13862         (setreuid): Likewise.
13863         (sigaction): Likewise.
13864         (truncate): Likewise.
13865         (vhangup): Likewise.
13866         * sysdeps/unix/common/syscalls.list: Remove file.
13867         * sysdeps/unix/bsd/Implies: Don't include unix/common.
13868         * sysdeps/unix/sysv/linux/Implies: Likewise.
13870 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
13872         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13874         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13875         Moved to ...
13876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13877         Here.
13878         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13879         to ...
13880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13881         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13882         to ...
13883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13884         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13885         to ...
13886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13887         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13888         to ...
13889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13890         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13891         to ...
13892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13893         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13894         to ...
13895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13896         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13897         to ...
13898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13899         Here.
13900         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13901         to ...
13902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13903         Here.
13904         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13905         to ...
13906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13907         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13908         Moved to ...
13909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13910         Here.
13911         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13912         to ...
13913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13915 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13917         * sysdeps/unix/common/bits/dirent.h: Remove file.
13918         * sysdeps/unix/common/bits/fcntl.h: Likewise.
13920         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13921         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13922         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13923         * sysdeps/unix/bsd/isatty.c: Likewise.
13924         * sysdeps/unix/bsd/tcdrain.c: Likewise.
13925         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13926         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13928 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13930         [BZ #13563]
13931         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13932         long double comparison inaccuracies.
13933         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13936 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
13938         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13939         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13941 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13943         [BZ #14049]
13944         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13945         nonzero digits before rounding a hex value.
13946         * stdlib/tst-strtod.c (tests): Add another test.
13948 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13950         * sysdeps/s390/fpu/libm-test-ulps: Update.
13952 2012-05-03  Andreas Jaeger  <aj@suse.de>
13954         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13955         does not get optimized out.
13956         (malloc_opt_barrier): New.
13958 2012-05-03  Andreas Jaeger  <aj@suse.de>
13959             Roland McGrath  <roland@hack.frob.com>
13961         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13962         intermediate file deletion.
13963         (generated): Add .symlist files.
13965 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
13967         [BZ #13775]
13968         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13969         Redirect under this condition.
13970         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13971         [__USE_GNU] (__dprintf_chk): Not under this condition.
13972         [__USE_GNU] (__vdprintf_chk): Likewise.
13973         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13974         under this condition.
13975         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13976         [__USE_XOPEN2K8] (dprintf): Define under this condition.
13977         [__USE_XOPEN2K8] (vdprintf): Likewise.
13978         [__USE_GNU] (__dprintf_chk): Not under this condition.
13979         [__USE_GNU] (__vdprintf_chk): Likewise.
13980         [__USE_GNU] (dprintf): Likewise.
13981         [__USE_GNU] (vdprintf): Likewise.
13983 2012-05-03  Roland McGrath  <roland@hack.frob.com>
13985         * elf/Makefile (common-generated): Set this instead of generated for
13986         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
13987         $(all-built-dso)-derived lists.
13989 2012-05-03  Andreas Jaeger  <aj@suse.de>
13991         * sysdeps/i386/fpu/libm-test-ulps: Update.
13993         * FAQ: Removed.
13994         * FAQ.in: Likewise.
13995         * scripts/gen-FAQ.pl: Likewise.
13996         * manual/install.texi (Installation): Point to online location of
13997         FAQ.
13998         * Makefile (files-for-dist): Remove FAQ.
13999         (FAQ): Remove.
14001 2012-05-02  Allan McRae  <allan@archlinux.org>
14003         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14004         (LDFLAGS-reldepmod5.so): Likewise.
14005         (LDFLAGS-reldep6mod1.so): Likewise.
14006         (LDFLAGS-reldep6mod4.so): Likewise.
14007         (LDFLAGS-reldep8mod3.so): Likewise.
14008         (LDFLAGS-unload4mod1.so): Likewise.
14009         (LDFLAGS-unload4mod2.so): Likewise.
14010         (LDFLAGS-tst-initorder): Likewise.
14011         (LDFLAGS-tst-initordera2.so): Likewise.
14012         (LDFLAGS-tst-initordera3.so): Likewise.
14013         (LDFLAGS-tst-initordera4.so): Likewise.
14014         (LDFLAGS-tst-initorderb2.so): Likewise.
14015         (LDFLAGS-noload): Likewise.
14016         (LDFLAGS-next): Likewise.
14017         (LDFLAGS-order2mod1.so): Likewise.
14018         (LDFLAGS-order2mod2.so): Likewise.
14019         (LDFLAGS-tst-initorder2): Likewise.
14020         (LDFLAGS-tst-initorder2a.so): Likewise.
14021         (LDFLAGS-tst-initorder2b.so): Likewise.
14022         (LDFLAGS-tst-initorder2c.so): Likewise.
14023         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14025 2012-05-02  David S. Miller  <davem@davemloft.net>
14027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14029 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14031         [BZ #14055]
14032         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14034 2012-05-02  Andreas Jaeger  <aj@suse.de>
14036         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14037         since we manipulate rounding mode.
14038         (CPPFLAGS-test-idouble.c): Likewise.
14039         (CPPFLAGS-test-ifloat.c): Likewise.
14040         (CFLAGS-test-ldouble.c): Likewise.
14041         (CFLAGS-test-double.c): Likewise.
14042         (CFLAGS-test-float.c): Likewise.
14043         (CFLAGS-test-misc.c): Likewise.
14044         (CFLAGS-test-test-fenv.c): Likewise.
14046 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14048         [BZ #2550]
14049         [BZ #2570]
14050         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14051         comparisons to determine direction to adjust input.
14053 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14055         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14056         output to the target.
14058         * scripts/localplt.awk: New file.
14059         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14060         (check-localplt-CFLAGS): Variable removed.
14061         ($(all-built-dso:=.jmprel)): New static pattern rule.
14062         (generated): Add those targets.
14063         (localplt-built-dso): New variable.
14064         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14066         * elf/check-localplt.c: File removed.
14068         * scripts/check-execstack.awk: New file.
14069         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14070         (check-execstack-CFLAGS): Variable removed.
14071         ($(objpfx)check-execstack.h): Target removed.
14072         ($(objpfx)execstack-default): New target.
14073         (generated): Add that instead of check-execstack.h.
14074         ($(all-built-dso:=.phdr)): New static pattern rule.
14075         (generated): Add those targets.
14076         * elf/check-execstack.c: File removed.
14078         * scripts/check-textrel.awk: New file.
14079         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14080         (check-textrel-CFLAGS): Variable removed.
14081         (all-built-dso): Use := to define.o
14082         ($(all-built-dso:=.dyn)): New static pattern rule.
14083         (generated): Add those targets.
14084         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14085         * config.make.in (READELF): New substituted variable.
14086         * elf/check-textrel.c: File removed.
14088 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14090         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14091         allow.
14092         * conform/data/ctype.h-data [C99-based standards] (isblank):
14093         Expect function.
14094         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14095         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14097         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14098         Specify type.  Require positive value.
14099         (EILSEQ): Likewise.
14100         (ERANGE): Likewise.
14101         [ISO || POSIX] (EILSEQ): Do not expect.
14102         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14103         Specify type.  Require positive value.
14104         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14105         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14106         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14107         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14108         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14109         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14110         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14111         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14112         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14113         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14114         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14115         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14116         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14117         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14118         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14119         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14120         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14121         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14122         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14123         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14124         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14125         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14126         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14127         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14128         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14129         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14130         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14131         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14132         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14133         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14134         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14135         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14136         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14137         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14138         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14139         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14140         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14141         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14142         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14143         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14144         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14145         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14146         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14147         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14148         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14149         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14150         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14151         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14152         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14153         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14154         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14155         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14156         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14157         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14158         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14159         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14160         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14161         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14162         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14163         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14164         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14165         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14166         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14167         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14168         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14169         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14170         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14171         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14172         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14173         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14174         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14175         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14176         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14177         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14178         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14179         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14180         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14181         Require >= 2.
14182         (FLT_ROUNDS): Expect as macro, not constant.
14183         (FLT_MANT_DIG): Use macro-int-constant.
14184         (DBL_MANT_DIG): Likewise.
14185         (LDBL_MANT_DIG): Likewise.
14186         (FLT_DIG): Likewise.
14187         (DBL_DIG): Likewise.
14188         (LDBL_DIG): Likewise.
14189         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14190         (DBL_MIN_EXP): Likewise.
14191         (LDBL_MIN_EXP): Likewise.
14192         (FLT_MAX_EXP): Use macro-int-constant.
14193         (DBL_MAX_EXP): Likewise.
14194         (LDBL_MAX_EXP): Likewise.
14195         (FLT_MAX_10_EXP): Likewise.
14196         (DBL_MAX_10_EXP): Likewise.
14197         (LDBL_MAX_10_EXP): Likewise.
14198         (FLT_MAX): Use macro-constant.
14199         (DBL_MAX): Likewise.
14200         (LDBL_MAX): Likewise.
14201         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14202         (DBL_EPSILON): Likewise.
14203         (LDBL_EPSILON): Likewise.
14204         (FLT_MIN): Likewise.
14205         (DBL_MIN): Likewise.
14206         (LDBL_MIN): Likewise.
14207         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14208         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14209         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14210         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14211         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14212         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14213         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14214         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14215         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14216         [ISO11] (FLT_TRUE_MIN): Likewise.
14217         [ISO11] (LDBL_TRUE_MIN): Likewise.
14218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14219         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14220         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14221         (SCHAR_MAX): Likewise.
14222         (UCHAR_MAX): Likewise.
14223         (CHAR_MIN): Likewise.
14224         (CHAR_MAX): Likewise.
14225         (MB_LEN_MAX): Use macro-int-constant.
14226         (SHRT_MIN): Use macro-int-constant.  Specify type.
14227         (SHRT_MAX): Likewise.
14228         (USHRT_MAX): Likewise.
14229         (INT_MAX): Likewise.
14230         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14231         bound negative.
14232         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14233         bound with "U".
14234         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14235         bound with "L".
14236         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14237         bound negative.  Suffix upper bound with "L".
14238         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14239         bound with "UL".
14240         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14241         Specify type.
14242         [C99-based standards] (LLONG_MAX): Likewise.
14243         [C99-based standards] (ULLONG_MAX): Likewise.
14244         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14245         == 0.
14246         [ISO11] (max_align_t): Require type.
14247         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14249         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14250         from $CFLAGS, without defining away __attribute__ calls.
14251         (checknamespace): Use $CFLAGS_namespace.
14253         * conform/conformtest.pl (@keywords): Only include C99 keywords
14254         for standards based on C99 or C11.
14256         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14257         Disable tests.
14258         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14259         UNIX98]: Likewise.
14261         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14262         usability of symbols in #if.
14264         * conform/conformtest.pl: If macro or constant types start
14265         "promoted:", expect the symbol to be of the following type
14266         promoted by the integer promotions.
14268         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14269         in one place.  Also handle "macro-constant".
14271         * conform/conformtest.pl: Only accept expected macro values with
14272         "==".  Parse all "macro" lines in one place.
14273         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14275         * conform/conformtest.pl: Handle braced types on "constant" lines
14276         instead of handling "typed-constant".
14277         * conform/data/signal.h-data: Use "constant" instead of
14278         "typed-constant".
14280         * conform/conformtest.pl: Handle "optional-" at start of lines in
14281         one place rather than duplicating several cases.  Handle each
14282         format of "macro" line with initial "optional-".
14284         * conform/conformtest.pl: Only accept expected constant or
14285         optional-constant values with "==".  Parse all "constant" lines in
14286         one place.  Parse all "optional-constant" lines in one place.
14287         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14288         * conform/data/fmtmsg.h-data: Likewise.
14289         * conform/data/netinet/in.h-data: Likewise.
14290         * conform/data/tar.h-data: Likewise.
14291         * conform/data/limits.h-data: Use "==" form on "constant" and
14292         "optional-constant" lines.
14294         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14295         Use -std=c99 for XOPEN2K.
14296         (@knownproblems): Remove.
14297         (newtoken): Don't check %isknown.
14299         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14300         Do not expect macro.
14301         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14302         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14303         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14304         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14305         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14306         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14307         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14308         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14309         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14310         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14311         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14312         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14313         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14314         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14315         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14316         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14317         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14318         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14319         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14320         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14321         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14322         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14323         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14324         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14325         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14326         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14327         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14328         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14329         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14330         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14331         [XPG3] (acosh): Likewise.
14332         [XPG3] (asinh): Likewise.
14333         [XPG3] (atanh): Likewise.
14334         [XPG3] (cbrt): Likewise.
14335         [XPG3] (expm1): Likewise.
14336         [XPG3] (ilogb): Likewise.
14337         [XPG3] (log1p): Likewise.
14338         [XPG3] (logb): Likewise.
14339         [XPG3] (nextafter): Likewise.
14340         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14341         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14342         [XPG3] (remainder): Likewise.
14343         [XPG3] (rint): Likewise.
14344         [XPG3 || XPG4 || UNIX98] (round): Likewise.
14345         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14346         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14347         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14348         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14349         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14350         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14351         [UNIX98 || XOPEN2K] (scalb): Expect.
14352         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14353         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14354         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14355         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14356         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14357         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14358         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14359         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14360         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14361         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14362         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14363         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14364         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14365         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14366         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14367         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14368         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14369         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14370         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14371         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14372         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14373         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14374         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14375         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14376         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14377         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14378         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14379         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14380         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14381         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14382         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14383         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14384         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14385         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14386         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14387         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14388         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14389         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14390         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14391         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14392         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14393         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14394         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14395         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14396         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14397         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14398         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14399         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14400         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14401         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14402         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14403         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14404         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14405         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14406         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14407         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14408         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14409         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14410         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14411         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14412         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14413         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14414         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14415         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14416         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14417         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14418         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14419         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14420         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14421         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14422         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14423         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14424         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14425         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14426         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14427         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14428         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14429         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14430         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14431         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14432         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14433         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14434         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14435         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14436         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14437         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14438         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14439         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14440         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14441         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14442         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14443         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14444         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14445         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14446         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14447         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14448         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14449         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14450         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14451         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14452         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14453         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14454         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14455         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14456         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14457         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14458         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14459         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14460         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14461         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14462         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14463         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14464         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14465         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14466         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14467         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14468         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14469         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14470         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14471         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14472         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14473         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14474         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14475         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14476         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14477         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14478         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14479         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14480         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14481         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14482         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14483         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14484         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14485         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14486         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14487         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14488         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14490         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14491         _XOPEN_SOURCE_EXTENDED for XPG4.
14493         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14495         * Makeconfig (localtime): Remove variable.
14496         (inst_localtime-file): Likewise.
14498 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14501         Update.
14502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14503         Update.
14504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14505         Update.
14506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14507         Update.
14508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14509         Update.
14510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14511         Update.
14512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14513         Update.
14514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14515         Update.
14516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14517         Update.
14519 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14521         [BZ #2550]
14522         [BZ #2570]
14523         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14524         comparisons to determine direction to adjust input.
14525         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14526         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14527         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14528         Likewise.
14529         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14530         Likewise.
14531         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14532         Likewise.
14533         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14534         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14535         Likewise.
14536         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14537         Likewise.
14538         * math/libm-test.inc (nexttoward_test): Add more tests.
14540 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14542         [BZ #14040]
14543         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14544         in version GLIBC_2.1, not GLIBC_2.0.
14545         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14546         Likewise.
14548 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
14550         [BZ #13942]
14551         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14552         (1 - x) * (1 + x).
14553         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14554         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14555         * math/libm-test.inc (acos_test): Add more tests.
14556         (asin_test): Likewise.
14557         * sysdeps/i386/fpu/libm-test-ulps: Update.
14558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14560         [BZ #14034]
14561         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14562         of square root.
14563         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14564         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14565         * math/libm-test.inc (acos_test_tonearest): New function.
14566         (acos_test_towardzero): Likewise.
14567         (acos_test_downward): Likewise.
14568         (acos_test_upward): Likewise.
14569         (asin_test_tonearest): Likewise.
14570         (asin_test_towardzero): Likewise.
14571         (asin_test_downward): Likewise.
14572         (asin_test_upward): Likewise.
14573         (main): Call the new functions.
14574         * sysdeps/i386/fpu/libm-test-ulps: Update.
14575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14577         [BZ #13884]
14578         [BZ #13924]
14579         * math/e_exp10.c: Include <float.h>.
14580         (__ieee754_exp10): Handle underflow here rather than multiplying
14581         large negative argument by M_LN10.
14582         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14583         of __ieee754_expf.
14584         * math/e_exp10l.c: Include <float.h>.
14585         (__ieee754_exp10l): Handle underflow here rather than multiplying
14586         large negative argument by M_LN10l.
14587         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
14588         spurious overflow exception on underflow.
14590 2012-04-29  Marek Polacek  <polacek@redhat.com>
14592         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14593         (__fortify_function): New macro.
14594         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14595         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14596         __extern_always_inline.
14597         * libio/bits/stdio2.h: Likewise.
14598         * libio/bits/stdio.h: Likewise.
14599         * string/string.h: Likewise.
14600         * string/bits/string3.h: Likewise.
14601         * include/stdio.h: Likewise.
14602         * stdlib/bits/stdlib.h: Likewise.
14603         * stdlib/stdlib.h: Likewise.
14604         * rt/bits/mqueue2.h: Likewise.
14605         * rt/mqueue.h: Likewise.
14606         * posix/bits/unistd.h: Likewise.
14607         * posix/unistd.h: Likewise.
14608         * io/bits/poll2.h: Likewise.
14609         * io/bits/fcntl2.h: Likewise.
14610         * io/fcntl.h: Likewise.
14611         * io/sys/poll.h: Likewise.
14612         * misc/bits/syslog.h: Likewise.
14613         * misc/bits/syslog-ldbl.h: Likewise.
14614         * misc/sys/syslog.h: Likewise.
14615         * socket/bits/socket2.h: Likewise.
14616         * socket/sys/socket.h: Likewise.
14617         * debug/tst-chk1.c: Likewise.
14618         * wcsmbs/bits/wchar2.h: Likewise.
14619         * wcsmbs/bits/wchar-ldbl.h: Likewise.
14620         * wcsmbs/wchar.h: Likewise.
14622 2012-04-29  Andreas Jaeger  <aj@suse.de>
14624         * Makerules (tests): Remove enable-check-abi protection.
14625         (check-abi-warn): Remove.
14626         (check-abi-%): Remove check-abi-warn usage.
14628         * configure.in: Remove check-abi configure option.
14629         * configure: Regenerated.
14630         * config.make.in (enable-check-abi): Remove.
14632 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
14634         [BZ #14033]
14635         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14636         double functions to double *_finite functions.
14638         [BZ #13941]
14639         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14640         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14641         LDBL_MIN_EXP.
14642         * stdio-common/Makefile (tests): Add tst-sprintf3.
14643         * stdio-common/tst-sprintf3.c: New file.
14645         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14646         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14648 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14650         * conform/conformtest.pl: Remove duplicate typed-constant
14651         handling.
14653 2012-04-28  David S. Miller  <davem@davemloft.net>
14655         * Makerules (%.abilist): Add vpath on sysdep_dirs.
14656         (check-abi-%): Remove AWK script prerequisite and explicit
14657         abilist directory.
14658         (check-abi): Rewrite to just diff the symlist with the abilist.
14659         (config-tls, config-abi-config): Delete, no longer used.
14660         (update-abi-%): Remove AWK script and explicit abilist directory.
14661         (update-abi): Rewrite to simply compare and conditionally copy the
14662         symlist and the sysdep abilist file.  Remove update-abi-config
14663         checks.
14664         * abilist/ld.abilist: Remove.
14665         * abilist/libBrokenLocale.abilist: Remove.
14666         * abilist/libanl.abilist: Remove.
14667         * abilist/libcrypt.abilist: Remove.
14668         * abilist/libdl.abilist: Remove.
14669         * abilist/librt.abilist: Remove.
14670         * abilist/libthread_db.abilist: Remove.
14671         * abilist/libutil.abilist: Remove.
14672         * scripts/extract-abilist.awk: Remove.
14673         * scripts/merge-abilist.awk: Remove.
14674         * sysdeps/generic/libcidn.abilist: New file.
14675         * sysdeps/generic/libnss_compat.abilist: New file.
14676         * sysdeps/generic/libnss_db.abilist: New file.
14677         * sysdeps/generic/libnss_dns.abilist: New file.
14678         * sysdeps/generic/libnss_files.abilist: New file.
14679         * sysdeps/generic/libnss_hesiod.abilist: New file.
14680         * sysdeps/generic/libnss_nis.abilist: New file.
14681         * sysdeps/generic/libnss_nisplus.abilist: New file.
14682         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14683         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14684         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14685         file.
14686         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14687         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14688         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14689         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14690         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14691         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14692         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14693         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14694         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14695         file.
14696         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14697         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14698         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14699         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14700         file.
14701         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14702         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14703         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14704         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14705         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14706         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14707         file.
14708         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14709         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14710         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14711         file.
14712         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14713         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14714         New file.
14715         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14716         New file.
14717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14718         New file.
14719         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14720         New file.
14721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14722         New file.
14723         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14724         New file.
14725         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14726         New file.
14727         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14728         New file.
14729         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14730         New file.
14731         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14732         New file.
14733         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14734         New file.
14735         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14736         New file.
14737         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14738         New file.
14739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14740         file.
14741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14742         New file.
14743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14744         New file.
14745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14746         file.
14747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14748         New file.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14750         New file.
14751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14752         file.
14753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14754         New file.
14755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14756         New file.
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14758         New file.
14759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14760         New file.
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14762         New file.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14764         New file.
14765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14767         file.
14768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14769         New file.
14770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14771         file.
14772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14773         file.
14774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14775         file.
14776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14777         file.
14778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14779         file.
14780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14781         New file.
14782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14783         file.
14784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14785         file.
14786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14787         New file.
14788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14789         file.
14790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14792         file.
14793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14794         New file.
14795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14796         file.
14797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14798         file.
14799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14800         file.
14801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14802         file.
14803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14804         file.
14805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14806         New file.
14807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14808         file.
14809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14810         file.
14811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14812         New file.
14813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14814         file.
14815         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14816         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14817         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14818         file.
14819         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14820         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14821         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14822         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14823         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14824         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14825         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14826         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14827         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14828         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14831         file.
14832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14833         New file.
14834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14835         file.
14836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14837         file.
14838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14839         file.
14840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14841         file.
14842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14843         file.
14844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14845         New file.
14846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14847         New file.
14848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14849         file.
14850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14851         New file.
14852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14853         file.
14854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14856         file.
14857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14858         New file.
14859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14860         file.
14861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14862         file.
14863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14864         file.
14865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14866         file.
14867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14868         file.
14869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14870         New file.
14871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14872         New file.
14873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14874         file.
14875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14876         New file.
14877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14878         file.
14880 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14882         * conform/conformtest.pl: Fix typo in handling typed-constant from
14883         allow-header.
14885 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14887         * README: Cut down references to pre-2.6 Linux kernels and
14888         Linuxthreads.  Update lists of configurations in libc and ports
14889         and sort alphabetically.  Say "or newer" with Linux kernel version
14890         requirements.
14892         * config.h.in [IS_IN_build]: Allow compiling without optimization.
14894 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14896         [BZ #887]
14897         * math/libm-test.inc (logb_test_downward): New test to expose
14898         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14899         rounding mode.
14901 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14903         [BZ #14027]
14904         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14905         to be done.
14906         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14907         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14909 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
14911         * sysdeps/unix/i386/brk.S: Remove file.
14912         * sysdeps/unix/i386/dl-brk.S: Likewise.
14913         * sysdeps/unix/i386/pipe.S: Likewise.
14914         * sysdeps/unix/i386/sigreturn.S: Likewise.
14915         * sysdeps/unix/i386/syscall.S: Likewise.
14916         * sysdeps/unix/i386/vfork.S: Likewise.
14917         * sysdeps/unix/i386/wait.S: Likewise.
14919         * sysdeps/unix/common/tcsendbrk.c: Move to ...
14920         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14922         * configure.in (arm*-none*): Do not allow without
14923         --enable-hacker-mode.
14924         (netbsd*): Remove case setting base_os.
14925         (386bsd*): Likewise.
14926         (freebsd*): Likewise.
14927         (bsdi*): Likewise.
14928         (osf*): Likewise.
14929         (sunos*): Likewise.
14930         (ultrix*): Likewise.
14931         (newsos*): Likewise.
14932         (dynix*): Likewise.
14933         (*bsd*): Likewise.
14934         (sysv*): Likewise.
14935         (isc*): Likewise.
14936         (esix*): Likewise.
14937         (sco*): Likewise.
14938         (minix*): Likewise.
14939         (irix4*): Likewise.
14940         (irix6*): Likewise.
14941         (solaris[2-9]*): Likewise.
14942         (none): Likewise.
14943         * configure: Regenerated.
14945 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14947         [BZ #11521]
14948         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14949         overflow or cancellation in calculating denominator.
14950         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14951         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14952         down expression to avoid unexpected rounding in newer GCCs.
14953         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14955 2012-04-26  David S. Miller  <davem@davemloft.net>
14957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14958         long-double compat symbols.
14959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14973 2012-04-25  David S. Miller  <davem@davemloft.net>
14975         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14976         HWCAP_* values only after the memory barriers have been defined.
14977         (atomic_full_barrier): Define.
14978         (atomic_read_barrier): Define.
14979         (atomic_write_barrier): Define.
14981 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14983         * shlib-versions: Add libgcc_s version information.
14984         * sysdeps/generic/libgcc_s.h: Remove.
14985         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14986         libgcc_s.h.
14987         * sysdeps/gnu/unwind-resume.c: Likewise.
14988         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14990 2012-04-25  David S. Miller  <davem@davemloft.net>
14992         * sysdeps/unix/sparc/brk.S: Delete.
14993         * sysdeps/unix/sparc/dl-brk.S: Delete.
14994         * sysdeps/unix/sparc/pipe.S: Delete.
14995         * sysdeps/unix/sparc/sysdep.S: Delete.
14996         * sysdeps/unix/sparc/sysdep.h: Delete.
14997         * sysdeps/unix/sparc/vfork.S: Delete.
14998         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14999         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15000         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15001         ret_ERRVAL, r0, r1, MOVE): Define.
15002         (JUMPTARGET): Remove.
15003         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15004         sysdeps/unix/sparc/sysdep.h
15005         (ENTRY, END): Remove.
15006         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15008 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15010         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15011         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15012         -DIS_IN_build.
15014         * timezone/README: Update upstream location and email address for
15015         tzcode and tzdata.
15016         * timezone/zdump.c: Update from tzcode 2012b.
15017         * timezone/zic.c: Likewise.
15019         * configure.in (libc_cv_as_needed): Remove test.
15020         * configure: Regenerated.
15021         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15022         conditional definition.
15023         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15024         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15025         * config.make.in (have-as-needed): Remove variable.
15027 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15028             Paul Pluzhnikov  <ppluzhnikov@google.com>
15030         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15031         strings correctly.
15033 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15035         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15036         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15037         * sysdeps/sh/strlen.S: Likewise.
15039 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15041         * sysdeps/unix/fork.S: Remove file.
15042         * sysdeps/unix/i386/fork.S: Likewise.
15043         * sysdeps/unix/sparc/fork.S: Likewise.
15045         * sysdeps/unix/system.c: Remove file.
15046         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15048         * sysdeps/unix/getegid.S: Remove file.
15049         * sysdeps/unix/geteuid.S: Likewise.
15051 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15053         * scripts/check-localplt.awk: New file.
15054         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15055         of diff.
15056         * scripts/data/localplt-generic.data: Add a comment.
15058         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15059         NODE when __dir_mkfile failed.
15060         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15061         Reported by Ludovic Courtès <ludo@gnu.org>.
15063 2012-04-24  Andreas Jaeger  <aj@suse.de>
15065         * Makerules (common-clean): Also remove gen-as-const-headers
15066         files.
15068 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15070         * Makerules (native-compile): Do not change working directory for
15071         build.  Use $(OUTPUT_OPTION) in command.
15072         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15074 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15076         [BZ #13886]
15077         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15078         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15079         * math/libm-test.inc (floor_test): Add more tests.
15080         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15082 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15084         * sysdeps/unix/getdents.c: Remove file.
15085         * sysdeps/unix/sysv/getdents.c: Likewise.
15086         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15088         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15089         sysdeps/unix/mman/syscalls.list.
15090         (mmap): Likewise.
15091         (mprotect): Likewise.
15092         (msync): Likewise.
15093         (munmap): Likewise.
15094         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15095         * sysdeps/unix/mman/syscalls.list: Remove.
15096         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15098         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15099         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15100         * configure: Regenerated.
15101         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15102         $(libgcc_s_suffix).
15103         * config.make.in (libgcc_s_suffix): Remove variable.
15105 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15107         * sysdeps/unix/sysv/gethostname.c: Move to ...
15108         * sysdeps/posix/gethostname.c: ... here.
15110         * sysdeps/unix/execve.S: Remove file.
15112         * sysdeps/unix/_exit.S: Remove file.
15114 2012-04-23  Andreas Jaeger  <aj@suse.de>
15116         [BZ #13739]
15117         * manual/Makefile: Remove make dist support, there's no
15118         need for a stand-alone documentation tar ball.
15119         (TEXI2DVI): Define always, it's not in Makeconfig.
15120         (dist): Removed.
15121         (tar-it): Removed.
15122         (edition): Removed.
15123         (glibc-doc-$(edition).tar): Removed
15124         (%.Z): Removed.
15125         (%.gz): Removed.
15126         (%.uu): Removed.
15127         (ETAGS): Remove, it's in Makeconfig.
15128         (move-if-change): Remove, it's in Makeconfig.
15130 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15132         [BZ #13970]
15133         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15134         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15135         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15136         (strtod_l, strtof_l, strtold_l): Remove __wur.
15137         It is not necessarily an error to ignore strtol's return value.
15138         One can reliably look at the stored endptr to decide whether
15139         the number had valid syntax.
15141 2012-04-21  Andreas Jaeger  <aj@suse.de>
15143         [BZ #13739]
15144         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15146 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15148         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15149         * sysdeps/unix/sysv/Versions: Remove file.
15151 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15153         [BZ #13927]
15154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15156 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15158         [BZ #7064]
15159         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15160         version from __vm86.
15162 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15164         * sysdeps/unix/common/lxstat.c: Remove file.
15165         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15167         * sysdeps/unix/sysv/Makefile: Remove file.
15169         * sysdeps/unix/sysv/direct.h: Remove file.
15171         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15172         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15173         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15174         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15175         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15176         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15177         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15179         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15181         * sysdeps/unix/xmknod.c: Remove file.
15182         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15184         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15186         * sysdeps/unix/sysv/i386/time.S: Remove file.
15188         * sysdeps/unix/fxstat.c: Remove file.
15189         * sysdeps/unix/xstat.c: Likewise.
15190         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15192         * sysdeps/unix/sysv/sigaction.c: Remove file.
15194         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15195         (sysdep_headers): Remove variable.
15196         [termio.h not in sysdep_headers] (generated): Likewise.
15197         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15198         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15199         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15200         * sysdeps/unix/sysv/tcflow.c: Likewise.
15201         * sysdeps/unix/sysv/tcflush.c: Likewise.
15202         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15203         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15204         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15205         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15206         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15208         * sysdeps/unix/siglist.c: Remove file.
15210         * sysdeps/unix/getppid.S: Remove file.
15212         * sysdeps/unix/mkdir.c: Remove file.
15213         * sysdeps/unix/rmdir.c: Likewise.
15215 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15217         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15218         ERR_MAX value.
15219         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15220         errlist-compat value.
15222 2012-04-18  David S. Miller  <davem@davemloft.net>
15224         * sysdeps/generic/memcopy.h (reg_char): Delete.
15225         * debug/strcat_chk.c: Use char, not reg_char.
15226         * debug/strcpy_chk.c: Likewise.
15227         * debug/strncat_chk.c: Likewise.
15228         * debug/strncpy_chk.c: Likewise.
15229         * string/memchr.c: Likewise.
15230         * string/memrchr.c: Likewise.
15231         * string/rawmemchr.c: Likewise.
15232         * string/strcat.c: Likewise.
15233         * string/strchr.c: Likewise.
15234         * string/strchrnul.c: Likewise.
15235         * string/strcmp.c: Likewise.
15236         * string/strcpy.c: Likewise.
15237         * string/strncat.c: Likewise.
15238         * string/strncmp.c: Likewise.
15239         * string/strncpy.c: Likewise.
15241 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15243         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15244         __builtin_memcopy is called when src and dest ranges are known to not
15245         overlap.
15247 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15249         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15250         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15251         fwd_align_merge macro call.
15252         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15253         bwd_align_merge macro call.
15254         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15256 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15258         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15259         bwd_align_merge macros.
15260         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15261         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15262         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15264 2012-04-18  David S. Miller  <davem@davemloft.net>
15266         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15268 2012-04-18  Andreas Jaeger  <aj@suse.de>
15270         [BZ# 6794]
15271         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15272         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15273         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15275         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15276         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15277         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15279         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15280         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15281         Adjust for changed ldbl-128 files.
15283         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15284         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15285         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15287 2012-04-17  David S. Miller  <davem@davemloft.net>
15289         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15291 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15293         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15294         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15295         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15296         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15297         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15298         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15300 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15302         [BZ #6794]
15303         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15304         * math/libm-test.inc: Add ilogb errno and exception tests.
15305         * math/w_ilogb.c: New file: ilogb wrapper.
15306         * math/w_ilogbf.c: New file: ilogbf wrapper.
15307         * math/w_ilogbl.c: New file: ilogbl wrapper.
15308         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15309         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15310         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15311         exception being thrown with 0.0 as argument.
15312         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15313         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15314         exception being thrown with 0.0 as argument.
15315         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15316         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15317         exception being thrown with 0.0 as argument.
15318         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15319         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15320         exception being thrown with 0.0 as argument.
15321         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15322         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15323         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15324         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15325         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15326         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15327         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15328         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15329         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15331 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15333         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15334         with altivec.
15336 2012-04-16  Marek Polacek  <polacek@redhat.com>
15338         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15340 2012-04-16  Marek Polacek  <polacek@redhat.com>
15342         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15343         operands of fdivp instruction.
15345 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15347         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15348         * elf/tst-auditmod3b.c: Likewise.
15349         * elf/tst-auditmod4b.c: Likewise.
15350         * elf/tst-auditmod5b.c: Likewise.
15351         * elf/tst-auditmod6b.c: Likewise.
15352         * elf/tst-auditmod6c.c: Likewise.
15353         * elf/tst-auditmod7b.c: Likewise.
15354         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15355         * sysdeps/x86_64/preconfigure.in: Likewise.
15356         * sysdeps/x86_64/preconfigure: Regenerated.
15358 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15360         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15361         __ILP32__.
15363 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
15365         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15366         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15368 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
15370         [BZ #13973]
15371         * locale/iso-639.def: Fix gl language name. Spotted by
15372         Yaron Shahrabani.
15374 2012-04-12  Roland McGrath  <roland@hack.frob.com>
15376         [BZ #2074]
15377         * libio/libio.h (__io_write_fn): Update comment.
15379 2012-04-12  Petr Baudis  <pasky@ucw.cz>
15381         [BZ #2074]
15382         * stdio.texi (Hook Functions): The user provided writer function
15383         is not allowed to return -1.
15385 2012-04-11  David S. Miller  <davem@davemloft.net>
15387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15389 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
15391         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15392         Add a leading slash to rtkaio.
15394 2012-04-11  Jim Meyering  <meyering@redhat.com>
15396         [BZ #11959]
15397         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15398         It is not necessarily an error to ignore fwrite's return
15399         value.  One can reliably use ferror to test for errors after
15400         the fact.
15402 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15404         * bits/types.h (__snseconds_t): New type.
15405         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15407         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15408         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15409         (__SNSECONDS_T_TYPE): Likewise.
15410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15411         (__SNSECONDS_T_TYPE): Likewise.
15412         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15413         (__SNSECONDS_T_TYPE): Likewise.
15415 2012-04-10  Andreas Jaeger  <aj@suse.de>
15417         [BZ #2636]
15418         * manual/time.texi (Processor Time): Return type of times is
15419         elapsed real time since an arbitrary point in the past.
15420         (CPU Time): Move CLK_TCK from here...
15421         (Processor Time): ...to here.  Correct description.
15422         * manual/conf.texi (Constants for Sysconf): Correct description of
15423         _SC_CLK_TCK.
15425 2012-04-10  David S. Miller  <davem@davemloft.net>
15427         [BZ #13967]
15428         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15429         where the is a gap between DT_REL(A) and DT_JMPREL.
15431 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15433         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15434         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15435         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15437 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15439         * elf/dl-support.c (_dl_inhibit_cache): New variable.
15440         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15441         (dl_main): Handle --inhibit-cache.
15442         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15443         _dl_inhibit_cache.
15444         * elf/dl-load.c (_dl_map_object): Use it.
15445         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15447 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15449         [BZ #13872]
15450         * sysdeps/i386/fpu/e_powl.S (p78): New object.
15451         (__ieee754_powl): Saturate large exponents rather than testing for
15452         overflow of y*log2(x).
15453         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15454         * math/libm-test.inc (pow_test): Do not permit spurious overflow
15455         exceptions.
15457         [BZ #11521]
15458         * math/s_ctan.c: Include <float.h>.
15459         (__ctan): Avoid internal overflow or cancellation in calculating
15460         denominator.
15461         * math/s_ctanf.c: Likewise.
15462         * math/s_ctanl.c: Likewise.
15463         * math/s_ctanh.c: Likewise.
15464         * math/s_ctanhf.c: Likewise.
15465         * math/s_ctanhl.c: Likewise.
15466         * math/libm-test.inc (ctan_test): Add more tests.
15467         (ctanh_test): Likewise.
15468         * sysdeps/i386/fpu/libm-test-ulps: Update.
15469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15471 2012-04-09  Andreas Jaeger  <aj@suse.de>
15473         [BZ #6894]
15474         * manual/filesys.texi (Directory Entries): Mention that d_namlen
15475         is an optional BSD extension.
15477         [BZ #10254]
15478         * manual/stdio.texi (Opening Streams): Document additional fopen
15479         parameters.
15481 2012-04-09  Roland McGrath  <roland@hack.frob.com>
15483         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15484         %eax without telling the compiler.
15486 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
15488         [BZ # 13963]
15489         * manual/install.texi: Use sourceware.org.
15491 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15493         [BZ #13873]
15494         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15495         (__ieee754_pow): Generate overflow and underflow using huge*huge
15496         and tiny*tiny rather than just returning constant infinity or zero
15497         for large exponents.
15498         * math/libm-test.inc (pow_test): Require overflow exceptions for
15499         applicable cases of large exponents.
15501         [BZ #706]
15502         * sysdeps/i386/fpu/e_pow.S (p10): New object.
15503         (__ieee754_pow): Use iterative multiplication algorithm only for
15504         integer exponents with absolute value below 1024.  Check for odd
15505         integer exponents when using algorithm for real exponents.
15506         * math/libm-test.inc (pow_test): Add more tests.
15507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15509 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
15511         [BZ #13705]
15512         * math/libm-test.inc (exp_test): Do not allow overflow exception
15513         on underflow test.
15515 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
15517         [BZ #13705]
15518         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15519         instead of __kernel_standard_f.
15521 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
15523         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15524         * sysdeps/x86_64/memset_chk.S: Likewise.
15526 2012-04-08  Andreas Jaeger  <aj@suse.de>
15528         [BZ #10153]
15529         * manual/startup.texi (Environment Access): Describe return value
15530         for putenv and setenv.
15532         [BZ #6895]
15533         * manual/filesys.texi (Directory Entries): Add description for
15534         DT_LNK.
15536         [BZ #6890]
15537         * manual/filesys.texi (Directory Entries): Clarify that it's file
15538         system not operating system in the description of DT_UNKNOWN.
15540         [BZ #6578]
15541         * manual/syslog.texi (closelog): Fix reference, it's openlog.
15543 2012-04-08  Stephen Compall  <s11@member.fsf.org>
15545         [BZ #6649]
15546         * manual/llio.texi (Opening and Closing Files): Add cross
15547         reference to explain mode argument.
15549 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
15551         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15552         * sysdeps/x86_64/memset_chk.S: Likewise.
15554 2012-04-07  David S. Miller  <davem@davemloft.net>
15556         * elf/elf.h (R_SPARC_WDISP10): Define.
15557         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15558         R_SPARC_SIZE32.
15559         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15560         R_SPARC_SIZE64 and R_SPARC_H34.
15562 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
15564         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15565         conditions and remove no longer applicable assertion.
15567 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15569         * bits/byteswap.h: Include <features.h>.
15570         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15571         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15573 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15575         * bits/byteswap.h (__bswap_16): Removed.
15576         Include <bits/byteswap-16.h> to get __bswap_16.
15577         * sysdeps/i386/bits/byteswap.h: Likewise.
15578         * sysdeps/s390/bits/byteswap.h: Likewise.
15579         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15580         * bits/byteswap-16.h: New file.
15581         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15582         * sysdeps/s390/bits/byteswap-16.h: Likewise.
15583         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15584         * string/Makefile (headers): Add bits/byteswap-16.h.
15586 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15588         [BZ #13895]
15589         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15590         extra indirection.
15591         * nss/Makefile (tests-static, tests): Add tst-nss-static.
15592         * nss/tst-nss-static.c: New.
15594 2012-04-06  Robert Millan  <rmh@gnu.org>
15596         [BZ #6486]
15597         * manual/llio.texi (File Position Primitive): lseek
15598         refers to WHENCE when it really means OFFSET.
15600 2012-04-06  Andreas Jaeger  <aj@suse.de>
15602         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15603         strncmp declarations.
15605         * abilist/libc.abilist: Add __poll and __ppoll.
15607 2012-04-05  David S. Miller  <davem@davemloft.net>
15609         * scripts/check-local-headers.sh: Accept a host triplet in the
15610         path matched by the exclude regexp.
15612         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15613         definition.
15614         * sysdeps/powerpc/powerpc32/dl-machine.h
15615         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15616         * sysdeps/s390/s390-32/dl-machine.h
15617         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15618         * sysdeps/sparc/sparc32/dl-machine.h
15619         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15620         * sysdeps/sparc/sparc64/dl-machine.h
15621         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15623         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15624         lazy binding.
15625         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15626         undefined symbol errors.
15628         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15629         DT_NEEDED entries.
15631 2012-04-05  Michael Matz  <matz@suse.de>
15633         [BZ #13592]
15634         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15636 2012-04-05  Andreas Jaeger  <aj@suse.de>
15638         [BZ #13908]
15639         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15640         comment.
15642 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15644         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15645         which ROUND is no valid rounding mode.
15647 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15649         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15650         read again.
15651         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15653 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15655         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15656         an exception using FPU order intentionally.
15658 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15660         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15661         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15662         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15663         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15665 2012-04-05  Simon Josefsson  <simon@josefsson.org>
15667         [BZ #12340]
15668         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15669         EINVAL when BUFLEN is too smal.
15671 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15673         [BZ #13553]
15674         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15675         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15677 2012-04-03  Andreas Jaeger  <aj@suse.de>
15679         [BZ #13938]
15680         * manual/setjmp.texi (System V contexts): Fix sentence.
15682         [BZ #13926]
15683         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15684         New macro for this case.
15685         [!__GNUC__] (__bswap_64): New inline function for this case.
15686         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15687         * bits/byteswap.h: Likewise.
15688         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15689         ull, guard with __GLIBC_HAVE_LONG_LONG.
15691         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15692         __GLIBC_HAVE_LONG_LONG.
15694         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15695         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15697 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15699         [BZ #13691]
15700         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15701         inptr and inend, rather than using last_ch.
15703 2012-04-02  David S. Miller  <davem@davemloft.net>
15705         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15706         * stdio-common/printf-parse.h (read_int): Change return type to
15707         'int', return -1 on INT_MAX overflow.
15708         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15709         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
15710         overflows INT_MAX.  Check for overflow of in-format-string precision
15711         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
15712         SIZE_MAX not INT_MAX for integer overflow test.
15713         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15714         skip the construct in the format string but do not record anything.
15715         * stdio-common/bug22.c: Adjust to test both width/prevision
15716         INT_MAX overflow as well as total length INT_MAX overflow.  Check
15717         explicitly for proper errno values.
15719 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15721         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15722         CHAR_MAX.
15723         * string/test-strcmp.c [! WIDE]: Likewise.
15724         * time/tst-mktime2.c: Likewise for INT_MAX.
15725         * string/test-string.h: #include <sys/param.h> for MIN.
15727         * csu/init-first.c (__libc_init_first): Call __ctype_init.
15728         * sysdeps/i386/init-first.c (init): Likewise.
15729         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15730         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15731         * sysdeps/sh/init-first.c (init): Likewise.
15733 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
15735         * po/ru.po: Update from translation team.
15736         * po/vi.po: Likewise.
15738 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15740         * resolv/nss_dns/dns-host.c: Merge copyright years.
15742 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15744         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15745         Optimize memcpy with prefetch if
15746         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
15747         src, dst pointers have unequal 16 byte alignments.
15749 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15751         [BZ #13928]
15752         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15753         from a CNAME entry and return the minimum ttl for the query.
15754         (gaih_getanswer_slice): Likewise.
15756 2012-03-30  Jeff Law  <law@redhat.com>
15758         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15759         due to long keys.
15760         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15761         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15763         * resolv/nss_dns/dns-host.c: Update copyright year.
15765 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
15767         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15768         requests to save a system call.  Fix check that all bytes are sent.
15770         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15771         comments for sendmmsg.
15773 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15775         [BZ #13691]
15776         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15777         with only 1 character between 0x0041 and 0x01b0.
15778         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15779         * wcsmbs/tst-mbsnrtowcs.c: New file.
15781 2012-03-29  David S. Miller  <davem@davemloft.net>
15783         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15784         small copies by hand.
15786 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15788         [BZ #13761]
15789         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15790         _nss_compat_initgroups_dyn): Fall back to malloc/free
15791         for large group memberships.
15793 2012-03-28  David S. Miller  <davem@davemloft.net>
15795         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15796         that branches into memcpy.
15797         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15798         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15799         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15800         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15801         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15802         bits.
15803         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15804         implementation too.
15805         * sysdeps/sparc/mempcpy.S: New file.
15807         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15808         the IFUNC routine in the libc case.
15809         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15811         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15812         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15813         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15814         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15815         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15816         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15817         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15818         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15820         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15821         loop to 256 bytes instead of 64 bytes and fix test signedness.
15823         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15824         * sysdeps/sparc/sparc32/Makefile: rather than here...
15825         * sysdeps/sparc/sparc64/Makefile: and here.
15827 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
15829         * malloc/mallocbug.c: Avoid warnings about unused variables.
15831 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15833         [BZ #13760]
15834         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15835         in the right place. Discard and retry query if response is
15836         larger than input buffer size.
15838 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
15840         [BZ #369]
15841         [BZ #2678]
15842         [BZ #3866]
15843         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15844         x for large integer exponent.
15845         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15846         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
15847         sign of result as needed afterwards.
15848         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15849         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15850         result for underflowing pow the same as for overflow.
15851         (__kernel_standard_l): Handle powl overflow and underflow here
15852         rather than calling __kernel_standard.
15853         * math/libm-test.inc (pow_test): Add more tests.
15855         [BZ #3868]
15856         [BZ #13879]
15857         [BZ #13910]
15858         [BZ #13911]
15859         [BZ #13912]
15860         [BZ #13913]
15861         [BZ #13915]
15862         [BZ #13916]
15863         [BZ #13917]
15864         [BZ #13918]
15865         [BZ #13919]
15866         [BZ #13920]
15867         [BZ #13921]
15868         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15869         * sysdeps/ieee754/k_standard.c: Include <float.h>.
15870         (__kernel_standard_l): New function.
15871         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15872         __kernel_standard.
15873         * math/w_acosl.c (__acosl): Likewise.
15874         * math/w_asinl.c (__asinl): Likewise.
15875         * math/w_atan2l.c (__atan2l): Likewise.
15876         * math/w_atanhl.c (__atanhl): Likewise.
15877         * math/w_coshl.c (__coshl): Likewise.
15878         * math/w_exp10l.c (__exp10l): Likewise.
15879         * math/w_exp2l.c (__exp2l): Likewise.
15880         * math/w_fmodl.c (__fmodl): Likewise.
15881         * math/w_hypotl.c (__hypotl): Likewise.
15882         * math/w_j0l.c (__j0l, __y0l): Likewise.
15883         * math/w_j1l.c (__j1l, __y1l): Likewise.
15884         * math/w_jnl.c (__jnl, __ynl): Likewise.
15885         * math/w_lgammal.c (__lgammal): Likewise.
15886         * math/w_log10l.c (__log10l): Likewise.
15887         * math/w_log2l.c (__log2l): Likewise.
15888         * math/w_logl.c (__logl): Likewise.
15889         * math/w_powl.c (__powl): Likewise.
15890         * math/w_remainderl.c (__remainderl): Likewise.
15891         * math/w_scalbl.c (sysv_scalbl): Likewise.
15892         * math/w_sinhl.c (__sinhl): Likewise.
15893         * math/w_sqrtl.c (__sqrtl): Likewise.
15894         * math/w_tgammal.c (__tgammal): Likewise.
15895         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15896         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15897         * math/libm-test.inc (acos_test): Add more tests.
15898         (acosh_test): Likewise.
15899         (asin_test): Likewise.
15900         (atanh_test): Likewise.
15901         (exp_test): Likewise.
15902         (exp10_test): Likewise.
15903         (exp2_test): Likewise.
15904         (expm1_test): Likewise.
15905         (lgamma_test): Likewise.
15906         (log_test): Likewise.
15907         (log10_test): Likewise.
15908         (log1p_test): Likewise.
15909         (log2_test): Likewise.
15910         (pow_test): Do not allow some spurious overflow exceptions.
15911         (sqrt_test): Add more tests.
15912         (tgamma_test): Likewise.
15913         (y0_test): Likewise.
15914         (y1_test): Likewise.
15915         (yn_test): Likewise.
15917 2012-03-27  Anton Blanchard  <anton@samba.org>
15919         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15920         MAP_HUGETLB.
15921         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15922         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15923         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15925 2012-03-27  David S. Miller  <davem@davemloft.net>
15927         * conform/Makefile: Run run-conformtest.sh using $(BASH).
15929         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15930         have-as-vis3 check.
15932 2012-03-27  Andreas Jaeger  <aj@suse.de>
15934         * sysdeps/x86_64/elf/configure.in: Moved to ...
15935         * sysdeps/x86_64/configure.in: ... here.
15936         * sysdeps/x86_64/elf/start.S: Moved to ...
15937         * sysdeps/x86_64/start.S: ... here.
15938         * sysdeps/x86_64/elf/configure: Delete.
15940         * sysdeps/x86_64/configure.in: Merge contents from
15941         sysdeps/i386/configure.in (without i686 check).
15943         * sysdeps/i386/elf/Versions: Merge into ...
15944         * sysdeps/i386/Versions: ... this.
15945         * sysdeps/i386/elf/Versions: Delete file.
15946         * sysdeps/i386/elf/start.S: Moved to ...
15947         * sysdeps/i386/start.S: ...here.
15948         * sysdeps/i386/elf/configure.in: Merge into...
15949         * sysdeps/i386/configure.in: ...here.
15950         * sysdeps/i386/elf/configure.in: Delete file.
15951         * sysdeps/i386/elf/configure: Delete file.
15953         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15954         * debug/backtracesyms.c: ... here.
15955         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15956         * debug/backtracesymsfd.c: ... here.
15957         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15958         * sysdeps/generic/ifunc-sel.h: ... here.
15960         * sysdeps/unix/i386/start.c: Delete file.
15961         * sysdeps/unix/sparc/start.c: Delete file.
15962         * sysdeps/unix/start.c: Delete file.
15964         * sysdeps/sh/elf/configure.in: Moved to ...
15965         * sysdeps/sh/configure.in: ... here.
15966         * sysdeps/sh/elf/start.S: Moved to ...
15967         * sysdeps/sh/start.S: ... here.
15968         * sysdeps/sh/elf/configure: Delete file.
15970         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15971         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15972         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15973         * sysdeps/powerpc/powerpc64/entry.h: ... here.
15974         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15975         * sysdeps/powerpc/powerpc64/start.S: here.
15976         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15977         * sysdeps/powerpc/powerpc64/Makefile: ... this.
15978         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15979         * sysdeps/powerpc/powerpc64/configure.in: ... this.
15980         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15982         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15983         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15984         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15985         * sysdeps/powerpc/powerpc32/start.S: ... here.
15986         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15987         * sysdeps/powerpc/powerpc32/configure.in: ... this.
15988         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15990         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15991         * sysdeps/powerpc/ifunc-sel.h: ... here.
15992         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15993         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15995         * sysdeps/sparc/elf/configure.in: Moved to ...
15996         * sysdeps/sparc/configure.in: ... here.
15997         * sysdeps/sparc/elf/configure: Delete file.
15998         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15999         * sysdeps/sparc/sparc32/start.S: ... here.
16000         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16001         * sysdeps/sparc/sparc64/start.S: ... here.
16002         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16003         * sysdeps/sparc/sparc32/Makefile: ... this.
16004         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16005         * sysdeps/sparc/sparc64/Makefile: ... this.
16007         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16008         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16009         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16010         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16011         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16012         * sysdeps/s390/s390-32/setjmp.S: ... here.
16013         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16014         * sysdeps/s390/s390-32/configure.in: ... here.
16015         * sysdeps/s390/s390-32/elf/configure: Delete file.
16016         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16017         * sysdeps/s390/s390-32/start.S: ... here.
16019         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16020         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16021         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16022         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16023         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16024         * sysdeps/s390/s390-64/setjmp.S: ... here.
16025         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16026         * sysdeps/s390/s390-64/configure.in: ... here
16027         * sysdeps/s390/s390-64/elf/configure: Delete file.
16028         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16029         * sysdeps/s390/s390-64/start.S: ... here.
16030         * sysdeps/s390/s390-64/elf/configure: Delete.
16032         * configure.in: Remove support for elf directories in sysdeps.
16034         * configure: Regenerated.
16035         * sysdeps/i386/configure: Regenerated.
16036         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16037         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16038         * sysdeps/s390/s390-32/configure: Regenerated.
16039         * sysdeps/s390/s390-64/configure: Regenerated.
16040         * sysdeps/sh/configure: Regenerated.
16041         * sysdeps/sparc/configure: Regenerated.
16042         * sysdeps/x86_64/configure: Regenerated.
16044 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16048         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16049         denormal result into account.
16051 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16053         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16054         Reported by Allan McRae <allan@archlinux.org>.
16056 2012-03-23  Jeff Law  <law@redhat.com>
16058         * nss/getnssent.c (__nss_getent): Fix typo.
16060 2012-03-23  David S. Miller  <davem@davemloft.net>
16062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16064 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16066         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16067         to pad to uint64_t for each field.
16068         (dl_tls_index): Replace unsigned long with uint64_t.
16070 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16071         Paul Pluzhnikov  <ppluzhnikov@google.com>
16073         [BZ #6528]
16074         * grp/Makefile (otherlibs): Don't set it.
16075         * inet/Makefile (otherlibs): Likewise.
16076         * login/Makefile (otherlibs): Likewise.
16077         * nscd/Makefile (otherlibs): Likewise.
16078         * posix/Makefile (otherlibs): Likewise.
16079         * pwd/Makefile (otherlibs): Likewise.
16080         * rt/Makefile (otherlibs): Likewise.
16081         * sunrpc/Makefile (otherlibs): Likewise.
16082         * nss/Makefile (otherlibs): Likewise.
16083         Add libnss_files to routines and static-only-routines.
16084         ($(objpfx)getent): Remove rule.
16085         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16086         static-only-routines.
16088 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16090         [BZ #13892]
16091         * math/s_cexp.c: Include <float.h>.
16092         (__cexp): Handle exp result overflowing not necessarily
16093         overflowing both real and imaginary parts of result.
16094         * math/s_cexpf.c: Likewise.
16095         * math/s_cexpl.c: Likewise.
16096         * math/libm-test.inc (cexp_test): Add more tests.
16097         * sysdeps/i386/fpu/libm-test-ulps: Update.
16098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16100 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16102         * include/link.h (ELFW): New macro.
16103         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16104         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16106 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16108         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16109         with uint64_t.
16111 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16113         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16114         declaration.
16115         (struct La_x32_retval): Likewise.
16117 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16119         * sysdeps/x86_64/preconfigure.in: New file.
16120         * sysdeps/x86_64/preconfigure: New generated file.
16122 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16124         [BZ #13824]
16125         * math/e_exp2l.c: Include <float.h>.
16126         (__ieee754_exp2l): Handle overflow and underflow cases
16127         separately.  Only pass fractional part of argument to
16128         __ieee754_expl.
16129         * math/libm-test.inc (exp2_test): Add more tests.
16131         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16132         negating x to take absolute value.
16133         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16134         Likewise.
16135         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16136         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16137         Likewise.
16138         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16139         computing low part if x was negated.
16140         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16142 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16144         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16145         la_x32_gnu_pltexit.
16146         (pltexit): Cast int_retval to ptrdiff_t.
16147         * elf/tst-auditmod3b.c: Likewise.
16148         * elf/tst-auditmod4b.c: Likewise.
16149         * elf/tst-auditmod5b.c: Likewise.
16150         * elf/tst-auditmod6b.c: Likewise.
16151         * elf/tst-auditmod6c.c: Likewise.
16152         * elf/tst-auditmod7b.c: Likewise.
16154         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16155         and x32_gnu_pltexit.
16157         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16158         __ELF_NATIVE_CLASS.
16159         (La_x32_regs): New macro.
16160         (La_x32_retval): Likewise.
16161         (la_x32_gnu_pltenter): New function prototype.
16162         (la_x32_gnu_pltexit): Likewise.
16164 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16166         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16167         exponent.
16169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16171         * configure.in (libc_cv_cc_nofma): Check for option to disable
16172         generation of FMA instructions.
16173         * configure: Regenerate.
16174         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16175         * sysdeps/ieee754/dbl-64/Makefile: New file.
16176         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16177         Remove brandred-fma4.
16178         (CFLAGS-brandred-fma4.c): Remove.
16179         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16180         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16181         define.
16182         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16183         define.
16185 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16187         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16188         LLONG_MAX != LONG_MAX.
16189         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16190         (_fitoa_word): Likewise.
16191         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16192         LLONG_MAX != LONG_MAX.
16193         * stdio-common/_itowa.h: Include <_itoa.h>.
16194         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16195         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16196         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16197         only if not defined.
16198         (_ITOA_WORD_TYPE): Likewise.
16199         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16200         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16202 2012-03-21  David S. Miller  <davem@davemloft.net>
16204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16206 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16208         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16209         of x86_64 when setting libc_cv_slibdir, libdir and
16210         libc_cv_localedir.
16211         * sysdeps/unix/sysv/linux/configure: Regenerated.
16213 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16215         * manual/lang.texi (Old Varargs): Remove section.
16216         (How Variadic): Update menu.
16217         (va_start): Do not mention varargs.h.
16219 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16220             Joseph Myers  <joseph@codesourcery.com>
16222         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16223         link test.
16224         * configure: Regenerated.
16226 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16228         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16229         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16230         conformtest.pl
16232 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16234         * NOTES: Remove.
16235         * Makefile (files-for-dist): Remove NOTES.
16236         (NOTES): Remove rule.
16237         * README: Don't refer to NOTES.
16238         * manual/creature.texi: Don't include macros.texi.
16239         * manual/intro.texi (creature.texi): Remove comment referring to
16240         NOTES.
16242         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16243         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16244         * configure: Regenerated.
16245         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16246         LIBC_TRY_CC_OPTION.
16247         (libc_cv_as_i686): Likewise.
16248         (libc_cv_cc_avx): Likewise.
16249         (libc_cv_cc_sse2avx): Likewise.
16250         (libc_cv_cc_fma4): Likewise.
16251         (libc_cv_cc_novzeroupper): Likewise.
16252         * sysdeps/i386/configure: Regenerated.
16254         [BZ #13883]
16255         * sysdeps/i386/fpu/s_cexp.S: Remove.
16256         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16257         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16258         * math/libm-test.inc (cexp_test): Add more tests.
16259         * sysdeps/i386/fpu/libm-test-ulps: Update.
16260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16262 2012-03-21  Allan McRae  <allan@archlinux.org>
16264         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16266 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16268         [BZ #13871]
16269         * math/w_exp2.c: Do not include <float.h>.
16270         (o_threshold, u_threshold): Remove.
16271         (__exp2): Calculate result before checking finiteness and calling
16272         __kernel_standard.
16273         * math/w_exp2f.c: Likewise.
16274         * math/w_exp2l.c: Likewise.
16275         * math/libm-test.inc (exp2_test): Require overflow exception for
16276         1e6 input.
16278         [BZ #3866]
16279         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16280         range of signed 64-bit integers before using fistpll.  Remove
16281         checks for whether integers fit in mantissa bits.
16282         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16283         the range of signed 32-bit integers before using fistpl.  Remove
16284         checks for whether integers fit in mantissa bits.
16285         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16286         (__ieee754_powl): Test for y outside the range of signed 64-bit
16287         integers before using fistpll.  Reduce 64-bit values to 63-bit
16288         ones as needed.
16289         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16290         divide-by-zero is raised for zero to large negative powers.
16291         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16292         (__ieee754_powl): Test for y outside the range of signed 64-bit
16293         integers before using fistpll.  Reduce 64-bit values to 63-bit
16294         ones as needed.
16295         * math/libm-test.inc (pow_test): Add more tests.
16297 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16299         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16300         <stdio-common/_itoa.h>.
16301         * debug/segfault.c: Likewise.
16302         * elf/dl-cache.c: Likewise.
16303         * elf/dl-minimal.c: Likewise.
16304         * elf/dl-misc.c: Likewise.
16305         * elf/dl-sysdep.c: Likewise.
16306         * elf/dl-version.c: Likewise.
16307         * elf/rtld.c: Likewise.
16308         * hurd/hurdsock.c: Likewise.
16309         * hurd/lookup-retry.c: Likewise.
16310         * malloc/malloc.c: Likewise.
16311         * malloc/mtrace.c: Likewise.
16312         * nscd/nscd_getgr_r.c: Likewise.
16313         * nscd/nscd_getpw_r.c: Likewise.
16314         * nscd/nscd_getserv_r.c: Likewise.
16315         * posix/getopt_init.c: Likewise.
16316         * posix/wordexp.c: Likewise.
16317         * stdio-common/_itoa.c: Likewise.
16318         * stdio-common/printf_fphex.c: Likewise.
16319         * stdio-common/vfprintf.c: Likewise.
16320         * string/_strerror.c: Likewise.
16321         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16322         * sysdeps/i386/i686/hp-timing.h: Likewise.
16323         * sysdeps/mach/_strerror.c: Likewise.
16324         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16325         * sysdeps/mach/hurd/sethostid.c: Likewise.
16326         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16327         * sysdeps/mach/xpg-strerror.c: Likewise.
16328         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16329         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16330         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16331         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16332         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16333         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16334         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16335         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16336         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16337         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16338         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16339         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16340         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16341         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16342         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16343         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16344         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16345         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16346         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16347         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16348         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16350         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16352         * stdio-common/_itoa.h: Moved to ...
16353         * sysdeps/generic/_itoa.h: Here.
16355         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16357         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16358         instead of "_itoa.h" and "_itowa.h".
16359         * stdio-common/vfprintf.: Likewise.
16361 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16363         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16364         <bits/wordsize.h>.
16365         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16366         (__signbit): Likwise.
16367         (llrintf): Likwise.
16368         (llrint): Likwise.
16370 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16372         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16373         __WORDSIZE != 64.
16375 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
16377         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16378         OVERFLOW_EXCEPTION_OK.
16379         * math/libm-test.inc ("Philosophy"): Update comment about
16380         exception testing.
16381         (OVERFLOW_EXCEPTION): Define.
16382         (OVERFLOW_EXCEPTION_OK): Likewise.
16383         (INVALID_EXCEPTION_OK): Renumber.
16384         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16385         (IGNORE_ZERO_INF_SIGN): Likewise.
16386         (test_exceptions): Handle FE_OVERFLOW.
16387         (exp10_test): Expect overflow exceptions.
16388         (exp2_test): Likewise.
16389         (expm1_test): Likewise.
16390         (nextafter_test): Likewise.
16391         (pow_test): Likewise.
16392         (scalbn_test): Likewise.
16393         (scalbln_test): Likewise.
16395 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16397         * sysdeps/x86_64/bits/atomic.h
16398         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16399         64bit integer.
16400         (atomic_exchange_acq): Likewise.
16401         (__arch_exchange_and_add_body): Likewise.
16402         (__arch_add_body): Likewise.
16403         (atomic_add_negative): Likewise.
16404         (atomic_add_zero): Likewise.
16406 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16408         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16409         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16411 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16413         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16414         Check __x86_64__ instead of __WORDSIZE.
16416 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16418         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16420 2012-03-19  David S. Miller  <davem@davemloft.net>
16422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16424         * sysdeps/sparc/fpu/fenv_private.h: New file.
16425         * sysdeps/sparc/fpu/math_private.h: Use it.
16426         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16427         Remove.
16428         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16429         (libc_feholdexcept_setroundl): Remove.
16430         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16431         Remove.
16432         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16433         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16435 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16437         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16438         int64_t instead of long int.
16439         (INSERT_WORDS64): Likwise.
16441 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16443         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16444         _Unwind_GetCFA return to _Unwind_Ptr first.
16446 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
16448         [BZ #13629]
16449         * math/s_clog.c: Include <float.h>.
16450         (__clog): Scale large or subnormal inputs.
16451         * math/s_clogf.c: Likewise.
16452         * math/s_clogl.c: Likewise.
16453         * math/s_clog10.c: Include <float.h>.
16454         (M_LOG10_2): Define.
16455         (__clog10): Scale large or subnormal inputs.
16456         * math/s_clog10f.c: Likewise.
16457         * math/s_clog10l.c: Likewise.
16458         * math/libm-test.inc (clog_test): Add more tests.
16459         (clog10_test): Likewise.
16460         * sysdeps/i386/fpu/libm-test-ulps: Update.
16461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16463         [BZ #11451]
16464         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16465         x and y.
16466         * math/libm-test.inc (atan2_test): Add another test.
16468         * Makerules (common-objdir-compile): Remove.
16469         * sysdeps/unix/Makefile (config-generated): Do not add
16470         $(unix-generated) to variable.
16471         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16472         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16473         Remove rule.
16474         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16475         Likewise.
16476         [generic bits/local_lim.h] (before-compile): Do not append to
16477         variable.
16478         [generic bits/local_lim.h] (common-generated): Likewise.
16479         [generic sys/param.h] (before-compile): Do not append to variable.
16480         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16481         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16482         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16483         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16484         include.
16485         [generic sys/param.h] (sys/param.h-includes): Remove variable.
16486         [generic sys/param.h] (sys/param.h-includes): Remove rule.
16487         [generic sys/param.h] ($(addprefix
16488         $(common-objpfx),$(sys/param.h-includes))): Likewise.
16489         [generic sys/param.h] (common-generated): Do not append to
16490         variable.
16491         [generic sys/param.h] (sysdep_headers): Likewise.
16492         [generic bits/errno.h] (before-compile): Do not append to
16493         variable.
16494         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16495         rule.
16496         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16497         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16498         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16499         [generic bits/errno.h] (common-generated): Do not append to
16500         variable.
16501         [generic bits/ioctls.h] (before-compile): Do not append to
16502         variable.
16503         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16504         rule.
16505         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16506         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16507         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16508         rule.
16509         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16510         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16511         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16512         [generic bits/ioctls.h] (common-generated): Do not append to
16513         variable.
16514         [generic sys/syscall.h] (syscall.h): Remove variable.
16515         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16516         rule.
16517         [generic sys/syscall.h] (before-compile): Do not append to
16518         variable.
16519         [generic sys/syscall.h] (common-generated): Likewise.
16520         * sysdeps/unix/errnos-tmpl.c: Remove file.
16521         * sysdeps/unix/errnos.awk: Likewise.
16522         * sysdeps/unix/ioctls-tmpl.c: Likewise.
16523         * sysdeps/unix/ioctls.awk: Likewise.
16524         * sysdeps/unix/mk-local_lim.c: Likewise.
16525         * sysdeps/unix/snarf-ioctls: Likewise.
16527 2012-03-19  Richard Henderson  <rth@twiddle.net>
16529         * sysdeps/i386/fpu/fenv_private.h: New file.
16530         * sysdeps/i386/fpu/math_private.h: Use it.
16531         (math_opt_barrier, math_force_eval): Remove.
16532         (libc_feholdexcept_setround_53bit): Remove.
16533         (libc_feupdateenv_53bit): Remove.
16534         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16535         (math_opt_barrier, math_force_eval): Remove.
16536         (libc_feholdexcept): Remove.
16537         (libc_feholdexcept_setround): Remove.
16538         (libc_fetestexcept, libc_fesetenv): Remove.
16539         (libc_feupdateenv_test): Remove.
16540         (libc_feupdateenv, libc_feholdsetround): Remove.
16541         (libc_feresetround): Remove.
16543         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16544         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16546         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16547         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16548         (libc_feupdateenv_testl): New.
16549         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16550         (libc_feupdateenv_testf): New.
16551         (libc_feupdateenv): Use libc_feupdateenv_test.
16552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16553         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16555         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16556         (libc_feholdsetroundf, libc_feholdsetroundl): New.
16557         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16558         (libc_feresetround_noex): New.
16559         (libc_feresetround_noexf): New.
16560         (libc_feresetround_noexl): New.
16561         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16562         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16563         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16564         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16565         SET_RESTORE_ROUND.
16566         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16567         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16568         (__cos): Likewise.
16569         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16570         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16571         SET_RESTORE_ROUND_NOEX.
16572         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16573         SET_RESTORE_ROUND_NOEXF.
16574         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16575         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16576         (libc_feholdsetroundf): New.
16577         (libc_feresetround, libc_feresetroundf): New.
16579         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16580         (libc_feholdexcept_setround_53bit): Convert from macro to function.
16581         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
16583         * sysdeps/generic/math_private.h: Include <fenv.h>.
16584         (default_libc_feholdexcept): New.
16585         (default_libc_feholdexcept_setround): New.
16586         (default_libc_fesetenv, default_libc_feupdateenv): New.
16587         (libc_feholdexcept): Only define if undefined.
16588         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16589         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16590         (libc_feholdexcept_setroundl): Likewise.
16591         (libc_feholdexcept_setround_53bit): Likewise.
16592         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16593         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16594         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16595         (libc_feupdateenv_53bit): Likewise.
16596         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16597         (libc_feholdexcept): Convert from macro to inline function.
16598         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16599         (libc_fesetenv, libc_feupdateenv): Likewise.
16601         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16602         not previously defined.
16603         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16604         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16605         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16606         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16607         * sysdeps/ieee754/flt-32/math_private.h: New file.
16608         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16609         math_private.h below SET_FLOAT_WORD.
16610         (__isnan, __isinf_ns, __finite): Remove.
16611         (__isnanf, __isinf_nsf, __finitef): Remove.
16613 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
16615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16617 2012-03-17  David S. Miller  <davem@davemloft.net>
16619         [BZ #6471]
16620         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16621         for 2.16.
16623 2012-03-16  David S. Miller  <davem@davemloft.net>
16625         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16626         warnings.
16628         [BZ #6471]
16629         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16630         properly.
16631         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16632         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16633         sysdep_routines when subdir is sysvipc.
16634         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16635         __getshmlba helper.
16637         * sysdeps/sparc/fpu/libm-test/ulps: Update.
16639 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16641         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16642         [__LP64__].
16644 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16646         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16647         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16648         (__lround): Renamed to ...
16649         (__llround): This.  Replace long int with long long int.
16650         Define lround functions as aliases of llround functions.
16651         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16653 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16655         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16656         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
16657         adresses to uintptr_t.  Replace "long int" and "unsigned long
16658         int" with "greg_t" on va_arg.
16660 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16662         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16663         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16665         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16666         Move e_machine check before EI_CLASS check.  Handle x32
16667         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16668         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16669         SKIP_EM_IA_64 and include
16670         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16672         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16673         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16674         (add_system_dir): New macro.
16676         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16677         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16679 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16681         [BZ #2551]
16682         [BZ #2552]
16683         [BZ #2553]
16684         [BZ #2554]
16685         [BZ #2562]
16686         [BZ #2563]
16687         [BZ #2565]
16688         [BZ #2566]
16689         [BZ #2576]
16690         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16691         (y0): Likewise.
16692         * math/w_j0f.c (j0f): Likewise.
16693         (y0f): Likewise.
16694         * math/w_j0l.c (__j0l): Likewise.
16695         (__y0l): Likewise.
16696         * math/w_j1.c (j1): Likewise.
16697         (y1): Likewise.
16698         * math/w_j1f.c (j1f): Likewise.
16699         (y1f): Likewise.
16700         * math/w_j1l.c (__j1l): Likewise.
16701         (__y1l): Likewise.
16702         * math/w_jn.c (jn): Likewise.
16703         (yn): Likewise.
16704         * math/w_jnf.c (jnf): Likewise.
16705         (ynf): Likewise.
16706         * math/w_jnl.c (__jnl): Likewise.
16707         (__ynl): Likewise.
16708         * math/libm-test.inc (j0_test): Add more tests.
16709         (j1_test): Likewise.
16710         (jn_test): Likewise.  Add trailing semicolon to existing test.
16711         (y0_test): Likewise.
16712         (y1_test): Likewise.
16713         * sysdeps/i386/fpu/libm-test-ulps: Update.
16714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16716         [BZ #13851]
16717         [BZ #13854]
16718         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16719         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16720         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16721         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16722         (__tanl): Set errno for infinite argument.
16723         * sysdeps/i386/fpu/mptan.c: Remove.
16724         * sysdeps/i386/fpu/s_tan.S: Likewise.
16725         * sysdeps/i386/fpu/s_tanl.S: Likewise.
16726         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16727         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16728         * math/libm-test.inc (tan_test): Add more tests and enable more
16729         tests for double and long double.
16730         * sysdeps/i386/fpu/libm-test-ulps: Update.
16731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16733 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16735         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16736         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16738 2012-03-16  Roland McGrath  <roland@hack.frob.com>
16740         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16741         * configure.in: Use it for both main tree and add-ons.
16742         * configure: Regenerated.
16744 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16746         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16748 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16750         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16751         in comment.
16753         [BZ #13851]
16754         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16755         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16756         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16757         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16758         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16759         infinite argument.
16760         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16761         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16762         != 0 for prec == 2.
16763         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16764         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16765         * sysdeps/i386/fpu/s_cosl.S: Likewise.
16766         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16767         * sysdeps/i386/fpu/s_sinl.S: Likewise.
16768         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16769         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16770         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16771         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16772         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16773         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16774         * math/libm-test.inc (cos_test): Add more tests and enable more
16775         tests for long double.
16776         (sin_test): Likewise.
16777         (sincos_test): Likewise.
16778         * sysdeps/i386/fpu/libm-test-ulps: Update.
16779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16781 2012-03-16  David S. Miller  <davem@davemloft.net>
16783         * sysdeps/sparc/fpu/math_private.h: New file.
16785 2012-03-15  David S. Miller  <davem@davemloft.net>
16787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16788         file.
16789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16791         file.
16792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16797         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16798         sysdep routines.
16799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16801         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16802         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16804         * sysdeps/sparc/sparc-ifunc.h: New file.
16805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16806         sparc-ifunc.h
16807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16809         Likewise.
16810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16811         Likewise.
16812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16816         Likewise.
16817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16822         Likewise.
16823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16824         Likewise.
16825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16829         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16831         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16832         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16837         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16839         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16840         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16841         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16842         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16843         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16844         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16845         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16846         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16847         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16848         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16850 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16852         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16853         scaling.
16854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16856 2012-03-15  Andreas Jaeger  <aj@suse.de>
16858         [BZ #13852]
16859         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16860         ieee754/flt-32 implementation for sin, cos and sincos.
16861         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16862         * sysdeps/i386/fpu/s_cosf.S: Likewise.
16863         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16864         * sysdeps/i386/fpu/s_sinf.S: Likewise.
16865         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16866         ieee754/flt-32 implementation for tan.
16868         * math/libm-test.inc (cos_test): Enable some large input tests for
16869         float as well
16870         (sin_test): Likewise.
16871         (sincos_test): Likewise.
16872         (tan_test): Add tests for large input.
16874         * sysdeps/i386/fpu/libm-test-ulps: Update.
16876 2012-03-15  Andreas Jaeger  <aj@suse.de>
16878         [BZ #13658]
16879         * math/libm-test.inc (cos_test): Add more test cases.
16880         (sin_test): Likewise.
16881         (sincos_test): Likewise.
16883 2012-03-15  Andreas Jaeger  <aj@suse.de>
16885         [BZ #13837]
16886         * math/libm-test.inc (cos_test): Add a test case for large input
16887         value.
16888         (sin_test): Likewise.
16889         (sincos_test): Likewise.
16891 2012-03-15  Andreas Jaeger  <aj@suse.de>,
16892         Joseph Myers  <joseph@codesourcery.com>
16894         [BZ #13658]
16895         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16896         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16897         * sysdeps/i386/fpu/branred.c: Likewise.
16898         * sysdeps/i386/fpu/dosincos.c: Likewise.
16899         * sysdeps/i386/fpu/mpa.c: Likewise.
16900         * sysdeps/i386/fpu/s_cos.S: Likewise.
16901         * sysdeps/i386/fpu/s_sin.S: Likewise.
16902         * sysdeps/i386/fpu/s_sincos.S: Likewise.
16903         * sysdeps/i386/fpu/sincos32.c: Likewise.
16905         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16906         Define.
16907         (libc_feupdateenv_53bit): Define.
16908         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16909         Define.
16910         (libc_feupdateenv_53bit): Define.
16912         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16913         53 bit (without extend i386 double precision).
16915         * math/libm-test.inc (sincos_test): Add tests for large input.
16916         (sin): Likewise.
16917         (cos): Likewise.
16919         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16921 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16925 2012-03-15  David S. Miller  <davem@davemloft.net>
16927         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16928         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16929         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16930         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16940         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16941         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16943         file.
16944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16946         file.
16947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16949         file.
16950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16952         file.
16953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16954         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16955         fmin/fmax sysdep routines.
16956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16958 2012-03-14  David S. Miller  <davem@davemloft.net>
16960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16964         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16965         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16966         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16967         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16972         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16974         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16977         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16980         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16981         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16982         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16983         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16984         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16985         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16986         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16987         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16988         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16989         routines.
16990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16991         file.
16992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16994         file.
16995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16997         file.
16998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17000         file.
17001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17003         file.
17004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17006         file.
17007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17008         file.
17009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17010         file.
17011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17012         file.
17013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17014         New file.
17015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17016         file.
17017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17018         file.
17019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17021         file.
17022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17024         file.
17025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17027         file.
17028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17030         VIS3 routines.
17032         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17033         New file.
17035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17037         * sysdeps/sparc/configure.in: New file.
17038         * sysdeps/sparc/configure: Generate.
17039         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17040         * configure: Regenerate.
17041         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17042         * config.make.in (have-as-vis3): New.
17043         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17044         available use -Av9d instead of -Av9a.
17045         * sysdeps/sparc/sparc64/Makefile: Likewise.
17046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17048         New file.
17049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17050         file.
17051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17052         New file.
17053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17054         file.
17055         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17056         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17057         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17058         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17059         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17061         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17062         fzeros/fnegs to load 0x80000000 into a float register instead of
17063         using the stack.
17064         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17066 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17069         bits/syscall.h.
17070         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17071         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17072         ($(inst_includedir)/bits/syscall.h): Remove rule.
17073         ($(objpfx)bits/syscall.d): Include instead of
17074         $(objpfx)syscall-list.d.
17075         (generated): Change syscall-list.h and syscall-list.d to
17076         bits/syscall.h and bits/syscall.d.
17078 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17080         [BZ #13846]
17081         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17083 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17085         [BZ #13841]
17086         * math/s_csqrt.c: Include <float.h>.
17087         (__csqrt): Scale large or subnormal inputs.
17088         * math/s_csqrtf.c: Likewise.
17089         * math/s_csqrtl.c: Likewise.
17090         * math/libm-test.inc (csqrt_test): Add more tests.
17091         * sysdeps/i386/fpu/libm-test-ulps: Update.
17092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17094         [BZ #13840]
17095         * math/libm-test.inc (hypot_test): Add more tests.
17097 2012-03-13  David S. Miller  <davem@davemloft.net>
17099         [BZ #13840]
17100         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17101         double-precision for the calculation instead of scaling.
17103 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17105         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17106         manipulate bits before adding and subtracting TWO52[sx].
17107         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17108         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17109         Likewise.
17110         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17112 2012-03-13  David S. Miller  <davem@davemloft.net>
17114         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17115         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17116         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17117         rtld-global-offsets.h
17118         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17120         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17121         large parameters.
17123         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17125         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17126         'err' in the ifdef scope in which it is actually used.
17128         * nss/nss_db/db-init.c: Include string.h
17130 2012-03-12  David S. Miller  <davem@davemloft.net>
17132         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17133         masking out of the most significant byte of random value used.
17134         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17135         Fix coding style in previous change.
17137         * sysdeps/unix/sysv/linux/kernel-features.h
17138         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17139         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17140         expression.
17141         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17142         later.
17144 2012-03-11  David S. Miller  <davem@davemloft.net>
17146         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17147         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17148         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17149         for 'resultvar' otherwise things get truncated on 64-bit.
17151         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17152         Fix masking out of the most significant byte of random value used.
17154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17156 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17160 2012-03-09  David S. Miller  <davem@davemloft.net>
17162         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17163         variables with appropriate CPP guards.
17164         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17165         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17166         on resulting framesize and the management of the outregs buffer for pltexit.
17167         Preserve floating point return values across _dl_call_pltexit call.
17168         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17169         framesize and the management of the outregs buffer for pltexit.
17170         Preserve floating point return values across _dl_call_pltexit
17171         call.
17172         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17173         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17174         (print_exit): Fix format string for return register value.
17176 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17178         * sunrpc/Makefile (others): Add rpcgen.
17179         ($(objpfx)rpcgen): Remove special build rule and dependency on
17180         libc.
17181         * sunrpc/rpcgen.c: New file.
17183 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17185         [BZ #13673]
17186         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17187         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17188         * sysdeps/i386/crti.S: Likewise.
17189         * sysdeps/i386/crtn.S: Likewise.
17190         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17191         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17192         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17193         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17194         * sysdeps/sh/crti.S: Likewise.
17195         * sysdeps/sh/crtn.S: Likewise.
17196         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17198         [BZ #13673]
17199         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17200         with URL.
17201         * locale/programs/locfile-kw.gperf: Likewise.
17202         * locale/programs/charmap-kw.h: Regenerated.
17203         * locale/programs/locfile-kw.h: Likewise.
17205         [BZ #13673]
17206         * intl/plural.y: Replace FSF snail mail address with URL.
17207         * intl/plural.c: Regenerated.
17209 2012-03-09  Richard Henderson  <rth@twiddle.net>
17211         * include/math_private.h: Remove file.
17212         * math/math_private.h: Move file ...
17213         * sysdeps/generic/math_private.h: ... here.
17215         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17216         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17217         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17219         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17220         and <math_private.h>.
17221         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17222         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17223         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17224         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17225         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17226         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17227         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17228         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17229         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17230         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17231         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17232         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17233         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17234         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17235         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17236         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17237         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17238         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17239         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17240         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17241         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17242         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17243         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17244         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17245         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17246         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17247         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17248         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17249         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17250         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17251         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17252         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17253         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17254         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17255         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17256         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17257         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17258         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17259         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17260         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17261         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17262         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17263         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17264         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17265         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17266         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17267         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17268         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17269         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17270         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17271         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17272         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17273         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17274         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17275         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17276         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17277         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17278         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17279         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17280         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17281         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17282         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17283         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17284         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17285         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17286         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17287         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17288         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17289         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17290         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17291         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17292         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17293         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17294         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17295         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17296         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17297         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17298         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17299         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17300         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17301         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17302         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17303         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17304         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17305         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17306         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17307         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17308         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17309         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17310         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17311         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17312         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17313         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17314         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17315         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17316         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17317         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17318         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17319         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17320         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17321         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17322         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17323         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17324         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17325         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17326         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17327         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17328         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17329         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17330         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17331         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17332         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17333         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17334         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17335         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17336         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17337         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17338         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17339         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17340         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17341         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17342         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17343         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17344         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17345         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17346         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17347         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17348         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17349         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17350         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17351         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17352         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17353         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17354         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17355         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17356         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17357         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17358         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17359         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17360         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17361         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17362         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17363         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17364         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17365         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17366         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17367         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17368         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17369         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17370         * sysdeps/ieee754/k_standard.c: Likewise.
17371         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17372         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17373         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17374         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17375         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17376         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17377         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17378         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17379         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17380         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17381         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17382         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17383         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17384         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17385         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17386         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17387         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17388         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17389         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17390         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17391         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17392         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17393         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17394         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17395         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17396         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17397         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17398         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17399         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17400         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17401         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17402         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17403         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17404         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17405         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17406         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17407         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17408         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17409         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17410         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17411         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17412         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17413         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17414         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17415         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17416         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17417         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17418         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17419         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17420         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17421         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17422         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17423         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17424         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17425         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17426         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17427         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17428         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17429         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17430         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17431         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17432         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17433         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17434         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17435         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17436         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17437         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17438         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17439         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17440         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17441         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17442         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17443         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17444         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17445         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17446         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17447         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17448         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17449         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17450         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17451         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17452         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17453         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17454         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17455         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17456         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17457         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17458         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17459         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17460         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17461         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17462         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17463         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17464         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17465         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17466         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17467         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17468         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17469         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17470         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17471         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17472         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17474         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17475         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17476         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17477         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17478         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17479         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17480         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17481         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17482         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17483         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17484         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17485         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17486         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17487         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17488         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17489         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17490         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17491         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17492         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17493         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17494         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17495         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17496         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17497         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17498         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17499         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17500         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17501         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17502         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17503         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17504         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17505         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17506         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17507         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17508         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17509         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17510         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17511         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17512         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17513         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17514         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17515         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17516         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17517         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17518         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17519         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17520         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17521         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17522         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17523         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17524         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17525         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17526         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17527         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17528         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17529         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17530         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17531         * sysdeps/ieee754/s_lib_version.c: Likewise.
17532         * sysdeps/ieee754/s_matherr.c: Likewise.
17533         * sysdeps/ieee754/s_signgam.c: Likewise.
17534         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17535         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17536         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17537         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17538         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17539         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17540         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17541         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17542         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17543         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17544         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17545         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17546         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17547         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17548         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17549         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17550         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17551         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17552         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17553         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17554         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17556 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17558         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17559         * sunrpc/rpc_main.c: Likewise.
17560         * sunrpc/rpc_svcout.c: Likewise.
17562 2012-03-09  David S. Miller  <davem@davemloft.net>
17564         * include/math_private.h: New file.
17566 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17568         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17569         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17570         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17571         from <bits/socket_type.h>.
17572         (enum __socket_type): Don't define here.
17573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17574         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17575         bits/socket_type.h.
17577         [BZ #13566]
17578         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17579         checking __USE_GNU.
17581         * Makerules ($(inst_includedir)/%.h): New rule.
17582         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17583         (install-others): Remove variable setting.
17584         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17586 2012-03-08  Richard Henderson  <rth@twiddle.net>
17588         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17589         from macro to inline function; merge with the
17590         !__LIBC_INTERNAL_MATH_INLINES version.
17591         (__ieee754_sqrtf): Likewise.
17593         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17594         to inline function.
17595         (__rintf, __floor, __floorf): Likewise.
17597         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17598         macro to inline function.
17599         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17601         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17602         not <math/math_private.h>.
17604 2012-03-08  David S. Miller  <davem@davemloft.net>
17606         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17607         copyright year.
17608         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17610 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
17612         * resolv/gai_misc.c (handle_requests): Fix struct timespec
17613         normalization.
17614         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17615         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17617 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
17619         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
17620         be defined individually, they must be defined as a block.  Define
17621         S for printing a string instead of hidint the different by using a
17622         macro for adding the 'l'.
17623         * stdio-common/tst-fphex-wide.c: Adjust.
17625 2012-03-07  Marek Polacek  <polacek@redhat.com>
17627         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17629 2012-03-08  Marek Polacek  <polacek@redhat.com>
17631         [BZ #13806]
17632         * stdio-common/Makefile (tests): Add tst-fphex-wide.
17633         * stdio-common/tst-fphex.c: Define a few macros to make the
17634         test reusable.  Use them.
17635         * stdio-common/tst-fphex-wide.c: New file.
17637 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
17639         [BZ #6911]
17640         * manual/macros.texi (gnusystems): New macro.
17641         (nongnusystems): Likewise.
17642         (gnulinuxhurdsystems): Likewise.
17643         (gnuhurdsystems): Likewise..
17644         (gnulinuxsystems): Likewise.
17645         * manual/charset.texi: Use new macros or @theglibc{} to refer to
17646         variants of the GNU system, not "GNU system".
17647         * manual/conf.texi: Likewise.
17648         * manual/errno.texi: Likewise.  Update example of errno macro
17649         expansion.
17650         * manual/filesys.texi: Likewise.
17651         (getumask): Document as specific to GNU/Hurd.
17652         * manual/install.texi: Likewise.  Reword some references to
17653         GNU/Linux.
17654         * manual/intro.texi: Likewise.
17655         * manual/io.texi: Likewise.
17656         (File Name Portability): Detail which constraints are inapplicable
17657         to all GNU systems and which are only inapplicable to GNU/Hurd.
17658         * manual/job.texi: Likewise.
17659         * manual/llio.texi: Likewise.
17660         (O_NOCTTY): Document as present on GNU/Linux.
17661         * manual/maint.texi: Likewise.
17662         * manual/memory.texi: Likewise.
17663         * manual/pattern.texi: Likewise.
17664         * manual/pipe.texi: Likewise.
17665         * manual/process.texi: Likewise.
17666         * manual/resource.texi: Likewise.
17667         (RUSAGE_CHILDREN): Remove statement about specifying a particular
17668         child on GNU/Hurd.
17669         * manual/setjmp.texi: Likewise.
17670         * manual/signal.texi: Likewise.
17671         * manual/startup.texi: Likewise.
17672         * manual/stdio.texi: Likewise.
17673         * manual/terminal.texi: Likewise.
17674         (ONLCR): Document as POSIX.
17675         (OXTABS): Document availability on GNU/Linux as XTABS.
17676         (ONOEOT): Document availability separately from other bits.
17677         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17678         * manual/time.texi: Likewise.
17679         * manual/users.texi: Likewise.
17680         * INSTALL: Regenerated.
17681         * sysdeps/gnu/errlist.c: Regenerated.
17683         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17684         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17685         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
17686         puts.
17687         * configure: Regenerated.
17689 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
17691         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17692         default includes instead of AC_HEADER_CHECK.
17693         * sysdeps/i386/configure: Regenerated.
17695         [BZ #10716]
17696         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17697         * math/s_cacoshf.c (__cacoshf): Likewise.
17698         * math/s_cacoshl.c (__cacoshl): Likewise.
17699         * math/s_casinh.c (__casinh): Set signs of result from argument.
17700         * math/s_casinhf.c (__casinhf): Likewise.
17701         * math/s_casinhl.c (__casinhl): Likewise.
17702         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17703         (casinh_test): Add more tests.
17704         * sysdeps/i386/fpu/libm-test-ulps: Update.
17705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17707 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
17709         * po/zh_TW.po: Update from translation team.
17711         * login/Makefile (distribute): Remove variable.
17712         * catgets/Makefile: Likewise.
17713         * mach/Makefile: Likewise.
17714         * malloc/Makefile: Likewise.
17715         * misc/Makefile: Likewise.
17716         * iconv/Makefile: Likewise.
17717         * nscd/Makefile: Likewise.
17718         * hurd/Makefile: Likewise.
17719         * manual/Makefile: Likewise.
17720         * locale/Makefile: Likewise.
17721         * intl/Makefile: Likewise.
17722         * conform/Makefile: Likewise.
17723         * nss/Makefile: Likewise.
17724         * time/Makefile: Likewise.
17725         * soft-fp/Makefile: Likewise.
17726         * dirent/Makefile: Likewise.
17727         * gmon/Makefile: Likewise.
17728         * po/Makefile: Likewise.
17729         * rt/Makefile: Likewise.
17730         * socket/Makefile: Likewise.
17731         * math/Makefile: Likewise.
17732         * signal/Makefile: Likewise.
17733         * debug/Makefile: Likewise.
17734         * elf/Makefile: Likewise.
17735         * timezone/Makefile: Likewise.
17736         * stdlib/Makefile: Likewise.
17737         * iconvdata/Makefile: Likewise.
17738         * sunrpc/Makefile: Likewise.
17739         * io/Makefile: Likewise.
17740         * argp/Makefile: Likewise.
17741         * inet/Makefile: Likewise.
17742         * hesiod/Makefile: Likewise.
17743         * grp/Makefile: Likewise.
17744         * csu/Makefile: Likewise.
17745         * wctype/Makefile: Likewise.
17746         * crypt/Makefile: Likewise.
17747         * libio/Makefile: Likewise.
17748         * string/Makefile: Likewise.
17749         * nis/Makefile: Likewise.
17750         * resolv/Makefile: Likewise.
17751         * stdio-common/Makefile: Likewise.
17752         * wcsmbs/Makefile: Likewise.
17753         * dlfcn/Makefile: Likewise.
17754         * posix/Makefile: Likewise.
17756         [BZ #6959]
17757         * timezone/Makefile: Don't install timezone files, just the programs
17758         and scripts.
17760 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
17762         * nss/databases.def: Add missing gshadow entry.
17764         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
17766 2012-03-06  Marek Polacek  <polacek@redhat.com>
17768         [BZ #13726]
17769         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17770         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17771         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17772         * stdio-common/tst-long-dbl-fphex.c: New file.
17774 2012-03-06  David S. Miller  <davem@davemloft.net>
17776         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17777         (set_obp_int): New function.
17778         (get_obp_int): New function.
17779         (__get_clockfreq_via_dev_openprom): Likewise.
17780         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17781         Avoid unused variable warnings on 'val' and use builtin_expect.
17782         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17783         __builtin_expect.
17784         (INLINE_CLONE_SYSCALL): Likewise.
17786 2012-03-05  David S. Miller  <davem@davemloft.net>
17788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17790 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
17792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17794         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17795         only for |x| >= 40.
17796         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17798 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17800         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17801         Replace gettimeofday with __vdso_gettimeofday.
17803         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17804         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17805         __vdso_clock_gettime and __vdso_getcpu.
17807         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17808         time with __vdso_time.
17810 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17812         * manual/lang.texi (size_t): Note types to which size_t may be
17813         equivalent with the GNU C Library, but do not describe when
17814         differences between them are significant.
17816 2012-03-05  Andreas Jaeger  <aj@suse.de>
17818         * sysdeps/i386/fpu/libm-test-ulps: Update.
17820 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17822         [BZ #3976]
17823         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17824         (__ieee754_pow): Save and restore rounding mode and use
17825         round-to-nearest for main computations.
17826         * math/libm-test.inc (pow_test_tonearest): New function.
17827         (pow_test_towardzero): Likewise.
17828         (pow_test_downward): Likewise.
17829         (pow_test_upward): Likewise.
17830         (main): Call the new functions.
17831         * sysdeps/i386/fpu/libm-test-ulps: Update.
17832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17834         [BZ #3976]
17835         * math/libm-test.inc (cosh_test_tonearest): New function.
17836         (cosh_test_towardzero): Likewise.
17837         (cosh_test_downward): Likewise.
17838         (cosh_test_upward): Likewise.
17839         (sinh_test_tonearest): Likewise.
17840         (sinh_test_towardzero): Likewise.
17841         (sinh_test_downward): Likewise.
17842         (sinh_test_upward): Likewise.
17843         (main): Call the new functions.
17844         * sysdeps/i386/fpu/libm-test-ulps: Update.
17845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17847 2012-03-05  Tom de Vries  <tom@codesourcery.com>
17849         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17850         default stack guard is set in last bytes.
17851         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17853 2012-03-05  Kees Cook  <keescook@chromium.org>
17855         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17857         [BZ #13656]
17858         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17859         possibly allocate from heap instead of stack.
17860         * stdio-common/bug-vfprintf-nargs.c: New file.
17861         * stdio-common/Makefile (tests): Add nargs overflow test.
17863 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
17865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17867 2012-03-03  Marek Polacek  <polacek@redhat.com>
17869         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17870         * math/math_private.h: Likewise.
17871         * stdlib/tst-strtod.c: Likewise.
17872         * sysdeps/i386/i486/bits/atomic.h: Likewise.
17873         * sysdeps/x86_64/bits/atomic.h: Likewise.
17875 2012-03-02  David S. Miller  <davem@davemloft.net>
17877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17881         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17882         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17883         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17884         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17886 2012-03-02  Roland McGrath  <roland@hack.frob.com>
17888         [BZ #13792]
17889         * manual/examples/README: New file, says the example source files
17890         can be used under GPL>=2.
17891         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17892         line containing just "*/".
17893         * manual/examples/add.c: Add copyright header (GPL>=2).
17894         * manual/examples/argp-ex1.c: Likewise.
17895         * manual/examples/argp-ex2.c: Likewise.
17896         * manual/examples/argp-ex3.c: Likewise.
17897         * manual/examples/argp-ex4.c: Likewise.
17898         * manual/examples/atexit.c: Likewise.
17899         * manual/examples/db.c: Likewise.
17900         * manual/examples/dir.c: Likewise.
17901         * manual/examples/dir2.c: Likewise.
17902         * manual/examples/execinfo.c: Likewise.
17903         * manual/examples/filecli.c: Likewise.
17904         * manual/examples/filesrv.c: Likewise.
17905         * manual/examples/fmtmsgexpl.c: Likewise.
17906         * manual/examples/genpass.c: Likewise.
17907         * manual/examples/inetcli.c: Likewise.
17908         * manual/examples/inetsrv.c: Likewise.
17909         * manual/examples/isockad.c: Likewise.
17910         * manual/examples/longopt.c: Likewise.
17911         * manual/examples/memopen.c: Likewise.
17912         * manual/examples/memstrm.c: Likewise.
17913         * manual/examples/mkfsock.c: Likewise.
17914         * manual/examples/mkisock.c: Likewise.
17915         * manual/examples/mygetpass.c: Likewise.
17916         * manual/examples/pipe.c: Likewise.
17917         * manual/examples/popen.c: Likewise.
17918         * manual/examples/rprintf.c: Likewise.
17919         * manual/examples/search.c: Likewise.
17920         * manual/examples/select.c: Likewise.
17921         * manual/examples/setjmp.c: Likewise.
17922         * manual/examples/sigh1.c: Likewise.
17923         * manual/examples/sigusr.c: Likewise.
17924         * manual/examples/stpcpy.c: Likewise.
17925         * manual/examples/strdupa.c: Likewise.
17926         * manual/examples/strftim.c: Likewise.
17927         * manual/examples/strncat.c: Likewise.
17928         * manual/examples/subopt.c: Likewise.
17929         * manual/examples/swapcontext.c: Likewise.
17930         * manual/examples/termios.c: Likewise.
17931         * manual/examples/testopt.c: Likewise.
17932         * manual/examples/testpass.c: Likewise.
17933         * manual/examples/timeval_subtract.c: Likewise.
17935         [BZ #13792]
17936         * manual/time.texi (Elapsed Time): Move timeval_subtract example
17937         function to ...
17938         * manual/timeval_subtract.c.texi: ... here, new file.
17940 2012-03-02  David S. Miller  <davem@davemloft.net>
17942         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17944 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
17946         [BZ #3976]
17947         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17948         (__sin): Save and restore rounding mode and use round-to-nearest
17949         for all computations.
17950         (__cos): Save and restore rounding mode and use round-to-nearest
17951         for all computations.
17952         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17953         <fenv.h>.
17954         (tan): Save and restore rounding mode and use round-to-nearest for
17955         all computations.
17956         * math/libm-test.inc (cos_test_tonearest): New function.
17957         (cos_test_towardzero): Likewise.
17958         (cos_test_downward): Likewise.
17959         (cos_test_upward): Likewise.
17960         (sin_test_tonearest): Likewise.
17961         (sin_test_towardzero): Likewise.
17962         (sin_test_downward): Likewise.
17963         (sin_test_upward): Likewise.
17964         (tan_test_tonearest): Likewise.
17965         (tan_test_towardzero): Likewise.
17966         (tan_test_downward): Likewise.
17967         (tan_test_upward): Likewise.
17968         (main): Call the new functions.
17969         * sysdeps/i386/fpu/libm-test-ulps: Update.
17970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17972         [BZ #10135]
17973         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17974         small n, then large n, before computing and testing k+n.
17975         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17976         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17977         Likewise.
17978         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17979         Likewise.
17980         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17981         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17982         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17983         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17984         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17985         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17986         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17987         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17988         * math/libm-test.inc (scalbn_test): Add more tests.
17989         (scalbln_test): Likewise.
17991         * manual/filesys.texi (mode_t): Describe constraints on size and
17992         signedness, not exact equivalence to a particular type.
17993         (ino_t): Likewise.
17994         (ino64_t): Likewise.
17995         (dev_t): Likewise.
17996         (nlink_t): Likewise.
17997         (blkcnt_t): Likewise.
17998         (blkcnt64_t): Likewise.
17999         * manual/llio.texi (off_t): Likewise.
18001         [BZ #3976]
18002         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18003         (__ieee754_exp): Save and restore rounding mode and use
18004         round-to-nearest for all computations.
18005         * math/libm-test.inc (exp_test_tonearest): New function.
18006         (exp_test_towardzero): Likewise.
18007         (exp_test_downward): Likewise.
18008         (exp_test_upward): Likewise.
18009         (main): Call the new functions.
18010         * sysdeps/i386/fpu/libm-test-ulps: Update.
18011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18013 2012-03-01  Chris Demetriou  <cgd@google.com>
18015         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18016         have predictable order.
18018 2012-03-01  David S. Miller  <davem@davemloft.net>
18020         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18022         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18023         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18024         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18025         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18027         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18028         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18029         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18031         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18032         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18033         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18034         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18035         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18039         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18040         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18041         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18043         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18044         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18045         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18046         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18047         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18048         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18049         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18050         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18051         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18052         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18053         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18054         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18056         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18057         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18058         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18059         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18060         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18061         * sysdeps/sparc/elf/configure: Regenerated.
18063 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18065         * configure.in (AS, LD): Require binutils 2.20 or later.
18066         * configure: Regenerated.
18067         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18068         as required minimum version.
18069         * INSTALL: Regenerated.
18071         [BZ #2541]
18072         [BZ #4108]
18073         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18074         before squaring exponent.
18075         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18076         bottom long double and 27 bits of top long double before squaring
18077         exponent.
18078         * math/libm-test.inc (erfc_test): Add more tests.
18079         * sysdeps/i386/fpu/libm-test-ulps: Update.
18080         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18083 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18085         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18086         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18087         containing bit-fields.
18088         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18089         * soft-fp/single.h (_FP_UNION_S): Likewise.
18090         * soft-fp/double.h (_FP_UNION_D): Likewise.
18092 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18094         [BZ #13786]
18095         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18096         not include ../strcmp.S.
18097         [USE_AS_STRNCASECMP_L]: Likewise.
18098         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18099         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18100         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18101         (__strncasecmp_l_ia32): Define as alias to
18102         __strncasecmp_l_nonascii.
18104         [BZ #5794]
18105         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18106         * sysdeps/i386/fpu/libm-test-ulps: Update.
18107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18109         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18112 2012-02-29  Jeff Law  <law@redhat.com>
18114         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18115         out of bounds read.
18117 2012-02-29  Marek Polacek  <polacek@redhat.com>
18119         [BZ #13706]
18120         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18121         * elf/Makefile: Add rules to run tst-unused-dep.out.
18123 2012-02-28  David S. Miller  <davem@davemloft.net>
18125         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18126         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18127         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18128         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18129         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18130         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18132 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18134         * math/libm-test.inc (llround_test): Move one test from
18135         lround_test.  Use TEST_f_L in moved test.
18136         (lround_test): Move misplaced test to llround_test.  Add testcase
18137         from bug 2561.
18139 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18141         * sysdeps/x86_64/fpu/e_expf.S: New file.
18142         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18144 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18146         [BZ #13637]
18147         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18148         of remain_len that may cause incomplete multi-byte character and
18149         false match.
18150         * posix/bug-regex33.c: New file.
18151         * posix/Makefile (tests): Add bug-regex33.
18153 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18155         * manual/macros.texi: New file.
18156         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18157         * manual/libc.texinfo: Include macros.texi.
18158         * manual/creatute.texi: Likewise.
18159         * manual/install.texi: Likewise.
18160         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18161         @glibcadj{} in references to the GNU C Library.
18162         * manual/charset.texi: Likewise.
18163         * manual/conf.texi: Likewise.
18164         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18165         when not using those macros.
18166         * manual/creature.texi: Likewise.
18167         * manual/crypt.texi: Likewise.
18168         * manual/errno.texi: Likewise.
18169         * manual/filesys.texi: Likewise.
18170         * manual/header.texi: Likewise.
18171         * manual/install.texi: Likewise.
18172         * manual/intro.texi: Likewise.
18173         * manual/io.texi: Likewise.
18174         * manual/job.texi: Likewise.
18175         * manual/lang.texi: Likewise.
18176         * manual/libc.texiinfo: Likewise.
18177         * manual/llio.texi: Likewise.
18178         * manual/locale.texi: Likewise.
18179         * manual/maint.texi: Likewise.
18180         * manual/math.texi: Likewise.
18181         * manual/memory.texi: Likewise.
18182         * manual/message.texi: Likewise.
18183         * manual/nss.texi: Likewise.
18184         * manual/pattern.texi: Likewise.
18185         * manual/process.texi: Likewise.
18186         * manual/resource.texi: Likewise.
18187         * manual/search.texi: Likewise.
18188         * manual/setjmp.texi: Likewise.
18189         * manual/signal.texi: Likewise.
18190         * manual/socket.texi: Likewise.
18191         * manual/startup.texi: Likewise.
18192         * manual/stdio.texi: Likewise.
18193         * manual/string.texi: Likewise.
18194         * manual/sysinfo.texi: Likewise.
18195         * manual/syslog.texi: Likewise.
18196         * manual/terminal.texi: Likewise.
18197         * manual/time.texi: Likewise.
18198         * manual/users.texi: Likewise.
18199         * INSTALL: Regenerated.
18200         * NOTES: Regenerated.
18201         * sysdeps/gnu/errlist.c: Regenerated.
18203 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18205         * include/dirent.h: Include <dirstream.h> before
18206         <dirent/dirent.h>.
18208 2012-02-28  David S. Miller  <davem@davemloft.net>
18210         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18211         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18212         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18213         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18215 2012-02-27  David S. Miller  <davem@davemloft.net>
18217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18219         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18220         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18223         frame pointer instead of stack pointer relative arg slot.
18224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18225         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18226         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18228 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18230         [BZ #3992]
18231         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18233 2012-02-27  David S. Miller  <davem@davemloft.net>
18235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18239         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18240         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18241         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18242         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18244 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18246         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18247         later.  Allow versions 5-9.
18248         * configure: Regenerated.
18249         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18250         required minimum version and 4.6 as recommended version.  Do not
18251         mention bugs in GCC 2.7 and 2.8.
18252         * INSTALL: Regenerated.
18254 2012-02-27  David S. Miller  <davem@davemloft.net>
18256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18260         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18261         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18262         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18263         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18265         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18266         manipulate bits before adding and subtracting TWO112[sx].
18267         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18269 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18271         [BZ #13775]
18272         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18273         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18274         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18275         being in POSIX, because they are in 1003.1-2008.
18277         * rt/tst-aio.c: Include <fcntl.h>.
18278         * rt/tst-aio7.c: Likewise.
18279         * rt/tst-aio64.c: Likewise.
18281         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18283 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18285         * manual/install.texi (--with-headers): Describe headers as
18286         interface headers, not private headers.
18287         (Specific advice for GNU/Linux systems): Describe use of headers
18288         from "make headers_install", not private headers from older
18289         kernels.
18290         * INSTALL: Regenerated.
18291         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18292         Change to 2.6.19.
18293         * sysdeps/unix/sysv/linux/configure: Regenerated.
18295         * manual/llio.texi (fclean): Remove documentation.
18297         * manual/Makefile (libc-texi-generated): New variable.  Include
18298         version.texi.
18299         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18300         $(libc-texi-generated), not duplicated list of files.
18301         (version.texi, stamp-version): New rules.
18302         (realclean): Remove $(libc-texi-generated), not individual files
18303         from that list.  Do not remove dir-add.texinfo.
18304         * manual/libc.texinfo: Comment out uses of edition numbers and
18305         references to printed manual.  Remove last-updated dates.
18306         (EDITION): Comment out.
18307         (ISBN): Likewise.
18308         (VERSION, UPDATED): Remove.
18309         (version.texi): Include.
18311 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18313         * sysdeps/posix/spawni.c: Include <signal.h>.
18314         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18315         * sysdeps/pthread/aio_fsync.c: Likewise.
18317 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18319         * conform/Makefile (tests): Run only when not cross-compiling and
18320         when fast-check is not defined.
18322         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18323         * conform/data/limits.h-data: Fixes for POSIX2008.
18324         * conform/run-conformtest.sh: Run all tests.
18325         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18326         headers.
18327         * include/bits/dlfcn.h: Likewise.
18328         * include/langinfo.h: Likewise.
18329         * include/monetary.h: Likewise.
18330         * include/sys/poll.h: Likewise.
18332         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18333         for __USE_GNU.
18334         * posix/spawn.h: Define __need_sigset_t.
18335         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18336         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18337         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
18338         to get sigevent_t only.
18339         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18340         only for __USE_GNU.
18341         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18342         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18343         process_vm_writev only for __USE_GNU.
18344         * termios/termios.h: Declare tcgetsid also for POSIX2008.
18346         * conform/Makefile: For now ignore errors from run-conformtest.
18347         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
18348         POSIX to avoid namespace pollution.  Don't prepend headers.
18349         * conform/data/aio.h-data: Fixes for POSIX testing.
18350         * conform/data/fcntl.h-data: Likewise.
18351         * conform/data/glob.h-data: Likewise.
18352         * conform/data/grp.h-data: Likewise.
18353         * conform/data/pthread.h-data: Likewise.
18354         * conform/data/pwd.h-data: Likewise.
18355         * conform/data/signal.h-data: Likewise.
18356         * conform/data/spawn.h-data: Likewise.
18357         * conform/data/stdio.h-data: Likewise.
18358         * conform/data/stdlib.h-data: Likewise.
18359         * conform/data/stropts.h-data: Likewise.
18360         * conform/data/sys/mman.h-data: Likewise.
18361         * conform/data/sys/stat.h-data: Likewise.
18362         * conform/data/sys/types.h-data: Likewise.
18363         * conform/data/sys/wait.h-data: Likewise.
18364         * conform/data/time.h-data: Likewise.
18365         * conform/data/unistd.h-data: Likewise.
18366         * conform/data/utime.h-data: Likewise.
18368         * io/sys/stat.h: fchmod was always in POSIX.
18369         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18370         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18371         * rt/aio.h: Define __need_timespec before including <time.h>.
18372         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18373         struct.  Add forward declaration of pthread_attr_t and use it in
18374         sigevent.
18375         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18376         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18377         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18378         always remove CLK_TCK definition.
18380 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
18382         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18384 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
18386         * conform/run-conformtest.sh: New file.
18387         * conform/Makefile: Run run-conformtest for tests.
18388         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
18389         support.
18391         * conform/data/uchar.h-data: New file.
18392         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18393         * conform/data/arpa/inet.h-data: Likewise.
18394         * conform/data/assert.h-data: Likewise.
18395         * conform/data/complex.h-data: Likewise.
18396         * conform/data/cpio.h-data: Likewise.
18397         * conform/data/ctype.h-data: Likewise.
18398         * conform/data/dirent.h-data: Likewise.
18399         * conform/data/dlfcn.h-data: Likewise.
18400         * conform/data/errno.h-data: Likewise.
18401         * conform/data/fcntl.h-data: Likewise.
18402         * conform/data/float.h-data: Likewise.
18403         * conform/data/fmtmsg.h-data: Likewise.
18404         * conform/data/fnmatch.h-data: Likewise.
18405         * conform/data/ftw.h-data: Likewise.
18406         * conform/data/glob.h-data: Likewise.
18407         * conform/data/grp.h-data: Likewise.
18408         * conform/data/iconv.h-data: Likewise.
18409         * conform/data/inttypes.h-data: Likewise.
18410         * conform/data/langinfo.h-data: Likewise.
18411         * conform/data/libgen.h-data: Likewise.
18412         * conform/data/limits.h-data: Likewise.
18413         * conform/data/locale.h-data: Likewise.
18414         * conform/data/math.h-data: Likewise.
18415         * conform/data/monetary.h-data: Likewise.
18416         * conform/data/mqueue.h-data: Likewise.
18417         * conform/data/ndbm.h-data: Likewise.
18418         * conform/data/net/if.h-data: Likewise.
18419         * conform/data/netdb.h-data: Likewise.
18420         * conform/data/netinet/in.h-data: Likewise.
18421         * conform/data/nl_types.h-data: Likewise.
18422         * conform/data/poll.h-data: Likewise.
18423         * conform/data/pthread.h-data: Likewise.
18424         * conform/data/pwd.h-data: Likewise.
18425         * conform/data/regex.h-data: Likewise.
18426         * conform/data/sched.h-data: Likewise.
18427         * conform/data/search.h-data: Likewise.
18428         * conform/data/semaphore.h-data: Likewise.
18429         * conform/data/setjmp.h-data: Likewise.
18430         * conform/data/signal.h-data: Likewise.
18431         * conform/data/spawn.h-data: Likewise.
18432         * conform/data/stdarg.h-data: Likewise.
18433         * conform/data/stdio.h-data: Likewise.
18434         * conform/data/stdlib.h-data: Likewise.
18435         * conform/data/string.h-data: Likewise.
18436         * conform/data/strings.h-data: Likewise.
18437         * conform/data/stropts.h-data: Likewise.
18438         * conform/data/sys/ipc.h-data: Likewise.
18439         * conform/data/sys/mman.h-data: Likewise.
18440         * conform/data/sys/msg.h-data: Likewise.
18441         * conform/data/sys/resource.h-data: Likewise.
18442         * conform/data/sys/select.h-data: Likewise.
18443         * conform/data/sys/sem.h-data: Likewise.
18444         * conform/data/sys/shm.h-data: Likewise.
18445         * conform/data/sys/socket.h-data: Likewise.
18446         * conform/data/sys/stat.h-data: Likewise.
18447         * conform/data/sys/statvfs.h-data: Likewise.
18448         * conform/data/sys/time.h-data: Likewise.
18449         * conform/data/sys/timeb.h-data: Likewise.
18450         * conform/data/sys/times.h-data: Likewise.
18451         * conform/data/sys/types.h-data: Likewise.
18452         * conform/data/sys/uio.h-data: Likewise.
18453         * conform/data/sys/un.h-data: Likewise.
18454         * conform/data/sys/utsname.h-data: Likewise.
18455         * conform/data/sys/wait.h-data: Likewise.
18456         * conform/data/syslog.h-data: Likewise.
18457         * conform/data/tar.h-data: Likewise.
18458         * conform/data/termios.h-data: Likewise.
18459         * conform/data/utime.h-data: Likewise.
18460         * conform/data/utmpx.h-data: Likewise.
18461         * conform/data/varargs.h-data: Likewise.
18462         * conform/data/wchar.h-data: Likewise.
18463         * conform/data/wctype.h-data: Likewise.
18464         * conform/data/wordexp.h-data: Likewise.
18466         * include/stropts.h: New file.
18467         * include/uchar.h: New file.
18468         * include/aio.h: Changes to allow conformtest.pl to use the headers.
18469         * include/assert.h: Likewise.
18470         * include/ctype.h: Likewise.
18471         * include/dirent.h: Likewise.
18472         * include/dlfcn.h: Likewise.
18473         * include/fcntl.h: Likewise.
18474         * include/fnmatch.h: Likewise.
18475         * include/glob.h: Likewise.
18476         * include/grp.h: Likewise.
18477         * include/libio.h: Likewise.
18478         * include/locale.h: Likewise.
18479         * include/math.h: Likewise.
18480         * include/net/if.h: Likewise.
18481         * include/netdb.h: Likewise.
18482         * include/netinet/in.h: Likewise.
18483         * include/pthread.h: Likewise.
18484         * include/pwd.h: Likewise.
18485         * include/regex.h: Likewise.
18486         * include/sched.h: Likewise.
18487         * include/search.h: Likewise.
18488         * include/setjmp.h: Likewise.
18489         * include/signal.h: Likewise.
18490         * include/stdio.h: Likewise.
18491         * include/stdlib.h: Likewise.
18492         * include/string.h: Likewise.
18493         * include/sys/cdefs.h: Likewise.
18494         * include/sys/mman.h: Likewise.
18495         * include/sys/msg.h: Likewise.
18496         * include/sys/resource.h: Likewise.
18497         * include/sys/select.h: Likewise.
18498         * include/sys/socket.h: Likewise.
18499         * include/sys/stat.h: Likewise.
18500         * include/sys/statvfs.h: Likewise.
18501         * include/sys/time.h: Likewise.
18502         * include/sys/times.h: Likewise.
18503         * include/sys/uio.h: Likewise.
18504         * include/sys/utsname.h: Likewise.
18505         * include/sys/wait.h: Likewise.
18506         * include/termios.h: Likewise.
18507         * include/time.h: Likewise.
18508         * include/ulimit.h: Likewise.
18509         * include/unistd.h: Likewise.
18510         * include/utime.h: Likewise.
18511         * include/wchar.h: Likewise.
18512         * include/wctype.h: Likewise.
18513         * include/wordexp.h: Likewise.
18515         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18517         * time/time.h: TIME_UTC must be a macro.
18518         Make timespec_get available for ISO C11 only as well.
18520 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
18522         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18523         Reported by Peng Haitao <penght@cn.fujitsu.com>.
18525 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18527         * configure.in: Use -o not -a in test for unsupported multi-arch.
18529 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18531         * manual/texinfo.tex: Update to version 2012-01-19.16.
18533 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18535         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18537 2012-02-24  Roland McGrath  <roland@hack.frob.com>
18539         [BZ #13738]
18540         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18541         * manual/fdl-1.3.texi: New file.
18542         * manual/fdl-1.1.texi: File removed.
18544         [BZ #13738]
18545         * manual/libc.texinfo (FDL_VERSION): New @set.
18546         Use it for mention of FDL in cover text.
18547         (Documentation License): Use it in @include file name.
18549 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18550             Roland McGrath  <roland@hack.frob.com>
18552         [BZ #5461]
18553         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18554         not LONG_LONG_MAX and LONG_LONG_MIN.
18555         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18556         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
18557         name.
18558         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18560 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18562         [BZ #2547]
18563         [BZ #11365]
18564         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18565         manipulate bits before adding and subtracting TWO23[sx].
18566         * math/libm-test.inc (nearbyint_test): Add more tests.
18568 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18570         [BZ #2548]
18571         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18572         bits before adding and subtracting TWO23[sx].
18573         * math/libm-test.inc (rint_test): Add more tests.
18574         (rint_test_tonearest): Likewise.
18575         (rint_test_towardzero): Likewise.
18576         (rint_test_downward): Likewise.
18577         (rint_test_upward: Likewise.
18579 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18581         [BZ #10110]
18582         * include/stdc-predef.h: New file.  Extracted from features.h.
18583         * include/features.h: Include stdc-predef.h.
18584         * Makefile (headers): Add stdc-predef.h.
18585         * CONFORMANCE (Compiler limitations): Update.
18587 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18589         * manual/libc.texinfo (VERSION, UPDATED): Revert.
18591 2012-02-21  David S. Miller  <davem@davemloft.net>
18593         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18594         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18596 2012-02-20  David S. Miller  <davem@davemloft.net>
18598         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18599         using a normal save/restore sequence, rather than allocating a
18600         dummy stack frame just to store a frame pointer and restore.
18601         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18603 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18605         * manual/install.texi: Fix stray word in line-wrapped comment.
18607 2012-02-20  David S. Miller  <davem@davemloft.net>
18609         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18610         both binutils and gcc support GOTDATA.
18612         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18613         "rd %pc" in the PIC register setup sequences.
18615         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18616         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18617         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18618         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18619         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18620         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18621         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18622         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18624         (SYSCALL_ERROR_HANDLER): Likewise.
18625         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18626         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18628         (SYSCALL_ERROR_HANDLER): Likewise.
18630         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18631         (HAVE_GCC_GOTDATA): New.
18632         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18633         relocation support in both binutils and gcc.
18634         * sysdeps/sparc/elf/configure: Regenerate.
18636         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18637         * sysdeps/sparc/sparc32/elf/configure: Delete.
18638         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18639         * sysdeps/sparc/sparc64/elf/configure: Delete.
18640         * sysdeps/sparc/elf/configure.in: New file.
18641         * sysdeps/sparc/elf/configure: Generate.
18643         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18644         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18645         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18646         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18647         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18649 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18651         * manual/install.texi: Do not mention specific glibc version
18652         numbers.
18653         * manual/libc.texinfo (VERSION, UPDATED): Update.
18654         (@copying): Use @copyright{} and range of years.
18656 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18658         [BZ #13695]
18659         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18660         [crti.S not in sysdirs] (generated): Do not append.
18661         [crti.S not in sysdirs] (omit-deps): Likewise.
18662         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18663         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18664         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18665         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18666         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18667         Likewise.
18668         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18669         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18670         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18671         * csu/defs.awk: Remove file.
18672         * sysdeps/generic/initfini.c: Likewise.
18673         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18674         variable.
18675         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18676         Likewise.
18678 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18680         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18681         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18682         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18683         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18684         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18685         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18686         <bits/epoll.h>.
18687         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18688         (__EPOLL_PACKED): Define to empty if not defined by
18689         <bits/epoll.h>.
18690         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18692         bits/epoll.h.
18694 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18696         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18697         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18698         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18699         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18700         <bits/timerfd.h>.
18701         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18703         bits/timerfd.h.
18705 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18707         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18708         in C locale.
18709         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18710         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18711         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18714 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
18716         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18717         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18719 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
18721         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18722         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18723         defined.
18724         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18725         Likewise.
18726         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18727         entry for 2.16.
18729 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
18731         * math/w_acos.c: Use non-signaling floating-point comparisons.
18732         * math/w_acosf.c: Likewise.
18733         * math/w_acosh.c: Likewise.
18734         * math/w_acoshf.c: Likewise.
18735         * math/w_acoshl.c: Likewise.
18736         * math/w_acosl.c: Likewise.
18737         * math/w_asin.c: Likewise.
18738         * math/w_asinf.c: Likewise.
18739         * math/w_asinl.c: Likewise.
18740         * math/w_atanh.c: Likewise.
18741         * math/w_atanhf.c: Likewise.
18742         * math/w_atanhl.c: Likewise.
18743         * math/w_exp2.c: Likewise.
18744         * math/w_exp2f.c: Likewise.
18745         * math/w_exp2l.c: Likewise.
18746         * math/w_j0.c: Likewise.
18747         * math/w_j0f.c: Likewise.
18748         * math/w_j0l.c: Likewise.
18749         * math/w_j1.c: Likewise.
18750         * math/w_j1f.c: Likewise.
18751         * math/w_j1l.c: Likewise.
18752         * math/w_jn.c: Likewise.
18753         * math/w_jnf.c: Likewise.
18754         * math/w_log.c: Likewise.
18755         * math/w_log10.c: Likewise.
18756         * math/w_log10f.c: Likewise.
18757         * math/w_log10l.c: Likewise.
18758         * math/w_log2.c: Likewise.
18759         * math/w_log2f.c: Likewise.
18760         * math/w_log2l.c: Likewise.
18761         * math/w_logf.c: Likewise.
18762         * math/w_logl.c: Likewise.
18763         * math/w_sqrt.c: Likewise.
18764         * math/w_sqrtf.c: Likewise.
18765         * math/w_sqrtl.c: Likewise.
18766         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18767         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18768         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18769         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18770         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18772 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18774         [BZ #9739]
18775         * manual/string.texi (strnlen): Use correct parameter name in
18776         equivalent expression.
18778 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18780         [BZ #11174]
18781         * manual/users.texi (seteuid): Consistently use neweuid for
18782         argument name.
18784 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18786         [BZ #13704]
18787         * manual/nss.texi (Services in the NSS configuration): Correct
18788         list of services in example configuration file.
18790 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
18792         [BZ #11322]
18793         * manual/arith.texi: Remove statements about negative zero
18794         behaving identically to zero.
18796 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18798         [BZ #5993]
18799         * manual/install.texi: Do not document upgrading from libc5.
18801 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18803         [BZ #4596]
18804         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18806 2012-02-18  David S. Miller  <davem@davemloft.net>
18808         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18809         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18810         %o7 across the call.
18811         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18812         instead.
18813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18814         SETUP_PIC_REG_LEAF.
18815         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18816         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18817         * sysdeps/sparc/crtn.S: Likewise.
18819 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
18821         * aout/Makefile: Remove.
18823 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
18825         [BZ #13058]
18826         * manual/examples/argp-ex1.c (main): Format definition in GNU
18827         style.
18828         * manual/examples/argp-ex2.c (main): Likewise.
18829         * manual/examples/argp-ex3.c (main): Likewise.
18830         * manual/examples/argp-ex4.c (main): Likewise.
18831         * manual/examples/longopt.c (main): Use new-style prototype
18832         definition.
18833         * manual/examples/strncat.c (main): Specify return type and use
18834         (void) for arguments.
18835         * manual/examples/subopt.c (main): Use char **argv argument.
18837 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18839         [BZ #5077]
18840         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18841         rounding modes.
18843 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
18845         [BZ #6907]
18846         * manual/string.texi (strchr): Change when strchrnul is
18847         recommended.
18849 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
18851         [BZ #174]
18852         * manual/locale.texi (setlocale): Document LOCPATH.
18854 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18856         [BZ #10210]
18857         * manual/process.texi (execle): Move @dots{} before last argument.
18859 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
18861         [BZ #12047]
18862         * manual/charset.texi (Generic Charset Conversion): Fix typo
18863         (LC_TYPE -> LC_CTYPE).
18865 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
18867         [BZ #5805]
18868         * manual/arith.texi (scalbn): Use @var{} on parameter names.
18869         (scalbnf): Likewise.
18870         (scalbnl): Likewise.
18871         (scalbln): Likewise.
18872         (scalblnf): Likewise.
18873         (scalblnl): Likewise.
18874         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18875         (vwarnx): Likewise.
18876         (verr): Likewise.
18877         (verrx): Likewise.
18878         * manual/filesys.texi (telldir): Use braces around return type.
18879         * manual/llio.texi (mmap): Add space after comma.
18880         (mmap64): Likewise.
18881         * manual/math.texi (jn): Use @var{} on parameter names.
18882         (jnf): Likewise.
18883         (jnl): Likewise.
18884         (yn): Likewise.
18885         (ynf): Likewise.
18886         (ynl): Likewise.
18887         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18888         line.
18889         * manual/resource.texi (ulimit): Use @dots{} instead of literal
18890         "...".
18891         (sched_get_priority_min): Remove semicolon on @deftypefun line.
18892         (sched_get_priority_max): Likewise.
18893         * manual/signal.texi (sigvec): Add space after comma.
18894         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18895         names.
18896         (if_indextoname): Likewise.
18897         (if_freenameindex): Likewise.
18898         (sendto): Use ',' instead of '.' in prototype.
18899         * manual/startup.texi (syscall): Use @dots{} instead of literal
18900         "...".
18901         * manual/stdio.texi (__fpending): Separate initial words of
18902         paragraph from @deftypefun line.
18903         * manual/syslog.texi (syslog): Use @dots{} instead of literal
18904         "...".
18905         (vsyslog): Use @var{} on parameter names.
18906         * manual/terminal.texi (stty): Use @var{} on parameter names.
18907         * manual/users.texi (getutmp): Use @var{} on parameter names.
18908         (getutmpx): Likewise.
18910 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18912         [BZ #6884]
18913         * manual/stdio.texi (fopen): Fix typos in description of
18914         ",ccs=STRING".
18916 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
18918         [BZ #4026]
18919         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18920         get clock_id definition.
18922 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
18924         [BZ #4822]
18925         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18926         (madvise): Cast every argument to void on its own.
18928 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18930         [BZ #9902]
18931         * manual/startup.texi (Exit Status): Fix typo.
18933 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18935         [BZ #10140]
18936         * manual/examples/argp-ex1.c: Include <stdlib.h>.
18937         * manual/examples/argp-ex2.c: Likewise.
18938         * manual/examples/argp-ex3.c: Likewise.
18940 2012-02-16  Richard Henderson  <rth@redhat.com>
18942         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18943         * sysdeps/s390/s390-32/initfini.c: Remove.
18944         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18945         * sysdeps/s390/s390-64/initfini.c: Remove.
18947 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18949         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18950         compiler output for sysdeps/generic/initfini.c.
18951         * sysdeps/sh/elf/initfini.c: Remove file.
18953 2012-02-16  David S. Miller  <davem@davemloft.net>
18955         [BZ #11494]
18956         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18958         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18959         * sysdeps/sparc/crti.S: New file.
18960         * sysdeps/sparc/crtn.S: New file.
18961         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18962         * sysdeps/sparc/sparc64/Makefile: Likewise.
18964 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
18966         [BZ #3335]
18967         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18969 2012-02-15  Roland McGrath  <roland@hack.frob.com>
18971         [BZ #4822]
18972         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18974         * mach/devstream.c (cookie_io_functions_t): Macro removed.
18975         (write, read, close): Likewise.
18976         Patch by Aurelien Jarno <aurelien@aurel32.net>.
18978 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
18980         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18981         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18982         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18983         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18984         <bits/signalfd.h>.
18985         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18986         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18987         bits/signalfd.h.
18989 2012-02-14  Marek Polacek  <polacek@redhat.com>
18991         * sysdeps/x86_64/crti.S: New file.
18992         * sysdeps/x86_64/crtn.S: New file.
18993         * sysdeps/x86_64/elf/initfini.c: Remove file.
18995 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18997         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18998         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18999         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19000         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19001         <bits/inotify.h>.
19002         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19004         bits/inotify.h.
19006 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19008         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19009         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19010         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19011         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19012         <bits/eventfd.h>.
19013         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19015         bits/eventfd.h.
19017 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19019         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19020         __feraiseexcept instead of feraiseexcept.
19022         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19023         nanosleep invocations.
19024         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19025         strings, and add error checking for a nanosleep invocations.
19027 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19029         Replace FSF snail mail address with URLs, as per GNU coding standards.
19030         Most of the snail mail addresses were wrong anyway, and omitting
19031         them makes the source code easier to maintain.  Almost all of the
19032         changes are to license notices and to locale LC_IDENTIFICATION
19033         addresses, except for this one:
19034         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19035         not its snail mail address.
19037 2012-02-09  Richard Henderson  <rth@twiddle.net>
19039         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19040         of kernel-features.h.
19042         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19044 2012-02-08  Marek Polacek  <polacek@redhat.com>
19046         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19047         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19048         * sysdeps/gnu/_G_config.h: Likewise.
19049         * sysdeps/generic/_G_config.h: Likewise.
19051 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19053         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19054         tests.
19055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19057         * sysdeps/powerpc/powerpc32/crti.S: New file.
19058         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19059         * sysdeps/powerpc/powerpc64/crti.S: New file.
19060         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19062         * Makeconfig (have-initfini): Don't set.
19063         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19064         * configure.in (nopic_initfini): Don't substitute.
19065         * config.h.in (HAVE_INITFINI): Don't #undef.
19066         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19067         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19069 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19071         Support crti.S and crtn.S provided directly by architectures.
19072         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19073         [crti.S in sysdirs] (omit-deps): Likewise.
19074         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19075         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19076         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19077         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19078         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19079         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19080         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19081         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19082         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19083         compiler output for sysdeps/generic/initfini.c.
19084         * sysdeps/i386/elf/Makefile: Remove file.
19085         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19087 2012-02-07  Marek Polacek  <polacek@redhat.com>
19089         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19090         * sysdeps/gnu/_G_config.h: Likewise.
19091         * sysdeps/mach/hurd/_G_config.h: Likewise.
19093 2012-02-07  Marek Polacek  <polacek@redhat.com>
19095         * math/Makefile (tests): Add tst-CMPLX2.
19096         * math/tst-CMPLX2.c: New file.
19098 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19100         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19102         * math/libm-test.inc (jn_test): Add missing L suffix.
19104 2012-02-06  Marek Polacek  <polacek@redhat.com>
19106         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19107         * sysdeps/i386/fpu/e_powf.S: Likewise.
19108         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19109         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19110         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19111         * sysdeps/i386/fpu/e_pow.S: Likewise.
19112         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19113         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19114         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19115         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19116         * sysdeps/i386/fpu/e_log2.S: Likewise.
19117         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19118         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19119         * sysdeps/i386/fpu/e_powl.S: Likewise.
19120         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19121         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19122         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19123         * sysdeps/i386/fpu/e_logl.S: Likewise.
19124         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19125         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19126         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19127         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19128         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19129         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19130         * sysdeps/i386/fpu/e_log.S: Likewise.
19131         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19132         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19133         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19134         * sysdeps/i386/fpu/e_logf.S: Likewise.
19135         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19136         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19137         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19138         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19139         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19140         * sysdeps/i386/fpu/e_log10.S: Likewise.
19141         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19142         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19143         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19144         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19145         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19146         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19147         * sysdeps/i386/asm-syntax.h: Likewise.
19148         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19149         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19150         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19151         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19152         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19153         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19154         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19155         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19156         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19157         * sysdeps/powerpc/sysdep.h: Likewise.
19158         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19159         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19161 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19163         [BZ #411]
19164         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19166 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19168         * sysdeps/i386/sysdep.h: Include <features.h>.
19169         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19170         version.
19172 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19174         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19175         Define.
19176         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19177         LOAD_PIC_REG_STR.
19179 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19181         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19182         (SETUP_PIC_REG): Use GET_PC_THUNK.
19183         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19184         macro.
19186 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19188         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19189         for non-PIC compilation.
19190         (SETUP_PIC_REG): Add .p2align directive.
19191         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19192         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19193         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19194         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19195         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19196         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19197         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19198         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19199         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19200         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19201         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19202         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19203         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19204         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19205         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19206         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19207         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19208         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19209         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19210         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19211         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19212         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19213         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19214         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19215         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19216         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19217         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19218         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19219         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19220         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19221         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19222         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19223         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19224         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19225         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19226         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19227         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19228         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19229         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19230         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19231         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19233 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19235         * math/tst-CMPLX.c: Include <stdio.h>.
19237 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19239         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19240         float.
19241         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19242         * sysdeps/sparc/bits/mathdef.h: Likewise.
19244 2012-01-31  Marek Polacek  <polacek@redhat.com>
19246         * libio/libio.h: Don't define _PARAMS.
19247         * locale/programs/config.h: Don't define PARAMS.
19248         * stdlib/strtol_l.c: Likewise.
19249         (__strtol_l): Remove PARAMS from the prototype.
19251 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19253         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19254         names.  Just use the correct names.  Remove unnecessary wrapper
19255         functions.
19256         * malloc/arena.c: Likewise.
19257         * malloc/hooks.c: Likewise.
19259         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19260         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19261         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19263 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19265         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19266         into tail calls.
19267         (update_get_addr): New function.
19268         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19269         GET_ADDR_MODULE parameter.
19271 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19273         * crypt/cert.c: Remove __STDC__ conditionals.
19274         * crypt/crypt-entry.c: Likewise.
19275         * crypt/crypt_util.c: Likewise.
19276         * libio/filedoalloc.c: Likewise.
19277         * libio/fileops.c: Likewise.
19278         * libio/genops.c: Likewise.
19279         * libio/iofclose.c: Likewise.
19280         * libio/iofdopen.c: Likewise.
19281         * libio/iofopen.c: Likewise.
19282         * libio/iofopen64.c: Likewise.
19283         * libio/iogetdelim.c: Likewise.
19284         * libio/iopopen.c: Likewise.
19285         * libio/obprintf.c: Likewise.
19286         * libio/oldfileops.c: Likewise.
19287         * libio/oldiofclose.c: Likewise.
19288         * libio/oldiofdopen.c: Likewise.
19289         * libio/oldiofopen.c: Likewise.
19290         * libio/oldiopopen.c: Likewise.
19291         * libio/wfiledoalloc.c: Likewise.
19292         * libio/wgenops.c: Likewise.
19293         * locale/programs/xmalloc.c: Likewise.
19294         * misc/syslog.c: Likewise.
19295         * stdio-common/xbug.c: Likewise.
19296         * string/memchr.c: Likewise.
19297         * string/memcmp.c: Likewise.
19298         * string/memrchr.c: Likewise.
19299         * string/rawmemchr.c: Likewise.
19300         * sysdeps/posix/getcwd.c: Likewise.
19301         * time/strftime_l.c: Likewise.
19303 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19305         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19306         * config.make.in (config-cflags-sse2avx): Define.
19307         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19308         Fix typo.
19310 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19312         * scripts/config.guess: Update from upstream config git repository.
19313         * scripts/config.sub: Likewise.
19315 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19317         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19318         (EM_NUM): Update.
19319         (R_TILEPRO_*, R_TILEGX_*): New macros.
19321         * scripts/firstversions.awk: Fix bug in version range handling.
19323         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19325         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19327         * include/sys/epoll.h: New file.
19328         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19329         libc_hidden_def.
19331 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19333         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19334         Avoid unnecessary __WORDSIZE == 64 test.
19335         (fmaxf): Use VEX format if possible.
19336         (fmax): Likewise.
19337         (fminf): Likewise.
19338         (fmin): Likewise.
19340         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19341         * math/math_private.h: Remove libc_fegetround* and
19342         libc_fesetround*.
19343         * sysdeps/i386/configure.in: Check for -msse2avx.
19344         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19345         also if SSE2AVX is defined.
19346         Remove libc_fegetround* and libc_fesetround*.
19347         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19348         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
19349         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19350         of HAS_YMM_USABLE.
19351         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19352         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19353         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19354         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19355         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19357         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19359 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19361         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19362         size is not set.
19363         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19365 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
19367         [BZ #13618]
19368         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19369         relocation.
19370         * Makeconfig (libm): Define.
19371         * elf/Makefile: Add rules to build and run tst-relsort1.
19372         * elf/tst-relsort1.c: New file.
19373         * elf/tst-relsort1mod1.c: New file.
19374         * elf/tst-relsort1mod2.c: New file.
19376 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
19378         * math/s_ldexp.c: Remove __STDC__ conditionals.
19379         * math/s_ldexpf.c: Likewise.
19380         * math/s_ldexpl.c: Likewise.
19381         * math/s_nextafter.c: Likewise.
19382         * math/s_nexttowardf.c: Likewise.
19383         * math/s_significand.c: Likewise.
19384         * math/s_significandf.c: Likewise.
19385         * math/s_significandl.c: Likewise.
19386         * math/w_jnl.c: Likewise.
19387         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19388         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19389         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19390         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19391         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19392         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19393         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19394         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19395         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19396         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19397         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19398         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19399         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19400         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19401         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19402         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19403         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19404         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19405         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19406         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19407         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19408         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19409         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19410         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19411         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19412         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19413         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19414         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19415         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19416         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19417         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19418         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19419         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19420         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19421         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19422         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19423         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19424         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19425         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19426         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19427         * sysdeps/ieee754/k_standard.c: Likewise.
19428         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19429         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19430         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19431         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19432         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19433         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19434         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19435         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19436         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19437         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19438         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19439         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19440         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19441         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19442         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19443         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19444         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19445         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19446         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19447         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19448         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19449         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19450         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19451         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19452         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19453         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19454         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19455         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19456         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19457         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19458         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19459         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19460         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19461         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19462         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19463         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19464         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19465         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19466         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19467         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19468         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19469         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19470         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19471         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19472         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19473         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19474         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19475         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19476         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19477         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19478         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19479         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19480         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19481         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19482         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19483         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19484         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19485         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19486         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19487         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19488         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19489         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19490         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19491         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19492         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19493         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19494         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19495         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19496         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19497         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19498         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19499         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19500         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19501         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19502         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19503         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19504         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19505         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19506         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19507         * sysdeps/ieee754/s_matherr.c: Likewise.
19508         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19509         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19510         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19511         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19513 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19515         * crypt/md5.h: Remove __STDC__ conditionals.
19516         * libio/libioP.h: Likewise.
19517         * locale/programs/config.h: Likewise.
19518         * sysdeps/generic/sysdep.h: Likewise.
19519         * sysdeps/i386/asm-syntax.h: Likewise.
19520         * sysdeps/s390/asm-syntax.h: Likewise.
19521         * sysdeps/unix/sysdep.h: Likewise.
19522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19525 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19527         * libio/libio.h: Remove __STDC__ conditionals.
19528         * malloc/obstack.h: Likewise.
19529         * math/complex.h: Likewise.
19530         * math/math.h: Likewise.
19531         * sysdeps/generic/_G_config.h: Likewise.
19532         * sysdeps/gnu/_G_config.h: Likewise.
19533         * sysdeps/mach/hurd/_G_config.h: Likewise.
19534         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19535         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19536         * sysdeps/sparc/bits/mathdef.h: Likewise.
19538 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
19540         [BZ #13583]
19541         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19542         Clean up HAS_* macros.
19543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19544         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19545         possible.
19546         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19547         HAS_AVX.
19548         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19549         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19550         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19551         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19552         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19554 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
19556         * elf/tst-unique3.cc (gets): Remove declaration.
19557         * elf/tst-unique3lib.cc (gets): Likewise.
19558         * elf/tst-unique3lib2.cc (gets): Likewise.
19559         * elf/tst-unique4.cc (gets): Likewise.
19561 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
19563         * include/stdio.h: Add C++ protection.  Add gets declarations and
19564         definitions.
19565         * debug/tst-chk1.c: Don't declare gets here.
19566         * stdio-common/tst-gets.c: Likewise.
19568 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19570         * posix/glob: Remove directory.
19572 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19574         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19576 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
19578         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19579         of the non-standard EPFNOSUPPORT.
19581 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19583         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19584         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19585         ANYWHERE set to 1 only on KERN_NO_SPACE error.
19587 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
19589         * wcsmbs/uchar.h: Test __STDC_VERSION__.
19591 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
19593         * nscd/aicache.c (addhstaiX): Do not cache negative results of
19594         transient errors.
19595         * nscd/grpcache.c (cache_addgr): Likewise.
19596         * nscd/hstcache.c (cache_addhst): Likewise.
19597         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19598         * nscd/pwdcache.c (cache_addpw): Likewise.
19599         * nscd/servicescache.c (cache_addserv): Likewise.
19601 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
19603         * malloc/malloc.c: Various cleanups.
19604         * malloc/hooks.c: Likewise.
19606         * stdlib/Makefile (tests): Add bug-fmtmsg1.
19607         * stdlib/bug-fmtmsg1.c: New file.
19609         * stdlib/fmtmsg.c (init): Add missing unlock.
19610         Patch by Peng Haitao <penght@cn.fujitsu.com>.
19612 2012-01-12  Marek Polacek  <polacek@redhat.com>
19614         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19615         and _GNU_SOURCE.
19617 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19619         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19620         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19621         macro to ensure uniqueness of label name.
19622         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19623         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19625 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
19627         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19629         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19630         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19631         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19632         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19634 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
19636         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19638         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19639         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19640         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19642         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19644         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19645         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19646         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19649         * math/bits/math-finite.h: Add ldexp support.
19651 2012-01-10  Marek Polacek  <polacek@redhat.com>
19653         * locale/programs/localedef.h (show_archive_content): Add noreturn
19654         attribute.
19656 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
19658         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19660 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19662         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19664         * io/Makefile (headers): Add bits/poll2.h.
19666 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19669         typo #include statement.
19671 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19673         * include/sys/cdefs.h: Define __attribute_alloc_size.
19674         * catgets/gencat.c: Add alloc_size attribute and apply consistently
19675         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19676         * elf/pldd.c: Likewise.
19677         * iconv/iconv_charmap.c: Likewise.
19678         * iconv/iconvconfig.c: Likewise.
19679         * iconv/strtab.c: Likewise.
19680         * locale/programs/locale.c: Likewise.
19681         * locale/programs/localedef.h: Likewise.
19682         * locale/programs/simple-hash.c: Likewise.
19683         * nscd/nscd.h: Likewise.
19684         * nss/makedb.c: Likewise.
19685         * sysdeps/generic/ldconfig.h: Likewise.
19686         * locale/programs/localedef.c: Remove xmalloc prototype.
19687         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19689 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19691         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19692         appropriate.
19694 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19696         * math/Makefile (tests): Add tst-CMPLX.
19697         * math/tst-CMPLX.c: New file.
19699         * math/complex.h (CMPLXL): Fix typo.
19701         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19702         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19703         GLIBC_2.16.
19704         * debug/tst-chk1.c: Add poll and ppoll tests.
19705         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19706         * include/sys/poll.h: Add hidden proto for ppoll.
19707         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19708         * sysdeps/mach/hurd/ppoll.c: Likewise.
19709         * io/ppoll.c: Likewise.
19710         * debug/poll_chk.c: New file.
19711         * debug/ppoll_chk.c: New file.
19712         * include/bits/poll2.h: New file.
19713         * io/bits/poll2.h: New file.
19715         [BZ #1350]
19716         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19718         * configure.in: static is always set to yes.  Remove.
19719         * config.make.in: Don't set build-static.
19720         * Makeconfig: Remove use of build-static.
19721         * dlfcn/Makefile: Likewise.
19722         * elf/Makefile: Likewise.
19723         * math/Makefile: Likewise.
19724         * misc/Makefile: Likewise.
19725         * nptl/Makefile: Likewise.
19726         * sysdeps/mach/hurd/Makefile: Likewise.
19728         * configure.in: PWD_P is not used anymore.
19729         * config.make.in: Remove PWD_P entry.
19731         * configure.in: Remove last remnants of RANLIB.
19732         No need to check for signed size_t anymore.
19733         Don't set libc_commonpagesize and libc_relro_required here for Alpha
19734         and IA-64.
19735         Remove __builtin_expect test because we require at least gcc 3.4.
19736         * aclocal.m4: Likewise.
19738         * wcsmbs/mbrtoc16.c: Implement using towc function.
19739         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19740         * wcsmbs/wcsmbsload.c: Likewise.
19741         * iconv/gconv_simple.c: Likewise.
19742         * iconv/gconv_int.h: Likewise.
19743         * iconv/gconv_builtin.h: Likewise.
19744         * iconv/iconv_prog.c: Remove CHAR16 handling.
19746         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19748         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19750         * configure.in: Remove --with-elf and --enable-bounded options.
19751         Dont set base_machine for ia64.  More non-ELF conditions removed.
19752         Remove testing and setting of leading underscore information.
19753         * config.make.in (build-bounded): Set to no.
19754         * config.h.in: Remove NO_UNDERSCORES entry.
19755         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
19756         them.
19757         * csu/start.c: Remove !NO_UNDERSCORE code.
19758         * locale/localeinfo.h: Likewise.
19759         * sysdeps/generic/machine-gmon.h: Likewise.
19760         * sysdeps/generic/sysdep.h: Likewise.
19761         * sysdeps/i386/sysdep.h: Likewise.
19762         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19763         * sysdeps/mach/sysdep.h: Likewise.
19764         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19765         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19766         * sysdeps/sh/sysdep.h: Likewise.
19767         * sysdeps/sparc/sparc32/alloca.S: Likewise.
19768         * sysdeps/unix/i386/sysdep.S: Likewise.
19769         * sysdeps/unix/sparc/start.c: Likewise.
19770         * sysdeps/unix/sparc/sysdep.S: Likewise.
19771         * sysdeps/unix/sparc/sysdep.h: Likewise.
19772         * sysdeps/unix/start.c: Likewise.
19773         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19774         * sysdeps/x86_64/sysdep.h: Likewise.
19776 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
19778         [BZ #13553]
19779         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19780         for non-gcc.
19781         * argp/argp-fmtstream.h: Use const instead __const.
19782         * argp/argp.h: Likewise.
19783         * assert/assert.h: Likewise.
19784         * bits/fenv.h: Likewise.
19785         * bits/sched.h: Likewise.
19786         * bits/sigset.h: Likewise.
19787         * bits/sigthread.h: Likewise.
19788         * catgets/nl_types.h: Likewise.
19789         * conform/data/pthread.h-data: Likewise.
19790         * crypt/crypt-private.h: Likewise.
19791         * crypt/crypt.h: Likewise.
19792         * crypt/crypt_util.c: Likewise.
19793         * ctype/ctype.h: Likewise.
19794         * debug/execinfo.h: Likewise.
19795         * debug/mbsnrtowcs_chk.c: Likewise.
19796         * debug/mbsrtowcs_chk.c: Likewise.
19797         * debug/wcsnrtombs_chk.c: Likewise.
19798         * debug/wcsrtombs_chk.c: Likewise.
19799         * debug/wcstombs_chk.c: Likewise.
19800         * dirent/dirent.h: Likewise.
19801         * dlfcn/dlfcn.h: Likewise.
19802         * elf/neededtest4.c: Likewise.
19803         * grp/grp.h: Likewise.
19804         * gshadow/gshadow.h: Likewise.
19805         * iconv/gconv.h: Likewise.
19806         * iconv/gconv_int.h: Likewise.
19807         * iconv/gconv_simple.c: Likewise.
19808         * iconv/iconv.h: Likewise.
19809         * iconv/loop.c: Likewise.
19810         * iconv/skeleton.c: Likewise.
19811         * include/aio.h: Likewise.
19812         * include/aliases.h: Likewise.
19813         * include/argz.h: Likewise.
19814         * include/arpa/inet.h: Likewise.
19815         * include/assert.h: Likewise.
19816         * include/dirent.h: Likewise.
19817         * include/dlfcn.h: Likewise.
19818         * include/execinfo.h: Likewise.
19819         * include/fcntl.h: Likewise.
19820         * include/fenv.h: Likewise.
19821         * include/glob.h: Likewise.
19822         * include/grp.h: Likewise.
19823         * include/libintl.h: Likewise.
19824         * include/mntent.h: Likewise.
19825         * include/netdb.h: Likewise.
19826         * include/pwd.h: Likewise.
19827         * include/rpc/netdb.h: Likewise.
19828         * include/sched.h: Likewise.
19829         * include/search.h: Likewise.
19830         * include/shadow.h: Likewise.
19831         * include/signal.h: Likewise.
19832         * include/stdio.h: Likewise.
19833         * include/stdlib.h: Likewise.
19834         * include/string.h: Likewise.
19835         * include/sys/socket.h: Likewise.
19836         * include/sys/stat.h: Likewise.
19837         * include/sys/statfs.h: Likewise.
19838         * include/sys/statvfs.h: Likewise.
19839         * include/sys/syslog.h: Likewise.
19840         * include/sys/time.h: Likewise.
19841         * include/sys/uio.h: Likewise.
19842         * include/time.h: Likewise.
19843         * include/unistd.h: Likewise.
19844         * include/utmp.h: Likewise.
19845         * include/wchar.h: Likewise.
19846         * include/wctype.h: Likewise.
19847         * inet/aliases.h: Likewise.
19848         * inet/arpa/inet.h: Likewise.
19849         * inet/netinet/ether.h: Likewise.
19850         * inet/netinet/in.h: Likewise.
19851         * intl/libintl.h: Likewise.
19852         * io/bits/fcntl2.h: Likewise.
19853         * io/fcntl.h: Likewise.
19854         * io/ftw.h: Likewise.
19855         * io/sys/poll.h: Likewise.
19856         * io/sys/stat.h: Likewise.
19857         * io/sys/statfs.h: Likewise.
19858         * io/sys/statvfs.h: Likewise.
19859         * io/utime.h: Likewise.
19860         * libio/bits/stdio.h: Likewise.
19861         * libio/bits/stdio2.h: Likewise.
19862         * libio/libio.h: Likewise.
19863         * libio/libioP.h: Likewise.
19864         * libio/stdio.h: Likewise.
19865         * locale/lc-ctype.c: Likewise.
19866         * locale/locale.h: Likewise.
19867         * login/utmp.h: Likewise.
19868         * malloc/arena.c: Likewise.
19869         * malloc/malloc.c: Likewise.
19870         * malloc/malloc.h: Likewise.
19871         * malloc/mcheck.c: Likewise.
19872         * malloc/mtrace.c: Likewise.
19873         * math/bits/mathcalls.h: Likewise.
19874         * math/fenv.h: Likewise.
19875         * math/math_private.h: Likewise.
19876         * misc/bits/error.h: Likewise.
19877         * misc/bits/syslog.h: Likewise.
19878         * misc/err.h: Likewise.
19879         * misc/error.h: Likewise.
19880         * misc/fstab.h: Likewise.
19881         * misc/mntent.h: Likewise.
19882         * misc/regexp.h: Likewise.
19883         * misc/search.h: Likewise.
19884         * misc/sgtty.h: Likewise.
19885         * misc/sys/mman.h: Likewise.
19886         * misc/sys/syslog.h: Likewise.
19887         * misc/sys/uio.h: Likewise.
19888         * misc/sys/xattr.h: Likewise.
19889         * misc/ttyent.h: Likewise.
19890         * nis/rpcsvc/ypclnt.h: Likewise.
19891         * nss/nss.h: Likewise.
19892         * posix/bits/unistd.h: Likewise.
19893         * posix/fnmatch.h: Likewise.
19894         * posix/glob.h: Likewise.
19895         * posix/sched.h: Likewise.
19896         * posix/spawn.h: Likewise.
19897         * posix/sys/wait.h: Likewise.
19898         * posix/unistd.h: Likewise.
19899         * posix/wordexp.h: Likewise.
19900         * pwd/pwd.h: Likewise.
19901         * resolv/netdb.h: Likewise.
19902         * resource/sys/resource.h: Likewise.
19903         * rt/aio.h: Likewise.
19904         * rt/bits/mqueue2.h: Likewise.
19905         * rt/mqueue.h: Likewise.
19906         * shadow/shadow.h: Likewise.
19907         * signal/signal.h: Likewise.
19908         * socket/send.c: Likewise.
19909         * socket/sendto.c: Likewise.
19910         * socket/sys/socket.h: Likewise.
19911         * stdio-common/printf.h: Likewise.
19912         * stdlib/bits/stdlib.h: Likewise.
19913         * stdlib/fmtmsg.h: Likewise.
19914         * stdlib/monetary.h: Likewise.
19915         * stdlib/stdlib.h: Likewise.
19916         * stdlib/ucontext.h: Likewise.
19917         * streams/stropts.h: Likewise.
19918         * string/argz.h: Likewise.
19919         * string/bits/string2.h: Likewise.
19920         * string/string.h: Likewise.
19921         * string/strings.h: Likewise.
19922         * sunrpc/rpc/auth.h: Likewise.
19923         * sunrpc/rpc/auth_des.h: Likewise.
19924         * sunrpc/rpc/clnt.h: Likewise.
19925         * sunrpc/rpc/netdb.h: Likewise.
19926         * sunrpc/rpc/pmap_clnt.h: Likewise.
19927         * sunrpc/rpc/xdr.h: Likewise.
19928         * sysdeps/generic/inttypes.h: Likewise.
19929         * sysdeps/generic/net/if.h: Likewise.
19930         * sysdeps/generic/sys/swap.h: Likewise.
19931         * sysdeps/gnu/net/if.h: Likewise.
19932         * sysdeps/gnu/utmpx.h: Likewise.
19933         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19934         * sysdeps/i386/i486/bits/string.h: Likewise.
19935         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19936         * sysdeps/s390/bits/string.h: Likewise.
19937         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19938         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19939         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19940         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19941         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19942         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19943         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19944         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19945         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19946         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19947         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19948         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19949         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19950         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19951         * sysdeps/unix/sysv/linux/readv.c: Likewise.
19952         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19953         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19954         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19955         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19956         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19957         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19958         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19959         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19960         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19961         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19962         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19963         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19964         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19965         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19966         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19967         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19968         * sysvipc/sys/ipc.h: Likewise.
19969         * sysvipc/sys/msg.h: Likewise.
19970         * sysvipc/sys/sem.h: Likewise.
19971         * sysvipc/sys/shm.h: Likewise.
19972         * termios/termios.h: Likewise.
19973         * time/sys/time.h: Likewise.
19974         * time/time.h: Likewise.
19975         * wcsmbs/bits/wchar2.h: Likewise.
19976         * wcsmbs/uchar.h: Likewise.
19977         * wcsmbs/wchar.h: Likewise.
19978         * wctype/wctype.h: Likewise.
19980         [BZ #13551]
19981         * Makeconfig: Remove all but ELF support including AIX support.
19982         * Makerules: Likewise.
19983         * config.h.in: Likewise.
19984         * config.make.in: Likewise.
19985         * configure: Likewise.
19986         * configure.in: Likewise.
19987         * csu/Makefile: Likewise.
19988         * csu/version.c: Likewise.
19989         * debug/Makefile: Likewise.
19990         * dlfcn/Makefile: Likewise.
19991         * elf/Makefile: Likewise.
19992         * extra-lib.mk: Likewise.
19993         * iconv/Makefile: Likewise.
19994         * include/libc-symbols.h: Likewise.
19995         * include/shlib-compat.h: Likewise.
19996         * resolv/Makefile: Likewise.
19997         * resolv/res_libc.c: Likewise.
19998         * rt/Makefile: Likewise.
19999         * sysdeps/i386/asm-syntax.h: Likewise.
20000         * sysdeps/i386/sysdep.h: Likewise.
20001         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20002         * sysdeps/mach/sysdep.h: Likewise.
20003         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20004         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20005         * sysdeps/s390/asm-syntax.h: Likewise.
20006         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20007         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20008         * sysdeps/sh/sysdep.h: Likewise.
20009         * sysdeps/unix/sparc/sysdep.h: Likewise.
20010         * sysdeps/wordsize-32/divdi3.c: Likewise.
20011         * sysdeps/x86_64/sysdep.h: Likewise.
20013         * argp/Versions: Remove _argp_unlock_xxx.
20015         [BZ #13559]
20016         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20017         * abilist/libBrokenLocale.abilist: Likewise.
20018         * abilist/libanl.abilist: Likewise.
20019         * abilist/libc.abilist: Likewise.
20020         * abilist/libcrypt.abilist: Likewise.
20021         * abilist/libdl.abilist: Likewise.
20022         * abilist/libm.abilist: Likewise.
20023         * abilist/libnsl.abilist: Likewise.
20024         * abilist/libpthread.abilist: Likewise.
20025         * abilist/libresolv.abilist: Likewise.
20026         * abilist/librt.abilist: Likewise.
20027         * abilist/libthread_db.abilist: Likewise.
20028         * abilist/libutil.abilist: Likewise.
20029         * abilist/libnss_db.abilist: New file.
20031         * scripts/abilist.awk: Add support for indirect functions.
20033         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20035         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20037         * shlib-versions: Remove entries for ports architectures.
20039         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20040         files in ports.
20041         * elf/stackguard-macros.h: Remove support for IA-64.
20042         * elf/tst-auditmod1.c: Likewise.
20043         * sysdeps/generic/ldsodefs.h: Likewise.
20045         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20046         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20047         configure files.
20049         [BZ #13552]
20050         * configure.in: Remove --enable-omitfp support.
20051         * FAQ.in: Adjust.
20052         * config.make.in: Likewise.
20053         * Makeconfig: Likewise.
20054         * manual/install.texi: Likewise.
20056         In case anyone cares, the IA-64 architecture could move to ports.
20057         * sysdeps/ia64/*: Removed.
20058         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20059         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20061         [BZ #13555]
20062         * configure.in: Remove entries for unsupported architectures.
20064         [BZ #13533]
20065         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20066         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20067         routines.
20068         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20069         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20070         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20071         fall back to using wcrtomb.
20072         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20073         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20074         renaming.
20075         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20076         * wcsmbs/tst-c16c32-1.c: New file.
20078         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20079         local variable.
20081         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20083         * elf/tst-unique3.cc: Add explicit declaration of gets.
20084         * elf/tst-unique3lib.cc: Likewise.
20085         * elf/tst-unique3lib2.cc: Likewise.
20086         * elf/tst-unique4.cc: Likewise.
20088         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20090 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20092         [BZ #13566]
20093         * assert/assert.h (static_assert): Don't define for C++.
20094         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20095         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20097 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20099         * iconv/loop.c (single loop): Fix assertion in storing of
20100         remaining bytes.
20102         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20104 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20106         * posix/getconf.c: Update copyright year.
20107         * nss/getent.c: Likewise.
20108         * nss/makedb.c: Likewise.
20109         * iconv/iconvconfig.c: Likewise.
20110         * iconv/iconv_prog.c: Likewise.
20111         * elf/ldconfig.c: Likewise.
20112         * elf/pldd.c: Likewise.
20113         * elf/sotruss.ksh: Likewise.
20114         * catgets/gencat.c: Likewise.
20115         * csu/version.c: Likewise.
20116         * elf/ldd.bash.in: Likewise.
20117         * elf/sprof.c (print_version): Likewise.
20118         * locale/programs/locale.c: Likewise.
20119         * locale/programs/localedef.c: Likewise.
20120         * login/programs/pt_chown.c: Likewise.
20121         * nscd/nscd.c (print_version): Likewise.
20122         * debug/xtrace.sh: Likewise.
20123         * malloc/memusage.sh: Likewise.
20124         * malloc/mtrace.pl: Likewise.
20125         * debug/catchsegv.sh: Likewise.
20127 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20129         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20130         pure attribute.
20132 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20134         [BZ #13533]
20135         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20136         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20137         transformations.
20138         * iconv/gconv_int.h: Likewise.
20139         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20140         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20141         from libc for GLIBC_2.16.
20142         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20143         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20144         * wcsmbs/uchar.h: Really define mbstate_t.
20145         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20146         * wcsmbs/c16rtomb.c: New file.
20147         * wcsmbs/mbrtoc16.c: New file.
20148         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20149         for C/POSIX locale.
20150         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20151         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20153         * wcsmbs/wchar.h: Add missing __restrict.
20155 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20157         [BZ #13532]
20158         * time/Makefile (routines): Add timespec_get.
20159         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20160         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20161         timespec for ISO C11.
20162         * time/timespec_get.c: New file.
20163         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20164         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20166         [BZ #13531]
20167         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20168         * stdlib/stdlib.h: Declare aligned_alloc.
20169         * Versions.def: Add GLIBC_2.16 for libc.
20170         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20172         [BZ 13527]
20173         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20174         ISO C11.
20176         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20177         code.
20179         [BZ #13528]
20180         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20182         [BZ #13529]
20183         * assert/assert.h (static_assert): Define.
20185         * version.h: Update for 2.16 development version.
20187         [BZ #13526]
20188         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20189         _ISOC11_SOURCE.
20191         * version.h (RELEASE): Bump for 2.15 release.
20192         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20194         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20195         Patch by Marek Polacek <mpolacek@redhat.com>.
20197         * bits/byteswap.h: Protect long long constants with __extension__.
20198         * sysdeps/i386/bits/byteswap.h: Likewise.
20199         * sysdeps/ia64/bits/byteswap.h: Likewise.
20200         * sysdeps/s390/bits/byteswap.h: Likewise.
20201         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20203 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20205         [BZ #13540]
20206         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20207         destination buffer.
20208         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20210 2011-12-23  Marek Polacek  <polacek@redhat.com>
20212         * elf/dl-addr.c (determine_info): Add inline keyword.
20213         * elf/tst-auditmod4b.c (check_avx): Likewise.
20214         * elf/tst-auditmod6b.c (check_avx): Likewise.
20215         * elf/tst-auditmod6c.c (check_avx): Likewise.
20216         * elf/tst-auditmod7b.c (check_avx): Likewise.
20218 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20220         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20221         !__SSE_MATH__.
20223 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20225         [BZ #13540]
20226         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20227         processing for last bytes.
20229 2011-08-06  Bruno Haible  <bruno@clisp.org>
20231         [BZ #13061]
20232         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20233         U+0385, not to U+1FEE.
20235         [BZ #13062]
20236         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20237         entry for U+00A5 U+0301.
20239 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20241         [BZ #13166]
20242         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20243         buffer for the output is too small.
20245         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20246         optimization.
20248         [BZ #13185]
20249         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20250         SSE flags if possible.
20252 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20254         [BZ #13540]
20255         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20256         processing for last bytes.
20258 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20260         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20261         (syscall-list-default-options, syscall-list-default-condition)
20262         (syscall-list-includes): Define.
20263         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20264         list of ABIs and options and #if conditions for each ABI.  Do not
20265         handle common syscalls between ABIs specially.
20266         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20267         Remove.
20268         (syscall-list-variants, syscall-list-32bit-options)
20269         (syscall-list-32bit-condition, syscall-list-64bit-options)
20270         (syscall-list-64bit-condition): Define.
20271         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
20276         Remove.
20277         (syscall-list-variants, syscall-list-32bit-options)
20278         (syscall-list-32bit-condition, syscall-list-64bit-options)
20279         (syscall-list-64bit-condition): Define.
20280         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20281         Remove.
20282         (syscall-list-variants, syscall-list-32bit-options)
20283         (syscall-list-32bit-condition, syscall-list-64bit-options)
20284         (syscall-list-64bit-condition): Define.
20286 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20288         * locale/iso-639.def: Add brx entry.
20290         [BZ #13328]
20291         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20292         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20294         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20295         __feraiseexcept_renamed.
20297 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20299         [BZ #13538]
20300         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20301         EPOLLET with unsigned values.
20302         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20303         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20305         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20306         to large cancellation.
20307         * math/s_cacoshf.c: Likewise.
20308         * math/s_cacoshl.c: Likewise.
20310 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20312         [BZ #13305]
20313         [BZ #12786]
20314         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20315         * math/s_cacoshf.c: Likewise.
20316         * math/s_cacoshl.c: Likewise.
20318 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20320         [BZ #13439]
20321         * iconv/gconv.h: Define __GCONV_SWAP.
20322         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20323         * iconvdata/utf-16.c: Likewise.
20324         * iconvdata/utf-32.c: Likewise.
20326 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20328         [BZ #13524]
20329         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20330         numerator after shifting it by one limb.
20332 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20334         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20335         under [__USE_EXTERN_INLINES].
20337 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20339         [BZ #13446]
20340         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20342 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20344         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20345         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20346         optimized code.
20347         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20348         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20349         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20350         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20351         for strncasecmp/strncasecmp_l compilation.
20352         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20353         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20355 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
20357         [BZ #13484]
20358         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20359         of __asm__.
20361 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20363         [BZ #13506]
20364         * time/tzfile.c (__tzfile_read): Check values from file header.
20366 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20368         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20369         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20370         * powerpc/powerpc32/dl-start.S: Likewise.
20371         * powerpc/powerpc32/elf/start.S: Likewise.
20372         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20373         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20374         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20375         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20376         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20377         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20378         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20379         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20380         * powerpc/powerpc32/fpu/s_round.S: Likewise.
20381         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20382         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20383         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20384         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20385         * powerpc/powerpc32/memset.S: Likewise.
20386         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20387         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20388         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20389         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20390         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20391         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20392         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20393         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20394         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20395         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20396         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20397         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20398         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20400 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20402         * math/libm-test.inc: Added more nearbyint tests.
20403         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20404         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20405         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20406         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20408 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
20410         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20411         FD_CLOEXEC.
20413 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20415         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20416         Add wcscpy-ssse3 wcscpy-c.
20417         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20418         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20419         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20420         * sysdeps/x86_64/wcschr.S: New file.
20421         * sysdeps/x86_64/wcsrchr.S: New file.
20422         * string/test-strcmp.c: Remove checking of wcscmp function for
20423         wrong alignments.
20424         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20425         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20426         wcsrchr-sse2 wcsrchr-c.
20427         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20428         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20429         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20430         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20431         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20432         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20433         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20434         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20435         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20436         * wcsmbc/wcschr.c (WCSCHR): New macro.
20438 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20440         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20441         * wcsmbs/test-wcsrchr.c: New file.
20442         * string/test-strrchr.c: Add wcsrchr support.
20443         (WIDE): New macro.
20444         * wcsmbs/test-wcscpy.c: New file.
20445         * string/test-strcpy.c: Add wcscpy support.
20446         (WIDE): New macro.
20448 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
20450         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20451         the inner loop.
20453 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
20455         [BZ #13472]
20456         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20458 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
20460         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20461         Minor optimizations.
20463         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20464         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20465         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20467 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
20469         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20470         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20471         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20472         for gcc to avoid warnings.
20473         * inet/Makefile (tests): Add tst-checks.
20474         * inet/tst-checks.c: New file.
20476         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20477         warning.
20479         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20480         __wmemcmp_sse2.
20482         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20483         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20485         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20487 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
20489         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20490         problem.
20492         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20494 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
20496         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20497         conditional on GCC version.
20498         (__arch_compare_and_exchange_val_8_acq)
20499         (__arch_compare_and_exchange_val_16_acq)
20500         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20501         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20502         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20504 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
20506         * sysdeps/sh/backtrace.c: New file.
20508 2011-12-02  Andreas Schwab  <schwab@redhat.com>
20510         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
20511         parenthesis.
20513 2011-12-01  Andreas Schwab  <schwab@redhat.com>
20515         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20516         falling back to utime.
20518 2011-11-30  Andreas Schwab  <schwab@redhat.com>
20520         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20521         expectations for float.
20523 2011-11-29  Andreas Schwab  <schwab@redhat.com>
20525         * locale/weight.h (findidx): Add parameter len.
20526         * locale/weightwc.h (findidx): Likewise.
20527         * posix/fnmatch_loop.c (FCT): Adjust caller.
20528         * posix/regcomp.c (build_equiv_class): Likewise.
20529         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20530         * posix/regexec.c (check_node_accept_bytes): Likewise.
20531         * string/strcoll_l.c (STRCOLL): Likewise.
20532         * string/strxfrm_l.c (STRXFRM): Likewise.
20534 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
20536         * Makefile.in: Remove CVSOPT handling.
20537         * configure.in: Remove use of AC_REVISION.
20538         * iconvdata/Makefile (distribute): No need to filter out CVS.
20539         * scripts/list-sources.sh: Remove CVS, subversion and monotone
20540         handling.
20542 2011-11-16  Andreas Schwab  <schwab@redhat.com>
20544         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20545         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20546         [USE_AS_STRNCASECMP_L]: Likewise.
20547         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20548         NO_TLS_DIRECT_SEG_REFS.
20549         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20550         Fix argument offsets for non-PIC.
20551         [USE_AS_STRNCASECMP_L]: Likewise.
20552         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20553         NO_TLS_DIRECT_SEG_REFS.
20555 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20557         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20558         O_CLOEXEC.
20559         * locale/loadlocale.c (_nl_load_locale): Likewise.
20561 2011-11-15  Andreas Schwab  <schwab@redhat.com>
20563         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20564         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20565         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20566         (SYSCALL_GETTIME): Set errno on error.
20568         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20569         count references to noai6ai_cached.
20571 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20573         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20575         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20576         FD_CLOEXEC for /proc/self/maps.
20578         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20579         FD_CLOEXEC for /proc/meminfo.
20581         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20582         gai.conf.
20584         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
20585         FD_CLOEXEC for given file.
20587         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20589         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20590         FD_CLOEXEC for /etc/hosts.
20591         (_gethtent): Likewise.
20593         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20595         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20596         cancellation and set FD_CLOEXEC for /etc/netgroup.
20598         * nss/nss_files/files-key.c (search): Don't allow cancellation when
20599         reading /etc/publickey.
20601         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20602         allow cancellation when reading /etc/group.
20604         * nss/nss_files/files-alias.c (internal_setent): Don't allow
20605         cancellation.
20606         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
20608         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20609         when using data file.
20611         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20613         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20614         (write_nis_obj): Use "c" and "e" in fopen.
20616         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20618         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20620         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20622         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20624         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20625         locale.alias.
20627         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20629         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20631         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20633         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20634         file parsing and set FD_CLOEXEC.
20636 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20638         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20640 2011-11-14  Andreas Schwab  <schwab@redhat.com>
20642         * malloc/arena.c (arena_get2): Don't call reused_arena when
20643         _int_new_arena failed.
20645 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20647         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20648         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20649         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20650         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20651         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20652         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20653         to compile strcasecmp and strncasecmp.
20654         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20655         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20657         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20659 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
20661         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20662         locale-defines.sym to gen-as-const-headers.
20663         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20664         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20665         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20666         to compile strcasecmp and strncasecmp.
20667         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20668         strcasecmp_l and strncasecmp_l.
20669         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20670         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20671         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20672         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20673         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20674         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20675         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20676         * sysdeps/i386/i686/multiarch/strncase.S: New file.
20677         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20678         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20679         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20681 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
20683         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20684         result of SYSDEP_GETTIME_CPU to retval.
20685         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20686         parameter list to macro.  Remove trailing semicolon.  Adjust users.
20688         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20689         variable.
20691         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20692         mantissa words.
20693         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20695         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20696         from unused variable.
20698         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20699         DWARF definitions.
20700         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20701         for assembling.
20703         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20704         over namespaces.
20706         * sunrpc/rpc_prot.c (rejected): Fix case value.
20708         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20709         unsigned long long int to avoid warnings in shift.
20711         * posix/regex_internal.c (re_string_reconstruct): Actually use result
20712         of use of trans.
20713         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20714         variable tmp.
20716         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20717         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20718         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20720         * nis/nis_table.c (nis_list): Use variable of correct type for
20721         result of __follow_path call.
20723 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20725         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20726         of math functions ceil, trunc, floor, round, and sqrt, when
20727         avaliable on the platform.
20728         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20729         name clash.
20730         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20731         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20732         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20734 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
20736         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20737         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20739 2011-11-11  Roland McGrath  <roland@hack.frob.com>
20741         * include/unistd.h: Fix __readlink return type.
20742         Reported by Chris Metcalf <cmetcalf@tilera.com>.
20744 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
20746         * stdlib/ucontext.h: Undo last change for makecontext.
20748 2011-11-11  Andreas Schwab  <schwab@redhat.com>
20750         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20752         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20753         * setjmp/setjmp.h: Mark functions as non-leaf.
20754         * setjmp/bits/setjmp2.h: Likewise.
20755         * stdlib/ucontext.h: Likewise.
20757 2011-11-10  Andreas Schwab  <schwab@redhat.com>
20759         * malloc/arena.c (_int_new_arena): Don't increment narenas.
20760         (reused_arena): Don't check arena limit.
20761         (arena_get2): Atomically check arena limit.
20763 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
20765         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20766         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20768         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20769         instructions.
20771 2011-11-07  Andreas Schwab  <schwab@redhat.com>
20773         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20774         handler when locking.
20776         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20777         Fix size of allocated buffer.
20779 2011-11-04  Andreas Schwab  <schwab@redhat.com>
20781         [BZ #10103]
20782         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20783         declarations for long double functions.
20784         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20786         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20788 2011-11-03  Andreas Schwab  <schwab@redhat.com>
20790         * nscd/nscd.c (main): Don't start AVC thread until credentials are
20791         installed.
20793         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20794         is disabled.
20796 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20798         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20800 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20802         * include/alloca.h (stackinfo_alloca_round): Define.
20803         (extend_alloca): Use it.
20804         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20805         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20806         here.
20808         * scripts/check-local-headers.sh: Ignore libaudit.h.
20810         * nscd/Makefile (extra-objs): Make recursively expanded.
20812 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
20814         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20815         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20817         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20818         * posix/tst-rfc3484-2.c: Likewise.
20819         * posix/tst-rfc3484-3.c: Likewise.
20821         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20822         process_vm_writev.
20823         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20824         process_vm_writev.
20825         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20826         process_vm_writev from libc using GLIBC_2.15 version.
20828         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20830 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
20832         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20833         stack usage.
20835 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
20837         [BZ #13367]
20838         * nss/getent.c (initgroups_keys): Show error message in case no group
20839         names are given.
20841         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20842         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20843         __bump_nl_timestamp.
20844         * nscd/connections (nscd_init): When host database is served open
20845         netlink socket and request notification about configuration changes.
20846         (main_loop_poll): Track netlink file descriptor and bump timestamp
20847         in case data becomes available.
20848         (main_loop_epoll): Likewise.
20849         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20850         (database_pers_head): Add extra_data fileds.
20851         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20852         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20853         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20854         Adjust caller.
20855         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20856         in6ai data, call __free_in6ai.
20857         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20858         Add -DHAVE_NETLINK.
20859         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
20860         interface information.  Reuse previous data if netlink timestamp
20861         is not changed.
20862         (__bump_nl_timestamp): New function.
20863         (__free_in6ai): New function.
20865 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
20867         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20868         close_not_cancel_no_status here.
20869         (__check_pf): Reorganize code a bit to not call close twice if OOM.
20871 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20873         [BZ #13276]
20874         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20875         return value.
20877         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20878         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20879         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20881 2011-07-03  Andreas Jaeger  <aj@suse.de>
20883         [BZ #10709]
20884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20885         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20886         * math/libm-test.inc (sin_test): Add test case.
20888 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20890         [BZ #13337]
20891         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20892         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20894         * elf/chroot_canon.c (chroot_canon): Cleanups.
20896         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20898         [BZ #13335]
20899         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20900         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20902         * string/test-strchr.c: Make usable for strchrnul testing.
20903         * string/test-strchrnul.c: New file.
20904         * string/Makefile (strop-tests): Add strchrnul.
20906         * po/it.po: Update from translation team.
20907         * po/es.po: Likewise.
20909 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
20911         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20912         the three constants needed as parameters.  Drop the others.
20913         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20914         __m128i_strloadu_tolower.
20915         Create and initialize variable zero and use it in all the places
20916         where _mm_setzero_si128 was used.
20918         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20919         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20920         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20921         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20922         anymore.
20923         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20924         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20925         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20926         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20927         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20928         __mpranred, __mptan.
20929         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20930         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20931         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20932         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20933         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20934         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20935         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20936         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20937         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20939 2011-10-28  Andreas Schwab  <schwab@redhat.com>
20941         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20942         redefine if SHARED.
20943         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20945         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20946         wide char related routines to wcsmbs subdir.
20948 2011-10-27  Andreas Schwab  <schwab@redhat.com>
20950         [BZ #13344]
20951         * misc/sys/cdefs.h (__THROWNL): Define.
20952         * posix/unistd.h: Use __THREADNL instead of __THREAD
20953         for memory synchronization functions.
20955 2011-10-26  Roland McGrath  <roland@hack.frob.com>
20957         [BZ #13349]
20958         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20959         doesn't exist.
20960         * manual/stdio.texi (Obstack Streams): Node removed.
20962 2011-10-26  Andreas Schwab  <schwab@redhat.com>
20964         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20965         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20966         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20968         * math/math_private.h (math_force_eval): Allow non-addressable
20969         arguments.
20970         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20972 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20974         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20975         file is not needed.
20977         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20978         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20979         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20980         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20981         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20982         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20983         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20984         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20985         Add AVX variants.
20986         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20987         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20988         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20989         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20990         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20991         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20992         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20993         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20994         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20995         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20996         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20997         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20998         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20999         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21000         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21001         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21002         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21003         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21004         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21006         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21007         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21009         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21010         place.  Use VEX encoding when compiling for AVX.
21012 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21014         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21015         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21017         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21019 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21021         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21022         useless if() expression.
21023         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21024         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21025         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21027         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21028         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21029         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21030         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21031         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21032         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21033         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21034         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21035         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21036         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21037         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21038         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21039         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21040         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21041         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21043         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21045 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21047         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21048         condition.
21049         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21051 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21053         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21054         .text section.  Avoid duplicate constants.
21055         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21056         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21057         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21058         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21059         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21060         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21061         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21062         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21063         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21064         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21065         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21066         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21067         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21068         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21069         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21070         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21071         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21072         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21073         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21074         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21075         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21076         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21077         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21078         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21079         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21080         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21081         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21082         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21083         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21084         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21085         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21086         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21087         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21088         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21089         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21090         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21091         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21092         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21093         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21094         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21095         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21096         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21097         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21098         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21099         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21101 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21103         * sysdeps/x86_64/dla.h: Move to ...
21104         * sysdeps/x86_64/fpu/dla.h: ...here.
21105         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21106         situations.  Use __builtin_fma only for gcc 4.6 and up.
21108         * config.make.in: Add have-mfma4 entry.
21109         * configure.in: Substitute libc_cv_cc_fma4.
21110         * math/Makefile (dbl-only-routines): Add sincostab.
21111         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21112         Use __sincostab not sincos.
21113         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21114         name is a macro.
21115         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21116         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21117         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21118         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21119         using __copysign.
21120         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21121         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21122         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21123         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21124         and __inv.
21125         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21126         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21127         __copysign.
21128         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21129         define aliases when function name is a macro.
21130         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21131         sysdeps/ieee754/dbl-64/sincos.tbl.
21132         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21133         fma4-enabled routines.
21134         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21135         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21136         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21137         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21138         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21139         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21140         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21141         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21142         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21143         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21144         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21145         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21146         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21147         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21148         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21149         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21150         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21151         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21152         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21153         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21154         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21155         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21156         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21157         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21158         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21159         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21160         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21161         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21162         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21163         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21165         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21166         rename.
21167         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21168         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21170         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21171         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21172         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21173         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21174         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21176 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21178         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21180 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21182         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21184         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21185         prediction.
21186         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21188         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21189         Remove unused variable magic_bits.
21190         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21192         * string/strnlen.c: Define and use STRNLEN macro.
21193         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21194         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21195         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21196         * wcsmbs/wcslen.c: Define and use WCSLEN.
21197         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21198         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21199         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21200         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21201         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21202         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21203         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21205 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21208         strnlen-sse2-no-bsf.
21209         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21210         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21211         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21212         Add strnlen support.
21213         (USE_AS_STRNLEN): New macro.
21214         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21215         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21216         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21217         * sysdeps/x86_64/wcslen.S: New file.
21219 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21221         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21222         XMM-moves are used for copying on small sizes.
21224 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21226         * wcsmbs/Makefile (strop-tests): Add wcschr.
21227         * wcsmbs/test-wcschr.c: New file.
21228         * string/test-strchr.c: Update.
21229         Add wcschr support.
21230         (WIDE): New macro.
21232 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21234         * wcsmbs/Makefile (strop-tests): Add wcslen.
21235         * wcsmbs/test-wcslen.c: New file.
21236         * string/test-strlen.c: Update.
21237         Add wcslen support.
21238         (WIDE): New macro.
21240 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21242         * po/it.po: Update from translation team.
21244 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21246         * sysdeps/x86_64/wcscmp.S: Update.
21247         Fix wrong comparison semantics.
21248         wcscmp shall use signed comparison not unsigned.
21249         Don't use substraction to avoid overflow bug.
21250         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21251         * wcsmbc/wcscmp.c: Likewise.
21252         * string/test-strcmp.c: Likewise.
21253         Add new tests to check cases with negative values.
21255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21257         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21258         * sysdeps/x86_64/dla.h: ...here.  New file.
21259         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21260         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21261         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21263         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21264         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21266         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21267         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21269 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21271         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21272         __ynl_finite aliases.
21274 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21278         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21279         define DLA_FMA.
21280         [DLA_FMA] (EMULV): Use DLA_FMA.
21281         [DLA_FMA] (MUL12): Use EMULV.
21282         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21283         that are not needed.
21284         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21285         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21286         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21288         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21289         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21290         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21292 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21294         * math/s_nan.c: Undef __nan.
21295         * math/s_nanf.c: Undef __nanf.
21296         * math/s_nanl.c: Undef __nanl.
21297         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21298         "math_private.h".
21300 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21302         * math/s_catan.c: Add branch predictions.
21303         * math/s_catanf.c: Likewise.
21304         * math/s_catanh.c: Likewise.
21305         * math/s_catanhf.c: Likewise.
21306         * math/s_catanhl.c: Likewise.
21307         * math/s_catanl.c: Likewise.
21308         * math/s_cexp.c: Likewise.
21309         * math/s_cexpf.c: Likewise.
21310         * math/s_cexpl.c: Likewise.
21311         * math/s_clog.c: Likewise.
21312         * math/s_clog10.c: Likewise.
21313         * math/s_clog10f.c: Likewise.
21314         * math/s_clog10l.c: Likewise.
21315         * math/s_clogf.c: Likewise.
21316         * math/s_clogl.c: Likewise.
21317         * math/s_csqrt.c: Likewise.
21318         * math/s_csqrtf.c: Likewise.
21319         * math/s_csqrtl.c: Likewise.
21320         * math/s_ctanf.c: Likewise.
21321         * math/s_ctanh.c: Likewise.
21322         * math/s_ctanhf.c: Likewise.
21323         * math/s_ctanhl.c: Likewise.
21324         * math/s_ctanl.c: Likewise.
21326         * math/math_private.h: Define __nan, __nanf, __nanl.
21327         * math/s_cacosh.c: Include <math_private.h>.
21328         * math/s_cacoshl.c: Likewise.
21329         * math/s_casinh.c: Likewise.
21330         * math/s_casinhf.c: Likewise.
21331         * math/s_casinhl.c: Likewise.
21332         * math/s_ccos.c: Rely entire on ccosh.
21333         * math/s_ccosf.c: Rely entire on ccoshf.
21334         * math/s_ccosl.c: Rely entirely on ccoshl.
21335         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
21336         Remove tests for FE_INVALID.
21337         * math/s_ccoshf.c: Likewise.
21338         * math/s_ccoshl.c: Likewise.
21339         * math/s_csin.c: Likewise.
21340         * math/s_csinf.c: Likewise.
21341         * math/s_csinh.c Likewise.
21342         * math/s_csinhf.c: Likewise.
21343         * math/s_csinhl.c: Likewise.
21344         * math/s_csinl.c: Likewise.
21345         * math/s_ctan.c: Likewise.
21346         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21347         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21348         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21350 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
21352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21353         compilation problems.
21355         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21356         __builtin_expect.
21358 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
21360         * sysdeps/i386/configure.in: Test for -mfma4 option.
21361         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21362         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21363         COMMON_CPUID_INDEX_80000001.
21364         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21365         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21366         use it if FMA3 is not supported.
21367         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21369         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21370         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21372 2011-10-20  Andreas Schwab  <schwab@redhat.com>
21374         [BZ #12892]
21375         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21376         it would create a cycle with a link time dependency.
21378 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
21380         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21381         instruction.
21382         * string/Makefile (strop-tests): Add rawmemchr.
21383         * string/test-rawmemchr.c: New file.
21385         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21386         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
21387         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
21388         when compiling str{,n}casecmp and when AVX is available.  Hook up
21389         new optimized code in initializers.
21391 2011-10-19  Andreas Schwab  <schwab@redhat.com>
21393         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21394         __feraiseexcept instead of feraiseexcept.
21396 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
21398         * math/math_private.h: Define defaults for libc_fetestexcept and
21399         libc_feupdateenv.
21400         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21401         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21402         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21403         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21404         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21405         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21406         libc_fetestexcept and libc_feupdateenv.
21408         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21409         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21410         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21411         * sysdeps/x86_64/fpu/math_private.h: Define special version of
21412         libc_feholdexcept_setround.
21414         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21415         Add s_nearbyint-c and s_nearbyintf-c.
21416         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21417         nearbyintf inlines.
21418         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21419         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21420         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21421         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21423         * math/math_private.h: Define defaults for libc_fegetround,
21424         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21425         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21426         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21427         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21428         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21429         standard functions.
21430         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21431         Remove comments and hacks for old compiler versions.
21432         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21433         libc_fegetround, libc_fesetround, libc_feholdexcept, and
21434         libc_feholdexceptl.
21436 2011-10-18  Andreas Schwab  <schwab@redhat.com>
21438         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21439         (__feraiseexcept_renamed): Add __NTH.
21440         (feraiseexcept): Add __NTH.  Rename local variables to fix
21441         namespace violations.
21443 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
21445         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21447         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21449         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21450         recently added interfaces.
21451         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21453         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21454         about macro parameter expansion.
21456         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21457         __NO_MATH_INLINES is defined.  Cleanups.
21459         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21460         and __floorf is target has SSE4.1.
21461         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21462         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21463         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21464         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21466         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21467         name.
21468         (floorf): Likewise.
21470         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21472 2011-10-17  Andreas Schwab  <schwab@redhat.com>
21474         * misc/sys/cdefs.h: Fix last change.
21476         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21477         database lookup.
21479 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
21481         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21483         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21484         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21485         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21486         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21487         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21488         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21489         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21490         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21491         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21492         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21493         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21494         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21495         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21496         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21497         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21498         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21499         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21500         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21501         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21502         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21503         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21504         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21506         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21507         ceil, ceilf, floor, floorf.
21509         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21510         Perform IRELATIVE relocations last.
21512         * elf/do-rel.h: Add another parameter nrelative, replacing the
21513         local variable with the same name.  Change name of the function
21514         to end in Rel or Rela (uppercase).
21515         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21516         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
21517         elf_dynamic_do_##reloc function.
21519 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21521         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21522         is sufficient, at least on modern CPUs.
21524         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21526         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21527         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21529         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21530         __expl_finite.
21531         * math/bits/math-finite.h: Add entries for exp.
21532         * math/e_expl.c: Add __*_finite alias.
21533         * sysdeps/i386/fpu/e_exp.S: Likewise.
21534         * sysdeps/i386/fpu/e_expf.S: Likewise.
21535         * sysdeps/i386/fpu/e_expl.c: Likewise.
21536         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21537         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21538         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21539         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21540         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21541         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21542         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21544         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21545         is sufficient, at least on modern CPUs.
21547         * ctype/ctype-info.c (__ctype_init): Define.
21548         * include/ctype.h (__ctype_init): Declare.
21549         (__ctype_b_loc): The variable is always initialized.
21550         (__ctype_toupper_loc): Likewise.
21551         (__ctype_tolower_loc): Likewise.
21552         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21553         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21555 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
21557         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21559         * configure.in: Also look in $cxxmachine/include for C++ system
21560         headers.
21562 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21564         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21565         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21566         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21567         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
21568         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21569         (USE_AS_WMEMCMP): New macro.
21570         Fixing indents.
21571         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21572         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21573         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21574         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21575         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21576         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21577         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21578         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21579         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21580         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21581         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21582         (USE_AS_WMEMCMP): New macro.
21583         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21584         * sysdeps/string/test-memcmp.c: Update.
21585         Fix simple_wmemcmp.
21586         Add new tests.
21587         * wcsmbs/wmemcmp.c: Update.
21588         (WMEMCMP): New macro.
21589         Fix overflow bug.
21591 2011-10-12  Andreas Jaeger  <aj@suse.de>
21593         [BZ #13268]
21594         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21596 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21598         * libio/iofwide.c (do_length): Avoid warning.
21600         * ctype/ctype.h (__isctype_f): Add missing __THROW.
21602 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
21604         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21606         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21607         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21608         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21609         * sysdeps/i386/i686/fpu/e_log.S: New file.
21610         * sysdeps/i386/i686/fpu/e_logf.S: New file.
21611         * sysdeps/i386/i686/fpu/e_logl.S: New file.
21613         * ctype/ctype.h: Add support for inlined isXXX functions when
21614         compiling C++ code.
21616 2011-10-14  Andreas Schwab  <schwab@redhat.com>
21618         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21620         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21622 2011-10-13  Roland McGrath  <roland@hack.frob.com>
21624         [BZ #13291]
21625         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21627 2011-10-13  Andreas Schwab  <schwab@redhat.com>
21629         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21630         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21631         feraiseexcept.
21633         * sysdeps/x86_64/memrchr.S: Check for zero size.
21635         * string/stratcliff.c: Add memrchr tests.
21637 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21639         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21640         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21641         rawmemchr-sse2 rawmemchr-sse2-bsf.
21642         * sysdeps/i386/i686/multiarch/memchr.S: New file.
21643         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21644         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21645         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21646         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21647         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21648         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21649         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21650         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21651         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21652         * string/memrchr.c (MEMRCHR): New macro.
21654 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
21656         Add integration with gcc's -ffinite-math-only and optimize wrapper
21657         functions in libm.
21658         * Versions.def: Define GLIBC_2.15 version for libm.
21659         * math/Makefile (headers): Add bits/math-finite.h.
21660         * math/bits/math-finite.h: New file.
21661         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21662         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21663         * math/e_acoshl.c: Add __*_finite alias.
21664         * math/e_acosl.c: Likewise.
21665         * math/e_asinl.c: Likewise.
21666         * math/e_atan2l.c: Likewise.
21667         * math/e_atanhl.c: Likewise.
21668         * math/e_coshl.c: Likewise.
21669         * math/e_exp10.c: Likewise.
21670         * math/e_exp10f.c: Likewise.
21671         * math/e_exp10l.c: Likewise.
21672         * math/e_exp2l.c: Likewise.
21673         * math/e_fmodl.c: Likewise.
21674         * math/e_gammal_r.c: Likewise.
21675         * math/e_hypotl.c: Likewise.
21676         * math/e_j0l.c: Likewise.
21677         * math/e_j1l.c: Likewise.
21678         * math/e_jnl.c: Likewise.
21679         * math/e_lgammal_r.c: Likewise.
21680         * math/e_log10l.c: Likewise.
21681         * math/e_log2l.c: Likewise.
21682         * math/e_logl.c: Likewise.
21683         * math/e_powl.c: Likewise.
21684         * math/e_sinhl.c: Likewise.
21685         * math/e_sqrtl.c: Likewise.
21686         * math/e_scalb.c: Completely rewritten and optimized.
21687         * math/e_scalbf.c: Likewise.
21688         * math/e_scalbl.c: Likewise.
21689         * math/w_acos.c: Likewise.
21690         * math/w_acosf.c: Likewise.
21691         * math/w_acosl.c: Likewise.
21692         * math/w_acosh.c: Likewise.
21693         * math/w_acoshf.c: Likewise.
21694         * math/w_acoshl.c: Likewise.
21695         * math/w_asin.c: Likewise.
21696         * math/w_asinf.c: Likewise.
21697         * math/w_asinl.c: Likewise.
21698         * math/w_atan2.c: Likewise.
21699         * math/w_atan2f.c: Likewise.
21700         * math/w_atan2l.c: Likewise.
21701         * math/w_atanh.c: Likewise.
21702         * math/w_atanhf.c: Likewise.
21703         * math/w_atanhl.c: Likewise.
21704         * math/w_exp10.c: Likewise.
21705         * math/w_exp10f.c: Likewise.
21706         * math/w_exp10l.c: Likewise.
21707         * math/w_fmod.c: Likewise.
21708         * math/w_fmodf.c: Likewise.
21709         * math/w_fmodl.c: Likewise.
21710         * math/w_j0.c: Likewise.
21711         * math/w_j0f.c: Likewise.
21712         * math/w_j0l.c: Likewise.
21713         * math/w_j1.c: Likewise.
21714         * math/w_j1f.c: Likewise.
21715         * math/w_j1l.c: Likewise.
21716         * math/w_jn.c: Likewise.
21717         * math/w_jnf.c: Likewise.
21718         * math/w_log.c: Likewise.
21719         * math/w_logf.c: Likewise.
21720         * math/w_logl.c: Likewise.
21721         * math/w_log10.c: Likewise.
21722         * math/w_log10f.c: Likewise.
21723         * math/w_log10l.c: Likewise.
21724         * math/w_log2.c: Likewise.
21725         * math/w_log2f.c: Likewise.
21726         * math/w_log2l.c: Likewise.
21727         * math/w_pow.c: Likewise.
21728         * math/w_powf.c: Likewise.
21729         * math/w_powl.c: Likewise.
21730         * math/w_remainder.c: Likewise.
21731         * math/w_remainderf.c: Likewise.
21732         * math/w_remainderl.c: Likewise.
21733         * math/w_scalb.c: Likewise.
21734         * math/w_scalbf.c: Likewise.
21735         * math/w_scalbl.c: Likewise.
21736         * math/w_sqrt.c: Likewise.
21737         * math/w_sqrtf.c: Likewise.
21738         * math/w_sqrtl.c: Likewise.
21739         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21740         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
21741         used.
21742         * math/math_private.h: Declare __kernel_standard_f.
21743         * math/w_cosh.c: Remove cruft and optimize a bit.
21744         * math/w_coshf.c: Likewise.
21745         * math/w_coshl.c: Likewise.
21746         * math/w_exp2.c: Likewise.
21747         * math/w_exp2f.c: Likewise.
21748         * math/w_exp2l.c: Likewise.
21749         * math/w_hypot.c: Likewise.
21750         * math/w_hypotf.c: Likewise.
21751         * math/w_hypotl.c: Likewise.
21752         * math/w_lgamma.c: Likewise.
21753         * math/w_lgamma_r.c: Likewise.
21754         * math/w_lgammaf.c: Likewise.
21755         * math/w_lgammaf_r.c: Likewise.
21756         * math/w_lgammal.c: Likewise.
21757         * math/w_lgammal_r.c: Likewise.
21758         * math/w_sinh.c: Likewise.
21759         * math/w_sinhf.c: Likewise.
21760         * math/w_sinhl.c: Likewise.
21761         * math/w_tgamma.c: Likewise.
21762         * math/w_tgammaf.c: Likewise.
21763         * math/w_tgammal.c: Likewise.
21764         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21765         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21766         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21767         Minor optimizations.  Pretty printing.  Remove cruft.
21768         * sysdeps/i386/fpu/e_acosf.S: Likewise.
21769         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21770         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21771         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21772         * sysdeps/i386/fpu/e_acosl.c: Likewise.
21773         * sysdeps/i386/fpu/e_asin.S: Likewise.
21774         * sysdeps/i386/fpu/e_asinf.S: Likewise.
21775         * sysdeps/i386/fpu/e_atan2.S: Likewise.
21776         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21777         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21778         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21779         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21780         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21781         * sysdeps/i386/fpu/e_exp10.S: Likewise.
21782         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21783         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21784         * sysdeps/i386/fpu/e_exp2.S: Likewise.
21785         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21786         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21787         * sysdeps/i386/fpu/e_fmod.S: Likewise.
21788         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21789         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21790         * sysdeps/i386/fpu/e_hypot.S: Likewise.
21791         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21792         * sysdeps/i386/fpu/e_log.S: Likewise.
21793         * sysdeps/i386/fpu/e_log10.S: Likewise.
21794         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21795         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21796         * sysdeps/i386/fpu/e_log2.S: Likewise.
21797         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21798         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21799         * sysdeps/i386/fpu/e_logf.S: Likewise.
21800         * sysdeps/i386/fpu/e_logl.S: Likewise.
21801         * sysdeps/i386/fpu/e_pow.S: Likewise.
21802         * sysdeps/i386/fpu/e_powf.S: Likewise.
21803         * sysdeps/i386/fpu/e_powl.S: Likewise.
21804         * sysdeps/i386/fpu/e_remainder.S: Likewise.
21805         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21806         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21807         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21808         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21809         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21810         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21811         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21812         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21813         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21814         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21815         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21816         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21817         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21818         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21819         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21820         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21821         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21822         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21823         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21824         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21825         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21826         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21827         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21828         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21829         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21830         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21831         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21832         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21833         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21834         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21835         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21836         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21837         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21838         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21839         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21840         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21841         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21842         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21843         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21844         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21845         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21846         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21847         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21848         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21849         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21850         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21851         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21852         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21853         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21854         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21855         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21856         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21857         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21858         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21859         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21860         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21861         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21862         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21863         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21864         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21865         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21866         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21867         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21868         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21869         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21870         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21871         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21872         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21873         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21874         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21875         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21876         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21877         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21878         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21879         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21880         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21881         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21882         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21883         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21884         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21885         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21886         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21887         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21888         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21889         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21890         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21891         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21892         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21893         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21894         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21895         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21896         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21897         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21898         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21899         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21900         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21901         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21902         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21903         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21904         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21905         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21906         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21907         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21908         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21909         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21910         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21911         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21912         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21913         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21914         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21915         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21916         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21917         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21918         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21919         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21920         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21921         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21922         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21923         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
21924         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21925         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21926         (__isnanf): Likewise.
21927         (__isinf_ns): Likewise.
21928         (__isinf_nsf): Likewise.
21929         (__finite): Likewise.
21930         (__finitef): Likewise.
21931         (__ieee754_sqrt): Define as macro.
21932         (__ieee754_sqrtf): Define as macro.
21933         (__ieee754_sqrtl): Define as macro.
21934         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21935         inlined copy.
21936         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21937         __FINITE_MATH_ONLY__ consistent.
21938         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21940 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
21942         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21943         of rawmemchr.
21945         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21947 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
21949         * po/ja.po: Update from translation team.
21951 2011-10-08  Roland McGrath  <roland@hack.frob.com>
21953         * locale/programs/locarchive.c (prepare_address_space): New function.
21954         (create_archive, enlarge_archive, open_archive): Use it.
21956         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21957         inside [SHARED], where it is used.
21959         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21961         * nss/getent.c (netgroup_keys): Remove unused variable.
21962         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21964 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
21966         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21967         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21968         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21969         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21970         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21971         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21972         * math/Makefile (libm-calls): Add s_isinf_ns.
21973         * math/divtc3.c: Use __isinf_nsl instead of isinf.
21974         * math/multc3.c: Likewise.
21975         * math/s_casin.c: Likewise.
21976         * math/s_casinf.c: Likewise.
21977         * math/s_casinl.c: Likewise.
21978         * math/s_ccos.c: Likewise.
21979         * math/s_ccosf.c: Likewise.
21980         * math/s_ccosl.c: Likewise.
21981         * math/s_ctan.c: Likewise.
21982         * math/s_ctanf.c: Likewise.
21983         * math/s_ctanh.c: Likewise.
21984         * math/s_ctanhf.c: Likewise.
21985         * math/s_ctanhl.c: Likewise.
21986         * math/s_ctanl.c: Likewise.
21987         * math/w_fmod.c: Likewise.
21988         * math/w_fmodf.c: Likewise.
21989         * math/w_fmodl.c: Likewise.
21990         * math/w_remainder.c: Likewise.
21991         * math/w_remainderf.c: Likewise.
21992         * math/w_remainderl.c: Likewise.
21993         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21994         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21995         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21996         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21997         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21998         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21999         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22000         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22002         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22003         of the number.
22004         * stdio-common/printf_fphex.c: Likewise.
22005         * stdio-common/printf_size.c: Likewise.
22007         * math/e_exp10.c: Include math_private.h using <...> not "...".
22008         * math/e_exp10f.c: Likewise.
22009         * math/e_exp10l.c: Likewise.
22010         * math/e_exp2l.c: Likewise.
22011         * math/e_j0l.c: Likewise.
22012         * math/e_j1l.c: Likewise.
22013         * math/e_jnl.c: Likewise.
22014         * math/e_lgammal_r.c: Likewise.
22015         * math/e_rem_pio2l.c: Likewise.
22016         * math/e_scalb.c: Likewise.
22017         * math/e_scalbf.c: Likewise.
22018         * math/e_scalbl.c: Likewise.
22019         * math/k_cosl.c: Likewise.
22020         * math/k_sinl.c: Likewise.
22021         * math/k_tanl.c: Likewise.
22022         * math/s_cacoshf.c: Likewise.
22023         * math/s_catan.c: Likewise.
22024         * math/s_catanf.c: Likewise.
22025         * math/s_catanh.c: Likewise.
22026         * math/s_catanhf.c: Likewise.
22027         * math/s_catanhl.c: Likewise.
22028         * math/s_catanl.c: Likewise.
22029         * math/s_ccosh.c: Likewise.
22030         * math/s_ccoshf.c: Likewise.
22031         * math/s_ccoshl.c: Likewise.
22032         * math/s_cexp.c: Likewise.
22033         * math/s_cexpf.c: Likewise.
22034         * math/s_cexpl.c: Likewise.
22035         * math/s_clog.c: Likewise.
22036         * math/s_clog10.c: Likewise.
22037         * math/s_clog10f.c: Likewise.
22038         * math/s_clog10l.c: Likewise.
22039         * math/s_clogf.c: Likewise.
22040         * math/s_clogl.c: Likewise.
22041         * math/s_csin.c: Likewise.
22042         * math/s_csinf.c: Likewise.
22043         * math/s_csinh.c: Likewise.
22044         * math/s_csinhf.c: Likewise.
22045         * math/s_csinhl.c: Likewise.
22046         * math/s_csinl.c: Likewise.
22047         * math/s_csqrt.c: Likewise.
22048         * math/s_csqrtf.c: Likewise.
22049         * math/s_csqrtl.c: Likewise.
22050         * math/s_ctan.c: Likewise.
22051         * math/s_ctanf.c: Likewise.
22052         * math/s_ctanh.c: Likewise.
22053         * math/s_ctanhf.c: Likewise.
22054         * math/s_ctanhl.c: Likewise.
22055         * math/s_ctanl.c: Likewise.
22056         * math/s_ldexp.c: Likewise.
22057         * math/s_ldexpf.c: Likewise.
22058         * math/s_ldexpl.c: Likewise.
22059         * math/s_significand.c: Likewise.
22060         * math/s_significandf.c: Likewise.
22061         * math/s_significandl.c: Likewise.
22062         * math/w_acos.c: Likewise.
22063         * math/w_acosf.c: Likewise.
22064         * math/w_acosh.c: Likewise.
22065         * math/w_acoshf.c: Likewise.
22066         * math/w_acoshl.c: Likewise.
22067         * math/w_acosl.c: Likewise.
22068         * math/w_asin.c: Likewise.
22069         * math/w_asinf.c: Likewise.
22070         * math/w_asinl.c: Likewise.
22071         * math/w_atan2.c: Likewise.
22072         * math/w_atan2f.c: Likewise.
22073         * math/w_atan2l.c: Likewise.
22074         * math/w_atanh.c: Likewise.
22075         * math/w_atanhf.c: Likewise.
22076         * math/w_atanhl.c: Likewise.
22077         * math/w_cosh.c: Likewise.
22078         * math/w_coshf.c: Likewise.
22079         * math/w_coshl.c: Likewise.
22080         * math/w_dremf.c: Likewise.
22081         * math/w_exp10.c: Likewise.
22082         * math/w_exp10f.c: Likewise.
22083         * math/w_exp10l.c: Likewise.
22084         * math/w_exp2.c: Likewise.
22085         * math/w_exp2f.c: Likewise.
22086         * math/w_fmod.c: Likewise.
22087         * math/w_fmodf.c: Likewise.
22088         * math/w_fmodl.c: Likewise.
22089         * math/w_hypot.c: Likewise.
22090         * math/w_hypotf.c: Likewise.
22091         * math/w_hypotl.c: Likewise.
22092         * math/w_j0.c: Likewise.
22093         * math/w_j0f.c: Likewise.
22094         * math/w_j0l.c: Likewise.
22095         * math/w_j1.c: Likewise.
22096         * math/w_j1f.c: Likewise.
22097         * math/w_j1l.c: Likewise.
22098         * math/w_jn.c: Likewise.
22099         * math/w_jnf.c: Likewise.
22100         * math/w_jnl.c: Likewise.
22101         * math/w_lgamma.c: Likewise.
22102         * math/w_lgamma_r.c: Likewise.
22103         * math/w_lgammaf.c: Likewise.
22104         * math/w_lgammaf_r.c: Likewise.
22105         * math/w_lgammal.c: Likewise.
22106         * math/w_lgammal_r.c: Likewise.
22107         * math/w_log.c: Likewise.
22108         * math/w_log10.c: Likewise.
22109         * math/w_log10f.c: Likewise.
22110         * math/w_log10l.c: Likewise.
22111         * math/w_log2.c: Likewise.
22112         * math/w_log2f.c: Likewise.
22113         * math/w_log2l.c: Likewise.
22114         * math/w_logf.c: Likewise.
22115         * math/w_logl.c: Likewise.
22116         * math/w_pow.c: Likewise.
22117         * math/w_powf.c: Likewise.
22118         * math/w_powl.c: Likewise.
22119         * math/w_remainder.c: Likewise.
22120         * math/w_remainderf.c: Likewise.
22121         * math/w_remainderl.c: Likewise.
22122         * math/w_scalb.c: Likewise.
22123         * math/w_scalbf.c: Likewise.
22124         * math/w_scalbl.c: Likewise.
22125         * math/w_sinh.c: Likewise.
22126         * math/w_sinhf.c: Likewise.
22127         * math/w_sinhl.c: Likewise.
22128         * math/w_sqrt.c: Likewise.
22129         * math/w_sqrtf.c: Likewise.
22130         * math/w_sqrtl.c: Likewise.
22131         * math/w_tgamma.c: Likewise.
22132         * math/w_tgammaf.c: Likewise.
22133         * math/w_tgammal.c: Likewise.
22135         * po/ja.po: Update from translation team.
22137 2011-09-29  Andreas Jaeger  <aj@suse.de>
22139         [BZ #13179]
22140         * sunrpc/netname.c (netname2host): Fix logic.
22142         [BZ #6779]
22143         [BZ #6783]
22144         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22145         correctly.
22146         * math/w_remainder.c (__remainder): Likewise.
22147         * math/w_remainderf.c (__remainderf): Likewise.
22148         * math/libm-test.inc (remainder_test): Add test cases.
22150 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22152         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22153         sdiv_qrnnd.
22155 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22157         * string/test-memcmp.c: Avoid unncessary #defines.
22158         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22160 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22162         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22163         Use new sse2 version for core i3 - i7 as it's faster
22164         than sse42 version.
22165         (bit_Prefer_PMINUB_for_stringop): New.
22166         * sysdeps/x86_64/rawmemchr.S: Update.
22167         Replace with faster SSE2 version.
22168         * sysdeps/x86_64/memrchr.S: New file.
22169         * sysdeps/x86_64/memchr.S: Update.
22170         Replace with faster SSE2 version.
22172 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22174         * elf/dl-load.c (lose): Add cast to avoid warning.
22176 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22178         * po/ca.po: Update from translation team.
22180         * inet/getnetgrent_r.c: Hook up nscd.
22181         * nscd/Makefile (routines): Add nscd_netgroup.
22182         (nscd-modules): Add netgroupcache.
22183         (CFLAGS-netgroupcache.c): Define.
22184         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22185         (cache_search): Add const to second parameter.
22186         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22187         INNETGR.
22188         (dbs): Add netgrdb entry.
22189         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22190         (verify_persistent_db): Handle netgrdb.
22191         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22192         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22193         GETFDNETGR.
22194         (netgroup_response_header): Define.
22195         (innetgroup_response_header): Define.
22196         (datahead): Add netgroup_response_header and innetgroup_response_header
22197         elements.
22198         * nscd/nscd.conf: Add entries for netgroup cache.
22199         * nscd/nscd.h (dbtype): Add netgrdb.
22200         (_PATH_NSCD_NETGROUP_DB): Define.
22201         (netgroup_iov_disabled): Declare.
22202         (xmalloc, xcalloc, xrealloc): Move declarations here.
22203         (cache_search): Adjust prototype.
22204         Add netgroup-related prototypes.
22205         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22206         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22207         (__nscd_innetgr): Declare.
22208         * nscd/selinux.c (perms): Use access_vector_t as element type and
22209         add netgroup-related initializers.
22210         * nscd/netgroupcache.c: New file.
22211         * nscd/nscd_netgroup.c: New file.
22212         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22213         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22214         For four parameters use innetgr.
22215         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22216         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22217         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22218         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22220         * nscd/connections.c (register_traced_file): Don't register file
22221         for disabled databases.
22223 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22225         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22227         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22228         from tree and freeing node.
22230 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22232         * nss/nsswitch.c (__nss_database_lookup): Handle
22233         nss_parse_service_list out of memory case.
22235 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22237         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22238         out of memory case.
22240 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22242         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22243         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22244         pass it down.
22245         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22246         elf_machine_rela, elf_machine_lazy_rel.
22247         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22248         (ELF_DYNAMIC_DO_REL): Likewise.
22249         (ELF_DYNAMIC_DO_RELA): Likewise.
22250         (ELF_DYNAMIC_RELOCATE): Likewise.
22251         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22252         to ELF_DYNAMIC_DO_REL.
22253         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22254         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22255         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22256         elf_machine_rela.
22257         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22258         skip_ifunc, don't call ifunc function if non-zero.
22259         (elf_machine_rela): Likewise.
22260         (elf_machine_lazy_rel): Likewise.
22261         (elf_machine_lazy_rela): Likewise.
22262         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22263         (elf_machine_lazy_rel): Likewise.
22264         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22265         Likewise.
22266         (elf_machine_lazy_rel): Likewise.
22267         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22268         Likewise.
22269         (elf_machine_lazy_rel): Likewise.
22270         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22271         (elf_machine_lazy_rel): Likewise.
22272         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22273         (elf_machine_lazy_rel): Likewise.
22274         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22275         (elf_machine_lazy_rel): Likewise.
22276         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22277         (elf_machine_lazy_rel): Likewise.
22278         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22279         (elf_machine_lazy_rel): Likewise.
22280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22281         (elf_machine_lazy_rel): Likewise.
22283 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22285         * nss/nss_files/files-init.c (_nss_files_init): Use static
22286         initialization for all the *_traced_file variables.
22288 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22290         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22292 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22294         [BZ #13226]
22295         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22297 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22299         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22300         Reread the line before reparsing it.
22302 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22304         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22306 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22307             Maxim Kuvyrkov  <maxim@codesourcery.com>
22308             Joseph Myers  <joseph@codesourcery.com>
22310         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22311         if needed for __stack_chk_guard.
22313 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22315         * sysdeps/posix/spawni.c (script_execute): Always define it.
22316         It will be optimized away if unused.
22317         (maybe_script_execute): New function.
22318         (__spawni): Call it.
22320         * Makerules: Don't include tls.make.
22321         (config-tls): Always set to thread.
22322         * tls.make.c: File removed.
22324 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22326         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22327         * config.make.in (CPPFLAGS-config): New substituted variable.
22329 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22331         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22333         [BZ #13192]
22334         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22335         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22337 2011-09-15  Roland McGrath  <roland@hack.frob.com>
22339         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22340         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22341         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22342         (CALL_FAIL): Likewise.
22343         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22344         (CALL_FAIL): Macro removed.
22345         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22347 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22349         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22350         for __FINITE_MATH_ONLY__ == 1.
22352 2011-09-15  Andreas Schwab  <schwab@redhat.com>
22354         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22355         __ieee754_sqrt instead of sqrt.
22356         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22357         __ieee754_sqrtf instead of sqrtf.
22358         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22359         __floorf instead of floorf.
22360         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22361         __floorf, __truncf instead of floorf, truncf.
22363 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
22365         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22367         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22368         __extern_always_inline.
22369         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22370         32-bit.
22372 2011-09-14  Andreas Schwab  <schwab@redhat.com>
22374         * elf/rtld.c (dl_main): Also relocate in dependency order when
22375         doing symbol dependency testing.
22377 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
22379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22380         Always define `refsym'.
22382 2011-09-13  Andreas Schwab  <schwab@redhat.com>
22384         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22385         (__FD_ELT): Renamed from __FDELT.
22386         * misc/bits/select2.h (__FD_ELT): Likewise.
22387         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22388         __FD_MASK instead of __FDELT, __FDMASK.
22389         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22390         Likewise.
22391         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22392         Likewise.
22394         * elf/Makefile (gen-ldd): Fix pattern.
22396         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22397         (init_tls): Likewise.
22399 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
22401         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22403 2011-09-12  Andreas Schwab  <schwab@redhat.com>
22405         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22406         `struct cmsghdr *' instead of `void *'.
22407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22408         Likewise.
22410 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
22412         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22413         if non-absolute.
22414         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22415         ldd_rewrite_script.
22417 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
22419         * configure.in: Remove --with-tls option.
22420         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22421         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22422         out in case it is missing.
22423         * sysdeps/ia64/elf/configure.in: Likewise.
22424         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22425         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22426         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22427         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22428         * sysdeps/sh/elf/configure.in: Likewise.
22429         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22430         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22431         * sysdeps/x86_64/elf/configure.in: Likewise.
22432         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22433         * sysdeps/mach/hurd/tls.h: Likewise.
22435         [BZ #13067]
22436         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22438         [BZ #13090]
22439         * configure.in: Fix use of AC_INIT.
22441         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22443 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
22445         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22446         __set_errno.
22447         * malloc/hooks.c: Likewise.
22449         [BZ #11929]
22450         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
22451         variables statically.
22452         (narenas): Initialize.
22453         (list_lock): Initialize.
22454         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
22455         initializtion of main_arena and list_lock.  Small cleanups.
22456         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22457         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
22458         Add initializers to main_arena and mp_.
22459         (malloc_state): Remove pagesize member.  Change all users to use
22460         GLRO(dl_pagesize).
22462         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22463         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
22464         is always initialized.
22466         * malloc/malloc.c: Removed unused configurations and dead code.
22467         * malloc/arena.c: Likewise.
22468         * malloc/hooks.c: Likewise.
22469         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22471         * include/tls.h: Removed.  USE___THREAD must always be defined.
22472         * bits/libc-tsd.h: Don't handle !USE___THREAD.
22473         * elf/dl-libc.c: Likewise.
22474         * elf/dl-tsd.c: Likewise.
22475         * include/errno.h: Likewise.
22476         * include/netdb.h: Likewise.
22477         * include/resolv.h: Likewise.
22478         * inet/herrno-loc.c: Likewise.
22479         * inet/herrno.c: Likewise.
22480         * malloc/arena.c: Likewise.
22481         * malloc/hooks.c: Likewise.
22482         * malloc/malloc.c: Likewise.
22483         * resolv/res-state.c: Likewise.
22484         * resolv/res_libc.c: Likewise.
22485         * sysdeps/i386/dl-machine.h: Likewise.
22486         * sysdeps/ia64/dl-machine.h: Likewise.
22487         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22488         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22489         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22490         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22491         * sysdeps/sh/dl-machine.h: Likewise.
22492         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22493         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22494         * sysdeps/unix/i386/sysdep.S: Likewise.
22495         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22496         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22497         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22498         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22499         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22501         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22502         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22505         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22506         * sysdeps/x86_64/dl-machine.h: Likewise.
22507         * tls.make.c: Likewise.
22509         * configure.in: Remove --with-__thread option.  Make tests for
22510         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22511         tls_model attribute fail if no support is available.  Remove
22512         USE_IN_LIBIO.
22513         * Makeconfig: Adjust for dropped configure option.  All features are
22514         now mandatory.
22515         * Makerules: Likewise.
22516         * Versions.def: Likewise.
22517         * argp/argp-fmtstream.c: Likewise.
22518         * argp/argp-fmtstream.h: Likewise.
22519         * argp/argp-help.c: Likewise.
22520         * assert/assert.c: Likewise.
22521         * config.h.in: Likewise.
22522         * config.make.in: Likewise.
22523         * configure: Likewise.
22524         * configure.in: Likewise.
22525         * csu/Versions: Likewise.
22526         * csu/init.c: Likewise.
22527         * elf/tst-audit2.c: Likewise.
22528         * elf/tst-tls10.c: Likewise.
22529         * elf/tst-tls10.h: Likewise.
22530         * elf/tst-tls11.c: Likewise.
22531         * elf/tst-tls12.c: Likewise.
22532         * elf/tst-tls14.c: Likewise.
22533         * elf/tst-tlsmod11.c: Likewise.
22534         * elf/tst-tlsmod12.c: Likewise.
22535         * elf/tst-tlsmod13.c: Likewise.
22536         * elf/tst-tlsmod13a.c: Likewise.
22537         * elf/tst-tlsmod14a.c: Likewise.
22538         * elf/tst-tlsmod15b.c: Likewise.
22539         * elf/tst-tlsmod16a.c: Likewise.
22540         * elf/tst-tlsmod16b.c: Likewise.
22541         * elf/tst-tlsmod7.c: Likewise.
22542         * elf/tst-tlsmod8.c: Likewise.
22543         * elf/tst-tlsmod9.c: Likewise.
22544         * gmon/gmon.c: Likewise.
22545         * grp/fgetgrent_r.c: Likewise.
22546         * grp/putgrent.c: Likewise.
22547         * hurd/fopenport.c: Likewise.
22548         * include/libc-symbols.h: Likewise.
22549         * include/tls.h: Likewise.
22550         * intl/gettextP.h: Likewise.
22551         * intl/loadinfo.h: Likewise.
22552         * locale/global-locale.c: Likewise.
22553         * locale/localeinfo.h: Likewise.
22554         * mach/devstream.c: Likewise.
22555         * malloc/arena.c: Likewise.
22556         * malloc/set-freeres.c: Likewise.
22557         * misc/err.c: Likewise.
22558         * misc/getttyent.c: Likewise.
22559         * misc/mntent_r.c: Likewise.
22560         * posix/getopt.c: Likewise.
22561         * posix/wordexp.c: Likewise.
22562         * pwd/fgetpwent_r.c: Likewise.
22563         * resolv/Versions: Likewise.
22564         * resolv/res_hconf.c: Likewise.
22565         * shadow/fgetspent_r.c: Likewise.
22566         * shadow/putspent.c: Likewise.
22567         * stdio-common/printf_fphex.c: Likewise.
22568         * stdio-common/tmpfile.c: Likewise.
22569         * stdlib/abort.c: Likewise.
22570         * stdlib/fmtmsg.c: Likewise.
22571         * sunrpc/auth_unix.c: Likewise.
22572         * sunrpc/clnt_perr.c: Likewise.
22573         * sunrpc/clnt_tcp.c: Likewise.
22574         * sunrpc/clnt_udp.c: Likewise.
22575         * sunrpc/clnt_unix.c: Likewise.
22576         * sunrpc/openchild.c: Likewise.
22577         * sunrpc/svc_simple.c: Likewise.
22578         * sunrpc/svc_tcp.c: Likewise.
22579         * sunrpc/svc_udp.c: Likewise.
22580         * sunrpc/svc_unix.c: Likewise.
22581         * sunrpc/xdr.c: Likewise.
22582         * sunrpc/xdr_array.c: Likewise.
22583         * sunrpc/xdr_rec.c: Likewise.
22584         * sunrpc/xdr_ref.c: Likewise.
22585         * sunrpc/xdr_stdio.c: Likewise.
22587 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22589         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22591 2011-07-03  Andreas Jaeger  <aj@suse.de>
22593         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22594         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22595         regenerate with gen-libm-tests.pl.
22597 2010-05-12  Petr Baudis  <pasky@suse.cz>
22599         [BZ #11589]
22600         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22601         around j0() zero points by switching to j1().
22602         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22603         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22605         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22607 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22609         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22610         instead of 0.
22611         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22612         instead of 0.
22613         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22614         Patch in part by Pavel Roskin <proski@gnu.org>.
22616         [BZ #13138]
22617         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22618         realloc.
22619         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
22620         Free memory block if necessary.
22622         [BZ #12847]
22623         * libio/genops.c (INTDEF): For string streams the _lock pointer can
22624         be NULL.  Don't lock in this case.
22626 2011-09-09  Roland McGrath  <roland@hack.frob.com>
22628         * elf/elf.h (ELFOSABI_GNU): New macro.
22629         (ELFOSABI_LINUX): Define to that.
22631 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
22633         * string/strncat.c (strncat): Undef the symbol in case it has been
22634         defined in bits/string.h.
22636 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22638         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22640         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22641         link map.
22643 2011-08-17  Andreas Jaeger  <aj@suse.de>
22645         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22647 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22648             Ian Lance Taylor  <iant@google.com>
22650         * math/libm-test.inc (lround_test): New testcase.
22651         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22653 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
22655         * Makefile: Remove support for automatic cvs check-ins.
22656         * Makerules: Likewise.
22657         * config.make.in: Likewise.
22658         * configure.in: Likewise.
22659         * intl/Makefile: Likewise.
22660         * locale/Makefile: Likewise.
22661         * po/Makefile: Likewise.
22662         * posix/Makefile: Likewise.
22663         * sysdeps/gnu/Makefile: Likewise.
22664         * sysdeps/mach/hurd/Makefile: Likewise.
22665         * sysdeps/sparc/sparc32/Makefile: Likewise.
22667         [BZ #13118]
22668         * posix/Makefile (bug-regex32-ENV): Define.
22669         Patch by John Stanley <jpsinthemix@verizon.net>.
22671         * misc/Makefile (headers): Add bits/select2.h.
22672         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22673         * misc/bits/select2.h: New file.
22674         * include/bits/select2.h: New file.
22675         * debug/Makefile (routines): Add fdelt_chk.
22676         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22677         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22678         FD_ISSET.
22679         * debug/fdelt_chk.c: New file.
22681         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
22682         * wcsmbs/test-wmemcmp.c: Likewise.
22683         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22684         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22686 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22688         * string/Makefile (strop-tests): Add memcmp.
22689         * string/test-wmemcmp.c: New file.
22690         * string/test-memcmp.c: Add wmemcmp support.
22692 2011-09-08  Roland McGrath  <roland@hack.frob.com>
22694         [BZ #13153]
22695         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22696         2011-07-19 change.
22698         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22699         garbage value in a __mach_port_mod_refs call in the cases of the
22700         task-self and thread-self ports.
22702 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22704         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22706 2011-09-08  Andreas Schwab  <schwab@redhat.com>
22708         * elf/dl-load.c (lose): Check for non-null L.
22710 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22712         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22714         * elf/dl-libc.c (dlerror_run): Pass back error code from
22715         dl_catch_error.
22717         [BZ #13123]
22718         * elf/dl-load.c (lose): Free l_origin if it is valid.
22720         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22721         names.
22722         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22723         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22724         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22725         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22726         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22727         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22729 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22731         * sysdeps/powerpc/fpu/e_hypot.c: New file.
22732         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22733         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22734         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22735         * sysdeps/powerpc/fpu/k_cosf.c: New file.
22736         * sysdeps/powerpc/fpu/k_sinf.c: New file.
22737         * sysdeps/powerpc/fpu/s_cosf.c: New file.
22738         * sysdeps/powerpc/fpu/s_sinf.c: New file.
22739         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22740         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22742 2011-08-15  Alan Modra  <amodra@gmail.com>
22744         [BZ #13092]
22745         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22746         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22747         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
22748         ppc_mcount to static-only-routines.
22749         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22750         __mcount_internal.
22751         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22752         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
22754 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
22756         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22757         for finite and infinity parameters.
22759 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22761         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22762         and add nop instructions for throughput optimization.
22763         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22765 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
22767         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22768         aligned copy for power7 with vector-scalar instructions.
22769         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22771 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
22773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22774         AVX check.
22776 2011-09-07  Andreas Schwab  <schwab@redhat.com>
22778         [BZ #13144]
22779         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22780         last change.
22782 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22784         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22785         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22786         syscall wrapper around clock_gettime in __vdso_clock_gettime.
22787         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22788         clock_gettime.
22790 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22792         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22793         Forgot to demangle the pointer.
22795         * sysdeps/i386/sysdep.h: Define atom_text_section.
22796         * sysdeps/x86_64/sysdep.h: Likewise.
22797         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22798         section with atom_text_section.
22799         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22800         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22801         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22802         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22803         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22805         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22806         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22807         already be defined.  Change to take two parameters and don't assign
22808         result to variable.  Adjust all users.
22809         Define INTERNAL_GETTIME if not already defined.
22810         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22811         call.
22812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22813         HAVE_CLOCK_GETTIME_VSYSCALL.
22814         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22817         gettimeofday vsyscall, just use time.
22819 2011-09-06  Andreas Schwab  <schwab@redhat.com>
22821         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22822         <errno.h>.
22824 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22826         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22827         syscall on x86-64.
22828         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22829         syscall.
22830         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22831         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22832         syscall if possible.
22834 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22836         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22837         e_ident.  Don't pass to find_mapsXX.
22838         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22840 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22843         strchr-sse2-no-bsf strrchr-sse2-no-bsf
22844         * sysdeps/x86_64/multiarch/strchr.S: Update.
22845         Check bit_slow_BSF bit.
22846         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22847         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22848         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22850 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22852         [BZ #13134]
22853         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22854         before glibc 2.15.
22855         (tryshell): Define.
22856         (__spawni): Change last parameter to be flag.  Test
22857         SPAWN_XFLAGS_USE_PATH flag to use path or not.
22858         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22859         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22860         * posix/spawni.c: Likewise.
22861         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22862         * posix/spawnp.c: Likewise.  Change normal version to use
22863         SPAWN_XFLAGS_USE_PATH.
22864         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22865         SPAWN_XFLAGS_TRY_SHELL.
22867         [BZ #13150]
22868         * posix/glob.h: Remove gcc 1.x support.
22870         [BZ #13068]
22871         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22873 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22875         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22876         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22877         strrchr-sse2-bsf
22878         * sysdeps/i386/i686/multiarch/strchr.S: New file.
22879         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22880         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22881         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22882         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22883         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22885 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22887         * sysdeps/x86_64/wcscmp.S: New file.
22889         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22890         wcscmp-c wcscmp-sse2
22891         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22892         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22893         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22894         * wcsmbs/wcscmp.c: Allow renaming.
22896 2011-09-05  David S. Miller  <davem@davemloft.net>
22898         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22899         stack slot, rather than the struct return pointer slot.
22900         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22901         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22903         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22905 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22907         * po/ja.po: Update from translation team.
22909         [BZ #13144]
22910         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22911         kernel in 64-bit binaries.
22913 2011-09-01  David S. Miller  <davem@davemloft.net>
22915         * elf/elf.h (HWCAP_SPARC_*): Move to..
22916         * sysdeps/sparc/sysdep.h: this new file and add new values.
22917         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22918         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22919         _DL_HWCAP_COUNT to 24.
22920         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22921         entries.
22922         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22923         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22924         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22926         instead of magic constants.
22927         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22929 2011-08-31  David S. Miller  <davem@davemloft.net>
22931         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22932         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22933         Reimplement to do errno handling inline.
22934         (SYSCALL_ERROR_HANDLER): New macro.
22935         (__SYSCALL_STRING): Do not do errno handling in asm.
22936         (__CLONE_SYSCALL_STRING): Delete.
22937         (__INTERNAL_SYSCALL_STRING): Delete.
22938         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22939         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22940         (PSEUDO): Reimplement to do errno handling inline.
22941         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22942         (SYSCALL_ERROR_HANDLER): New macro.
22943         (__SYSCALL_STRING): Do not do errno handling in asm.
22944         (__CLONE_SYSCALL_STRING): Delete.
22945         (__INTERNAL_SYSCALL_STRING): Delete.
22946         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22947         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22948         i386.
22949         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22950         (inline_syscall*): Add 'err' argument.
22951         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22952         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22953         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22954         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22956         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22957         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22959 2011-08-30  Andreas Schwab  <schwab@redhat.com>
22961         * elf/rtld.c (dl_main): Relocate objects in dependency order.
22963 2011-08-29  Jiri Olsa <jolsa@redhat.com>
22965         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22966         directive.
22968 2011-08-24  David S. Miller  <davem@davemloft.net>
22970         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22972 2011-08-24  Andreas Schwab  <schwab@redhat.com>
22974         * elf/Makefile: Add rules to build and run unload8 test.
22975         * elf/unload8.c: New file.
22976         * elf/unload8mod1.c: New file.
22977         * elf/unload8mod1x.c: New file.
22978         * elf/unload8mod2.c: New file.
22979         * elf/unload8mod3.c: New file.
22981         * elf/dl-close.c (_dl_close_worker): Reset private search list if
22982         it wasn't used.
22984 2011-08-23  David S. Miller  <davem@davemloft.net>
22986         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22987         subtract stack bias.
22988         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22989         %sp not %fp in calculations.
22990         (_JMPBUF_UNWINDS_ADJ): Likewise.
22992         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22993         (aio_suspend): Call it to force an exception region around the
22994         AIO_MISC_WAIT() invocation.
22996 2011-08-23  Andreas Schwab  <schwab@redhat.com>
22998         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22999         backslash.
23001 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23003         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23004         protection macro.
23005         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23006         and <dl-machine.h>.
23007         (Elf64_FuncDesc): Remove.
23009 2011-08-22  David S. Miller  <davem@davemloft.net>
23011         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23012         sigaltstack check, add missing cfi directives.
23013         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23014         missing cfi directives, and sigaltstack handling.
23016 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23018         [BZ #11724]
23019         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23020         object is seen twice.
23021         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23023         * elf/Makefile (distribute): Add tst-initorder2.c.
23024         (tests): Add tst-initorder2.
23025         (modules-names): Add tst-initorder2a tst-initorder2b
23026         tst-initorder2c tst-initorder2d.  Add rules to build them.
23027         ($(objpfx)tst-initorder2.out): New rule.
23028         * elf/tst-initorder2.c: New file.
23029         * elf/tst-initorder2.exp: New file.
23031 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23033         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23035         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23036         dependencies back to end of function.
23038         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23039         $(elfobjdir)/ld.so.
23041 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23044         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23045         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23046         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23047         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23048         of __vdso_gettimeofday.
23049         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23050         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23051         attribute_hidden.
23052         (_libc_vdso_platform_setup): Remove initialization of
23053         __vdso_gettimeofday and __vdso_time.
23055 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23057         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23058         and fgetc_unlocked.
23059         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23060         getc_unlocked.
23062         * elf/dl-open.c (add_to_global): Report additions to the global scope
23063         for LD_DEBUG=scopes.
23064         (dl_open_worker): Also print scope of newly loaded dependencies.
23065         (_dl_show_scope): Indicate if there is no scope.
23067         [BZ #13114]
23068         * stdio-common/Makefile (tests): Add bug24.
23069         * stdio-common/bug24.c: New file.
23071 2011-08-19  Andreas Jaeger  <aj@suse.de>
23073         [BZ #13114]
23074         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23075         non-existant file when using close-on-exec mode.
23077 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23079         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23080         the very first instruction.
23082         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23083         the CFI state in the end.
23084         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23085         inclusion of dl-trampoline.h.
23086         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23088 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23090         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23091         expectations for long double.
23093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23094         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23096 2011-08-14  David S. Miller  <davem@davemloft.net>
23098         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23099         artificual limit depends upon the system page size.
23101 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23103         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23104         * resolv/Makefile: Define CFLAGS-libresolv.
23106 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23108         * nss/makedb.c (compute_tables): Make variables used in nested
23109         function static.
23111 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23113         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23114         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23115         if buffer was too small.
23117         * elf/pldd.c (main): Attach to all threads in the process.
23118         Rewrite /proc handling to use *at functions.
23120 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23122         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23123         specifies first scope to show.
23124         (dl_open_worker): Update callers.  Move printing scope of new
23125         object to before the relocation.
23126         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23127         * sysdeps/generic/ldsodefs.h: Update declaration.
23129         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23130         string for the scope number.
23132 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23134         * nscd/servicescache.c (cache_addserv): Make sure written is always
23135         initialized.
23137 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23139         * sysdeps/i386/i486/bits/atomic.h
23140         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23141         statement expression, so as to suppress "set but not used" warning.
23142         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23144         * string/strncat.c (STRNCAT): Use prototype definition.
23146         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23147         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23148         -Iprograms here.
23149         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23150         (localedef-modules): Add localedef.
23151         (locale-modules): Add locale.
23153         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23154         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23155         to avoid a warning.
23157 2011-08-14  David S. Miller  <davem@davemloft.net>
23159         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23160         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23162 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23164         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23165         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23166         * elf/rtld.c (dl_main): Set l_name of vDSO.
23167         Call _dl_show_scope when DL_DEBUG_SCOPES.
23168         (process_dl_debug): Recognize scopes flag and also set it for all.
23169         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23170         Declare _dl_show_scope.
23172         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23173         (do_dlopen): Pass caller_dlopen to dl_open.
23174         (__libc_dlopen_mode): Initialize caller_dlopen.
23176         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23177         of libc.  Make tolower call locale-independent.  Optimize a bit by
23178         using isdigit instead of isalnum.
23179         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23181 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23183         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23184         was a dependency or dynamically loaded.
23186 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23188         * intl/l10nflist.c: Allow architecture-specific pop function.
23189         * sysdeps/x86_64/l10nflist.c: New file.
23191         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23192         classification.
23194 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23196         * include/dirent.h: Add libc_hidden_proto for scandirat and
23197         scandirat64.  Don't declare __scandirat64.
23198         * dirent/scandirat.c: Add libc_hidden_def.
23199         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23200         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23202 2011-08-10  David S. Miller  <davem@davemloft.net>
23204         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23205         enum.
23206         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23207         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23208         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23210 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23212         * Versions.def [libc]: Add GLIBC_2.15.
23213         * dirent/Makefile (routines): Add scandirat and scandirat64.
23214         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23215         GLIBC_2.15.
23216         * dirent/dirent.h: Declare scandirat and scandirat64.
23217         * dirent/scandirat.c: New file.
23218         * dirent/scandirat64.c: New file.
23219         * sysdeps/wordsize-64/scandirat.c: New file.
23220         * sysdeps/wordsize-64/scandirat64.c: New file.
23221         * dirent/opendir.c: Define opendirat.
23222         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23223         using scandirat.
23224         * dirent/scandir64.c: Adjust for scandir.c change.
23225         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23226         __scandirat64, and __scandir_cancel_handler.
23227         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23228         additional parameter and use openat instead of open (outside of ld.so).
23229         Add new __opendir as wrapper around __opendirat.
23230         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23231         here without requiring old scandirat implementation.
23233 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23235         * dirent/scandir.c (cancel_handler): Renamed to
23236         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23237         defined.  Adjust users.
23238         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23239         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23241 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23243         * string/test-string.h (IMPL): Use __STRING to expand name and then
23244         stringify it.
23246         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23247         of cleanups.
23249 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23251         * string/Makefile: Update.
23252         (strop-tests): Append strncat.
23253         * string/test-wcscmp.c: New file.
23254         New comprehensive test for wcscmp.
23255         * string/test-strcmp.c: Update.
23256         (WIDE): New define.
23258 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23260         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23261         line.
23263 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23266         encoding to ACE if AI_IDN.
23268 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23270         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23271         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23273 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23275         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23276         Fix overflow bug in strncat.
23277         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23279         * string/test-strncat.c: Update.
23280         Add new tests for checking overflow bugs.
23282 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23285         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23286         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23287         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23288         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23289         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23290         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23291         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23292         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23294         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23295         (USE_AS_STRCAT): Define.
23296         Add strcat and strncat support.
23297         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23299 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23301         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23302         __n bigger than INT_MAX+1.
23303         (__strncmp_g): Likewise.
23305 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23307         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23308         * libio/stido.h: Likewise.
23310         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23311         (AF_NFC): Define.
23312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23313         (AF_NFC): Define.
23315         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23316         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23317         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23318         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23319         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23321         [BZ #13021]
23322         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23323         installed.
23325         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23326         typo.
23327         (_dl_x86_64_save_sse): Likewise.
23329 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23331         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23332         OSXSAVE.
23333         (_dl_x86_64_save_sse): Likewise.
23335         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23337         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23339 2011-07-21  Andreas Schwab  <schwab@redhat.com>
23341         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23342         change.
23343         (_dl_x86_64_save_sse): Use correct AVX check.
23345 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23347         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23348         bug in strncpy/strncat.
23349         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23351 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
23353         * string/tester.c (test_strcat): Add tests for different alignments
23354         of source and destination.
23355         (test_strncat): Likewise.
23357 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23359         [BZ #12852]
23360         * posix/glob.c (glob): Check passed in values before using them in
23361         expressions to avoid some overflows.
23362         (glob_in_dir): Likewise.
23364         [BZ #13007]
23365         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23366         check for AVX enablement so that we don't crash with old kernels and
23367         new hardware.
23368         * elf/tst-audit4.c: Add same checks here.
23369         * elf/tst-audit6.c: Likewise.
23371         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23373 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
23375         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23377 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23379         * po/cs.po: Update from translation team.
23380         * po/bg.po: Likewise.
23382 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
23384         * misc/sys/cdefs.h: Add support for const attribute.
23385         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23386         to gnu_dev_{major,minor,makedev} functions.
23388 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
23390         * intl/dcigettext.c (get_output_charset): Add missing bracket.
23392 2011-07-20  Andreas Schwab  <schwab@redhat.com>
23394         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23395         strlen results.
23397 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23399         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23400         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23401         register in order to avoid conflicts with the soft frame pointer
23402         being held in r11 when necessary.
23403         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23404         (INTERNAL_VSYSCALL_NCS): Likewise.
23406 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
23408         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23409         * elf/dl-fini.c (_dl_fini): Adjust caller.
23410         * elf/dl-close.c (_dl_close_worker): Likewise.
23411         * sysdeps/generic/ldsodefs.h: Adjust declaration.
23413 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23415         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23416         "aux_cache->nlibs < 0".
23418         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23419         in the reload-count case.
23421 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23424         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23425         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23426         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23427         * sysdeps/x86_64/multiarch/strcat.S: New file.
23428         * sysdeps/x86_64/multiarch/strncat.S: New file.
23429         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23430         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23431         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23432         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23433         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23434         (USE_AS_STRCAT): Define.
23435         Add strcat and strncat support.
23436         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23437         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23438         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23439         * string/strncat.c: Update.
23440         (USE_AS_STRNCAT): Define.
23441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23442         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23443         and i7.
23444         * sysdeps/x86_64/multiarch/init-arch.h
23445         (bit_Prefer_PMINUB_for_stringop): New.
23446         (index_Prefer_PMINUB_for_stringop): Likewise.
23447         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23448         bit_Prefer_PMINUB_for_stringop.
23450 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23452         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23453         buffer64.
23454         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23455         of casting of buffer.
23456         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23457         buffer32 and buffer64.
23458         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23459         writes instead of casting of buffer.
23460         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23461         buffer32.
23462         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23463         casting of buffer.
23465 2011-07-19  Andreas Schwab  <schwab@redhat.com>
23467         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23469 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23471         * nscd/nscd.c (termination_handler): Don't do anything for a database
23472         if it has not yet been initialized.
23474 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23476         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23478 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23480         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23482 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23484         * po/nl.po: Update from translation team.
23485         * po/sv.po: Likewise.
23487 2011-07-16  Roland McGrath  <roland@hack.frob.com>
23489         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23490         now disallowed by GCC.
23492         * configure.in (use-default-link): Default to yes if a test -shared
23493         link meets our qualifications.
23494         * configure: Regenerated.
23496         * config.make.in (output-format): New variable.
23497         * configure.in: Check for ld --print-output-format support.
23498         * configure: Regenerated.
23499         * Makerules ($(common-objpfx)format.lds)
23500         [$(output-format) != unknown]: Just use $(output-format),
23501         instead of the linker-script munging.
23503 2011-07-14  Roland McGrath  <roland@hack.frob.com>
23505         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23506         of $(common-objpfx)shlib.lds.
23507         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23509         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23510         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23512         * configure.in (-z relro check): Adjust test code to add a large
23513         writable data section after it.
23514         * configure: Regenerated.
23516 2011-07-11  Roland McGrath  <roland@hack.frob.com>
23518         * configure.in (-z relro check): Fix test code to make the variable
23519         truly const.
23520         * configure: Regenerated.
23522 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
23524         * nscd/nscd.h (struct traced_file): Define.
23525         (struct database_dyn): Remove inotify_descr, reset_res, and filename
23526         elements.  Add traced_files.
23527         (inotify_fd): Declare.
23528         (register_traced_file): Declare.
23529         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23530         (inotify_fd): Export.
23531         (resolv_conf_descr): Remove.
23532         (nscd_init): Move inotify descriptor creation to main.
23533         Don't register files for notification here.
23534         (register_traced_file): New function.
23535         (invalidate_cache): Don't use reset_res to determine whether to call
23536         res_init, go through the list of registered files.
23537         (main_loop_poll): The inotify descriptors are now stored in the
23538         structures for the traced files.
23539         (main_loop_epoll): Likewise
23540         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
23541         to __nss_disable_nscd.
23542         * nscd/cache.c (prune_cache): There is no single inotify descriptor
23543         for a database anymore.  Check the records for all the registered
23544         files instead.
23545         * nss/Makefile (libnss_files-routines): Add files-init.
23546         (libnss_db-routines): Add db-init.
23547         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23548         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23549         * nss/nss_db/db-init.c: New file.
23550         * nss/nss_files/files-init.c: New file.
23551         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
23552         __nss_lookup_function.
23553         (__nss_lookup_function): Call nss_load_library.
23554         (nss_load_all_libraries): New function.
23555         (__nss_disable_nscd): Take parameter with callback function for files
23556         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
23557         used for the cached services.
23558         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23559         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23560         options for features to all the files in nscd.
23562         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23564 2011-07-10  Roland McGrath  <roland@hack.frob.com>
23566         * csu/elf-init.c (__libc_csu_init): Comment typo.
23568 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
23570         * po/pl.po: Update from translation team.
23571         * po/ja.po: Likewise.
23572         * po/ru.po: Likewise.
23573         * po/ko.po: Likewise.
23574         * po/fr.po: Likewise.
23576 2011-07-09  Roland McGrath  <roland@hack.frob.com>
23578         * configure.in (.ctors/.dtors header and trailer check):
23579         Use an empirical test on a built program.
23580         * configure: Regenerated.
23582         * configure.in (-z relro check): Use an empirical test on a built DSO.
23583         Detect, but do not require, on ia64.
23584         * configure: Regenerated.
23586         * configure.in (READELF): Find it with AC_CHECK_TOOL.
23587         Update tests that use readelf to use $READELF instead.
23588         * configure: Regenerated.
23590 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
23592         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23593         if the result is not used.
23595 2011-07-05  Andreas Jaeger  <aj@suse.de>
23597         [BZ#9696]
23598         * stdlib/tst-strtod.c: Add testcase.
23600 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
23602         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23603         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23604         The latter has a higher limit.  Take additional parameter to pass to
23605         the new function.
23606         (__pathconf): Pass file to __statfs_link_max.
23607         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23608         __statfs_link_max.
23609         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23610         __statfs_link_max.
23612         [BZ #12868]
23613         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23614         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23615         Handle Lustre.
23616         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23617         (__statfs_filesize_max): Likewise.
23618         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23620 2011-07-05  Andreas Jaeger  <aj@suse.de>
23622         * resolv/res_comp.c (dn_skipname): Remove unused variable.
23624 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
23626         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23627         `status' variable.
23628         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23629         Likewise.
23631 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
23633         * Makefile (strop-tests): Add strncat.
23634         * string/test-strncat.c: New file.
23636 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
23638         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23640 2011-06-21  Andreas Jaeger  <aj@suse.de>
23642         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23643         Copy rule from iconvdata/Makefile.
23645 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23647         [BZ #12922]
23648         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23649         but no long options are defined, just return 'W'.
23651 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
23653         [BZ #9696]
23654         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23656 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23658         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23659         netgroups to read.
23660         (innetgr): Likewise.
23662 2011-07-05  Roland McGrath  <roland@hack.frob.com>
23664         * config.make.in (install_root): Default to $(DESTDIR).
23666 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
23668         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23670 2011-07-02  Roland McGrath  <roland@hack.frob.com>
23672         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23674         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23675         containing directory rather than embedding absolute directory names.
23677         * scripts/check-local-headers.sh: Rewritten using awk.
23678         Match by word, not by line.  Print error messages for matches.
23679         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23681         * Makerules [shlib-lds-flags empty]:
23682         ($(common-objpfx)libc_pic.opts): New target.
23683         ($(common-objpfx)libc_pic.os.clean): New target.
23684         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23686         * config.make.in (OBJCOPY): New variable.
23687         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23688         * configure: Regenerated.
23690         * config.make.in (use-default-link): New variable.
23691         * configure.in (use_default_link): Grok --with-default-link to set it.
23692         * configure: Regenerated.
23693         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23694         (shlib-lds, shlib-lds-flags): Define to empty.
23696         * Makerules (shlib-lds): New variable.
23697         (shlib-lds-flags): New variable.
23698         (build-shlib, build-moduile, build-module-asneeded): Use it.
23699         ($(common-objpfx)libc.so): Use $(shlib-lds).
23700         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23701         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23703         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23704         DT_FLAGS/DT_FLAGS_1 with zero flags.
23706         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23707         linker script munging.
23709 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
23711         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23712         as 128-bit value.
23713         * crypt/sha512.c (sha512_process_block): Perform total addition using
23714         128-bit if possible.
23715         (__sha512_finish_ctx): Likewise.
23716         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23717         as 64-bit value.
23718         * crypt/sha256.c (SWAP64): Define.
23719         (sha256_process_block): Perform total addition using 64-bit if
23720         possible.
23721         (__sha256_finish_ctx): Likewise.
23723 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
23725         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
23726         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23727         * nscd/hstcache.c (cache_addhst): Likewise.
23728         * nscd/grpcache.c (cache_addgr): Likewise.
23729         * nscd/aicache.c (addhstaiX): Likewise
23730         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23732 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
23734         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23735         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23736         * nscd/hstcache.c (cache_addhst): Likewise.
23737         * nscd/grpcache.c (cache_addgr): Likewise.
23738         * nscd/aicache.c (addhstaiX): Likewise
23740 2011-07-01  Andreas Schwab  <schwab@redhat.com>
23742         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23743         domain only when needed.
23745 2011-06-30  Andreas Schwab  <schwab@redhat.com>
23747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23748         is always restored.
23750 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
23752         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23753         are re-adding the entry.
23754         * nscd/servicescache.c (cache_addserv): Likewise.
23756 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
23758         * sysdeps/generic/dl-irel.h: fix protection against multiple
23759         inclusions.
23760         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23762 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
23764         [BZ #12935]
23765         * malloc/memusage.sh: Fix quoting in message.
23766         * debug/xtrace.sh: Likewise.
23768         * configure.in: Remove support for --experimental-malloc option, make
23769         it the default.
23770         * config.make.in: Likewise.
23771         * malloc/Makefile: Likewise.
23773 2011-06-27  Andreas Schwab  <schwab@redhat.com>
23775         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23776         two-byte characters.
23778 2011-06-27  Roland McGrath  <roland@hack.frob.com>
23780         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23781         AC_CACHE_CHECK invocation.
23782         * configure: Regenerated.
23784         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23786 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
23788         [BZ #12350]
23789         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
23790         bit from old_res_options.
23792         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23794         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23795         value type for setfct.
23797 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
23799         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23800         __gettimeofday instead of gettimeofday.
23802 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
23804         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23806 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23808         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23810         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23811         info.
23813 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23816         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23817         strcpy-sse2-unaligned strncpy-sse2-unaligned
23818         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23819         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23820         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23821         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23822         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23823         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23824         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23825         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23826         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23827         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23828         (STRCPY): Support SSE2 and SSSE3 versions.
23830 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
23832         [BZ #12874]
23833         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23834         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23835         kernels which artificially limit size of requests.
23837 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23839         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23840         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23841         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23842         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23843         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23844         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23845         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23846         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23847         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23848         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23849         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23850         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23851         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23852         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23853         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23855         Enable unaligned load optimization for Intel Core i3, i5 and i7
23856         processors.
23857         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23858         Define.
23859         (index_Fast_Unaligned_Load): Define.
23860         (HAS_FAST_UNALIGNED_LOAD): Define.
23862 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
23864         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23866 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23868         [BZ #12907]
23869         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23870         until it is clear that the information is realy needed.
23871         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23873 2011-06-22  Andreas Schwab  <schwab@redhat.com>
23875         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23877 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23879         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23880         /sys/devices/system/cpu/online if it is usable.
23882         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23883         reading the information from the /proc filesystem to once a second.
23885 2011-06-21  Andreas Jaeger  <aj@suse.de>
23887         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23888         NULL after inclusion of kernel headers.
23890 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
23892         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23893         calls to internal_setent.
23895         [BZ #12885]
23896         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23897         addresses using gethostbyname4_r ignore IPv4 addresses.
23899         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23900         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
23902         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23904 2011-06-20  David S. Miller  <davem@davemloft.net>
23906         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23907         inclusions.
23908         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23910         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23911         (elf_irel): Use it.
23912         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23913         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23914         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23915         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23916         * sysdeps/x86_64/dl-irel.h: Likewise.
23918         * elf/dl-runtime.c: Use elf_ifunc_invoke.
23919         * elf/dl-sym.c: Likewise.
23921 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23923         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
23924         need to dereference resplen2.
23926 2011-06-14  Andreas Schwab  <schwab@redhat.com>
23928         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23930 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23932         * Makeconfig: Define vardbdir and inst_vardbdir.
23933         * nss/Makefile: Add rules to install db-Makefile.
23935         * nss/nss_db/db-XXX.c: Cleanup.
23937         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23938         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23939         GLIBC_PRIVATE.
23940         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23941         * nss/makedb.c: Implement -g option to specify that value strings
23942         are generated and should not be added to table iterated over for
23943         get*ent calls.
23944         * nss/nss_db/db-initgroups.c: New file.
23946         * nss/getent.c: Add support for initgroups lookups through getgrouplist
23947         interface.
23949         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23950         (internal_getgrouplist): Adjust to name change.
23951         Update use_initgroups_entry if this is not the first call.
23952         * nss/databases.def: Add initgroups entry.
23954         * nss/makedb.c (compute_tables): Check result of multiple hash table
23955         sizes to minimize maximum chain length.
23957 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
23959         * Versions.def: Add entry for libnss_db.
23960         * shlib-versions: Likewise.
23961         * nss/Makefile: Add rules to build libnss_db.
23962         * nss/Versions: Add libnss_db information.  Organize libnss_files
23963         entries better.
23964         * nss/db-Makefile: Add gshadow support.  Change rules for the new
23965         makedb progra.  Some minor improvements to generate smaller files.
23966         * nss/nss_db/nss_db.h: Move NSS database header data structures to
23967         here from...
23968         * nss/makedb.c: ...here.
23969         Improve database format to be smaller and require less memory at
23970         runtime.
23971         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
23972         db anymore.
23973         * nss/nss_db/db-netgrp.c: Likewise.
23974         * nss/nss_db/db-open.c: Likewise.
23975         * nss/nss_files/flies-XXX.x: Adjust comments.
23976         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23977         * nss/nss_files/files-grp.c: Likewise.
23978         * nss/nss_files/files-hosts.c: Likewise.
23979         * nss/nss_files/files-network.c: Likewise.
23980         * nss/nss_files/files-proto.c: Likewise.
23981         * nss/nss_files/files-pwd.c: Likewise.
23982         * nss/nss_files/files-rpc.c: Likewise.
23983         * nss/nss_files/files-service.c: Likewise.
23984         * nss/nss_files/files-sgrp.c: Likewise.
23985         * nss/nss_files/files-spwd.c: Likewise.
23986         * nss/nss_db/db-alias.c: Removed.
23987         * nss/nss_db/dummy-db.h: Removed.
23989 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
23991         * nss/makedb.c: Rewritten to not use database library.
23992         * nss/Makefile: Update to build new makedb program.
23994 2011-06-14  Andreas Jaeger  <aj@suse.de>
23996         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23997         memset declaration.
23999 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24002         tmpbuf.
24004 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24006         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24007         * elf/Makefile ($(objpfx)ld.so): Likewise.
24009         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24010         Don't list ld.so twice in dependencies.
24012         * posix/bug-regex31.c: Include <stdlib.h>.
24014         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24016         * nis/nss_compat/compat-spwd.c
24017         (getspent_next_nss_netgr): Remove unused variable.
24018         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24020         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24021         nonmembers" output to use the right array.
24023         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24025         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24027         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24028         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24029         * catgets/gencat.c (read_input_file): Likewise.
24030         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24032         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24033         variable definition inside #if's controlling its use.
24035         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24037         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24039         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24041         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24042         unreachable code.
24044         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24046         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24047         * configure: Regenerated.
24049         * Makerules: Revert last change.
24050         * elf/Makefile: Likewise.
24052 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24054         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24055         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24056         (reloc-link): Likewise.
24058 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24060         * elf/Makefile: Add rules to build pldd.
24061         * elf/pldd.c: New file.
24062         * elf/pldd-xx.c: New file.
24064 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24066         * version.h: Update for 2.15 development version.
24068 2011-06-07  David S. Miller  <davem@davemloft.net>
24070         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24071         ifuncs.
24072         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24073         elf_machine_lazy_rel): Likewise.
24074         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24075         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24076         elf_machine_lazy_rel): Likewise.
24077         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24078         dl_hwcap via passed in argument.
24079         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24080         Likewise.
24082 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24084         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24086 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24088         [BZ #12849]
24089         * manual/fdl-1.1.texi: New file, verbatim from:
24090         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24091         * manual/lgpl-2.1.texi: New file, verbatim from:
24092         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24093         * manual/Makefile (licenses): New variable, list those new file names.
24094         (texis): Use it.
24095         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24097         * manual/fdl.texi: File removed.
24098         * manual/lesser.texi: File removed.
24099         * manual/libc.texinfo (Copying, Documentation License):
24100         Use new @include file names, put @appendix directive before @include.
24102 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24104         [BZ #12841]
24105         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24106         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24107         (mq_open): Add __NTH.
24109 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24112         Assume Intel Core i3/i5/i7 processor if AVX is available.
24114 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24116         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24117         typo.
24119 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24121         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24122         memory.  Use alloca_account.  Fix memory leak when retrying.
24124 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24126         * version.h (RELEASE): Bump for 2.14 release.
24127         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24129         * config.make.in (RANLIB): Remove entry.
24131 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24133         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24134         (libc.pot): Work around missing support for .ksh extension in xgettext.
24136         [BZ #12684]
24137         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24138         if both request failed.
24139         (send_dg): In case of server errors clear resplen or *resplen2.
24141         [BZ #12454]
24142         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24143         when there are multiple maps.
24144         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24145         (_dl_fini): Remove test here.
24147         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24149 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24151         [BZ #12350]
24152         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24153         bit from old_res_options.
24154         (gaih_inet): Likewise.
24156         [BZ #11099]
24157         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24158         as signed.
24160         * resolv/res_init.c (res_setoptions): Make the code more compact.
24162         [BZ #11558]
24163         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24164         set RES_USEVC.
24166         [BZ #11634]
24167         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24169         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24171         [BZ #11781]
24172         * malloc/malloc.h: Declare malloc hook variables as volatile.
24174         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24175         in last patch.
24177         [BZ #11799]
24178         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24179         raise in the comment.
24180         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24181         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24182         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24184 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24186         [BZ #12811]
24187         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24188         grow the buffers more if it already has to be sufficient.
24189         (build_wcs_upper_buffer): Likewise.
24190         * posix/regexec.c (check_matching): Likewise.
24191         (clean_state_log_if_needed): Likewise.
24192         (extend_buffers): Don't enlarge buffers beyond size of the input
24193         buffer.
24194         Patches mostly by Emil Wojak <emil@wojak.eu>.
24195         * posix/bug-regex32.c: New file.
24196         * posix/Makefile (tests): Add bug-regex32.
24198         * locale/findlocale.c (_nl_find_locale): Return right away if
24199         _nl_explode_name failed.
24200         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24202         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24204         * debug/xtrace.sh: Unify messages.
24205         * malloc/memusage.sh: Likewise.
24207         [BZ #12813]
24208         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24209         time symbol from vDSO.  Substitute with vsyscall if not available.
24210         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24211         __vdso_time.
24213         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24214         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24215         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24216         Add sendmmsg and internal_sendmmsg.
24217         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24218         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24219         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24221         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24222         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24223         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24225 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24227         [BZ #12813]
24228         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24229         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24230         available.
24231         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24232         __vdso_getcpu.
24234         [BZ #12814]
24235         * iconvdata/Makefile (tests): Add bug-iconv9.
24236         * iconvdata/bug-iconv9.c: New file.
24238 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24240         [BZ #12814]
24241         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24243 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24245         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24246         (struct user_regs_struct): Change intcs field back to cs.
24248 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24250         * po/ja.po: Update from translation team.
24252 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24254         [BZ #12795]
24255         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24256         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24258 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24260         * stdlib/longlong.h: Update from GCC.
24262 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24264         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24265         parameter name.
24266         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24267         Add parameter name.
24268         (__sysconf): Pass it down.
24270 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24272         [BZ #12671]
24273         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24274         some situations.
24275         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24276         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24277         add in in __libc_use_alloca calls.  Adjust callers.
24278         (glob): Use malloc in some situations.
24280         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24281         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24282         pltexit.
24284 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24286         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24287         and CLOCK_BOOTTIME_ALARM.
24289         [BZ #12782]
24290         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24291         is returned.
24293         * string/_strerror.c (__strerror_r): Print negative errors as signed
24294         numbers.
24296         [BZ #12777]
24297         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24298         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24299         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24301         * configure.in: Fix typo in redirection and correct removal of test
24302         files in two cases.
24304         [BZ #12788]
24305         * locale/setlocale.c (new_composite_name): Fix test to check for
24306         identical name of all categories.
24308         [BZ #12792]
24309         * libio/filedoalloc.c (local_isatty): New function.
24310         (_IO_file_doallocate): Use local_isatty.
24311         * stdio-common/perror.c (perror): In case a new stream is used
24312         forward the stream error.
24313         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24314         error flag.
24316 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24318         [BZ #11869]
24319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24320         alloca.
24321         * include/alloca.h (extend_alloca_account): Define.
24323         [BZ #11857]
24324         * posix/regex.h: Fix comments with documentation of user-accessible
24325         fields after compilation and describe correct free'ing of pattern
24326         after re_compile_pattern.
24327         Patch by Reuben Thomas <rrt@sc3d.org>.
24329 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24331         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24332         and -mno-altivec to prevent the compiler from using Altivec and/or
24333         VSX instructions when the corresponding registers are not available.
24335 2011-05-19  Andreas Schwab  <schwab@redhat.com>
24337         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24339 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
24341         * libio/freopen.c (freopen): Use __dup2, not dup2.
24342         * libio/freopen64.c (freopen64): Likewise.
24344 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24346         [BZ #12775]
24347         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24348         * math/Makefile (tests): Add test-powl.
24349         (CFLAGS-test-powl.c): Define.
24350         * math/test-powl.c: New file.
24352 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24354         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24356 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
24358         [BZ #11837]
24359         * iconvdata/gb18030.c: Update to GB18020-2005.
24361 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
24363         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24364         RE_SYNTAX_POSIX_AWK): Update to match recent development.
24365         Patch by Aharon Robbins <arnold@skeeve.com>.
24367         [BZ #11892]
24368         * stdlib/putenv.c (putenv): Don't always create copy of the variable
24369         on the stack.
24371         [BZ #11895]
24372         * misc/pselect.c (__pselect): Handle timeout value errors hidden
24373         through underflows.
24375         [BZ #12766]
24376         * misc/error.c (error_at_line): Ensure file_name and old_file_name
24377         point to strings before performing equality test for error_one_per_line
24378         mode.
24380         [BZ #11697]
24381         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24383         [BZ #11820]
24384         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24385         (struct user_fpregs_struct): Avoid __uint*_t types.
24387         [BZ #6420]
24388         * malloc/mtrace.c (tr_where): Add additional parameter to point to
24389         symbol info.  Use it instead of calling _dl_addr locally.
24390         (lock_and_info): New function.
24391         (tr_freehook): Call lock_and_info and pass symbol info as additional
24392         parameter to tr_where.
24393         (tr_mallochook): Likewise.
24394         (tr_reallochook): Likewise.
24395         (tr_memalignhook): Likewise.
24397         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
24398         used and couldn't be at all thread-safe.
24400 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
24402         * libio/freopen.c (freopen): Don't close old file descriptor
24403         before the new one is opened.  Instead dup the new file descriptor
24404         to the old one after the new stream is created.
24405         * libio/freopen64.c (freopen64): Likewise.
24406         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24407         * libio/fileops.c (_IO_new_file_close_it): Handle new
24408         _IO_FLAGS2_NOCLOSE flag.
24409         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24410         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24411         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24412         _IO_FLAGS2_NOCLOSE flag.
24413         * include/unistd.h: Add hidden_proto for dup3.
24414         Define __have_dup3.
24415         * io/dup3.c: Define hidden symbol.
24416         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24418         [BZ #7101]
24419         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24420         when an incomplete long option is used.
24421         * posix/tst-getopt_long1.c: New file.
24422         * posix/Makefile (tests): Add tst-getopt_long1.
24424         [BZ #10138]
24425         * scripts/config.guess: Update from autoconf-2.68.
24426         * scripts/config.sub: Likewise.
24428         [BZ #10157]
24429         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24430         tests into ...
24431         (has_cpuclock): ...this.  New function.
24432         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24433         macro here based on has_cpuclock code.
24435         [BZ #10149]
24436         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24437         First byte (not low byte) is now always NUL.
24438         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24441         Use non-cancelable interfaces.
24443         [BZ #9809]
24444         * locale/iso-639.def: Add entry for Sorani.
24446         [BZ #11901]
24447         * include/stdlib.h: Move include protection to the right place.
24448         Define abort_msg_s.  Declare __abort_msg with it.
24449         * stdlib/abort.c (__abort_msg): Adjust type.
24450         * assert/assert.c (__assert_fail_base): New function.  Majority
24451         of code from __assert_fail.  Allocate memory for __abort_msg with
24452         mmap.
24453         (__assert_fail): Now call __assert_fail_base.
24454         * assert/assert-perr.c: Remove bulk of implementation.  Use
24455         __assert_fail_base.
24456         * include/assert.hL Declare __assert_fail_base.
24457         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24458         mmap.
24459         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24461 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
24463         [BZ #11952]
24464         [BZ #12453]
24465         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24466         until all modules are registered in the DTV.
24467         * elf/Makefile: Add rules to build and run tst-tls19.
24468         * elf/tst-tls19.c: New file.
24469         * elf/tst-tls19mod1.c: New file.
24470         * elf/tst-tls19mod2.c: New file.
24471         * elf/tst-tls19mod3.c: New file.
24472         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24474         [BZ #12083]
24475         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24476         correctly.
24478         [BZ #12601]
24479         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24480         two-byte sequence errors.
24481         * iconvdata/Makefile (tests): Add bug-iconv8.
24482         * iconvdata/bug-iconv8.c: New file.
24484         [BZ #12626]
24485         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24486         buf2 definition.
24488         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24490         [BZ #12432]
24491         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24492         (dummy_getcfa): New function.
24493         (init): Get _Unwind_GetCFA address, use dummy if not found.
24494         (backtrace_helper): In recursion check, also check whether CFA changes.
24495         (__backtrace): Completely initialize arg.
24497         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24498         storing incomplete byte sequence in state object.  Avoid testing for
24499         guaranteed too small input if we know there is enough data available.
24501 2011-05-11  Andreas Schwab  <schwab@redhat.com>
24503         * Makeconfig (+link-pie): Indent.
24504         * Rules (binaries-pie): Define if $(have-fpie) and
24505         $(build-shared).
24506         (binaries-shared): Also filter out $(binaries-pie).
24507         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24508         * nscd/Makefile (others-pie): Add nscd.
24509         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24510         ($(objpfx)nscd): Remove command override.
24511         * login/Makefile (others-pie): Add pt_chown.
24512         ($(objpfx)pt_chown): Remove command override.
24513         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24514         remove command overrides.
24516 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
24518         * libio/tst_putwc.c: Fix error messages.
24520         [BZ #12724]
24521         * libio/fileops.c (_IO_new_file_close_it): Always flush when
24522         currently writing and seek to current position when not.
24523         * libio/Makefile (tests): Add bug-fclose1.
24524         * libio/bug-fclose1.c: New file.
24526 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
24528         [BZ #12511]
24529         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24530         don't set DF_1_NODELETE here.
24531         (do_lookup_x): When entering new entry test for copy relocation
24532         and if necessary set DF_1_NODELETE flag.
24533         * elf/tst-unique4.cc: New file.
24534         * elf/tst-unique4.h: New file.
24535         * elf/tst-unique4lib.cc: New file.
24536         * elf/Makefile: Add rules to build and run tst-unique4.
24537         Patch by Piotr Bury <pbury@goahead.com>.
24539 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
24541         [BZ #12052]
24542         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24544         [BZ #12625]
24545         * misc/mntent_r.c (addmntent): Flush the stream after the output
24547         [BZ #12393]
24548         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24549         (is_trusted_path_normalize): Skip initial colon.  Append slash
24550         to empty buffer.  Duplicate is_trusted_path code but allow
24551         constructed patch to be prefix.
24552         (is_dst): Allow $ORIGIN followed by /.
24553         (_dl_dst_substitute): Correct clearing of check_for_trusted.
24554         Correct testing of result of is_trusted_path_normalize
24555         (decompose_rpath): Fix warning.
24557 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
24559         [BZ #11257]
24560         * grp/initgroups.c (internal_getgrouplist): When we found the service
24561         list through the initgroups entry in nsswitch.conf do not always
24562         continue on a successful lookup.  Don't always use the
24563         __nss_group_database value if it is set.
24564         * nss/nsswitch.conf (initgroups): Change action for successful db
24565         lookup to continue for compatibility.
24567 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
24569         [BZ #11532]
24570         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24571         and CP774 modules.
24572         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24573         and CP774 modules.
24574         * iconvdata/tst-tables.sh: Likewise.
24575         * iconvdata/cp770.c: New file.
24576         * iconvdata/cp771.c: New file.
24577         * iconvdata/cp772.c: New file.
24578         * iconvdata/cp773.c: New file.
24579         * iconvdata/cp774.c: New file.
24580         * iconvdata/testdata/CP770: New file.
24581         * iconvdata/testdata/CP770..UTF8: New file.
24582         * iconvdata/testdata/CP771: New file.
24583         * iconvdata/testdata/CP771..UTF8: New file.
24584         * iconvdata/testdata/CP772: New file.
24585         * iconvdata/testdata/CP772..UTF8: New file.
24586         * iconvdata/testdata/CP773: New file.
24587         * iconvdata/testdata/CP773..UTF8: New file.
24588         * iconvdata/testdata/CP774: New file.
24589         * iconvdata/testdata/CP774..UTF8: New file.
24591         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24592         END CHARMAP line.
24593         * iconvdata/gen-8bit-gap.sh: Likewise.
24594         * iconvdata/gen-8bit.sh: Likewise.
24596         * locale/iso-639.def: Add ary entry.
24598         [BZ #11258]
24599         * locale/C-translit.h.in: Add U20A1 transliteration.
24601         [BZ #12178]
24602         * locale/iso-639.def: Add wae entry.
24603         Patch by Kevin Bortis <bortis@translate-wae.ch>.
24605         [BZ #12545]
24606         * locale/programs/localedef.c (construct_output_path): Use ssize_t
24607         for n.
24609         [BZ #12711]
24610         * locale/C-translit.h.in: Add entry for U20B9.
24611         Patch by pravin.d.s@gmail.com.
24613 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
24615         [BZ #12713]
24616         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24617         ENAMETOOLONG use generic getcwd.
24618         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
24619         in rtld.  Use *stat64.
24620         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24621         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24622         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24623         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24624         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24625         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24626         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24627         __fstatat64 macros.
24628         * include/dirent.h: Add libc_hidden_proto for rewinddir.
24629         * dirent/rewinddir.c: Add libc_hidden_def.
24630         * sysdeps/mach/hurd/rewinddir.c: Likewise.
24631         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
24633         * include/dirent.h (__alloc_dir): Add flags parameter.
24634         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24635         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24636         __alloc_dir.
24637         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
24638         from fdopendir if O_CLOEXEC is already set.
24640 2011-03-15  Alan Modra  <amodra@gmail.com>
24642         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24643         l_tls_firstbyte_offset non-zero.  Save padding offset in
24644         l_tls_firstbyte_offset for later use.
24645         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24646         freeing static tls block.
24648 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
24650         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24651         where #ifdef was intended.  The intent is to prevent ARG_MAX from
24652         being defined by the kernel headers.
24654 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
24656         [BZ #12734]
24657         * resolv/resolv.h: Define RES_NOTLDQUERY.
24658         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24659         no-tld-query and set RES_NOTLDQUERY.
24660         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24661         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24662         modern BIND to search name as TLD unless forbidden.
24664 2011-05-07  Petr Baudis  <pasky@suse.cz>
24665             Ulrich Drepper  <drepper@gmail.com>
24667         [BZ #12393]
24668         * elf/dl-load.c (fillin_rpath): Move trusted path check...
24669         (is_trusted_path): ...to here.
24670         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24671         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24672         using is_trusted_path_normalize() in setuid scripts.
24674 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24676         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24677         __BEGIN/__END_DECLS.
24679 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
24681         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24682         NSS_STATUS_NOTFOUND if no record was found.
24684 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24686         * sunrpc/Makefile (headers): Add rpc/netdb.h.
24687         (headers-not-in-tirpc): Remove rpc/netdb.h
24688         * resolv/netdb.h: Revert last change.
24690 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24692         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24693         circular dependency between libgcc.a and libc.a.
24695 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24697         * resolv/netdb.h: Don't include <rpc/netdb.h>.
24698         * nis/Makefile: Don't install rpcsvc/*.
24699         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24700         instead of <rpc/types.h>.
24701         (MAXHOSTNAMELEN): Define.
24703 2011-05-03  Andreas Schwab  <schwab@redhat.com>
24705         * elf/ldconfig.c (add_dir): Don't crash on empty path.
24707 2011-04-28  Maciej Babinski  <mbabinski@google.com>
24709         [BZ #12714]
24710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24711         gethostbyname4_r when IPv6 results are possible.
24713 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
24715         [BZ #12723]
24716         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24717         _PC_PIPE_BUF handling.
24719 2011-04-30  Bruno Haible  <bruno@clisp.org>
24721         [BZ #12717]
24722         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24723         * resolv/netdb.h (getnameinfo): Change type of flags parameter
24724         to 'int'.
24725         * inet/getnameinfo.c (getnameinfo): Likewise.
24727 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
24729         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24730         to groups setting in database lookup.
24731         * nss/nsswitch.conf: Add initgroups entry.
24733 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
24735         [BZ #12685]
24736         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24737         mode string.
24738         Patch by Eric Blake <eblake@redhat.com>.
24740 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
24742         * sunrpc/Makefile (need-export-routines): Add svc_run.
24743         (routines): Remove svc_run.
24744         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24745         * sunrpc/clnt_perr.c (clnt_perrno): Export.
24746         * sunrpc/svc_run.c (svc_run): Likewise.
24747         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24749 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
24751         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24752         problem in reallocation in last patch.
24754 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
24756         * sunrpc/Makefile: Move inclusion of Rules.
24758 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24760         * nss/nss_files/files-initgroups.c: New file.
24761         * nss/Makefile (libnss_files-routines): Add files-initgroups.
24762         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24763         _nss_files_initgroups_dyn.
24765 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
24767         * elf/elf.h (R_ARM_IRELATIVE): Define.
24769 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24771         * po/ru.po: Update from translation team.
24773 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24775         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24776         dependencies.
24778 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
24780         [BZ #12653]
24781         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24782         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24783         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24784         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24785         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24787 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
24789         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24790         differing bytes.
24791         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24792         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24793         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24795 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24797         [BZ #12420]
24798         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24799         storing it.
24800         * stdlib/bug-getcontext.c: New file.
24801         * stdlib/Makefile: Add rules to build and run bug-getcontext.
24803 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24805         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24806         instructions into .machine "z9-109".
24807         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24808         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24810 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24812         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24813         between environment variables and auxiliary vector.
24815 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
24817         * Makefile: Add rules to build linkobj/libc.so.
24818         * include/libc-symbols.h: Define libc_hidden_nolink.
24819         * include/rpc/auth.h: Mark functions which are to be hidden.
24820         * include/rpc/auth_des.h: Likewise.
24821         * include/rpc/auth_unix.h: Likewise.
24822         * include/rpc/clnt.h: Likewise.
24823         * include/rpc/des_crypt.h: Likewise.
24824         * include/rpc/key_prot.h: Likewise.
24825         * include/rpc/pmap_clnt.h: Likewise.
24826         * include/rpc/pmap_prot.h: Likewise.
24827         * include/rpc/pmap_rmt.h: Likewise.
24828         * include/rpc/rpc_msg.h: Likewise.
24829         * include/rpc/svc.h: Likewise.
24830         * include/rpc/svc_auth.h: Likewise.
24831         * include/rpc/xdr.h: Likewise.
24832         * nis/Makefile: Link all DSOs against linkobj/libc.so.
24833         * nss/Makefile: Likewise.
24834         * sunrpc/Makefile: Don't install headers.  Build library with normal
24835         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
24836         * sunrpc/auth_des.c: Hide exported symbols by default, export some
24837         for the compat linking library.  Remove use of INTDEF/INTUSE.
24838         * sunrpc/auth_none.c: Likewise.
24839         * sunrpc/auth_unix.c: Likewise.
24840         * sunrpc/authdes_prot.c: Likewise.
24841         * sunrpc/authuxprot.c: Likewise.
24842         * sunrpc/clnt_gen.c: Likewise.
24843         * sunrpc/clnt_perr.c: Likewise.
24844         * sunrpc/clnt_raw.c: Likewise.
24845         * sunrpc/clnt_simp.c: Likewise.
24846         * sunrpc/clnt_tcp.c: Likewise.
24847         * sunrpc/clnt_udp.c: Likewise.
24848         * sunrpc/clnt_unix.c: Likewise.
24849         * sunrpc/des_crypt.c: Likewise.
24850         * sunrpc/des_soft.c: Likewise.
24851         * sunrpc/get_myaddr.c: Likewise.
24852         * sunrpc/key_call.c: Likewise.
24853         * sunrpc/key_prot.c: Likewise.
24854         * sunrpc/netname.c: Likewise.
24855         * sunrpc/pm_getmaps.c: Likewise.
24856         * sunrpc/pm_getport.c: Likewise.
24857         * sunrpc/pmap_clnt.c: Likewise.
24858         * sunrpc/pmap_prot.c: Likewise.
24859         * sunrpc/pmap_prot2.c: Likewise.
24860         * sunrpc/pmap_rmt.c: Likewise.
24861         * sunrpc/publickey.c: Likewise.
24862         * sunrpc/rpc_cmsg.c: Likewise.
24863         * sunrpc/rpc_common.c: Likewise.
24864         * sunrpc/rpc_dtable.c: Likewise.
24865         * sunrpc/rpc_prot.c: Likewise.
24866         * sunrpc/rpc_thread.c: Likewise.
24867         * sunrpc/rtime.c: Likewise.
24868         * sunrpc/svc.c: Likewise.
24869         * sunrpc/svc_auth.c: Likewise.
24870         * sunrpc/svc_authux.c: Likewise.
24871         * sunrpc/svc_raw.c: Likewise.
24872         * sunrpc/svc_run.c: Likewise.
24873         * sunrpc/svc_simple.c: Likewise.
24874         * sunrpc/svc_tcp.c: Likewise.
24875         * sunrpc/svc_udp.c: Likewise.
24876         * sunrpc/svc_unix.c: Likewise.
24877         * sunrpc/svcauth_des.c: Likewise.
24878         * sunrpc/xcrypt.c: Likewise.
24879         * sunrpc/xdr.c: Likewise.
24880         * sunrpc/xdr_array.c: Likewise.
24881         * sunrpc/xdr_float.c: Likewise.
24882         * sunrpc/xdr_intXX_t.c: Likewise.
24883         * sunrpc/xdr_mem.c: Likewise.
24884         * sunrpc/xdr_rec.c: Likewise.
24885         * sunrpc/xdr_ref.c: Likewise.
24886         * sunrpc/xdr_sizeof.c: Likewise.
24887         * sunrpc/xdr_stdio.c: Likewise.
24889 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
24891         [BZ #12650]
24892         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24893         * sysdeps/ia64/dl-tls.h: Likewise.
24894         * sysdeps/powerpc/dl-tls.h: Likewise.
24895         * sysdeps/s390/dl-tls.h: Likewise.
24896         * sysdeps/sh/dl-tls.h: Likewise.
24897         * sysdeps/sparc/dl-tls.h: Likewise.
24898         * sysdeps/x86_64/dl-tls.h: Likewise.
24899         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24901 2011-03-14  Andreas Schwab  <schwab@redhat.com>
24903         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24904         rpath element also skip the following colon.
24905         (expand_dynamic_string_token): Add is_path parameter and pass
24906         down to DL_DST_REQUIRED and _dl_dst_substitute.
24907         (decompose_rpath): Call expand_dynamic_string_token with
24908         non-zero is_path.  Ignore empty rpaths.
24909         (_dl_map_object_from_fd): Call expand_dynamic_string_token
24910         with zero is_path.
24912 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
24914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24915         Make cancelable.
24917 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
24919         [BZ #12655]
24920         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24921         Patch by Filipe David Manana <fdmanana@apache.org>.
24923 2011-04-07  Andreas Schwab  <schwab@redhat.com>
24925         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24926         Maintain aligned stack.
24927         (CHECK_RSP): Remove unused macro.
24929 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
24931         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24932         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24934 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
24936         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24938         * include/features.h: Mention __USE_XOPEN2K8 in comment.
24940 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
24942         [BZ #12518]
24943         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24944         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24945         * sysdeps/x86_64/memmove.c: New file.
24946         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24947         (memcpy): Renamed to ...
24948         (__new_memcpy): This.
24949         (memcpy): Provide GLIBC_2_14 memcpy.
24950         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24951         (memcpy): Provide GLIBC_2_2_5 memcpy.
24953 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24955         [BZ #12631]
24956         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24958 2011-03-30  Andreas Schwab  <schwab@redhat.com>
24960         * misc/syncfs.c: New file.
24961         * misc/Makefile (routines): Add syncfs.
24962         * posix/unistd.h: Declare syncfs.
24963         * sysdeps/unix/syscalls.list: Add syncfs.
24965 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24967         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24968         open_by_handle_at.
24969         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24970         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24971         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24972         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24973         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24974         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24975         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24977 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24979         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24980         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24981         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24982         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24983         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24985         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24987         * io/Makefile: Compile fallocate.c, fallocate64.c, and
24988         sync_file_range.c with -fexceptions.
24989         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24990         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24991         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24992         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24993         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24994         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24996         sync_file_range as cancellation point
24997         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
24998         now a wrapper around __call_sync_file_range with cancellation handling.
24999         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25000         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25001         function name to __call_sync_file_range.
25002         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25003         Add call_sync_file_range.
25005 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25007         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25008         bits/timex.h.
25010 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25012         * iconv/iconv.h: Fix typo in comment.
25013         * io/fcntl.h: Likewise.
25014         * libio/stdio.h: Likewise.
25015         * posix/spawn.h: Likewise.
25016         * posix/unistd.h: Likewise.
25017         * stdlib/stdlib.h: Likewise.
25018         * time/time.h: Likewise.
25019         * wcsmbs/wchar.h: Likewise.
25021         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25022         open_by_handle): Add.
25023         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25024         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25025         Augment a few comments.
25026         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25027         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25028         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25030         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25031         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25032         open_by_handle.
25034         * io/fcntl.h (AT_EMPTY_PATH): Define.
25036 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25038         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25039         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25040         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25041         to...
25042         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25043         * Versions.def: Add GLIBC_2.14.
25044         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25045         Export.
25047 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25049         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25050         round counter.
25051         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25053 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25055         [BZ #12597]
25056         * string/test-strncmp.c (do_page_test): New function.
25057         (check2): Likewise.
25058         (test_main): Call check2.
25059         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25061 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25063         [BZ #12587]
25064         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25065         Handle cache information in CPU leaf 4.
25066         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25068 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25070         [BZ #12583]
25071         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25072         character representation.
25073         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25075 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25077         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25078         END(__isnan) to END(__isnanf) to match function entry point/label
25079         EALIGN(__isnanf,...).
25081 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25083         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25085 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25087         [BZ #12510]
25088         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25089         copy from the symbol referenced in the relocation to initialize the
25090         used variable.
25091         Patch by Piotr Bury <pbury@goahead.com>.
25092         * elf/Makefile: Add rules to build and tst-unique3.
25093         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25094         * elf/tst-unique3.cc: New file.
25095         * elf/tst-unique3.h: New file.
25096         * elf/tst-unique3lib.cc: New file.
25097         * elf/tst-unique3lib2.cc: New file.
25099         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25101 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25103         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25104         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25105         to _start.
25107 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25109         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25110         to-be-loaded object along a path to loader is ld.so.
25112 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25113             Ulrich Drepper  <drepper@gmail.com>
25115         * sysdeps/x86_64/memset.S: After aligning destination, code
25116         branches to different locations depending on the value of
25117         misalignment, when multiarch is enabled. Fix this.
25119 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25121         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25122         Set _x86_64_preferred_memory_instruction for AMD processsors.
25123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25124         Set bit_Prefer_SSE_for_memop for AMD processors.
25126 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25128         * libio/fmemopen.c (fmemopen): Optimize a bit.
25130 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25132         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25134 2011-03-03  Roland McGrath  <roland@redhat.com>
25136         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25138 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25140         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25141         __bzero_ultra1 instead of __memset_ultra1.
25143 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25144             Ulrich Drepper  <drepper@gmail.com>
25146         [BZ #12509]
25147         * include/link.h (struct link_map): Add l_orig_initfini.
25148         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25149         returning unsuccessfully.
25150         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25151         close of a file loaded at startup, restore the original l_initfini
25152         list.
25153         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25154         list, store the pointer.
25155         * elf/Makefile ($(objpfx)noload-mem): New rule.
25156         (noload-ENV): Define.
25157         (tests): Add $(objpfx)noload-mem.
25158         * elf/noload.c: Include <memcheck.h>.
25159         (main): Call mtrace.  Close all opened handles.
25161 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25163         [BZ #12454]
25164         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25165         dependencies are missing.
25167 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25169         Fix __if_freereq crash: Unlike the generic version which uses free,
25170         Hurd needs munmap.
25171         * sysdeps/mach/hurd/ifreq.h: New file.
25173 2011-01-27  Petr Baudis  <pasky@suse.cz>
25174             Ulrich Drepper  <drepper@gmail.com>
25176         [BZ 12445]#
25177         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25178         to extend_alloca().
25179         * stdio-common/bug23.c: New file.
25180         * stdio-common/Makefile (tests): Add bug23.
25182 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25183             Ulrich Drepper  <drepper@gmail.com>
25185         [BZ #12489]
25186         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25187         before performing relro protection.  At old place add assertion
25188         to make sure nothing changed.
25190 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25191             Glauber de Oliveira Costa  <glommer@gmail.com>
25193         * elf/elf.h: Add new ARM TLS relocs.
25195 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25198         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25199         cast from r3.
25200         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25201         'tests' variable.
25202         * sysdeps/wordsize-64/tst-writev.c: New file.
25204 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25206         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25207         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25208         insns in _dl_start to prevent a TOC reference before relocs are
25209         resolved.
25211 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25213         [BZ #12469]
25214         * Makeconfig: Remove RANLIB definition.
25215         * Makerules: Don't use RANLIB.
25216         * aclocal.m4: Remove ranlib test.
25217         * configure.in: No need to check for ranlib.
25218         * elf/rtld-Rules: Don't use RANLIB.
25220 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25222         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25223         protection macro.
25224         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25225         inclusion protection macro.
25227         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25228         SIGRTMIN and SIGRTMAX and print information in that case only when
25229         SIGRTMIN is defined.
25231 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25233         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25234         arginfo fn returning -1.
25236         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25237         and thousands string is zero terminated.
25239 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25241         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25242         sysdeps/unix/sysv/linux/bits/socket.h.
25244 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25246         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25247         (__CPU_COUNT): Remove old macros.
25248         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25249         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25250         (__CPU_ALLOC, __CPU_FREE): Add macros.
25251         (__sched_cpualloc, __sched_cpufree): Add declarations.
25253 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25255         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25256         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25257         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25258         (readdhstai): Return value of addhstaiX call.
25259         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25260         (addgrbyX): Return value returned by cache_addgr.
25261         (readdgrbyname): Return value returned by addgrbyX.
25262         (readdgrbygid): Likewise.
25263         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25264         (addpwbyX): Return value returned by cache_addpw.
25265         (readdpwbyname): Return value returned by addhstbyX.
25266         (readdpwbyuid): Likewise.
25267         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25268         (addservbyX): Return value returned by cache_addserv.
25269         (readdservbyname): Return value returned by addservbyX:
25270         (readdservbyport): Likewise.
25271         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25272         (addhstbyX): Return value returned by cache_addhst.
25273         (readdhstbyname): Return value returned by addhstbyX.
25274         (readdhstbyaddr): Likewise.
25275         (readdhstbynamev6): Likewise.
25276         (readdhstbyaddrv6): Likewise.
25277         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25278         (readdinitgroups): Return value returned by addinitgroupsX.
25279         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25280         (prune_cache): Keep track of timeout value of re-added entries.
25281         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25282         * nscd/nscd.h: Adjust prototypes of readd* functions.
25284 2011-02-04  Roland McGrath  <roland@redhat.com>
25286         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25287         (nis_stats): Likewise.
25288         * nis/nis_modify.c (nis_modify): Likewise.
25289         * nis/nis_remove.c (nis_remove): Likewise.
25290         * nis/nis_add.c (nis_add): Likewise.
25292         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25294         * posix/fnmatch_loop.c: Add some consts.
25296         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25298 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25300         [BZ #12460]
25301         * config.make.in (config-cflags-novzeroupper): Define.
25302         * configure.in: Substitute libc_cv_cc_novzeroupper.
25303         * elf/Makefile (AVX-CFLAGS): Define.
25304         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25305         (CFLAGS-tst-auditmod4a.c): Likewise.
25306         (CFLAGS-tst-auditmod4b.c): Likewise.
25307         (CFLAGS-tst-auditmod6b.c): Likewise.
25308         (CFLAGS-tst-auditmod6c.c): Likewise.
25309         (CFLAGS-tst-auditmod7b.c): Likewise.
25310         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25312 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25314         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25315         function to the callback.
25316         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25318 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25320         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25321         of errno.
25323 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25325         [BZ #11724]
25326         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25327         of constructors.
25328         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25329         of destructors.
25330         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25332         [BZ #11724]
25333         * elf/Makefile: Add rules to build and run new test.
25334         * elf/tst-initorder.c: New file.
25335         * elf/tst-initorder.exp: New file.
25336         * elf/tst-initordera1.c: New file.
25337         * elf/tst-initordera2.c: New file.
25338         * elf/tst-initordera3.c: New file.
25339         * elf/tst-initordera4.c: New file.
25340         * elf/tst-initorderb1.c: New file.
25341         * elf/tst-initorderb2.c: New file.
25342         * elf/tst-order-a1.c: New file.
25343         * elf/tst-order-a2.c: New file.
25344         * elf/tst-order-a3.c: New file.
25345         * elf/tst-order-a4.c: New file.
25346         * elf/tst-order-b1.c: New file.
25347         * elf/tst-order-b2.c: New file.
25348         * elf/tst-order-main.c: New file.
25349         New test case by George Gensure <werkt0@gmail.com>.
25351 2010-10-01  Andreas Schwab  <schwab@redhat.com>
25353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25354         decoding ACE if AI_CANONIDN.
25356 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
25358         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25360 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
25362         * version.h (RELEASE): Bump for 2.13 release.
25363         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25365         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25367         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25368         MADV_NOHUGEPAGE.
25369         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25370         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25371         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25372         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25373         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25374         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25376         * posix/getconf.c: Update copyright year.
25377         * catgets/gencat.c: Likewise.
25378         * csu/version.c: Likewise.
25379         * debug/catchsegv.sh: Likewise.
25380         * debug/xtrace.sh: Likewise.
25381         * elf/ldconfig.c: Likewise.
25382         * elf/ldd.bash.in: Likewise.
25383         * elf/sprof.c (print_version): Likewise.
25384         * iconv/iconv_prog.c: Likewise.
25385         * iconv/iconvconfig.c: Likewise.
25386         * locale/programs/locale.c: Likewise.
25387         * locale/programs/localedef.c: Likewise.
25388         * malloc/memusage.sh: Likewise.
25389         * malloc/mtrace.pl: Likewise.
25390         * nscd/nscd.c (print_version): Likewise.
25391         * nss/getent.c: Likewise.
25393         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25394         PF_CAIF, and PF_ALG.
25395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25397 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
25399         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25400         (modules-names): Use them.
25401         (ifunc-test-modules, ifunc-pie-tests): Define.
25402         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25403         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25404         (test-extras): Likewise.
25405         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25406         $(compile-command.c).
25407         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25408         (all-built-dso): Define.
25409         (check-textrel.out, check-execstack.out): Depend on it.
25411         * configure.in: Don't override --enable-multi-arch.
25413 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
25415         [BZ #6812]
25416         * nscd/hstcache.c (tryagain): Define.
25417         (cache_addhst): Return tryagain not notfound for temporary errors.
25418         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25419         failed.
25421 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
25423         [BZ #10563]
25424         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25425         to make the syscall.
25426         * sysdeps/unix/sysv/linux/setgroups.c: New file.
25428         [BZ #12378]
25429         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25430         and fall back to matching as normal character if the string ends before
25431         the matching ']' is found.  This is what POSIX requires.
25432         * posix/testfnm.c: Adjust test result.
25433         * posix/globtest.sh: Adjust test result.  Add new test.
25434         * posix/tst-fnmatch.input: Likewise.
25435         * posix/tst-fnmatch2.c: Add new test.
25437 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
25439         * elf/Makefile (check-execstack): Revert last change.  Depend on
25440         check-execstack.h.
25441         (check-execstack.h): New target.
25442         (generated): Add check-execstack.h.
25443         * elf/check-execstack.c: Include "check-execstack.h".
25444         (main): Revert last change.
25445         (handle_file): Return zero if GNU_STACK is absent and
25446         DEFAULT_STACK_PERMS doesn't include PF_X.
25448 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25450         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25451         in child fails because the descriptor is already closed.
25452         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25453         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25454         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25456         [BZ #12397]
25457         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25458         syscall.
25460         [BZ #10484]
25461         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25462         temporary buffer used to handle multi lookups locally.
25463         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25465 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25467         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25468         loader is ld.so.
25470 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
25472         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25473         alignment for SSE2.
25475 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25477         [BZ #12394]
25478         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25479         characters.  When rounding increased number of integer digits recompute
25480         number of groups.
25481         * stdio-common/tst-grouping.c: New file.
25482         * stdio-common/Makefile: Add rules to build and run tst-grouping.
25484 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
25486         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25487         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
25489         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25490         void.
25491         * bits/select.h: Likewise.
25493 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
25495         * po/ja.po: Update from translation team.
25497 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
25499         [BZ #11155]
25500         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25501         implementation just like for lxstat, fxstatat, et al.
25503 2010-12-27  Jim Meyering  <meyering@redhat.com>
25505         [BZ #12348]
25506         * posix/regexec.c (build_trtable): Return failure indication upon
25507         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
25509 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
25511         [BZ #12201]
25512         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25513         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25514         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25515         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25517         [BZ #12207]
25518         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25520         [BZ #12204]
25521         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25522         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25524 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25526         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25527         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25528         script has SORT_BY_INIT_PRIORITY.
25529         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25530         NO_CTORS_DTORS_SECTIONS is defined.
25531         * elf/soinit.c: Likewise.
25532         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25533         NO_CTORS_DTORS_SECTIONS is defined.
25534         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25535         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25536         * sysdeps/sh/init-first.c: Likewise.
25537         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25539 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
25541         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25542         always use the slow path.
25544 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
25546         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25547         similar rule which adds the sysdep directories to the header search in
25548         order to pick up the correct platform stackinfo.h.
25549         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25550         perform test if it is, otherwise return successfully without testing.
25551         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25552         DEFAULT_STACK_PERMS define in stackinfo.h.
25553         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25554         defined in stackinfo.h.
25555         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25556         DEFAULT_STACK_PERMS defined in stackinfo.h.
25557         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25558         * sysdeps/ia64/stackinfo.h: Likewise.
25559         * sysdeps/s390/stackinfo.h: Likewise.
25560         * sysdeps/sh/stackinfo.h: Likewise.
25561         * sysdeps/sparc/stackinfo.h: Likewise.
25562         * sysdeps/x86_64/stackinfo.h: Likewise.
25563         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25564         PF_X for powerpc64.  Retain PF_X for powerpc32.
25566 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
25568         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25569         accurately.
25570         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25571         GETDENTS_64BIT_ALIGNED.
25573 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
25575         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25577 2010-12-10  Andreas Schwab  <schwab@redhat.com>
25579         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25580         _GNU_SOURCE.
25582         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25583         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25584         Remove __restrict.
25585         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25586         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25588 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
25590         [BZ #11655]
25591         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25592         are initialized.
25594 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
25596         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25598 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
25600         * po/it.po: Update from translation team.
25602 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25604         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25605         unused codes.
25607 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
25609         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25611 2010-11-24  Andreas Schwab  <schwab@redhat.com>
25613         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25614         specially.
25615         (gaih_getanswer_slice): Likewise.
25617 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
25619         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25621 2010-05-31  Petr Baudis  <pasky@suse.cz>
25623         [BZ #11149]
25624         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25625         silently even in the chroot mode.
25627 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
25629         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25630         last patch a bit.  Pretty printing
25632 2010-05-31  Petr Baudis <pasky@suse.cz>
25634         [BZ #10085]
25635         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25636         initialization of skip_initgroups_dyn.
25638 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
25640         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25641         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25643 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
25645         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25647 2010-11-11  Andreas Schwab  <schwab@redhat.com>
25649         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25650         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25651         (tst-fnmatch-ENV): Set MALLOC_TRACE.
25652         ($(objpfx)tst-fnmatch-mem): New rule.
25653         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25654         * posix/tst-fnmatch.c (main): Call mtrace.
25656 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
25658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25659         Support Intel processor model 6 and model 0x2c.
25661 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
25663         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25664           signed comparison.
25666 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
25668         [BZ #12205]
25669         * string/test-strncasecmp.c (check_result): New function.
25670         (do_one_test): Use it.
25671         (check1): New function.
25672         (test_main): Use it.
25673         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25674         Support strcasecmp and strncasecmp.
25676 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
25678         [BZ #12194]
25679         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25680         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25682 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25684         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25685         IFUNC support.
25686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25687         memset-x86-64.
25688         * sysdeps/x86_64/multiarch/bzero.S: New file.
25689         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25690         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25691         * sysdeps/x86_64/multiarch/memset.S: New file.
25692         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25694         Set bit_Prefer_SSE_for_memop for Intel processors.
25695         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25696         Define.
25697         (index_Prefer_SSE_for_memop): Define.
25698         (HAS_PREFER_SSE_FOR_MEMOP): Define.
25700 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
25702         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25703         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25705 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
25707         [BZ #12191]
25708         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25709         (__x86_64_raw_data_cache_size_half): Likewise.
25710         (__x86_64_raw_shared_cache_size): Likewise.
25711         (__x86_64_raw_shared_cache_size_half): Likewise.
25713         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25714         (__x86_64_raw_data_cache_size_half): Likewise.
25715         (__x86_64_raw_shared_cache_size): Likewise.
25716         (__x86_64_raw_shared_cache_size_half): Likewise.
25717         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25718         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25719         and __x86_64_raw_shared_cache_size_half.  Round
25720         __x86_64_data_cache_size_half, __x86_64_data_cache_size
25721         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25722         to multiple of 256 bytes.
25724 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
25726         [BZ #12167]
25727         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25728         of inacessible symlinks.  Verify result of symlink before returning it.
25729         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25730         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25732 2010-10-28  Erich Ritz  <erichritz@gmail.com>
25734         * math/math.h (isinf): Fix typo in comment.
25736 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
25738         * po/da.po: Update from translation team.
25740 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
25742         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25743         is added to the list.
25745 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25746             Ulrich Drepper  <drepper@gmail.com>
25748         * elf/dl-object.c (_dl_new_object): Don't append the new object to
25749         the global list here.  Move code to...
25750         (_dl_add_to_namespace_list): ...here.  New function.
25751         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25752         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25753         * elf/dl-load.c (lose): Don't remove the element from the list.
25754         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25755         (_dl_map_object): Likewise.
25757 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
25759         [BZ #12159]
25760         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25761         into all bytes of SSE register.
25762         Patch by Richard Li <richardpku@gmail.com>.
25764 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
25766         [BZ #12140]
25767         * malloc/malloc.c (_int_free): Fill correct number of bytes when
25768         perturbing.
25770 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
25772         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25773         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25774         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25775         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25777         submachine.
25778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25780 2010-10-22  Andreas Schwab  <schwab@redhat.com>
25782         * include/dlfcn.h (__RTLD_SECURE): Define.
25783         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
25784         mode & __RTLD_SECURE instead.
25785         (open_path): Rename preloaded parameter to secure.
25786         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25787         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25788         * elf/dl-deps.c (openaux): Likewise.
25789         * elf/rtld.c (struct map_args): Remove is_preloaded.
25790         (map_doit): Don't use it.
25791         (dl_main): Likewise.
25792         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25793         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25795 2010-09-09  Andreas Schwab  <schwab@redhat.com>
25797         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25798         (sysd-rules-targets): Remove duplicates.
25799         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25800         rtld-%.$o dependency.
25802 2010-10-18  Andreas Schwab  <schwab@redhat.com>
25804         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25805         _dl_map_object do it.
25807 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
25809         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25810         fast fma builtins, define the macros in the C99 standard.
25811         (FP_FAST_FMAF): Likewise.
25812         (FP_FAST_FMAL): Likewise.
25813         * sysdeps/x86_64/bits/mathdef.h: Likewise.
25815         * bits/mathdef.h: Update copyright year.
25816         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25818 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
25820         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25821         builtins, define the macros in the C99 standard.
25822         (FP_FAST_FMAF): Likewise.
25823         (FP_FAST_FMAL): Likewise.
25824         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25825         multiply/add.
25826         (FP_FAST_FMAF): Likewise.
25828 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
25830         [BZ #3268]
25831         * math/libm-test.inc (fma_test): Some new testcases.
25832         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25833         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25834         y and infinite z.  Do multiplication by C already in long double.
25835         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25837         y and infinite z.  Do bitwise or of inexact bit into u.d.
25838         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25839         * sysdeps/i386/fpu/s_fmaf.S: Removed.
25840         * sysdeps/i386/fpu/s_fma.S: Removed.
25841         * sysdeps/i386/fpu/s_fmal.S: Removed.
25843 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
25845         [BZ #3268]
25846         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25847         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25848         computation is not scheduled after fetestexcept.  Fix value
25849         of minimum denormal long double.
25851 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
25853         [BZ #3268]
25854         * math/libm-test.inc (fma_test): Add some more tests.
25855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25856         correctly.
25858 2010-10-15  Andreas Schwab  <schwab@redhat.com>
25860         * scripts/data/localplt-s390-linux-gnu.data: New file.
25861         * scripts/data/localplt-s390x-linux-gnu.data: New file.
25863 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
25865         [BZ #3268]
25866         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25867         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25868         instead of dbl-64.
25869         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25870         inlines.
25871         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25873         if one of x and y is very large and the other is subnormal.
25874         * sysdeps/s390/fpu/s_fmaf.c: New file.
25875         * sysdeps/s390/fpu/s_fma.c: New file.
25876         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25877         * sysdeps/powerpc/fpu/s_fma.S: New file.
25878         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25879         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25880         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25882 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
25884         [BZ #3268]
25885         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25886         fma tests.
25887         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25888         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25889         * sysdeps/i386/i686/multiarch/s_fma.c: Include
25890         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25891         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25892         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25893         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25895 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
25897         [BZ #12078]
25898         * posix/regcomp.c (parse_branch): One more memory leak plugged.
25899         * posix/bug-regex31.input: Add test case.
25901 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25903         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25904         * posix/bug-regex31.input: New file.
25906         [BZ #12078]
25907         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25908         (parse_sub_exp): Fix last change, use postorder.
25910         * posix/bug-regex31.c: New file.
25911         * posix/Makefile: Add rules to build and run bug-regex31.
25913         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25915         [BZ #12078]
25916         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25918         [BZ #12108]
25919         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25920         to have entries in sys_siglist.
25922         [BZ #12093]
25923         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25924         be NULL.
25926 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
25928         [BZ #3268]
25929         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25930         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25931         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25932         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25933         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25934         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25935         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25936         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25937         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25938         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25939         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25940         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25941         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25942         * math/ftestexcept.c (fetestexcept): Likewise.
25943         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25944         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25945         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25946         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25947         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25948         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25949         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25951 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25953         [BZ #12107]
25954         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25955         newline.
25957 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
25959         * string/bug-strstr1.c: New file.
25960         * string/Makefile: Add rules to build and run bug-strstr1.
25962 2010-10-05  Eric Blake  <eblake@redhat.com>
25964         [BZ #12092]
25965         * string/str-two-way.h (two_way_long_needle): Always clear memory
25966         when skipping input due to the shift table.
25968 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
25970         [BZ #12005]
25971         * malloc/mcheck.c: Handle large requests.
25973         [BZ #12077]
25974         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25975         for strncmp and strncasecmp.
25976         * string/stratcliff.c: Add tests for strcmp and strncmp.
25977         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25979 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25981         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25982         __set_fpscr.
25984 2010-09-30  Andreas Jaeger  <aj@suse.de>
25986         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25987         (CGROUP_SUPER_MAGIC): Define.
25988         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25989         Handle btrfs and cgroup file systems.
25990         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25991         Likewise.
25993 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
25995         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25996         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25998 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26000         [BZ #12067]
26001         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26002         trying to locate the ELF header.
26004 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26006         [BZ #11611]
26007         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26008         Mask out sign-bit copies when constructing f_fsid.
26010 2010-09-24  Petr Baudis <pasky@suse.cz>
26012         * debug/stack_chk_fail_local.c: Add missing licence exception.
26013         * debug/warning-nop.c: Likewise.
26015 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26017         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26018         implementing getdents64 using getdents syscall, set d_type if
26019         __ASSUME_GETDENTS32_D_TYPE.
26021 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26023         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26024         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26026 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26028         [BZ #12037]
26029         * posix/unistd.h: Undo change of feature selection for ftruncate from
26030         2010-01-11.
26032 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26034         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26035         detection.
26037 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26039         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26040         fanotify_mark.
26041         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26043 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26045         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26046         variables after CHECK_SP call.
26047         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26049 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26050             Ulrich Drepper  <drepper@redhat.com>
26052         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26053         re-relocationg ld.so.
26054         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26055         _dl_init_paths call.
26056         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26057         here anymore.
26059 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26061         * resolv/res_init.c (__res_vinit): Count the default server we added.
26063 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26064             Ulrich Drepper  <drepper@redhat.com>
26066         [BZ #11968]
26067         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26068         (____longjmp_chk): Use %ebx for saving value across system call.
26069         Add unwind info.
26071 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26073         * manual/Makefile: Don't mix pattern rules with normal rules.
26075 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26077         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26078         operation.
26079         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26080         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26081         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26082         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26083         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26084         Likewise.
26086 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26088         [BZ #11979]
26089         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26090         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26092 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26094         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26095         * sysdeps/x86_64/addmul_1.S: Likewise.
26096         * sysdeps/x86_64/lshift.S: Likewise.
26097         * sysdeps/x86_64/mul_1.S: Likewise.
26098         * sysdeps/x86_64/rshift.S: Likewise.
26099         * sysdeps/x86_64/sub_n.S: Likewise.
26100         * sysdeps/x86_64/submul_1.S: Likewise.
26102 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26104         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26105         Define __sched_param instead of SCHED_* and sched_param when
26106         <bits/sched.h> is included with __need_schedparam defined.
26107         * bits/sched.h [__need_schedparam]
26108         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26109         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26110         (__defined_schedparam): Define to 1.
26111         (__sched_param): New structure, identical to sched_param.
26112         (__need_schedparam): Undefine.
26114 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26116         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26117         (epoll_create1): Declare.
26119         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26121 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26123         [BZ #7066]
26124         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26125         shifting retval into place.
26127 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26129         * nis/rpcsvc/nis.h: Update copyright notice.
26130         * nis/rpcsvc/nis.x: Likewise.
26131         * nis/rpcsvc/nis_callback.h: Likewise.
26132         * nis/rpcsvc/nis_callback.x: Likewise.
26133         * nis/rpcsvc/nis_object.x: Likewise.
26134         * nis/rpcsvc/nis_tags.h: Likewise.
26135         * nis/rpcsvc/yp.h: Likewise.
26136         * nis/rpcsvc/yp.x: Likewise.
26137         * nis/rpcsvc/ypupd.h: Likewise.
26138         * nis/yp_xdr.c: Likewise.
26139         * nis/ypupdate_xdr.c: Likewise.
26141         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26142         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26143         (pmap_getport): Use __libc_rpc_getport.
26144         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26145         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26146         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26148 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26151         fanotify_mark.
26153 2010-08-27  Roland McGrath  <roland@redhat.com>
26155         * sysdeps/i386/i686/multiarch/Makefile
26156         (CFLAGS-varshift.c): New variable.
26158 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26160         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26161         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26163         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26165         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26167 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26169         * sysdeps/x86_64/strlen.S: Unroll the loop.
26170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26171         strlen-sse2 strlen-sse2-bsf.
26172         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26173         __strlen_no_bsf if bit_Slow_BSF is set.
26174         (__strlen_sse42): Removed.
26175         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26176         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26178 2010-08-25  Roland McGrath  <roland@redhat.com>
26180         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26181         * sysdeps/x86_64/multiarch/varshift.c: New file.
26182         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26183         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26184         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26185         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26187 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26190         strlen-sse2 strlen-sse2-bsf.
26191         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26192         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26193         (__strlen_sse2): Removed.
26194         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26195         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26197         bit_Slow_BSF for Atom.
26198         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26199         (index_Slow_BSF): Define.
26200         (HAS_SLOW_BSF): Define.
26202 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26204         [BZ #10851]
26205         * resolv/res_init.c (__res_vinit): When no server address at all
26206         is given default to loopback.
26208 2010-08-24  Roland McGrath  <roland@redhat.com>
26210         * configure.in: Remove config-name.h generation.
26211         * configure: Regenerated.
26212         * config-name.in: File removed.
26213         * scripts/config-uname.sh: New file.
26214         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26215         ($(objdir)config-name.h): New target.
26217         * sunrpc/rpc_parse.h: Avoid nested comment.
26219 2010-08-24  Richard Henderson  <rth@redhat.com>
26220             Ulrich Drepper  <drepper@redhat.com>
26221             H.J. Lu  <hongjiu.lu@intel.com>
26223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26225         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26226         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26227         _mm_alignr_epi8 with _mm_loadu_si128.
26228         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26229         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26230         (__m128i_shift_right): Removed.
26231         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26232         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26233         * sysdeps/x86_64/multiarch/varshift.h: New file.
26234         * sysdeps/x86_64/multiarch/varshift.S: New file.
26236 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26238         * configure.in: Move assembler checks to before sysdep dir checking.
26240 2010-08-20  Petr Baudis  <pasky@suse.cz>
26242         * LICENSES: Sync the sunrpc license.
26244 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26246         * sunrpc/auth_des.c: Update copyright notice once again.
26247         * sunrpc/auth_none.c: Likewise.
26248         * sunrpc/auth_unix.c: Likewise.
26249         * sunrpc/authdes_prot.c: Likewise.
26250         * sunrpc/authuxprot.c: Likewise.
26251         * sunrpc/bindrsvprt.c: Likewise.
26252         * sunrpc/clnt_gen.c: Likewise.
26253         * sunrpc/clnt_perr.c: Likewise.
26254         * sunrpc/clnt_raw.c: Likewise.
26255         * sunrpc/clnt_simp.c: Likewise.
26256         * sunrpc/clnt_tcp.c: Likewise.
26257         * sunrpc/clnt_udp.c: Likewise.
26258         * sunrpc/clnt_unix.c: Likewise.
26259         * sunrpc/des_crypt.c: Likewise.
26260         * sunrpc/des_soft.c: Likewise.
26261         * sunrpc/get_myaddr.c: Likewise.
26262         * sunrpc/getrpcport.c: Likewise.
26263         * sunrpc/key_call.c: Likewise.
26264         * sunrpc/key_prot.c: Likewise.
26265         * sunrpc/openchild.c: Likewise.
26266         * sunrpc/pm_getmaps.c: Likewise.
26267         * sunrpc/pm_getport.c: Likewise.
26268         * sunrpc/pmap_clnt.c: Likewise.
26269         * sunrpc/pmap_prot.c: Likewise.
26270         * sunrpc/pmap_prot2.c: Likewise.
26271         * sunrpc/pmap_rmt.c: Likewise.
26272         * sunrpc/rpc/auth.h: Likewise.
26273         * sunrpc/rpc/auth_unix.h: Likewise.
26274         * sunrpc/rpc/clnt.h: Likewise.
26275         * sunrpc/rpc/des_crypt.h: Likewise.
26276         * sunrpc/rpc/key_prot.h: Likewise.
26277         * sunrpc/rpc/netdb.h: Likewise.
26278         * sunrpc/rpc/pmap_clnt.h: Likewise.
26279         * sunrpc/rpc/pmap_prot.h: Likewise.
26280         * sunrpc/rpc/pmap_rmt.h: Likewise.
26281         * sunrpc/rpc/rpc.h: Likewise.
26282         * sunrpc/rpc/rpc_des.h: Likewise.
26283         * sunrpc/rpc/rpc_msg.h: Likewise.
26284         * sunrpc/rpc/svc.h: Likewise.
26285         * sunrpc/rpc/svc_auth.h: Likewise.
26286         * sunrpc/rpc/types.h: Likewise.
26287         * sunrpc/rpc/xdr.h: Likewise.
26288         * sunrpc/rpc_clntout.c: Likewise.
26289         * sunrpc/rpc_cmsg.c: Likewise.
26290         * sunrpc/rpc_common.c: Likewise.
26291         * sunrpc/rpc_cout.c: Likewise.
26292         * sunrpc/rpc_dtable.c: Likewise.
26293         * sunrpc/rpc_hout.c: Likewise.
26294         * sunrpc/rpc_main.c: Likewise.
26295         * sunrpc/rpc_parse.c: Likewise.
26296         * sunrpc/rpc_parse.h: Likewise.
26297         * sunrpc/rpc_prot.c: Likewise.
26298         * sunrpc/rpc_sample.c: Likewise.
26299         * sunrpc/rpc_scan.c: Likewise.
26300         * sunrpc/rpc_scan.h: Likewise.
26301         * sunrpc/rpc_svcout.c: Likewise.
26302         * sunrpc/rpc_tblout.c: Likewise.
26303         * sunrpc/rpc_util.c: Likewise.
26304         * sunrpc/rpc_util.h: Likewise.
26305         * sunrpc/rpcinfo.c: Likewise.
26306         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26307         * sunrpc/rpcsvc/key_prot.x: Likewise.
26308         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26309         * sunrpc/rpcsvc/mount.x: Likewise.
26310         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26311         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26312         * sunrpc/rpcsvc/rex.x: Likewise.
26313         * sunrpc/rpcsvc/rstat.x: Likewise.
26314         * sunrpc/rpcsvc/rusers.x: Likewise.
26315         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26316         * sunrpc/rpcsvc/spray.x: Likewise.
26317         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26318         * sunrpc/rtime.c: Likewise.
26319         * sunrpc/svc.c: Likewise.
26320         * sunrpc/svc_auth.c: Likewise.
26321         * sunrpc/svc_authux.c: Likewise.
26322         * sunrpc/svc_raw.c: Likewise.
26323         * sunrpc/svc_run.c: Likewise.
26324         * sunrpc/svc_simple.c: Likewise.
26325         * sunrpc/svc_tcp.c: Likewise.
26326         * sunrpc/svc_udp.c: Likewise.
26327         * sunrpc/svc_unix.c: Likewise.
26328         * sunrpc/svcauth_des.c: Likewise.
26329         * sunrpc/xcrypt.c: Likewise.
26330         * sunrpc/xdr.c: Likewise.
26331         * sunrpc/xdr_array.c: Likewise.
26332         * sunrpc/xdr_float.c: Likewise.
26333         * sunrpc/xdr_mem.c: Likewise.
26334         * sunrpc/xdr_rec.c: Likewise.
26335         * sunrpc/xdr_ref.c: Likewise.
26336         * sunrpc/xdr_sizeof.c: Likewise.
26337         * sunrpc/xdr_stdio.c: Likewise.
26339         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26340         handling.
26342 2010-08-19  Andreas Schwab  <schwab@redhat.com>
26344         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26346 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
26348         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26349         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26350         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26351         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26352         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26353         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26354         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26355         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26356         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26357         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26358         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26359         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26360         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26361         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26363 2010-07-26  Anton Blanchard  <anton@samba.org>
26365         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26366         * malloc/arena.c (heap_trim): Likewise.
26368 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
26370         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26371         here.  Not...
26372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26373         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26375 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26377         * sysdeps/i386/elf/Makefile: New file.
26379 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26381         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26382         from fanotify_init.
26383         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26384         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26386 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
26388         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26389         of strncasecmp_l.
26390         * sysdeps/multiarch/strcmp.S: Likewise.
26392 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
26394         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26395         strncase_l-nonascii.
26396         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26397         Add strncase_l-ssse3.
26398         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26399         * sysdeps/x86_64/strcmp.S: Likewise.
26400         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26401         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26402         * sysdeps/x86_64/strncase.S: New file.
26403         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26404         * sysdeps/x86_64/strncase_l.S: New file.
26405         * string/Makefile (strop-tests): Add strncasecmp.
26406         * string/test-strncasecmp.c: New file.
26408         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26409         warning.
26411         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26412         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26414 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26416         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26418 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
26420         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26421         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26422         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26424 2010-05-01  Alan Modra  <amodra@gmail.com>
26426         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26427         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26428         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26429         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26430         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26431         tidying.  Don't tail-call __sigjmp_save for static lib.
26432         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26433         save location.
26434         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26435         (CALL_MCOUNT): Add eh info, and nop after bl.
26436         (TAIL_CALL_SYSCALL_ERROR): New macro.
26437         (PSEUDO_RET): Use it.
26438         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26439         Correct save location of integer regs and cr.
26440         (_dl_profile_resolve): Correct cr save location.  Delete nops
26441         after bl when SHARED.  Reduce cfi size a little by better
26442         placement of cfi directives.
26443         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26444         make a stack frame.  Instead use parm save area as a temp.
26445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26446         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
26447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26448         Don't make a stack frame for parent, use parm save area.
26449         Increase child stack frame to 112 bytes.  Don't save unused reg,
26450         and adjust reg usage.  Set up cfi on error recovery and
26451         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26453         (__makecontext): Add dummy nop after jump to exit.
26454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26455         Use correct parm save area and cr save, reduce stack frame.
26456         Correct cfi for possible PSEUDO_RET frame setup.
26457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26458         Branch to local label emitted by PSEUDO_RET rather than
26459         __syscall_error.
26461 2010-08-12  Andreas Schwab  <schwab@redhat.com>
26463         [BZ #11904]
26464         * locale/programs/locale.c (print_assignment): New function.
26465         (show_locale_vars): Use it.
26467 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
26469         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26470         field.
26471         (struct statfs64): Likewise.
26472         (_STATFS_F_FLAGS): Define.
26473         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26474         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26475         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26476         (ST_VALID): Define locally.
26477         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26478         __statvfs_getflags, use the provided value.
26479         * sysdeps/unix/sysv/linux/kernel-features.h: Define
26480         __ASSUME_STATFS_F_FLAGS.
26482         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26484         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26485         Add sys/fanotify.h.
26486         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26487         fanotify_mask for GLIBC_2.13.
26488         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26489         fanotify_init and fanotify_mark.
26490         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26491         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26493         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26494         Add prlimit.
26495         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26496         prlimit64 for GLIBC_2.13.
26497         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26498         prlimit64.
26499         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26500         syscall.
26501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26502         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26503         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26504         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
26506         add prlimit alias.
26507         * sysdeps/unix/sysv/linux/prlimit.c: New file.
26509         [BZ #11903]
26510         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26511         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26513         * nss/Makefile: Add rules to build and run tst-nss-test1.
26514         * shlib-versions: Add entry for libnss_test1.
26515         * nss/nss_test1.c: New file.
26516         * nss/tst-nss-test1.c: New file.
26518         * nss/nsswitch.c (__nss_database_custom): Define new variable.
26519         (__nss_configure_lookup): Set appropriate entry in
26520         __nss_configure_lookup to true.
26521         * nss/nsswitch.h: Define enum with indeces of databases in
26522         databases and __nss_database_custom arrays.  Declare
26523         __nss_database_custom.
26524         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26525         to avoid using nscd when custom rules are installed.
26526         * nss/getXXbyYY_r.c: Likewise.
26527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26529         * nss/nss_files/files-parse.c: Whitespace fixes.
26531 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
26533         [BZ #11883]
26534         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26535         * posix/fnmatch_loop.c: Likewise.
26537 2010-07-17  Andi Kleen  <ak@linux.intel.com>
26539         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26540         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26541         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26542         * Versions.def [GLIBC_2.13]: Add.
26544 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
26546         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26547         Also fail if tpwd after pwuid call is NULL.
26549 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26551         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26552         when converting to ms.
26554 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26556         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26557         EOPNOTSUPP errors with ENOTTY.
26558         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26559         EOPNOTSUPP errors with ENOTTY.
26561 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
26563         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26564         Add strcasecmp_l-ssse3.
26565         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26566         strcasecmp.
26567         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26568         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26569         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26571 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
26573         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26575         * string/Makefile (strop-tests): Add strcasecmp.
26576         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26577         strcasecmp_l-nonascii.
26578         (gen-as-const-headers): Add locale-defines.sym.
26579         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26580         * sysdeps/x86_64/strcasecmp.S: New file.
26581         * sysdeps/x86_64/strcasecmp_l.S: New file.
26582         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26583         * sysdeps/x86_64/locale-defines.sym: New file.
26584         * string/test-strcasecmp.c: New file.
26586         * string/test-strcasestr.c: Test both ends of the range of characters.
26587         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26589 2010-07-29  Roland McGrath  <roland@redhat.com>
26591         [BZ #11856]
26592         * manual/locale.texi (Yes-or-No Questions): Fix example code.
26594 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
26596         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26597         for ld.so.
26599 2010-07-27  Andreas Schwab  <schwab@redhat.com>
26601         * manual/memory.texi (Malloc Tunable Parameters): Document
26602         M_PERTURB.
26604 2010-07-26  Roland McGrath  <roland@redhat.com>
26606         [BZ #11840]
26607         * configure.in (-fgnu89-inline check): Set and substitute
26608         gnu89_inline, not libc_cv_gnu89_inline.
26609         * configure: Regenerated.
26610         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26612 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
26614         * string/test-strnlen.c: New file.
26615         * string/Makefile (strop-tests): Add strnlen.
26616         * string/tester.c (test_strnlen): Add a few more test cases.
26617         * string/tst-strlen.c: Better error reporting.
26619         * sysdeps/x86_64/strnlen.S: New file.
26621 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
26623         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26624         lower-latency instructions.
26626 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
26628         * string/test-strcasestr.c: New file.
26629         * string/test-strstr.c: New file.
26630         * string/Makefile (strop-tests): Add strstr and strcasestr.
26631         * string/str-two-way.h: Don't undefine MAX.
26632         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26634 2010-07-21  Andreas Schwab  <schwab@redhat.com>
26636         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26637         strcasestr-nonascii.
26638         (CFLAGS-strcasestr-nonascii.c): Define.
26639         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26640         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26641         Remove unused attribute.
26643 2010-07-20  Roland McGrath  <roland@redhat.com>
26645         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26646         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
26647         ld.so.cache was broken.  With it, there is no way to disable dsocaps
26648         like LD_HWCAP_MASK can disable hwcaps.
26650 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26652         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26654 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
26656         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26657         call in strcasestr.
26658         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26659         __strcasestr_sse42_nonascii.
26660         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26661         strcasestr-nonascii.c.
26662         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26664 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
26666         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26667         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26668         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26669         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26671 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
26673         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26674         fcntl.
26676 2010-07-06  Andreas Schwab  <schwab@redhat.com>
26678         [BZ #11577]
26679         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26680         dl_signal_cerror.
26682 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
26684         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26685         _PC_PIPE_BUF using F_GETPIPE_SZ.
26687 2010-07-05  Roland McGrath  <roland@redhat.com>
26689         * manual/arith.texi (Rounding Functions): Fix rint description
26690         implicit in round description.
26692 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
26694         * elf/Makefile: Fix linking for a few tests to make recent linker
26695         happy.
26697 2010-06-30  Andreas Schwab  <schwab@redhat.com>
26699         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26700         $(common-objpfx)libc_nonshared.a.
26702 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
26704         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26705         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26706         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26707         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26708         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26709         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26710         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26711         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26726         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26727         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26728         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26729         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26730         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26731         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26732         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26733         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26734         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26735         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26736         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26737         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26753 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26755         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26756         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
26757         * string/memmove.c (memmove): Renamed to ...
26758         (MEMMOVE): ...this.  Default to memmove.
26759         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26760         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26761         (END_CHK): Define.
26762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26763         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26764         mempcpy-ssse3-back memmove-ssse3-back.
26765         * sysdeps/x86_64/multiarch/bcopy.S: New file .
26766         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26767         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26768         * sysdeps/x86_64/multiarch/memcpy.S: New file.
26769         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26770         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26771         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26772         * sysdeps/x86_64/multiarch/memmove.c: New file.
26773         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26774         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26775         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26776         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26777         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26778         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26779         Define.
26780         (index_Fast_Copy_Backward): Define.
26781         (HAS_ARCH_FEATURE): Define.
26782         (HAS_FAST_REP_STRING): Define.
26783         (HAS_FAST_COPY_BACKWARD): Define.
26785 2010-06-21  Andreas Schwab  <schwab@redhat.com>
26787         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26788         Restore proper fallback handling.
26790 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
26792         [BZ #11701]
26793         * posix/group_member.c (__group_member): Correct checking loop.
26795         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26796         OOM in getpwuid_r correctly.  Return error number when the caller
26797         should return, otherwise -1.
26798         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26799         call returning > 0 value.
26800         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26802 2010-06-07  Andreas Schwab  <schwab@redhat.com>
26804         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26805         libc_nonshared.a from targets in modules-names.
26807 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
26809         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26810         requires it.
26812 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
26814         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26815         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26816         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26817         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26819 2010-06-02  Andreas Schwab  <schwab@redhat.com>
26821         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26823 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
26825         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26826         and F_GETPIPE_SZ.
26827         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26828         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26829         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26831         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26832         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26834 2010-06-14  Roland McGrath  <roland@redhat.com>
26836         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26838 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
26840         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26841         __REDIRECT followed by __THROW.
26842         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26843         * posix/getopt.h (getopt): Likewise.
26845 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26847         * hurd/lookup-at.c (__file_name_lookup_at): Accept
26848         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
26849         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26850         in AT_FLAGS.
26851         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26852         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26854 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
26856         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26858 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
26860         [BZ #11640]
26861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26862         Properly check family and model.
26864 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
26866         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26868 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
26870         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26872 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
26874         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26875         symbol reference.
26877 2010-05-19  Andreas Schwab  <schwab@redhat.com>
26879         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26880         symbol reference.
26882 2010-05-21  Andreas Schwab  <schwab@redhat.com>
26884         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26885         and internal_recvmmsg.
26886         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26887         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26888         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26889         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26891         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26892         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26893         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26895 2010-05-20  Andreas Schwab  <schwab@redhat.com>
26897         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26899 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
26901         POWER7 optimizations.
26902         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26903         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26905 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
26907         * version.h: Update for 2.13 development version.
26909 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
26911         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26912         exceptions.  Return 0.
26914 2010-05-07  Roland McGrath  <roland@redhat.com>
26916         * elf/ldconfig.c (main): Add a const.
26918 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
26920         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26921         (args_options): Add no-idn option.
26922         (ahosts_keys_int): Add idn_flags to ai_flags.
26923         (parse_option): Handle 'i' option to clear idn_flags.
26925         * malloc/malloc.c (_int_free): Possible race in the most recently
26926         added check.  Only act on the data if no current modification
26927         happened.
26929 See ChangeLog.17 for earlier changes.